/* ============================================================
   NEVES & MEDEIROS — Sociedade de Advogados
   Stack: HTML5 + CSS3 + Vanilla JS
   ============================================================ */

/* ---------- VARIÁVEIS GLOBAIS ---------- */
:root {
  /* Paleta principal */
  --navy-deep: #0B1D35;
  --navy: #112D4E;
  --gold: #D4AF37;
  --gold-dark: #B8872E;
  --white: #FFFFFF;

  /* Secundárias */
  --steel: #A0AEC0;
  --light-gray: #E7EAF0;
  --dark-gray: #2A3342;

  /* Gradientes */
  --grad-primary: linear-gradient(135deg, #0B1D35 0%, #112D4E 100%);
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #B8872E 100%);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 20px rgba(11, 29, 53, .08);
  --shadow-md: 0 14px 40px rgba(11, 29, 53, .12);
  --shadow-lg: 0 30px 70px rgba(11, 29, 53, .22);
  --shadow-gold: 0 14px 34px rgba(212, 175, 55, .32);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- HELPERS ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 110px 0; }
.section--alt { background: var(--light-gray); }

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
  position: relative;
  padding-left: 34px;
}
.section__eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 26px; height: 1.5px; background: var(--gold); transform: translateY(-50%);
}
.section__head .section__eyebrow { padding-left: 0; }
.section__head .section__eyebrow::before { display: none; }
.section__eyebrow--gold { color: var(--gold); }

.section__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}
.section__lead { margin-top: 18px; color: var(--steel); font-size: 1.08rem; }
.section__head--light .section__title,
.section__head--light .section__lead { color: var(--white); }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn i, .btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--gold { background: var(--grad-gold); color: var(--navy-deep); box-shadow: var(--shadow-gold); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(212, 175, 55, .45); }

.btn--navy { background: var(--grad-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn--navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); transform: translateY(-3px); }

/* ---------- BRAND ---------- */
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__logo {
  width: 48px; height: 48px;
  object-fit: contain; display: block;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.18rem; color: var(--navy-deep); }
.brand__sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: var(--gold); }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  background: var(--grad-primary);
  border-bottom: 1px solid rgba(212, 175, 55, .18);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled {
  background: rgba(11, 29, 53, .92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  height: 72px;
}
/* Header azul: textos claros sempre */
.header .nav__link { color: rgba(255, 255, 255, .88); }
.header .brand__name { color: var(--white); }
.header .brand__sub { color: var(--gold); }
.header .menu-toggle span { background: var(--white); }

.nav__list { display: flex; gap: 34px; }
.nav__link {
  position: relative; font-weight: 500; font-size: .95rem; color: var(--dark-gray);
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--navy-deep); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: var(--navy-deep) url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 29, 53, .55) 0%, rgba(11, 29, 53, .9) 100%),
    rgba(11, 29, 53, .85);
}
.hero__inner { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__content { max-width: 820px; }
.hero__eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 26px;
  padding: 9px 18px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 999px;
  background: rgba(212, 175, 55, .08);
}
.hero__title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.06; letter-spacing: -.015em;
  margin-bottom: 24px;
}
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 40px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.hero__badges li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255, 255, 255, .9); font-weight: 500; }
.hero__badges i { width: 18px; height: 18px; color: var(--gold); }
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255, 255, 255, .7); animation: bob 2s infinite;
}
.hero__scroll i { width: 30px; height: 30px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- SOBRE ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__img {
  height: 540px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background: var(--navy) url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1000&q=80") center/cover no-repeat;
}
.about__badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--grad-gold); color: var(--navy-deep);
  padding: 22px 28px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
}
.about__badge-num { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; }
.about__badge-label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.about__content p { color: #475467; margin-top: 18px; font-size: 1.05rem; }
.about__content .section__title { margin-top: 14px; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 36px; }
.about__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.about__list i { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }

/* ---------- ÁREAS / CARDS ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 40px 34px;
  border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-primary); color: var(--gold); margin-bottom: 24px;
  transition: transform .45s var(--ease);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__icon i { width: 30px; height: 30px; }
.card__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.45rem; color: var(--navy-deep); margin-bottom: 12px; }
.card__text { color: #5a6577; font-size: .98rem; margin-bottom: 22px; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--gold-dark); transition: gap .3s; }
.card__link i { width: 17px; height: 17px; transition: transform .3s; }
.card__link:hover { gap: 12px; }
.card__link:hover i { transform: translateX(3px); }
.card--cta { background: var(--grad-primary); border-color: transparent; }
.card--cta .card__title { color: var(--white); }
.card--cta .card__text { color: rgba(255, 255, 255, .75); }
.card--cta .card__icon { background: rgba(212, 175, 55, .15); }
.card--cta .card__link { color: var(--gold); }

/* ---------- DIFERENCIAIS ---------- */
.diff__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff__item { text-align: center; padding: 20px; }
.diff__icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--light-gray); color: var(--gold-dark);
  transition: transform .4s var(--ease), background .4s, color .4s;
}
.diff__item:hover .diff__icon { background: var(--grad-gold); color: var(--navy-deep); transform: translateY(-6px); }
.diff__icon i { width: 34px; height: 34px; }
.diff__item h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; color: var(--navy-deep); margin-bottom: 10px; }
.diff__item p { color: #5a6577; font-size: .96rem; }

/* ---------- AUTORIDADE ---------- */
.authority { background: var(--grad-primary); position: relative; overflow: hidden; }
.authority::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(212, 175, 55, .14), transparent 70%); border-radius: 50%;
}
.authority::after {
  content: ""; position: absolute; bottom: -140px; left: -100px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(212, 175, 55, .08), transparent 70%); border-radius: 50%;
}
.authority__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 2; }
.authority__item {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 38px 28px; text-align: center;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.authority__item:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, .4); background: rgba(255, 255, 255, .07); }
.authority__icon {
  width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--navy-deep);
}
.authority__icon i { width: 32px; height: 32px; }
.authority__item h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.authority__item p { color: rgba(255, 255, 255, .68); font-size: .94rem; }

