/* =========================================================
   Victor de Abreu Falconery | Abreu e Rios Advogados
   Landing Page — Direito Aéreo
   Paleta: fundo claro · verde nos textos · terracota em detalhes
   ========================================================= */

:root {
  /* Cores da marca */
  --green:        #2B4F41;  /* verde principal — textos e títulos */
  --green-deep:   #1F3A30;  /* verde mais escuro — ênfase */
  --sage:         #6A847B;  /* verde acinzentado — secundário */
  --orange:       #E78B45;  /* terracota — detalhes */
  --orange-deep:  #D0742C;  /* terracota hover */

  /* Fundos claros */
  --cream:        #F2EDE3;  /* fundo principal */
  --cream-soft:   #F7F4EC;  /* fundo alternado mais claro */
  --paper:        #FFFFFF;  /* cartões / seções brancas */
  --sage-tint:    #E7EAE2;  /* leve tom esverdeado para ritmo */

  /* Texto */
  --ink:          #25342C;  /* corpo de texto (verde quase preto) */
  --muted:        #5D6E66;  /* texto de apoio */

  /* Linhas / sombras */
  --line:         rgba(43,79,65,.14);
  --line-soft:    rgba(43,79,65,.08);
  --shadow-sm:    0 2px 10px rgba(31,58,48,.06);
  --shadow-md:    0 14px 40px rgba(31,58,48,.10);
  --shadow-lg:    0 30px 70px rgba(31,58,48,.14);

  --radius:       18px;
  --radius-lg:    26px;
  --container:    1180px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ----------------------- Reset / base ----------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); color: var(--green); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }

p { margin: 0; }

::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ----------------------- Eyebrow (detalhe terracota) ----------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
}
.eyebrow__line {
  width: 34px; height: 2px; background: var(--orange); border-radius: 2px; display: inline-block;
  transform-origin: right center;   /* cresce para a esquerda, longe do texto */
  animation: linePulse 3.6s ease-in-out infinite;
}
@keyframes linePulse { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.3); } }
.eyebrow__sep { margin: 0 3px; opacity: .55; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow__line + .eyebrow,
.section__head.eyebrow { }

/* ----------------------- Buttons ----------------------- */
.btn {
  --bg: var(--green);
  --fg: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 10px 24px rgba(43,79,65,.22);
}
.btn--primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(43,79,65,.30);
}
.btn--primary::after {     /* brilho que percorre no hover */
  content: ""; position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.30), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { left: 150%; }

/* Brilho automático (sem hover) que percorre os CTAs principais */
.btn--shine::before {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: btnShine 5s ease-in-out 1.4s infinite;
}
@keyframes btnShine {
  0%   { left: -130%; }
  16%  { left: 170%; }
  100% { left: 170%; }
}
/* Pulso suave e contínuo de destaque no CTA principal */
.btn--shine {
  animation: ctaPulse 3.2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(43,79,65,.22); }
  50%      { box-shadow: 0 12px 30px rgba(43,79,65,.32), 0 0 0 6px rgba(231,139,69,.10); }
}
.btn--ghost {
  background: var(--cream);
  color: var(--green);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--green);
  background: rgba(43,79,65,.04);
  transform: translateY(-2px);
}
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--lg { padding: 20px 40px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.icon-wa { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn--ghost .icon-wa { fill: var(--orange); }

/* ----------------------- Header ----------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(242,237,227,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(31,58,48,.06);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; gap: 24px; }
.header__logo { display: flex; align-items: center; }
.header__logo .logo { height: 40px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .header__logo .logo { height: 34px; }

.header__nav { display: flex; gap: 30px; margin-left: auto; }
.header__nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--green);
  position: relative;
  padding: 4px 0;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--orange); transition: width .25s var(--ease);
}
.header__nav a:hover::after { width: 100%; }

.header__cta { margin-left: 4px; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  margin-left: auto;
}
.header__burger span { display: block; height: 2px; width: 24px; background: var(--green); border-radius: 2px; transition: .3s var(--ease); }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------- Hero (D1) ----------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;       /* mobile: ignora a barra do navegador */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* centraliza o conteúdo verticalmente */
  padding: 92px 0 44px;     /* topo livre do header fixo */
  background: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.hero__bg::before {            /* pattern suave + movimento lento */
  content: ""; position: absolute; inset: -10% -10% -10% 16%;
  background: url("../img/Pattern.webp") repeat;
  background-size: 300px;
  opacity: .16;
  will-change: transform;
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.hero__bg::after {             /* clareia o lado do texto + brilho terracota */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(85% 65% at 88% 4%, rgba(231,139,69,.13), transparent 55%),
    linear-gradient(90deg, var(--cream) 15%, rgba(242,237,227,.4) 50%, transparent 78%);
}
@keyframes heroDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-28px, -22px, 0) scale(1.05); }
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .82fr;
  gap: 56px;
  align-items: stretch;
}
.hero__content { align-self: center; }
.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hero__title em {
  display: inline;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  background: var(--orange);
  padding: .12em .32em;
  line-height: 1.5;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero__credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  list-style: none;
  margin: 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.hero__credentials li {
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding-right: 26px;
}
.hero__credentials li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: var(--line);
}
.hero__credentials strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--green); font-weight: 600; }

