:root {
  --petrol:#0E2430;
  --petrol2:#143646;
  --deep:#0B1B24;
  --gold:#C8A96A;
  --ice:#F5F3EE;
  --text:#132A36;
}

* { box-sizing:border-box; }

html, body { overflow-x:hidden; }

body {
  margin:0;
  background:var(--petrol);
  font-family:'Inter', sans-serif;
  color:white;
}

h1,h2,h3 {
  font-family:'Cormorant Garamond', serif;
  font-weight:500;
}

/* ===================== TOP BAR ===================== */
.top-bar {
  background: var(--deep);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  border-bottom: 1px solid rgba(200,169,106,.2);
}

.topbar-whats {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
}

.topbar-whats:hover { color: #fff; }

.topbar-icon { width: 22px; height: 22px; object-fit: contain; display: block; }

.topbar-text { white-space: nowrap; }

.btn-video-inst {
  display: inline-block;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 2px;
  border: 1px solid rgba(200,169,106,0.45);
  transition: color .2s, border-color .2s;
}

.btn-video-inst:hover {
  color: #fff;
  border-color: rgba(200,169,106,0.85);
}

.btn-site-oficial {
  display: inline-block;
  background: var(--gold);
  color: var(--petrol);
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 2px;
  transition: opacity .2s;
}

.btn-site-oficial:hover { opacity: .85; }

/* ── Botão flutuante WhatsApp ── */
.whats-float {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.32), 0 2px 6px rgba(0,0,0,0.22);
  z-index: 9999;
  transition: transform .25s ease, box-shadow .25s ease, background .2s;
  text-decoration: none;
}

.whats-float:hover {
  transform: scale(1.06);
  background: #20bd5a;
  box-shadow: 0 12px 28px rgba(0,0,0,0.38), 0 4px 10px rgba(0,0,0,0.28);
}

.whats-float:active { transform: scale(0.98); }

.whats-icon {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
  z-index: 1;
}

.whats-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.55);
  opacity: 0;
  animation: whats-pulse 3.6s ease-out infinite;
  pointer-events: none;
}

@keyframes whats-pulse {
  0%   { transform: scale(1);    opacity: 0.5;  }
  60%  { transform: scale(1.28); opacity: 0;    }
  100% { transform: scale(1.28); opacity: 0;    }
}

@media (max-width:480px) {
  .whats-float {
    bottom: 88px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whats-icon { width: 28px; height: 28px; }
}

/* ===================== HERO ===================== */
.hero-photo {
  width:140px;
  height:140px;
  border-radius:50%;
  object-fit:cover;
  object-position:center top;
  border:3px solid var(--gold);
  margin-bottom:28px;
  box-shadow:0 0 0 8px rgba(200,169,106,0.15);
}

.hero {
  min-height:20vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:56px 90px;
  background:
    radial-gradient(circle at 80% 30%, rgba(200,169,106,0.14), transparent 34%),
    linear-gradient(to right, rgba(14,36,48,0.99), rgba(14,36,48,0.82)),
    linear-gradient(to bottom, var(--petrol), var(--petrol2));
}

.tag {
  display:inline-block;
  padding:10px 20px;
  border:1px solid rgba(200,169,106,0.45);
  border-radius:40px;
  color:var(--gold);
  letter-spacing:0.25em;
  font-size:12px;
  text-transform:uppercase;
  margin-bottom:40px;
}

.hero .tag { margin-bottom:18px; }

.hero-title {
  font-family:'Cormorant Garamond', serif;
  font-size:58px;
  letter-spacing:0.04em;
  line-height:1.05;
  margin:0 0 10px;
  color:white;
  font-weight:500;
}

.hero-subtitle {
  font-size:18px;
  letter-spacing:0.36em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
  font-weight:500;
}

.divider {
  width:60px;
  height:1px;
  background:var(--gold);
  margin:14px auto;
  opacity:0.7;
}

.hero-tagline {
  font-size:17px;
  line-height:1.65;
  font-weight:300;
  color:#DCE3E7;
  max-width:780px;
  margin:0 auto;
}

/* ===================== SECTIONS ===================== */
.section {
  padding:68px 90px;
}

.light {
  background:var(--ice);
  color:var(--text);
}

.dark {
  background:var(--petrol);
  color:white;
}

.section h2 {
  font-size:58px;
  line-height:1.1;
  margin:0 0 28px;
}

.section p {
  font-size:21px;
  line-height:1.9;
  font-weight:300;
  margin:0;
}

.max {
  max-width:1120px;
}

.section-intro {
  margin-top:18px;
  max-width:1120px;
  font-size:21px;
  line-height:1.9;
  font-weight:300;
}

.dark .section-intro { color:#DCE3E7; }
.light .section-intro { color:var(--text); }

/* ===================== CARDS (dark sections) ===================== */
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:56px;
}

.cards.cards-2 { grid-template-columns:repeat(2,1fr); }
.cards.cards-4 { grid-template-columns:repeat(4,1fr); }

.card {
  background:rgba(255,255,255,0.055);
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(12px);
  padding:34px;
  border-radius:28px;
}

.card h3 {
  font-size:30px;
  color:var(--gold);
  margin:0 0 14px;
}

.card .card-sub {
  font-size:15px;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:var(--gold);
  opacity:0.85;
  margin:0 0 14px;
  font-weight:500;
}

.card p {
  font-size:17px;
  line-height:1.75;
  color:#E5EAED;
  margin:0;
}

/* ===================== LIGHT CARDS ===================== */
.service-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-top:52px;
}

