/* ============================================================
   LS ADVOCACIA — styles.css
   Estrutura:
   1. Design Tokens (variáveis)
   2. Reset & Base
   3. Utilitários
   4. Animações & Reveal
   5. Componentes (botões, cards)
   6. Navegação
   7. Seções (hero, trust, services, about, why, process, cta)
   8. Footer
   9. WhatsApp Float
   10. Responsivo (tablet, mobile)
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Cores */
  --color-gold:        #C9A84C;
  --color-gold-light:  #E2C97E;
  --color-gold-dark:   #9A7930;
  --color-coal:        #0E0E0E;
  --color-charcoal:    #1A1A1A;
  --color-graphite:    #2C2C2C;
  --color-smoke:       #F5F3EF;
  --color-white:       #FFFFFF;
  --color-text-muted:  #8A8A8A;
  --color-text-body:   #3A3A3A;
  --color-whatsapp:    #25D366;
  --color-whatsapp-dk: #1da851;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', sans-serif;

  /* Espaçamentos */
  --section-pad:  clamp(5rem, 10vw, 9rem);
  --container-w:  1200px;
  --gutter:       clamp(1.25rem, 5vw, 3rem);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  /* Transições */
  --transition-fast:   0.2s var(--ease-out);
  --transition-base:   0.3s var(--ease-out);
  --transition-slow:   0.5s var(--ease-out);
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* ─────────────────────────────────────────────────────────────
   3. UTILITÁRIOS
───────────────────────────────────────────────────────────── */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Linha dourada decorativa */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin-bottom: 1.25rem;
}

.gold-line--center {
  margin-inline: auto;
}

/* Eyebrow / label */
.label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Cabeçalho de seção */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-coal);
  line-height: 1.15;
}

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

.section-header--light h2 {
  color: var(--color-white);
}

.section-header p {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.8;
}

.section-header--light p {
  color: rgba(255, 255, 255, 0.45);
}

/* Atraso de animação (usado com .reveal) */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }


/* ─────────────────────────────────────────────────────────────
   4. ANIMAÇÕES & SCROLL REVEAL
───────────────────────────────────────────────────────────── */

/* Estados iniciais (JS adiciona .visible) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity  0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity  0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Keyframes globais */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.40); }
  50%      { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.65); }
}


/* ─────────────────────────────────────────────────────────────
   5. COMPONENTES — BOTÕES
───────────────────────────────────────────────────────────── */

/* Base compartilhada */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition:
    background  var(--transition-base),
    color       var(--transition-base),
    border-color var(--transition-base),
    transform   var(--transition-fast),
    box-shadow  var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Dourado (CTA primário) */
.btn--primary {
  background: var(--color-gold);
  color: var(--color-coal);
  border: 2px solid transparent;
}

.btn--primary:hover {
  background: var(--color-gold-light);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
}

/* Contorno claro (sobre fundos escuros) */
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* Escuro (sobre fundos claros) */
.btn--dark {
  background: var(--color-coal);
  color: var(--color-white);
  border: 2px solid transparent;
}

.btn--dark:hover {
  background: var(--color-graphite);
}

/* WhatsApp */
.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border: 2px solid transparent;
  padding: 1.1rem 2.5rem;
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dk);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.30);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Grupo de botões */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-group--center {
  justify-content: center;
}


/* ─────────────────────────────────────────────────────────────
   6. NAVEGAÇÃO
───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition:
    background var(--transition-base),
    padding    var(--transition-base),
    box-shadow var(--transition-base);
}

.nav.scrolled {
  background: rgba(14, 14, 14, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.nav__logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--color-gold-light);
  text-transform: uppercase;
}

/* Links desktop */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  position: relative;
  transition: color var(--transition-base);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-slow);
}

.nav__links a:hover {
  color: var(--color-white);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Botão CTA no nav */
.nav__cta {
  background: var(--color-gold) !important;
  color: var(--color-coal) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background var(--transition-base), transform var(--transition-fast) !important;
}

.nav__cta:hover {
  background: var(--color-gold-light) !important;
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s;
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile (fullscreen) */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-coal);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition-base);
}

.nav__mobile a:hover {
  color: var(--color-gold);
}

.nav__mobile-cta {
  font-family: var(--font-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-coal) !important;
  padding: 1rem 2.5rem;
  border-radius: 2px;
}


/* ─────────────────────────────────────────────────────────────
   7. SEÇÕES
───────────────────────────────────────────────────────────── */

/* ── 7.1 HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-coal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 14, 14, 0.92) 0%,
    rgba(14, 14, 14, 0.50) 50%,
    rgba(14, 14, 14, 0.88) 100%
  );
  z-index: 1;
}

/* Wrapper da foto — neutro no desktop (estica para cobrir o hero inteiro
   sem alterar o layout), reestilizado no mobile via media query */