/* Hero media + portrait placeholder */
.hero__media { position: relative; display: flex; }
.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(231,139,69,.10), transparent),
    var(--sage-tint);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portrait::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1.5px dashed rgba(43,79,65,.18);
  border-radius: calc(var(--radius-lg) - 12px);
  pointer-events: none;
}
.portrait--hero { width: 100%; aspect-ratio: 4 / 5; }
.portrait--about { aspect-ratio: 4 / 5; }
.portrait__symbol { width: 38%; opacity: .5; animation: symbolFloat 7s ease-in-out infinite; }
@keyframes symbolFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}
/* Desktop: foto acompanha a altura da coluna de texto */
@media (min-width: 981px) {
  .portrait--hero { aspect-ratio: auto; min-height: 420px; }
  .hero .eyebrow { margin-bottom: 14px; }
}
.portrait__label {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
}
/* Foto real preenchendo o quadro */
.portrait--photo { display: block; padding: 0; }
.portrait--photo::before { display: none; }
.portrait--photo picture { display: block; width: 100%; height: 100%; }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: inherit; }
/* Plaquinha com o nome sobre a foto */
.portrait__name {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 10px 26px rgba(31,58,48,.22);
  display: flex; flex-direction: column; line-height: 1.2;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--green);
}
.portrait__name small {
  font-family: var(--font-body); font-weight: 600; font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--orange-deep); margin-top: 3px;
}
.hero__badge {
  position: absolute;
  right: -22px; bottom: -22px;
  width: 130px; height: 130px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  padding: 14px;
  animation: float 6s ease-in-out infinite;
}
.hero__badge img { width: 100%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----------------------- Sections genéricas ----------------------- */
.section { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--sage  { background: var(--sage-tint); }

.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  margin-bottom: 18px;
}
.section__title--left { text-align: left; }
.section__lead { font-size: 1.12rem; color: var(--muted); }

/* ----------------------- Casos (D2) ----------------------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-card:hover::before { transform: scaleY(1); }
.case-card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(231,139,69,.1);
  margin-bottom: 4px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.case-card:hover .case-card__icon { transform: translateY(-3px) rotate(-4deg) scale(1.06); background: rgba(231,139,69,.18); }
.case-card__icon svg {
  width: 32px; height: 32px; fill: none; stroke: var(--orange);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  animation: iconBob 4.8s ease-in-out infinite;
}
.case-card:nth-of-type(2) .case-card__icon svg { animation-delay: .5s; }
.case-card:nth-of-type(3) .case-card__icon svg { animation-delay: 1s; }
.case-card:nth-of-type(4) .case-card__icon svg { animation-delay: 1.5s; }
.case-card:nth-of-type(5) .case-card__icon svg { animation-delay: 2s; }
.case-card:nth-of-type(6) .case-card__icon svg { animation-delay: 2.5s; }
@keyframes iconBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.case-card__icon svg .strike { stroke: var(--green); }
.case-card h3 { font-size: 1.3rem; color: var(--green); }
.case-card p { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.case-card__cta {
  font-weight: 600; font-size: .98rem; color: var(--green);
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.case-card__cta span { color: var(--orange); transition: transform .25s var(--ease); }
.case-card__cta:hover { color: var(--orange-deep); }
.case-card__cta:hover span { transform: translateX(5px); }

/* ----------------------- Depoimentos (D3) ----------------------- */
/* Selo de avaliação Google no cabeçalho */
.reviews-badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 20px auto 0;
  padding: 9px 18px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem; color: var(--muted);
}
.reviews-badge__g { flex: 0 0 auto; }
.reviews-badge strong { color: var(--green); font-size: 1.05rem; }
.reviews-badge__stars { color: var(--orange); letter-spacing: 1px; }
.reviews-badge__label { color: var(--muted); }