.service-grid.cols-3 { grid-template-columns:repeat(3,1fr); }

.service {
  background:white;
  color:var(--text);
  padding:34px;
  border-radius:28px;
  box-shadow:0 18px 40px rgba(0,0,0,0.08);
  border-top:3px solid var(--gold);
}

.service h3 {
  color:var(--petrol);
  font-size:28px;
  margin:0 0 14px;
}

.service p {
  font-size:17px;
  line-height:1.75;
}

/* ===================== FORMAÇÃO COMPACTA ===================== */
.formation {
  padding:48px 90px;
}

.formation .service-grid {
  gap:16px;
  margin-top:32px;
}

.formation .service {
  padding:20px 22px;
  border-radius:18px;
}

.formation .service h3 {
  font-size:20px;
  margin:0 0 6px;
}

.formation .service p {
  font-size:14px;
  line-height:1.55;
  color:#4a6070;
}

/* ===================== TIMELINE / LIST ===================== */
.feature-list {
  margin-top:48px;
  max-width:1120px;
}

.feature-item {
  display:flex;
  gap:24px;
  align-items:flex-start;
  padding:26px 0;
  border-bottom:1px solid rgba(200,169,106,0.18);
}

.light .feature-item { border-bottom:1px solid rgba(14,36,48,0.12); }

.feature-item:last-child { border-bottom:none; }

.feature-bullet {
  flex-shrink:0;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--gold);
  margin-top:14px;
  box-shadow:0 0 0 6px rgba(200,169,106,0.12);
}

.feature-content {
  text-align:left;
  flex:1;
}

.feature-content h3 {
  font-size:24px;
  margin:0 0 6px;
  color:var(--gold);
}

.light .feature-content h3 { color:var(--petrol); }

.feature-content p {
  font-size:18px;
  line-height:1.7;
  font-weight:300;
  margin:0;
}

.dark .feature-content p { color:#DCE3E7; }

/* ===================== ASSOCIAÇÕES ===================== */
.associations {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:56px;
}

.association {
  text-align:center;
  padding:38px 24px;
  background:white;
  border-radius:24px;
  border:1px solid rgba(200,169,106,0.3);
  box-shadow:0 15px 35px rgba(0,0,0,0.06);
}

.association .acronym {
  font-family:'Cormorant Garamond', serif;
  font-size:42px;
  color:var(--gold);
  font-weight:600;
  letter-spacing:0.05em;
  margin:0 0 10px;
}

.association p {
  font-size:16px;
  line-height:1.6;
  color:var(--text);
}

/* ===================== CLOSING FOOTER ===================== */
.closing {
  background:var(--deep);
  padding:68px 40px;
  text-align:center;
}

.closing-title {
  font-family:'Cormorant Garamond', serif;
  font-size:54px;
  line-height:1.18;
  margin:0 auto 22px;
  max-width:900px;
  color:white;
  font-weight:500;
}

.closing-sub {
  color:var(--gold);
  font-size:18px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  margin-top:22px;
  font-weight:500;
}

.closing-divider {
  width:80px;
  height:1px;
  background:var(--gold);
  margin:30px auto;
  opacity:0.6;
}

/* ===================== RESPONSIVE ===================== */
@media(max-width:1100px) {
  .hero {
    padding:44px 28px;
  }
  .hero-title { font-size:42px; }
  .hero-subtitle { font-size:14px; letter-spacing:0.28em; }
  .hero-tagline { font-size:19px; }

  .section {
    padding:48px 28px;
    text-align:center;
  }
  .section h2 { font-size:42px; }
  .max, .section-intro { margin:0 auto; }
  .section-intro { text-align:center; }

  .cards,
  .cards.cards-2,
  .cards.cards-4,
  .service-grid,
  .service-grid.cols-3,
  .associations {
    grid-template-columns:1fr;
  }

  .feature-list { margin-left:auto; margin-right:auto; }

  .feature-item {
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
  }

  .feature-bullet { margin-top:0; }

  .feature-content { text-align:center; }

  .closing { padding:52px 28px; }
  .closing-title { font-size:36px; }
}

@media(max-width:480px) {
  .hero-title { font-size:36px; }
  .hero-subtitle { font-size:12px; letter-spacing:0.22em; }
  .hero-tagline { font-size:16px; }
  .section h2 { font-size:30px; }
  .section p, .section-intro { font-size:17px; }
  .card h3 { font-size:24px; }
  .service h3 { font-size:22px; }
  .association .acronym { font-size:34px; }
  .closing-title { font-size:26px; }
  .closing-sub { font-size:14px; letter-spacing:0.2em; }
}

/* ── Botão voltar ao topo ── */
.back-to-top {
  position:fixed;
  bottom:32px;
  right:32px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--gold);
  color:var(--petrol);
  border:none;
  cursor:pointer;
  font-size:26px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 18px rgba(0,0,0,0.35);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index:9999;
}
.back-to-top.visible {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.back-to-top:hover {
  background:#dbb97a;
}