/* ---------- DEPOIMENTOS ---------- */
.slider { max-width: 920px; margin: 0 auto; position: relative; overflow: hidden; }
.slider__track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.testimonial {
  width: 100%; min-width: 100%; flex-shrink: 0;
  background: var(--white); border-radius: var(--radius); padding: 50px 56px;
  box-shadow: var(--shadow-md); border: 1px solid var(--light-gray);
  box-sizing: border-box;
}
.testimonial__stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 22px; }
.testimonial__stars i { width: 22px; height: 22px; fill: var(--gold); }
.testimonial__text { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.5; color: var(--navy-deep); font-style: italic; margin-bottom: 30px; }
.testimonial__author { display: flex; align-items: center; gap: 16px; }
.testimonial__avatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-primary); color: var(--gold); font-weight: 700; font-family: var(--font-serif); font-size: 1.2rem;
}
.testimonial__author strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.testimonial__author span { color: var(--steel); font-size: .9rem; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; }
.slider__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--light-gray); color: var(--navy-deep);
  box-shadow: var(--shadow-sm); transition: .3s var(--ease);
}
.slider__btn:hover { background: var(--grad-gold); color: var(--navy-deep); border-color: transparent; transform: translateY(-3px); }
.slider__btn i { width: 22px; height: 22px; }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--steel); opacity: .4; transition: .3s; }
.slider__dots button.is-active { opacity: 1; background: var(--gold-dark); width: 28px; border-radius: 5px; }

/* ---------- CTA ---------- */
.cta { background: var(--grad-gold); padding: 90px 0; position: relative; overflow: hidden; }
.cta__inner { text-align: center; max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.cta__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy-deep); line-height: 1.15; margin-bottom: 18px; }
.cta__text { color: rgba(11, 29, 53, .82); font-size: 1.1rem; margin-bottom: 36px; }