/* Carrossel */
.testimonials-carousel { display: flex; align-items: center; gap: 14px; }
.testimonials-carousel.is-static .carousel__arrow { display: none; }
.testimonials-carousel.is-static + .carousel__dots,
.carousel__dots:empty { display: none; }
.testimonials-viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; padding: 16px 6px; }
.testimonials-track {
  --gap: 24px; --per-view: 3;
  display: flex; gap: var(--gap); align-items: stretch;
  transition: transform .55s var(--ease);
  will-change: transform;
}
.testimonials-track .testimonial {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
}

.testimonial {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 30px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testimonial:hover::after { transform: scale(1.08); }
.testimonial::after { transition: transform .35s var(--ease); transform-origin: top right; }
.testimonial::after {
  content: "\201D";
  position: absolute; top: 14px; right: 26px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1; color: rgba(231,139,69,.22);
}
.testimonial__stars { color: var(--orange); letter-spacing: 3px; font-size: 1rem; }
.testimonial blockquote { margin: 0; font-size: 1.03rem; color: var(--ink); line-height: 1.6; }
.testimonial figcaption { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 14px; margin-top: auto; padding-top: 6px; }
.testimonial__avatar {
  grid-row: span 2;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: var(--cream-soft);
  display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.testimonial__person { display: flex; flex-direction: column; }
.testimonial__person strong { color: var(--green); font-size: 1rem; }
.testimonial__person small { color: var(--muted); font-size: .85rem; }

/* Setas de navegação */
.carousel__arrow {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.carousel__arrow:hover { background: var(--green); color: var(--cream-soft); border-color: var(--green); }
.carousel__arrow:active { transform: scale(.92); }
.carousel__arrow:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Bolinhas de navegação */
.carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.carousel__dot {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px;
  background: var(--line); cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.carousel__dot:hover { background: var(--sage); }
.carousel__dot.is-active { background: var(--orange); width: 26px; }
.carousel__dot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ----------------------- Sobre (D4) ----------------------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.about__content > p { color: var(--muted); margin-bottom: 18px; max-width: 620px; }
.about__content strong { color: var(--green); font-weight: 600; }
.about__content .section__title { margin-bottom: 24px; }
.about__oab {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600; color: var(--green);
  letter-spacing: .03em;
  padding-top: 6px; margin-bottom: 30px !important;
  position: relative; padding-left: 20px;
}
.about__oab::before { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 2px; background: var(--orange); }

/* ----------------------- Direitos + Checklist (D5) ----------------------- */
.rights { display: grid; grid-template-columns: 1fr .85fr; gap: 64px; align-items: center; }
.rights__text { font-size: 1.1rem; color: var(--muted); margin: 8px 0 30px; max-width: 520px; }
.rights__bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.rights__bullets li { display: flex; gap: 16px; align-items: flex-start; font-size: 1.05rem; color: var(--ink); }
.rights__bullets .check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(43,79,65,.08); position: relative; margin-top: 2px;
}
.rights__bullets .check::after {
  content: ""; position: absolute; left: 9px; top: 6px;
  width: 7px; height: 12px; border: solid var(--orange); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.checklist {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  position: relative;
}
.checklist::before {
  content: ""; position: absolute; top: 0; left: 36px; right: 36px; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 0 0 4px 4px;
}
.checklist__title { font-size: 1.5rem; color: var(--green); margin-bottom: 6px; }
.checklist__sub { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.checklist__item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  cursor: pointer; transition: background .2s var(--ease);
  border: 1px solid transparent;
}
.checklist__item:hover { background: var(--cream); }
.checklist__item input { position: absolute; opacity: 0; pointer-events: none; }
.checklist__box {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  border: 2px solid var(--line); background: var(--paper);
  position: relative; transition: .2s var(--ease);
}
.checklist__item:hover .checklist__box { border-color: var(--orange); }
.checklist__item input:checked + .checklist__box { background: var(--orange); border-color: var(--orange); }
.checklist__item input:checked + .checklist__box::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checklist__item input:focus-visible + .checklist__box { outline: 3px solid rgba(231,139,69,.4); outline-offset: 2px; }
.checklist__item span:last-child { font-size: 1rem; color: var(--ink); }
.checklist__feedback {
  margin: 4px 0 18px; padding: 14px 16px;
  background: rgba(43,79,65,.06); border-left: 3px solid var(--orange);
  border-radius: 8px; font-size: .96rem; color: var(--green); font-weight: 500;
}
.checklist .btn { margin-top: 20px; }

/* ----------------------- FAQ (D6) ----------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 26px 44px 26px 0;
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; color: var(--green);
  position: relative; line-height: 1.35;
}
.faq__icon {
  position: absolute; right: 4px; top: 30px;
  width: 20px; height: 20px; flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__a {
  overflow: hidden; max-height: 0;
  transition: max-height .35s var(--ease);
}
.faq__a p { padding: 0 44px 26px 0; color: var(--muted); font-size: 1.04rem; }
.faq__footer { text-align: center; margin-top: 44px; color: var(--muted); font-size: 1.05rem; }
.faq__footer a { color: var(--orange-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------- CTA Final (D7) ----------------------- */
.final-cta { position: relative; padding: 110px 0; background: var(--sage-tint); overflow: hidden; }
.final-cta__bg {
  position: absolute; inset: -6%;
  background: url("../img/Pattern.webp") repeat; background-size: 300px;
  opacity: .28;
  /* pattern nos extremos (laterais), centro limpo para o texto */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 16%, transparent 38%, transparent 62%, rgba(0,0,0,.4) 84%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 16%, transparent 38%, transparent 62%, rgba(0,0,0,.4) 84%, #000 100%);
  will-change: transform;
  animation: ctaDrift 32s ease-in-out infinite alternate;
}
@keyframes ctaDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -26px, 0); }
}
.final-cta__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.final-cta__title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.final-cta__sub { font-size: 1.18rem; color: var(--muted); margin-bottom: 36px; }
.final-cta__micro { margin-top: 20px; font-size: .95rem; color: var(--sage); font-weight: 500; }

/* ----------------------- Footer ----------------------- */
.site-footer { background: var(--cream); border-top: 3px solid var(--orange); padding: 64px 0 30px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; }
.site-footer__logo { height: 46px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { color: var(--muted); font-size: .98rem; max-width: 420px; margin-bottom: 8px; }
.site-footer__oab { font-weight: 600; color: var(--green) !important; }
.site-footer__nav { display: flex; flex-direction: column; gap: 12px; align-content: start; }
.site-footer__nav a { color: var(--green); font-weight: 500; font-size: .98rem; width: fit-content; }
.site-footer__nav a:hover { color: var(--orange-deep); }
.site-footer__bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom p { color: var(--sage); font-size: .85rem; }
.site-footer__disclaimer { max-width: 720px; }

/* ----------------------- WhatsApp flutuante (expansível) ----------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center;
  text-decoration: none;
  transition: bottom .3s var(--ease);
}
.wa-float__icon {
  order: 2; flex: 0 0 auto; position: relative; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(231,139,69,.45);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.wa-float__icon svg { width: 32px; height: 32px; fill: #fff; }
.wa-float__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--orange); animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover .wa-float__icon { background: var(--orange-deep); transform: scale(1.06); }

/* Painel que aparece após 25% de scroll */
.wa-float__panel {
  order: 1;
  display: flex; align-items: center; gap: 11px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(31,58,48,.18);
  white-space: nowrap; overflow: hidden;
  max-width: 0; padding: 0; opacity: 0;
  margin-right: -16px;
  transition: max-width .45s var(--ease), opacity .3s var(--ease), padding .45s var(--ease);
}
.wa-float.is-expanded .wa-float__panel { max-width: 304px; opacity: 1; padding: 8px 24px 8px 8px; }
.wa-float__name { white-space: nowrap; }
.wa-float__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.wa-float__text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.wa-float__name { font-family: var(--font-body); font-size: .92rem; font-weight: 700; color: var(--green); }
.wa-float__status { font-size: .76rem; font-weight: 600; color: #1f9d55; display: flex; align-items: center; gap: 5px; }
.wa-float__status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  animation: onlinePulse 1.8s ease-out infinite;
}
.wa-float__cta { font-size: .76rem; color: var(--muted); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes onlinePulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* ----------------------- Banner de cookies (LGPD) ----------------------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 95;
  max-width: 480px;
  background: var(--green); color: var(--cream-soft);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  animation: cookieUp .4s var(--ease);
}
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie__text { font-size: .88rem; line-height: 1.5; flex: 1 1 220px; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__btn { padding: 9px 18px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: .86rem; cursor: pointer; border: 1.5px solid transparent; transition: .2s var(--ease); }
.cookie__btn--solid { background: var(--orange); color: #fff; }
.cookie__btn--solid:hover { background: var(--orange-deep); }
.cookie__btn--ghost { background: transparent; color: var(--cream-soft); border-color: rgba(247,243,236,.35); }
.cookie__btn--ghost:hover { border-color: var(--cream-soft); }

/* ----------------------- Modal de saída (exit-intent) ----------------------- */
.exit { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.exit__overlay { position: absolute; inset: 0; background: rgba(31,58,48,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .3s var(--ease); }
.exit__card {
  position: relative; z-index: 1;
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 40px 34px 28px; max-width: 420px; width: 100%;
  text-align: center; box-shadow: var(--shadow-lg);
  animation: exitPop .4s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes exitPop { from { transform: scale(.92) translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.exit__close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.9rem; line-height: 1; color: var(--muted); cursor: pointer; }
.exit__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center top; margin: 0 auto 14px; border: 3px solid var(--cream); box-shadow: var(--shadow-sm); }
.exit__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.exit__title { font-size: 1.5rem; color: var(--green); line-height: 1.2; margin-bottom: 12px; }
.exit__text { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.exit__dismiss { display: block; margin: 14px auto 0; background: none; border: none; color: var(--muted); font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Respeita o atributo [hidden] (sobrepõe o display: flex acima) */
.cookie[hidden], .exit[hidden] { display: none; }

/* Sobe o WhatsApp quando o banner de cookies está aberto (mobile) */
@media (max-width: 600px) {
  .cookie { left: 16px; right: 16px; max-width: none; }
  body.cookie-open .wa-float { bottom: 150px; }
}

/* ----------------------- Utilitários ----------------------- */
.nowrap { white-space: nowrap; }
.br-mobile { display: none; }

/* ----------------------- Barra de progresso de scroll ----------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--green));
  z-index: 200; transition: width .1s linear;
}

/* ----------------------- Scroll reveal ----------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.94); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ===================================================================
   RESPONSIVO
   =================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; min-width: 0; }
  .hero__content, .hero__media { min-width: 0; }
  .hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 380px; }
  .rights { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-track { --per-view: 2; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  /* Menu mobile aberto */
  .header__nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-soft);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--line);
  }
  .header__nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .header__nav.is-open a::after { display: none; }

  .section { padding: 70px 0; }
  .btn { white-space: normal; }   /* botões podem quebrar linha no mobile */
  .br-desktop { display: none; }  /* quebras só-desktop somem no mobile */

  /* ---------- Hero mobile (centralizado) ---------- */
  .hero { min-height: auto; padding: 104px 0 40px; justify-content: flex-start; }
  .hero__inner { gap: 30px; }
  .hero__content { text-align: center; }
  .hero .eyebrow { justify-content: center; align-items: center; margin-bottom: 16px; }
  .hero__title { font-size: clamp(2.3rem, 9vw, 3rem); }
  .hero__title em { font-size: .86em; margin-top: .2em; }
  .hero__subtitle { font-size: 1.05rem; margin: 0 auto 26px; }
  .hero__actions { gap: 12px; margin-bottom: 28px; justify-content: center; }
  .hero__actions .btn { width: 100%; }
  .hero__media { max-width: 400px; }
  .portrait--hero { aspect-ratio: 4 / 4.8; }
  .portrait--hero .portrait__symbol { width: 46%; }

  /* Credenciais em grade 2x2: processos/experiência em cima, OABs embaixo */
  .hero__credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-top: 22px; }
  .hero__credentials li { padding-right: 0; text-align: center; font-size: .9rem; }
  .hero__credentials li::after { display: none; }
  .hero__credentials strong { display: inline; font-size: 1rem; margin-right: 5px; }

  .cases-grid { grid-template-columns: 1fr; }

  /* Card de caso: ícone à esquerda, título à direita (texto/CTA abaixo) */
  .case-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 12px; align-items: center; }
  .case-card__icon { margin-bottom: 0; }
  .case-card h3 { grid-column: 2; }
  .case-card p,
  .case-card__cta { grid-column: 1 / -1; }

  /* ---------- Demais seções centralizadas no mobile ---------- */
  .eyebrow__line { display: none; }              /* remove os tracinhos no mobile */
  .section__title--left { text-align: center; }  /* centraliza títulos (Quem sou eu / A lei...) */
  .section__lead { font-size: .95rem; }          /* leads menores → menos linhas */

  /* Quem sou eu */
  .about__content { text-align: center; }
  .about__content > p { margin-inline: auto; }
  .about__oab { padding-left: 0; }
  .about__oab::before { display: none; }

  /* A lei está do seu lado */
  .rights__content { text-align: center; }
  .rights .eyebrow { justify-content: center; }
  .rights__text { margin-inline: auto; }
  .rights__bullets { text-align: left; max-width: 440px; margin-inline: auto; }

  /* Checklist */
  .checklist__title,
  .checklist__sub,
  .checklist__feedback { text-align: center; }
  .checklist__title { white-space: nowrap; font-size: clamp(.95rem, 4.4vw, 1.4rem); }

  /* Depoimentos: 1 card por vez, setas compactas */
  .testimonials-track { --per-view: 1; }
  .testimonials-carousel { gap: 8px; }
  .testimonials-viewport { padding: 14px 4px; }
  .carousel__arrow { width: 40px; height: 40px; }
  .testimonial__person { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 9px; }
  .testimonial__person small::before { content: "·"; margin-right: 9px; color: var(--sage); }

  /* Rodapé (popup de WhatsApp é fixo e não é afetado) */
  .site-footer__inner { text-align: center; }
  .site-footer__logo { margin-left: auto; margin-right: auto; }
  .site-footer__brand p { margin-left: auto; margin-right: auto; }
  .site-footer__nav { align-items: center; }
  .site-footer__bottom { text-align: center; }
  .site-footer__disclaimer { margin-left: auto; margin-right: auto; }
  .br-mobile { display: inline; }

  .final-cta .btn { width: 100%; }
  .checklist { padding: 30px 22px; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .hero__badge { width: 96px; height: 96px; right: -8px; bottom: -14px; }
}

/* ----------------------- Acessibilidade ----------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(231,139,69,.5); outline-offset: 3px; border-radius: 6px;
}
