/* ==========================================================================
   David Lima Eventos — Landing Page
   Paleta extraída da logo: preto profundo + dourado champanhe (rose gold)
   Tema único escuro (sem alternância) — a logo dourada foi desenhada sobre
   preto e é ali que ela brilha.
   ========================================================================== */

:root {
  --black-950: #070605;
  --black-900: #0B0A09;
  --black-800: #121010;
  --black-700: #1A1715;
  --black-600: #25201C;
  --gold-200: #F1D9BC;
  --gold-300: #E6C29C;
  --gold-400: #D9AC80;
  --gold-500: #C79A6B;
  --gold-600: #A67A4E;
  --gold-700: #85603B;
  --gold-gradient: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-600) 100%);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --header-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* tema único: escuro */
:root {
  --bg: var(--black-900);
  --surface: var(--black-800);
  --surface-alt: #0E0D0C;
  --text: #F3ECE3;
  --text-muted: #A79A8C;
  --border: #2A241F;
  --primary: var(--gold-400);
  --primary-hover: var(--gold-300);
  --accent: var(--gold-500);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* botões e campos não herdam a fonte do body por padrão */
button, input, textarea, select { font-family: inherit; }

/* scroll suave com inércia é feito via JS (Lenis) — não usar scroll-behavior nativo, ele conflita com o easing do Lenis */
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: .2px;
}
h3 { font-weight: 600; }
em, .highlight { font-style: italic; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Scrollbar personalizada (trilho preto, barra dourada) ---------- */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: var(--black-950);
  border-left: 1px solid var(--border);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-600) 100%);
  border-radius: 10px;
  /* borda da cor do trilho = barra mais fina com respiro nas laterais */
  border: 2px solid var(--black-950);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-200) 0%, var(--gold-400) 50%, var(--gold-500) 100%);
}
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-600) 50%, var(--gold-700) 100%);
}
::-webkit-scrollbar-corner { background: var(--black-950); }

/* Firefox: só aceita cor sólida. Fica dentro do @supports porque no Chrome 121+
   scrollbar-color desliga o ::-webkit-scrollbar acima (e perderia o degradê) */
@supports (-moz-appearance: none) {
  html { scrollbar-width: thin; scrollbar-color: var(--gold-500) var(--black-950); }
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

section { padding: 110px 0; }

/* eyebrow no estilo do "— EVENTOS —" da logo: caixa alta espaçada entre filetes */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.section-heading .eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-heading h2 { font-size: clamp(34px, 4.6vw, 52px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease, filter .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-gradient);
  color: var(--black-900);
  box-shadow: 0 10px 30px rgba(199, 154, 107, 0.18);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(199, 154, 107, 0.28); }
.btn-primary:active { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 11.5px; letter-spacing: 2px; }
.btn-lg { padding: 20px 46px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header (sempre escuro) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, height .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(7, 6, 5, 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(199, 154, 107, 0.16);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 52px; width: auto; transition: height .35s ease; }
.site-header.scrolled .logo-img { height: 42px; }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E9E0D5;
  position: relative;
  padding: 6px 0;
  transition: color .35s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--gold-300); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 172, 128, 0.35);
  color: #E9E0D5;
  transition: all .3s ease;
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--gold-300); border-radius: 2px; transition: all .3s ease; }

/* ---------- Hero (sempre escuro) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--black-950);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  top: -8%; left: 0; right: 0; bottom: -8%;
  background:
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(166, 92, 40, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 45% at 15% 0%, rgba(199, 154, 107, 0.10), transparent 70%),
    linear-gradient(180deg, var(--black-950) 0%, var(--black-900) 100%);
  z-index: -1;
  will-change: transform;
}
/* marca d'água da logo: PNG dourada com fundo transparente, só reduzida na opacidade */
.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  width: min(820px, 95vw);
  transform: translate(-50%, -50%);
  opacity: .06;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero-text .eyebrow { color: var(--gold-400); }
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  color: #F6EFE6;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: #C9BCAD; font-size: 17px; max-width: 500px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-tagline { color: var(--gold-400); font-family: var(--font-display); font-size: 18px; font-style: italic; margin-bottom: 26px; max-width: 460px; }
.hero .btn-ghost { border-color: rgba(217, 172, 128, 0.4); color: #F3ECE3; }
.hero .btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }

.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #B8AA9A; font-size: 13.5px; letter-spacing: .5px; }
.stars { color: var(--gold-400); letter-spacing: 3px; }
.hero-insta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 172, 128, 0.35);
  color: #E9E0D5;
  font-weight: 400;
  transition: all .25s ease;
}
.hero-insta-badge svg { width: 15px; height: 15px; }
.hero-insta-badge:hover { border-color: var(--gold-400); color: var(--gold-300); transform: translateY(-2px); }

.hero-media { position: relative; }
/* desktop: foto 20% maior, crescendo só pra direita (a coluna e o texto não mudam) */
@media (min-width: 961px) {
  .hero-media { transform: scale(1.2); transform-origin: left center; }
}
/* moldura dourada deslocada atrás da foto */
.hero-media::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid rgba(217, 172, 128, 0.35);
  pointer-events: none;
}
.hero-media img {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease);
}
.hero-media:hover img { transform: scale(1.02); }

/* ---------- Stats ---------- */
.stats-section { padding: 70px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--primary);
}
.stat-label { color: var(--text-muted); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 22px; }
.about-text p { color: var(--text-muted); margin-bottom: 26px; font-size: 16px; }
.about-list { list-style: none; margin-bottom: 36px; }
.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--text);
}
.about-list li::before {
  content: '';
  position: absolute; left: 0; top: .78em;
  width: 16px; height: 1px;
  background: var(--accent);
}

/* ---------- Steps ---------- */
.steps-section { background: var(--surface-alt); }
/* linha do tempo: trilho apagado (::before) + preenchimento dourado (::after)
   que se desenha da esquerda pra direita quando a seção entra na tela */
.timeline {
  --icon-size: 104px;
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  top: calc(var(--icon-size) / 2);
  left: 12.5%; right: 12.5%; /* do centro do 1º ícone ao centro do 4º */
  height: 1px;
}
.timeline::before { background: var(--border); }
.timeline::after {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300), var(--gold-600));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.8s var(--ease) .2s;
}
.timeline.is-visible::after { transform: scaleX(1); }

.timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.timeline-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  /* fundo da seção por cima da linha, pra ela "entrar" no medalhão */
  background: var(--surface-alt);
  border: 1px solid rgba(217, 172, 128, 0.35);
  /* aro interno fino, no estilo da moldura do hero */
  box-shadow: inset 0 0 0 6px var(--surface-alt), inset 0 0 0 7px rgba(217, 172, 128, 0.14);
  color: var(--gold-400);
  margin-bottom: 28px;
  transition: border-color .4s ease, box-shadow .4s ease, color .4s ease;
}
.timeline-icon svg {
  width: 52px; height: 52px;
  transition: transform .6s var(--ease);
}
.timeline-step:hover .timeline-icon {
  border-color: var(--gold-400);
  color: var(--gold-300);
  box-shadow: inset 0 0 0 6px var(--surface-alt), inset 0 0 0 7px rgba(217, 172, 128, 0.35),
              0 0 32px rgba(217, 172, 128, 0.18);
}
.timeline-step:hover .timeline-icon svg { transform: scale(1.08); }

.timeline-number {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.timeline-body h3 { font-size: 26px; margin-bottom: 10px; }
.timeline-body p { color: var(--text-muted); font-size: 14.5px; max-width: 250px; margin: 0 auto; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-icon {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  position: relative;
  isolation: isolate;
  transition: transform .45s var(--ease), color .3s ease, border-color .3s ease;
}
/* degradê não interpola em `background`: fica numa camada e anima só a opacidade */
.service-icon::before, .contact-card-icon::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gold-gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity .3s ease;
}
.service-card:hover .service-icon::before, .contact-card:hover .contact-card-icon::before { opacity: 1; }
.service-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.service-card:hover .service-icon { transform: scale(1.08) rotate(-6deg); border-color: transparent; color: var(--black-900); }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--surface-alt); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .45s var(--ease);
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item img { transition: transform .8s var(--ease), filter .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px 32px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 6px; right: 24px;
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.testimonial-card p { margin: 16px 0 20px; color: var(--text); font-family: var(--font-display); font-size: 19px; font-style: italic; line-height: 1.5; }
.testimonial-author { font-weight: 400; color: var(--primary); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--surface-alt); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 8px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: color .3s ease;
}
.faq-question:hover { color: var(--primary); }
.faq-question span:first-child { display: flex; align-items: center; gap: 18px; }
.faq-num { color: var(--accent); font-family: var(--font-display); font-style: italic; font-weight: 500; }
.faq-icon { font-family: var(--font-body); font-weight: 200; font-size: 28px; color: var(--primary); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 8px;
}
.faq-item.open .faq-answer { max-height: 240px; padding: 0 8px 26px 52px; }
.faq-answer p { color: var(--text-muted); font-size: 15px; }