.hero__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  width: auto;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  mask-image:
    linear-gradient(to left,   transparent 0%, black 22%),
    linear-gradient(to bottom, transparent 0%, black 12%);
  -webkit-mask-image:
    linear-gradient(to left,   transparent 0%, black 22%),
    linear-gradient(to bottom, transparent 0%, black 12%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.hero__deco-line {
  position: absolute;
  top: 20%;
  left: 5%;
  width: 1px;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: clamp(5.5rem, 10vh, 8rem);  /* empurra o conteúdo abaixo da nav em qualquer tela */
  padding-bottom: clamp(4rem, 8vw, 7rem);
  max-width: 640px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.20s forwards;
}

.hero__eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.35s forwards;
}

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

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 440px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.50s forwards;
}

.hero__actions {
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.65s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.hero__scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hero__scroll-bar {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}


/* ── 7.2 TRUST BAR ── */
.trust {
  background: var(--color-charcoal);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.20);
  border-bottom: 1px solid rgba(201, 168, 76, 0.20);
}

.trust__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust__icon {
  font-size: 1.2rem;
  color: var(--color-gold);
}

.trust__text {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.trust__text strong {
  color: var(--color-white);
  font-weight: 600;
}


/* ── 7.3 SERVICES ── */
.services {
  padding: var(--section-pad) 0;
  background: var(--color-smoke);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: 'Serviços';
  position: absolute;
  top: 3rem;
  right: -2rem;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: rgba(201, 168, 76, 0.04);
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.service-card {
  background: var(--color-white);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transition: width var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card:hover::before {
  width: 100%;
}

.service-card__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.14);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.service-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-coal);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.service-card__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text-body);
}

.service-card__list li::before {
  content: '—';
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.services__cta {
  margin-top: clamp(3rem, 5vw, 4rem);
}


/* ── 7.4 ABOUT ── */
.about {
  padding: var(--section-pad) 0;
  background: var(--color-white);
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
}

.about__image {
  width: 100%;
  height: clamp(450px, 70vh, 680px);
  object-fit: cover;
  object-position: top center;
}

.about__image-frame {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.28);
  z-index: -1;
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-coal);
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--color-gold);
}

.about__badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.about__badge-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.about__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--color-coal);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about__content h2 em {
  font-style: italic;
  color: var(--color-gold-dark);
}

.about__content p {
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.about__highlight {
  padding: 1.25rem;
  border: 1px solid rgba(201, 168, 76, 0.20);
  background: var(--color-smoke);
  position: relative;
}

.about__highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-gold);
}

.about__highlight-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-coal);
  margin-bottom: 0.35rem;
}

.about__highlight-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.about__oab {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-smoke);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 2px;
}

.about__oab-icon {
  font-size: 1.25rem;
  color: var(--color-gold);
}

.about__oab-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about__oab-text strong {
  color: var(--color-coal);
}


/* ── 7.5 WHY (Diferenciais) ── */
.why {
  padding: var(--section-pad) 0;
  background: var(--color-coal);
  position: relative;
  overflow: hidden;
}

.why::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 40%;
  height: 80%;
  transform: translateY(-50%);
  background: radial-gradient(
    ellipse at center right,
    rgba(201, 168, 76, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 3rem;
}

.why-card {
  padding: clamp(2rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition:
    background    var(--transition-base),
    border-color  var(--transition-base);
}

.why-card:hover {
  background: rgba(201, 168, 76, 0.05);
  border-color: rgba(201, 168, 76, 0.22);
}

.why-card__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.why-card__icon {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.why-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.why-card__desc {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.42);
}


/* ── 7.6 PROCESS ── */
.process {
  padding: var(--section-pad) 0;
  background: var(--color-smoke);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
}

.process__step {
  padding: 2.5rem 2rem;
  position: relative;
}

.process__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.6rem;
  top: 2.5rem;
  color: var(--color-gold);
  font-size: 1.25rem;
  z-index: 1;
}

.process__step-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.process__step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-coal);
  margin-bottom: 0.75rem;
}

.process__step-desc {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.process__cta {
  margin-top: clamp(3rem, 5vw, 4rem);
}


/* ── 7.7 CTA SECTION ── */
.cta-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

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

.cta-section__desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 2.5rem;
}


/* ─────────────────────────────────────────────────────────────
   8. FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-coal);
  padding: 1rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* Linha única com todos os itens */
.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand-desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.30);
  white-space: nowrap;
}