/* ---------- CONTATO ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact__lead { color: #5a6577; margin-top: 16px; font-size: 1.05rem; }
.contact__list { margin-top: 38px; display: grid; gap: 26px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-primary); color: var(--gold);
}
.contact__ico i, .contact__ico svg { width: 24px; height: 24px; }
.contact__list strong { display: block; color: var(--navy-deep); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contact__list div { color: #5a6577; }
.contact__list a:hover { color: var(--gold-dark); }

/* Formulário */
.contact__form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--light-gray); padding: 44px; }
.form__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; color: var(--navy-deep); margin-bottom: 28px; }
.form__field { margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--light-gray); border-radius: var(--radius-sm);
  font-size: .96rem; color: var(--dark-gray); background: #fbfcfe; transition: border-color .3s, box-shadow .3s; resize: vertical;
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .15); background: var(--white);
}
.form__field input.is-error, .form__field select.is-error, .form__field textarea.is-error { border-color: #e35d5d; box-shadow: 0 0 0 3px rgba(227, 93, 93, .12); }
.form .btn { margin-top: 6px; }
.form__note { text-align: center; font-size: .82rem; color: var(--steel); margin-top: 14px; }

/* ---------- MAPA ---------- */
.map { line-height: 0; }
.map iframe { filter: grayscale(.2) contrast(1.05); }

/* ---------- FOOTER ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin-top: 20px; font-size: .95rem; max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: var(--white); transition: .3s var(--ease);
}
.footer__social a:hover { background: var(--grad-gold); color: var(--navy-deep); transform: translateY(-3px); }
.footer__social i, .footer__social svg { width: 20px; height: 20px; }
.footer__col h4 { color: var(--white); font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 22px; font-weight: 600; }
.footer__col ul li { margin-bottom: 12px; }
.footer__col ul a { font-size: .95rem; transition: color .25s, padding .25s; }
.footer__col ul a:hover { color: var(--gold); padding-left: 5px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer__contact i { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; }
.footer__bottom p { font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer__bottom-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.footer__tagline { font-style: italic; letter-spacing: .03em; text-align: right; }
.footer__bottom p.footer__credits { margin-top: 14px; font-size: .82rem; text-align: center; }
.footer__credits a { color: var(--gold); font-weight: 600; transition: color .25s; }
.footer__credits a:hover { color: var(--white); }

/* ---------- FAB WHATSAPP ---------- */
.fab-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: var(--white); box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: fabPulse 2.4s infinite;
}
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp i { width: 30px; height: 30px; }
@keyframes fabPulse { 0% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- REVEAL (fallback antes do JS) ---------- */
[data-reveal], [data-anim], [data-stagger-item] { opacity: 0; }
.no-motion [data-reveal], .no-motion [data-anim], .no-motion [data-stagger-item] { opacity: 1; }

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

/* Ultrawide */
@media (min-width: 1600px) { :root { --container: 1340px; } .section { padding: 130px 0; } }

/* Tablet / Desktop pequeno */
@media (max-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__grid, .authority__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 48px; }
  .contact__grid { gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonial { padding: 44px 40px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* Header / Nav */
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(11, 29, 53, .98); backdrop-filter: blur(14px);
    transform: translateY(-120%); transition: transform .45s var(--ease);
    padding: 28px 24px 36px; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block; padding: 16px 12px; color: var(--white) !important;
    font-size: 1.08rem; border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav__link::after { display: none; }

  /* Layout */
  .about__grid { grid-template-columns: 1fr; }
  .about__img { height: 380px; }
  .about__media { max-width: 560px; margin: 0 auto; }
  .about__badge { left: 16px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bottom-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__tagline { text-align: left; }
  .section { padding: 80px 0; }
  .cta { padding: 72px 0; }
  .diff__item { padding: 18px 12px; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --header-h: 64px; }

  .container { padding-inline: 16px; }

  /* Grids → 1 coluna */
  .areas__grid,
  .diff__grid,
  .authority__grid { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }

  /* Hero */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__badges { gap: 10px 16px; }
  .hero__badges li { font-size: .88rem; }

  /* Seções */
  .section { padding: 60px 0; }
  .section__head { margin-bottom: 40px; }
  .cta { padding: 56px 0; }

  /* Sobre */
  .about__img { height: 280px; }
  .about__badge { left: 0; padding: 14px 18px; }
  .about__badge-num { font-size: 1.3rem; }

  /* Depoimentos */
  .testimonial { padding: 32px 20px; }
  .testimonial__text { font-size: 1.15rem; }
  .slider__btn { width: 44px; height: 44px; }
  .slider__btn i { width: 18px; height: 18px; }

  /* Contato */
  .contact__form-wrap { padding: 24px 18px; }
  .contact__list { gap: 20px; }
  .contact__ico { width: 44px; height: 44px; }

  /* Footer */
  .footer { padding-top: 56px; }
  .footer__brand p { max-width: 100%; }
  .footer__bottom p { font-size: .82rem; }

  /* Navbar mobile */
  .nav { padding: 20px 16px 28px; }
  .nav__link { padding: 14px 10px; font-size: 1rem; }

  /* Brand */
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; }

  /* FAB */
  .fab-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .fab-whatsapp i { width: 26px; height: 26px; }

  /* Diferenciais e Autoridade */
  .diff__item { padding: 24px 16px; }
  .authority__item { padding: 28px 18px; }
}

/* Extra small */
@media (max-width: 400px) {
  .container { padding-inline: 14px; }
  .hero__eyebrow { font-size: .75rem; padding: 7px 13px; }
  .about__badge { position: static; margin-top: 24px; border-radius: var(--radius-sm); }
  .testimonial__text { font-size: 1.05rem; }
  .contact__form-wrap { padding: 20px 14px; }
  .footer__grid { gap: 28px; }
}

/* Acessibilidade — reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-anim], [data-stagger-item] { opacity: 1 !important; transform: none !important; }
  .hero__bg { transform: none; animation: none; }
}
