/* ============================================================
   Caroline Benigno — Saúde Mental Organizacional
   style.css
   Paleta: navy #1b3a4b · dourado #b8864e · off-white #f7f4f0
   Fontes: Cormorant Garamond (títulos) · Inter (corpo)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1b3a4b;
  --navy-dark:  #122736;
  --navy-light: #244d63;
  --gold:       #b8864e;
  --gold-light: #cfa06a;
  --gold-pale:  #f0e0cb;
  --off-white:  #f7f4f0;
  --white:      #ffffff;
  --gray-100:   #f2f0ed;
  --gray-200:   #e4e1dc;
  --gray-400:   #9e9b96;
  --gray-600:   #6b6863;
  --gray-800:   #3a3835;
  --text:       #2c2a27;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 4px rgba(27,58,75,.07);
  --shadow-md:  0 4px 20px rgba(27,58,75,.10);
  --shadow-lg:  0 12px 48px rgba(27,58,75,.14);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w:      1200px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

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

/* ---- Typography ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.01em;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow--light { color: var(--gold-pale); opacity: .85; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-top: 20px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}
.btn--primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,78,.35);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--sm { padding: 10px 20px; font-size: .82rem; }
.btn--full { width: 100%; justify-content: center; }

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.btn:hover .btn__icon { transform: translateX(3px); }

/* ========================================================
   HEADER
   ======================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247,244,240,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}

.logo__text small {
  font-size: .68rem;
  font-weight: 400;
  color: var(--gray-600);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Nav — desktop */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: .02em;
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active { color: var(--navy); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Fechar e CTA mobile (ocultos no desktop) */
.nav__close,
.nav__cta-mobile { display: none; }

.header__cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover { background: var(--gray-100); }

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* ========================================================
   HERO — fundo claro, foto em card arredondado
   ======================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--off-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Sem bg escuro nem noise texture */
.hero__bg  { display: none; }
.hero::before { display: none; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  padding-block: 72px;
  min-height: calc(100svh - 72px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
}

/* eyebrow visível no fundo claro */
.hero__content .eyebrow { color: var(--gold); opacity: 1; }

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
}

.hero__sub {
  font-size: clamp(.93rem, 1.4vw, 1.02rem);
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Botão primário: dourado com ícone WA */
.hero__actions .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.hero__actions .btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(184,134,78,.3);
}

/* Botão ghost: visível no fundo claro */
.hero__actions .btn--ghost {
  color: var(--navy);
  border-color: rgba(27,58,75,.28);
  background: transparent;
}
.hero__actions .btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Ícone dentro do botão hero (WA) */
.hero__btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero image — card arredondado à direita */
.hero__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__img-wrap {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(27,58,75,.13);
  border: 1px solid rgba(27,58,75,.06);
  background: var(--gray-200);
  position: relative;
}

.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Sem gradiente — foto limpa */
.hero__img-wrap::after { display: none; }

/* Scroll hint — discreto no fundo claro */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(27,58,75,.2), transparent);
  margin-inline: auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}


/* ========================================================
   SOBRE
   ======================================================== */
.about {
  padding-block: var(--section-py);
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image { position: relative; }

.about__photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/5;
  position: relative;
}

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

.about__photo-wrap::after { display: none; }

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about__content .section-title { margin-bottom: 24px; }

.about__content p {
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about__content p strong { color: var(--navy); font-weight: 600; }

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.4;
  max-width: 140px;
}

/* ========================================================
   SERVIÇOS
   ======================================================== */