/* Contato horizontal */
.footer__contact-inline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.footer__contact-inline li a {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.footer__contact-inline li a:hover {
  color: var(--color-gold-light);
}

/* Ícones sociais */
.footer__socials {
  display: flex;
  gap: 0.5rem;
}

.footer__social-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.40);
  transition:
    border-color var(--transition-base),
    color        var(--transition-base);
}

.footer__social-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer__social-btn svg {
  width: 13px;
  height: 13px;
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.20);
  white-space: nowrap;
}

/* No desktop, footer__right se comporta como flex inline */
.footer__right {
  display: contents; /* itens filhos participam do flex pai normalmente */
}

/* Coluna brand */


/* ─────────────────────────────────────────────────────────────
   9. WHATSAPP FLOAT
───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
}

.wa-float__btn {
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.40);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: waPulse 3s ease-in-out infinite;
}

.wa-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
  animation: none;
}

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

.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-coal);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: 3px;
  border-left: 2px solid var(--color-gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
}


/* ─────────────────────────────────────────────────────────────
   10. RESPONSIVO
───────────────────────────────────────────────────────────── */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

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

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

  .process__step:nth-child(2)::after {
    display: none;
  }

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

  .about__image-wrap {
    max-width: 540px;
    margin-inline: auto;
  }

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

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav__links    { display: none; }
  .nav__burger   { display: flex; }
  .nav__mobile   { display: flex; }

  /* Fix 1 — Nav sempre escura no mobile, ignora o estado transparente do topo */
  .nav {
    background: rgba(14, 14, 14, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
  }

  /* ── Hero mobile: layout empilhado (texto em cima, foto embaixo) ── */

  /* Hero vira flex column em vez de position absolute */
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* Remove o overlay escuro — não precisa mais cobrir foto */
  .hero__bg {
    display: none;
  }

  /* Bloco de texto: fundo sólido escuro abaixo da foto */
  .hero__content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 2rem var(--gutter) 2.5rem;
    background: var(--color-coal);
    order: 0;
  }

  .hero__title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .hero__subtitle {
    font-size: 0.95rem;
    max-width: 100%;
  }

  /* Wrapper: vira bloco real (desfaz o display:contents do desktop) */
  .hero__photo-wrap {
    display: block;
    position: relative;
    flex-shrink: 0;
    background: var(--color-coal);
    order: -1; /* foto fica acima do bloco de texto */
    padding-top: 72px; /* compensa a nav fixa */
  }

  /* Overlay escuro sobre a foto — escurece sem esconder */
  .hero__photo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);   /* aumentado: 0.30 → 0.45 */
    z-index: 1;
    pointer-events: none;
  }

  /* Degradê inferior — mais suave e longo, funde com o bloco escuro abaixo */
  .hero__photo-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;                        /* aumentado: 45% → 60% */
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(14, 14, 14, 0.35) 40%,      /* entrada mais suave */
      rgba(14, 14, 14, 0.80) 75%,
      var(--color-coal) 100%
    );
    z-index: 2;
    pointer-events: none;
  }

  /* Foto: bloco empilhado, sem mask (o overlay e o ::after resolvem) */
  .hero__photo {
    position: relative;
    width: 100%;
    height: 78vw;
    max-height: 430px;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    object-fit: cover;
    object-position: top center;
    display: block;
    z-index: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* Scroll indicator e linha decorativa: esconder no mobile */
  .hero__scroll    { display: none; }
  .hero__deco-line { display: none; }
  .hero__grain     { display: none; }

  /* About */
  .about__image-frame { display: none; }
  .about__badge       { right: 0; }
  .about__highlights  { grid-template-columns: 1fr; }

  /* Why */
  .why__grid { grid-template-columns: 1fr; }

  /* Process */
  .process__steps {
    grid-template-columns: 1fr;
    gap: 1.5px;
  }

  .process__step::after { display: none !important; }

  /* Fix 2 — Footer mobile: 2 linhas horizontais */
  .footer {
    padding: 1rem 0;
  }

  .footer__brand-desc { display: none; }

  .footer__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  /* Linha 1: número, site e instagram lado a lado */
  .footer__contact-inline {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .footer__contact-inline li a {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  /* Linha 2: ícones + copyright lado a lado */
  .footer__right {
    display: flex !important; /* sobrescreve display:contents do desktop */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__right .footer__socials {
    flex-direction: row;
  }

  .footer__copy {
    font-size: 0.65rem;
  }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .btn-group          { flex-direction: column; }
  .hero__actions      { flex-direction: column; }
  .cta-section__actions { flex-direction: column; align-items: center; }

  .trust__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.5rem;
    justify-items: start;
  }

  .trust__item {
    gap: 0.4rem;
  }

  .trust__icon {
    font-size: 1rem;
  }

  .trust__text {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  /* 3º item (Osasco e Região) ocupa as duas colunas e centraliza */
  .trust__item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
