/* ============================================================
   TOKENS & RESET
============================================================ */
:root {
  --bg:          #F8F4EE;
  --bg-alt:      #F0EAE0;
  --bg-dark:     #1C1A18;
  --text:        #1C1A18;
  --text-muted:  #6B6560;
  --accent:      #8B6F8E;
  --accent-2:    #C4A882;
  --green:       #25D366;
  --white:       #FFFFFF;
  --border:      #E2D9CE;
  --shadow:      0 4px 24px rgba(28,26,24,.08);
  --shadow-lg:   0 12px 48px rgba(28,26,24,.14);
  --radius:      12px;
  --radius-sm:   8px;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --nav-h:       72px;
  --max-w:       1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.section {
  padding-block: clamp(72px, 10vw, 120px);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--text);
  color: var(--white);
}
.btn--primary:hover {
  background: #2e2b28;
  box-shadow: 0 6px 20px rgba(28,26,24,.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(248,244,238,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}

.header.scrolled { box-shadow: var(--shadow); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text);
}
.nav__logo span {
  font-size: .85rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-left: .35rem;
  letter-spacing: .04em;
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 100px));
  padding-bottom: clamp(72px, 10vw, 120px);
  background: var(--bg);
  overflow: hidden;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero__headline em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.75rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.hero__badges svg { color: var(--accent); flex-shrink: 0; }

.hero__image-wrap {
  position: relative;
}

.hero__image-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero__image-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #e8ddd2 0%, #c9b9a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ============================================================
   DIFERENCIAIS
============================================================ */
.diferenciais { background: var(--bg-alt); }

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card--diferencial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--diferencial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #f0e8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card--diferencial h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .6rem;
  color: var(--text);
}

.card--diferencial p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   COMO FUNCIONA
============================================================ */
.como-funciona { background: var(--bg); }

.passos {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.passo { text-align: center; }

.passo__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 auto 1.25rem;
}

.passo h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: .6rem;
  color: var(--text);
}

.passo p {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 220px;
  margin-inline: auto;
}

.passo__divisor {
  width: 2px;
  height: 40px;
  margin-top: 24px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  border-radius: 2px;
  opacity: .4;
  flex-shrink: 0;
}

/* ============================================================
   MODALIDADES
============================================================ */
.modalidades { background: var(--bg-alt); }

.modalidades__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card--modalidade {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--modalidade:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: .3rem .85rem;
  border-radius: 20px;
  background: var(--bg-alt);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card__badge--accent {
  background: #f0e8f4;
  color: var(--accent);
}

.card--modalidade h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
}

.card--modalidade > p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.modalidade__info {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.modalidade__info li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.modalidade__info svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FAQ
============================================================ */
.faq { background: var(--bg); }

.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  transition: background .15s ease;
}
.faq__question:hover { background: var(--bg); }

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  position: relative;
  transition: transform .25s ease;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--text-muted);
  transform: translate(-50%, -50%);
  transition: opacity .25s ease, transform .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

details[open] .faq__icon { background: var(--accent); }
details[open] .faq__icon::before { background: white; }
details[open] .faq__icon::after { opacity: 0; background: white; }

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
}
.faq__answer p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 1rem;
}

/* ============================================================
   CONTATO / FORMULÁRIO
============================================================ */
.contato { background: var(--bg-alt); }

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contato__desc {
  font-size: .95rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.7;
}
.contato__desc--small { font-size: .82rem; margin-top: .5rem; }

.contato__detalhes {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contato__detalhe {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contato__detalhe svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contato__detalhe div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.contato__detalhe strong {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contato__detalhe span, .contato__detalhe a {
  font-size: .9rem;
  color: var(--text);
}
.contato__link {
  font-weight: 600;
  color: var(--accent) !important;
  transition: opacity .15s ease;
}
.contato__link:hover { opacity: .75; }

/* Form */
.contato__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: .35rem;
  color: var(--text);
}
.form__sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.form__label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.form__label span { color: var(--accent); }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
  -webkit-appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); opacity: .6; }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,111,142,.12);
  background: var(--white);
}

.form__input.is-invalid { border-color: #d94f4f; }

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__textarea { resize: vertical; min-height: 80px; }

.form__error {
  font-size: .78rem;
  color: #d94f4f;
  min-height: 1rem;
  display: block;
}

.form__submit { margin-top: .5rem; }

.form__privacy {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: .85rem;
  justify-content: center;
}
.form__privacy svg { color: var(--accent); flex-shrink: 0; }

.form__feedback {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.form__feedback div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.form__feedback strong { font-size: .9rem; }
.form__feedback span { font-size: .85rem; }

.form__feedback--success {
  background: #edf7ef;
  border: 1px solid #b8e1bf;
  color: #1d6b2e;
}
.form__feedback--success svg { color: #2da843; flex-shrink: 0; }

.form__feedback--error {
  background: #fdf2f2;
  border: 1px solid #f5b8b8;
  color: #8b1c1c;
}
.form__feedback--error svg { color: #d94f4f; flex-shrink: 0; }
.form__feedback--error a { color: inherit; text-decoration: underline; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding-block: clamp(48px, 6vw, 80px) 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer__logo span {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 400;
  opacity: .6;
  margin-left: .35rem;
}
.footer__desc {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer__links strong,
.footer__contact strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__links a {
  font-size: .88rem;
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
}
.footer__contact a, .footer__contact span {
  font-size: .88rem;
  line-height: 1.7;
}
.footer__contact a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity .15s ease;
}
.footer__contact a:hover { opacity: .8; }

.footer__bottom {
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  opacity: .45;
}

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__text { order: 1; }
  .hero__image-wrap { order: 0; max-width: 380px; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__badges { justify-content: center; }

  .passos {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .passo__divisor {
    width: 40px;
    height: 2px;
    margin-inline: auto;
    margin-top: 0;
    background: linear-gradient(to right, var(--accent), var(--accent-2));
  }
  .passo p { max-width: 100%; }

  .contato__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav__cta { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .diferenciais__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