/* ---------- Final CTA (sempre escuro) ---------- */
.final-cta {
  position: relative;
  background:
    radial-gradient(ellipse 55% 80% at 50% 120%, rgba(166, 92, 40, 0.28), transparent 70%),
    var(--black-950);
  border-top: 1px solid rgba(199, 154, 107, 0.16);
  text-align: center;
  padding: 120px 0;
}
.final-cta .eyebrow { color: var(--gold-400); }
.final-cta .eyebrow::after { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.final-cta h2 { color: #F6EFE6; font-size: clamp(36px, 5vw, 58px); font-weight: 400; margin-bottom: 16px; }
.final-cta h2 em {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-cta p { color: #B8AA9A; margin-bottom: 40px; font-size: 16.5px; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-text h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.contact-text p { color: var(--text-muted); margin-bottom: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info div { display: flex; flex-direction: column; }
.contact-info strong { font-size: 12px; font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: 2.5px; }

.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.contact-card-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--primary);
  position: relative;
  isolation: isolate;
  transition: transform .45s var(--ease), color .3s ease;
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card:hover .contact-card-icon { transform: scale(1.08) rotate(-6deg); color: var(--black-900); }
.contact-card-text { flex: 1; }
.contact-card-text h3 { font-size: 21px; margin-bottom: 4px; }
.contact-card-text p { color: var(--text-muted); font-size: 13.5px; }
.contact-card-arrow {
  font-size: 20px;
  color: var(--accent);
  transition: transform .45s var(--ease);
}
.contact-card:hover .contact-card-arrow { transform: translateX(6px); }

/* ---------- Footer (sempre escuro) ---------- */
.site-footer { background: var(--black-950); color: #B8AA9A; padding: 80px 0 0; border-top: 1px solid rgba(199, 154, 107, 0.16); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: #8F8274; font-size: 14px; max-width: 260px; }
.footer-col h4 { color: var(--gold-400); font-size: 12px; font-weight: 400; margin-bottom: 18px; letter-spacing: 3px; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { color: #A79A8C; font-size: 14px; transition: color .25s ease; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  border-top: 1px solid rgba(199, 154, 107, 0.12);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6F655B;
}

/* ---------- Scroll reveal ---------- */
/* usa `translate` (e não `transform`) para não brigar com o transform do :hover dos cards */
.reveal {
  opacity: 0;
  translate: 0 36px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
  will-change: translate, opacity;
}
.reveal.is-visible { opacity: 1; translate: 0 0; }
/* cards com reveal: mantém a entrada e soma as transições do hover */
.service-card.reveal, .testimonial-card.reveal {
  transition: opacity .9s var(--ease), translate .9s var(--ease),
              transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}
/* atraso escalonado só na entrada (opacity/translate); o hover responde na hora */
.reveal.delay-1.is-visible { transition-delay: .12s, .12s, 0s, 0s, 0s; }
.reveal.delay-2.is-visible { transition-delay: .24s, .24s, 0s, 0s, 0s; }
.reveal.delay-3.is-visible { transition-delay: .36s, .36s, 0s, 0s, 0s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .timeline::after { transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-inner { text-align: left; }
  .about-media { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  /* linha do tempo vira vertical: ícone à esquerda, texto à direita */
  .timeline { --icon-size: 80px; grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin: 0 auto; }
  .timeline::before, .timeline::after {
    top: calc(var(--icon-size) / 2); bottom: calc(var(--icon-size) / 2);
    left: calc(var(--icon-size) / 2); right: auto;
    width: 1px; height: auto;
  }
  .timeline::after {
    background: linear-gradient(180deg, var(--gold-600), var(--gold-300), var(--gold-600));
    transform: scaleY(0);
    transform-origin: center top;
  }
  .timeline.is-visible::after { transform: scaleY(1); }
  .timeline-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 24px; }
  .timeline-icon { margin-bottom: 0; }
  .timeline-icon svg { width: 40px; height: 40px; }
  .timeline-body { padding-top: 14px; }
  .timeline-body p { max-width: none; margin: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item + .stat-item { border-left: none; }
  .gallery-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media::before { inset: 14px -14px -14px 14px; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  /* logo (monograma) à esquerda, ações à direita */
  .logo-link { flex-shrink: 0; }
  .logo-img { height: 40px; }
  /* Instagram já fica no botão flutuante — no header mobile só ocupa espaço */
  .header-actions .social-link { display: none; }
  .header-actions .btn-sm { padding: 10px 16px; font-size: 10.5px; letter-spacing: 1.5px; white-space: nowrap; }
  .site-header.scrolled .logo-img { height: 36px; }
  .header-actions { margin-left: auto; gap: 10px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 6, 5, 0.97);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .site-header.scrolled .main-nav { top: 70px; }
  .main-nav.nav-open { max-height: 460px; border-bottom: 1px solid rgba(199, 154, 107, 0.16); }
  .main-nav a { padding: 16px 24px; border-bottom: 1px solid rgba(199, 154, 107, 0.10); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .services-grid, .gallery-grid, .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-trust { gap: 10px; }
  .faq-question { font-size: 19px; }
  .faq-item.open .faq-answer { padding-left: 8px; }
  .contact-card { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  /* footer centralizado no mobile */
  .footer-grid { text-align: center; justify-items: center; }
  .footer-col { align-items: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin: 0 auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 15.5px; }
  .btn { padding: 15px 24px; font-size: 12px; }
  .btn-lg { padding: 18px 30px; }
  .section-heading { margin-bottom: 44px; }
  .service-card, .testimonial-card, .contact-card { padding: 28px 20px; }
  .timeline { --icon-size: 68px; gap: 32px; }
  .timeline-icon svg { width: 34px; height: 34px; }
  .timeline-step { gap: 18px; }
  .timeline-body { padding-top: 8px; }
  .timeline-body h3 { font-size: 23px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 36px; }
  .final-cta { padding: 80px 0; }
}

/* ---------- Botões flutuantes (Instagram + WhatsApp) ---------- */
.floating-social {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 990; /* abaixo do header (1000), acima do conteúdo */
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* o <a> é só a área de clique: fica parado e sempre do mesmo tamanho.
   O efeito de subir vai na .floating-face — se a transform fosse no <a>,
   o botão sairia de baixo do cursor perto da borda inferior e piscaria. */
.floating-btn {
  width: 56px; height: 56px;
  display: block;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.floating-face {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  pointer-events: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease, color .35s ease;
}
.floating-face svg { width: 24px; height: 24px; }
.floating-btn:hover .floating-face { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.floating-btn:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }

/* Instagram: mesmo estilo do ícone do header, sobre fundo escuro */
.floating-insta .floating-face {
  background: var(--black-800);
  border: 1px solid rgba(217, 172, 128, 0.45);
  color: var(--gold-300);
}
.floating-insta:hover .floating-face { border-color: var(--gold-400); color: var(--gold-200); }

/* WhatsApp: destaque principal, gradiente dourado da marca */
.floating-whats .floating-face {
  background: var(--gold-gradient);
  color: var(--black-900);
}
.floating-whats .floating-face svg { width: 27px; height: 27px; }

@media (max-width: 720px) {
  .floating-social { right: 16px; bottom: 16px; gap: 12px; }
  .floating-btn { width: 50px; height: 50px; }
  .floating-face svg { width: 22px; height: 22px; }
  .floating-whats .floating-face svg { width: 24px; height: 24px; }
}