.services {
  padding-block: var(--section-py);
  background: var(--off-white);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-card--accent .service-card__title { color: var(--white); }
.service-card--accent .service-card__desc { color: rgba(247,244,240,.72); }
.service-card--accent .service-card__list li { color: rgba(247,244,240,.8); }
.service-card--accent .service-card__list li::before { background: var(--gold); }
.service-card--accent .service-card__num { color: rgba(255,255,255,.1); }

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__num {
  position: absolute;
  top: 32px;
  right: 36px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.service-card__desc {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card__list li {
  font-size: .85rem;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ========================================================
   CTA INTERMEDIÁRIA
   ======================================================== */
.cta-mid {
  background: var(--navy);
  padding-block: 88px;
  position: relative;
  overflow: hidden;
}

.cta-mid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 50%, rgba(184,134,78,.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-mid__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-mid__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-mid__title em {
  font-style: italic;
  color: var(--gold);
}

.cta-mid__content p {
  color: rgba(247,244,240,.65);
  font-size: .95rem;
  max-width: 480px;
  line-height: 1.75;
}

.cta-mid__actions {
  display: flex;
  gap: 16px;
  flex-direction: column;
  flex-shrink: 0;
}

/* ========================================================
   DIFERENCIAIS
   ======================================================== */
.differentials {
  padding-block: var(--section-py);
  background: var(--white);
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.diff-item { padding: 8px 0; }

.diff-item__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.diff-item__icon svg { width: 100%; height: 100%; }

.diff-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.diff-item p {
  font-size: .87rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ========================================================
   QUOTE / MANIFESTO
   ======================================================== */
.quote-section {
  background: var(--off-white);
  padding-block: 88px;
}

.manifesto {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding: 64px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  position: relative;
}

.manifesto::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
  opacity: .15;
}

.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 32px;
}

.manifesto footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.manifesto cite {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.manifesto footer span {
  font-size: .78rem;
  color: var(--gray-400);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ========================================================
   CONTATO / FORMULÁRIO
   ======================================================== */
.contact {
  padding-block: var(--section-py);
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info .section-title { margin-bottom: 20px; }

.contact__info > p {
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact__channel:hover {
  border-color: var(--gold);
  background: var(--off-white);
  transform: translateX(4px);
}

.contact__channel svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.contact__channel span { display: flex; flex-direction: column; gap: 2px; }
.contact__channel strong { font-size: .9rem; font-weight: 600; color: var(--navy); }
.contact__channel small { font-size: .8rem; color: var(--gray-600); }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: .01em;
}

.form__label span { color: var(--gold); margin-left: 2px; }

.form__input,
.form__textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,75,.1);
}

.form__input.error,
.form__textarea.error {
  border-color: #c0392b;
}

.form__textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.6;
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--gray-400); }

.form__error {
  font-size: .78rem;
  color: #c0392b;
  min-height: 16px;
  display: block;
}

.form__note {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

/* Submit btn states */
#submitBtn { position: relative; }
#submitBtn.loading { opacity: .7; pointer-events: none; }

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(247,244,240,.7);
  padding-top: 72px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand .header__logo { margin-bottom: 20px; }
.footer__logo .logo__mark { background: var(--gold); }
.footer__logo .logo__text strong { color: var(--white); }
.footer__logo .logo__text small { color: rgba(247,244,240,.45); }

.footer__brand p {
  font-size: .85rem;
  line-height: 1.75;
  color: rgba(247,244,240,.55);
  max-width: 280px;
}

.footer__nav-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer__nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a {
  font-size: .87rem;
  color: rgba(247,244,240,.6);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Ícones do rodapé — WhatsApp e e-mail */
.footer__whatsapp,
.footer__email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: rgba(247,244,240,.7);
  transition: color var(--transition);
}

.footer__whatsapp:hover,
.footer__email:hover { color: var(--white); }

.footer__whatsapp svg,
.footer__email svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: .85;
}

.footer__bottom {
  padding-block: 24px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .78rem;
  color: rgba(247,244,240,.35);
}

.footer__credit a {
  color: var(--gold);
  transition: color var(--transition);
}
.footer__credit a:hover { color: var(--gold-light); }

/* ========================================================
   WHATSAPP FLOAT
   ======================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: var(--transition);
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float__label {
  font-size: .83rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ========================================================
   ANIMAÇÕES ON-SCROLL
   ======================================================== */
[data-animate] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}

[data-animate="fade-up"]    { transform: translateY(28px); }
[data-animate="fade-right"] { transform: translateX(-28px); }
[data-animate="fade-left"]  { transform: translateX(28px); }

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

/* ========================================================
   RESPONSIVIDADE
   ======================================================== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  /* Hero — tablet */
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-block: 56px;
    min-height: auto;
  }
  .hero__content { padding-block: 0; }
  .hero__img-wrap { max-width: 100%; }

/* About */
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__image { max-width: 400px; margin-inline: auto; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* CTA mid */
  .cta-mid__inner { flex-direction: column; text-align: center; }
  .cta-mid__content p { max-width: 100%; }
  .cta-mid__actions { flex-direction: row; justify-content: center; }

  /* Diferenciais */
  .diff__grid { grid-template-columns: repeat(2, 1fr); }

  /* Contato */
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Mobile — 768px */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* ---- HEADER / MENU MOBILE ---- */
  .header__cta { display: none; }
  .hamburger { display: flex; }

  /* Nav mobile — 100vh full-screen overlay */
  .nav {
    display: none;
    position: fixed;
    inset: 0;            /* cobre tudo, inclusive atrás do header */
    height: 100vh;
    width: 100vw;
    background: var(--off-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 99;
    padding: 0;
    margin: 0;
    overflow-y: auto;
  }

  .nav.open { display: flex; }

  /* Botão fechar dentro do menu */
  .nav__close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--navy);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 1;
  }

  .nav__close:hover {
    background: var(--gray-400);
    color: var(--white);
  }

  .nav__close svg {
    width: 20px;
    height: 20px;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    text-align: center;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 20px 24px;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--navy);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav__link::after { display: none; }

  /* CTA dentro do menu mobile */
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 32px;
    justify-content: center;
  }

  /* ---- HERO MOBILE ---- */
  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
    padding-block: 40px 56px;
    gap: 36px;
  }

  /* Foto acima dos textos no mobile */
  .hero__image {
    order: -1;
    justify-content: center;
  }

  .hero__img-wrap {
    max-width: 100%;
    aspect-ratio: 4 / 3;   /* paisagem no mobile — menos altura */
    border-radius: 18px;
  }

  .hero__content {
    order: 1;
    padding-block: 0;
  }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* ---- ABOUT MOBILE ---- */
  .about__badge { bottom: -12px; right: -8px; }
  .about__stats { flex-direction: column; gap: 24px; }

  /* ---- SERVICES MOBILE ---- */
  .service-card { padding: 36px 28px; }

  /* ---- CTA MID MOBILE ---- */
  .cta-mid { padding-block: 64px; }
  .cta-mid__actions { flex-direction: column; width: 100%; }
  .cta-mid__actions .btn { justify-content: center; }

  /* ---- DIFERENCIAIS MOBILE ---- */
  .diff__grid { grid-template-columns: 1fr; }

  /* ---- MANIFESTO MOBILE ---- */
  .manifesto { padding: 40px 28px; }
  .manifesto::before { font-size: 5rem; }

  /* ---- FORM MOBILE ---- */
  .form__row { grid-template-columns: 1fr; }

  /* ---- FOOTER MOBILE ---- */
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* ---- WHATSAPP FLOAT MOBILE ---- */
  .whatsapp-float { bottom: 20px; right: 16px; padding: 14px 16px; }
  .whatsapp-float__label { display: none; }
}

/* Small mobile — 400px */
@media (max-width: 400px) {
  .hero__headline { font-size: 2rem; }
  .service-card { padding: 28px 20px; }
  .manifesto p { font-size: 1.15rem; }
}
