/* =====================================================================
   DR. PAULO REIS — Cirurgia Plástica Facial
   Sistema de design / folha de estilo principal
   Paleta inspirada na logomarca: verde-sálvia profundo + rosé-cobre metálico
   ===================================================================== */

/* ---------- 1. Tokens de design (variáveis) ---------- */
:root {
  /* Verdes (da logomarca) */
  --forest-900: #20271f;
  --forest-800: #2a322a;
  --forest-700: #38453a;   /* fundo da logo */
  --forest-600: #495648;
  --sage-400:   #8a9889;
  --sage-200:   #c6cfc2;
  --sage-100:   #e2e7dd;

  /* Rosé / cobre metálico */
  --copper-100: #f4e3d4;
  --copper-200: #eccdb4;
  --copper-300: #ddb091;
  --copper-400: #cf9a78;
  --copper-500: #c1875f;   /* acento principal */
  --copper-600: #ab6f47;
  --copper-700: #8d5634;

  /* Neutros quentes */
  --ivory:  #fbf9f5;
  --cream:  #f5f1ea;
  --sand:   #ece3d6;
  --taupe:  #9c9183;
  --ink:    #232722;       /* texto sobre claro */
  --ink-soft:#54584f;

  /* Gradientes assinatura */
  --grad-copper: linear-gradient(120deg, #f0d6bd 0%, #cf9a78 45%, #ab6f47 100%);
  --grad-copper-text: linear-gradient(100deg, #e7c09e 0%, #c1875f 60%, #ab6f47 100%);
  --grad-forest: linear-gradient(160deg, #38453a 0%, #2a322a 60%, #20271f 100%);
  --grad-frame: linear-gradient(150deg, rgba(56,69,58,0.92), rgba(32,39,31,0.96)),
                radial-gradient(120% 120% at 20% 10%, rgba(193,135,95,0.35), transparent 55%);

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Métricas */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 2px;
  --shadow-soft: 0 24px 60px -28px rgba(32,39,31,0.45);
  --shadow-card: 0 18px 50px -30px rgba(32,39,31,0.40);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 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);
  background: var(--ivory);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Seleção */
::selection { background: var(--copper-300); color: var(--forest-900); }

/* ---------- 3. Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; color: var(--forest-800); }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--copper-600);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-copper);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-copper);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.75;
}

.serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--copper-600);
  font-weight: 400;
}

.text-copper {
  background: var(--grad-copper-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--copper-600);
}

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1440px; }
.container-narrow { max-width: 820px; }

section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 11vw, 9rem); }
.section-pad-sm { padding-block: clamp(3rem, 7vw, 5.5rem); }

.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--grad-forest); color: var(--sage-100); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--ivory); }
.bg-forest .lead { color: var(--sage-200); }

.divider-rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--copper-300), transparent); opacity: 0.6; }

/* ---------- 5. Botões ---------- */
.btn {
  --btn-fg: var(--ivory);
  --btn-bg: var(--forest-800);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem; }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-copper);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  z-index: 1;
}
.btn:hover { color: var(--forest-900); border-color: transparent; }
.btn:hover::after { transform: translateY(0); }

.btn-copper { --btn-bg: var(--copper-500); --btn-fg: #fff; }
.btn-copper::after { background: var(--forest-800); }
.btn-copper:hover { color: var(--ivory); }

.btn-ghost {
  --btn-fg: var(--forest-800);
  background: transparent;
  border-color: rgba(56,69,58,0.28);
}
.btn-ghost::after { background: var(--forest-800); }
.btn-ghost:hover { color: var(--ivory); }

.bg-forest .btn-ghost { --btn-fg: var(--sage-100); border-color: rgba(221,176,145,0.4); }
.bg-forest .btn-ghost::after { background: var(--grad-copper); }
.bg-forest .btn-ghost:hover { color: var(--forest-900); }

.link-underline {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  padding-bottom: 4px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--copper-400);
  transform: scaleX(0.25); transform-origin: left; transition: transform .5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline .arrow { transition: transform .5s var(--ease); }
.link-underline:hover .arrow { transform: translateX(5px); }

/* ---------- 6. Cabeçalho / navegação ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding-block: 1.4rem;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header.scrolled {
  background: rgba(251,249,245,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(56,69,58,0.08);
  padding-block: 0.85rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__emblem { width: 46px; height: 46px; flex: none; transition: width .4s var(--ease), height .4s var(--ease); }
.scrolled .brand__emblem { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory);
  white-space: nowrap;
  transition: color .5s var(--ease);
}
.brand__role {
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--copper-300);
  white-space: nowrap;
  margin-top: 5px;
}
.scrolled .brand__name { color: var(--forest-800); }
.scrolled .brand__role { color: var(--copper-600); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-100);
  position: relative;
  padding: 4px 0;
  transition: color .4s var(--ease);
}
.scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--copper-400); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--copper-400); }
.scrolled .nav__links a:hover { color: var(--copper-600); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: inline-flex; }
.site-header .btn { padding: 0.85rem 1.6rem; font-size: 0.68rem; }
.site-header:not(.scrolled) .btn-ghost { --btn-fg: var(--ivory); border-color: rgba(237,227,214,0.45); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ivory); transition: .4s var(--ease); }
.scrolled .nav-toggle span { background: var(--forest-800); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(120% 120% at 82% 12%, rgba(193,135,95,0.20), transparent 55%), var(--grad-forest); }
.hero__media {
  position: absolute; inset: 0;
  background-image: var(--grad-frame);
  background-size: cover; background-position: center;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,26,20,0.78) 0%, rgba(20,26,20,0.45) 45%, rgba(20,26,20,0.15) 100%);
}
.hero__grain { position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.hero .container { position: relative; z-index: 3; padding-top: 7rem; padding-bottom: 4rem; }
.hero__inner { max-width: 760px; }
.hero__title { color: var(--ivory); margin: 1.6rem 0 1.4rem; }
.hero__title em { font-style: italic; color: var(--copper-300); }
.hero__sub { color: var(--sage-200); max-width: 540px; font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3.4rem;
  padding-top: 2rem; border-top: 1px solid rgba(221,176,145,0.22);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta .num { font-family: var(--font-display); font-size: 2rem; color: var(--copper-300); line-height: 1; }
.hero__meta .lbl { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-200); margin-top: 0.5rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage-200);
}
.hero__scroll .line { width: 1px; height: 46px; background: linear-gradient(var(--copper-400), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- 8. Manifesto / citação ---------- */
.manifesto { text-align: center; }
.manifesto .quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.32;
  color: var(--forest-800);
  max-width: 24ch;
  margin: 1.8rem auto;
}
.manifesto .quote em { color: var(--copper-600); font-style: italic; }
.manifesto .sign { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); }

/* ---------- 9. Grade de diferenciais ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(156,145,131,0.22); border: 1px solid rgba(156,145,131,0.22); }
.feature {
  background: var(--ivory);
  padding: clamp(2rem, 3vw, 3rem) clamp(1.6rem, 2.4vw, 2.4rem);
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.feature:hover { background: var(--cream); }
.feature__num { font-family: var(--font-display); font-size: 1rem; color: var(--copper-500); letter-spacing: .1em; }
.feature__icon { width: 38px; height: 38px; margin-bottom: 1.4rem; color: var(--copper-600); }
.feature h3 { font-size: 1.5rem; margin: 0.6rem 0 0.8rem; }
.feature p { font-size: 0.95rem; color: var(--ink-soft); }
.bg-forest .feature { background: transparent; }
.bg-forest .feature-grid { background: rgba(221,176,145,0.16); border-color: rgba(221,176,145,0.16); }
.bg-forest .feature:hover { background: rgba(255,255,255,0.03); }
.bg-forest .feature h3 { color: var(--ivory); }
.bg-forest .feature p { color: var(--sage-200); }

/* ---------- 10. Procedimentos ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.proc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; padding: 2rem; overflow: hidden;
  background-image: var(--grad-frame); background-size: cover; background-position: center;
  color: var(--ivory); border-radius: var(--radius);
  transition: transform .6s var(--ease);
}
.proc-card__media { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); z-index: 0; }
.proc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,26,20,0.05) 30%, rgba(20,26,20,0.85) 100%); z-index: 1; }
.proc-card:hover .proc-card__media { transform: scale(1.07); }
.proc-card > * { position: relative; z-index: 2; }
.proc-card .idx { font-size: 0.66rem; letter-spacing: 0.24em; color: var(--copper-300); text-transform: uppercase; }
.proc-card h3 { color: var(--ivory); font-size: 1.85rem; margin: 0.6rem 0 0.4rem; }
.proc-card p { font-size: 0.9rem; color: var(--sage-200); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.proc-card:hover p { max-height: 120px; opacity: 1; margin-top: 0.5rem; }
.proc-card .more { margin-top: 1rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-300); display: inline-flex; gap: .5rem; align-items: center; }

/* ---------- 11. Split editorial (sobre / clínica) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.reverse .split__media { order: 2; }
.split__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background-image: var(--grad-frame); background-size: cover; background-position: center;
  box-shadow: var(--shadow-soft);
}
.split__media .frame-label {
  position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage-100);
}
.split__media::before { content:""; position:absolute; inset:14px; border:1px solid rgba(237,227,214,0.28); z-index:2; pointer-events:none; }
.split__content h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 1.4rem 0; }
.split__content .lead { margin-bottom: 1.4rem; }
.split__content p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.split__content .btn, .split__content .link-underline { margin-top: 1rem; }

/* Lista de credenciais */
.cred-list { display: grid; gap: 0.9rem; margin: 1.6rem 0; }
.cred-list li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.cred-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.55rem; background: var(--grad-copper); border-radius: 50%; }
.bg-forest .cred-list li { color: var(--sage-200); }

/* ---------- 12. Estatísticas / faixa ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; background: var(--grad-copper-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-200); margin-top: 0.8rem; }

/* ---------- 13. Jornada / passos ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2.5rem; }
.step { position: relative; padding-top: 2.4rem; }
.step__num { font-family: var(--font-display); font-size: 3.4rem; color: var(--copper-200); line-height: 1; position: absolute; top: -0.6rem; left: 0; }
.bg-forest .step__num { color: rgba(221,176,145,0.32); }
.step h3 { font-size: 1.35rem; margin: 0.4rem 0 0.7rem; position: relative; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.bg-forest .step p { color: var(--sage-200); }

/* ---------- 14. FAQ (accordion) ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-top: 1px solid rgba(156,145,131,0.28); }
.faq__item:last-child { border-bottom: 1px solid rgba(156,145,131,0.28); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding: 1.6rem 0; font-family: var(--font-display); font-size: clamp(1.2rem,2.2vw,1.6rem); color: var(--forest-800);
}
.faq__q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq__q .ico::before, .faq__q .ico::after { content:""; position:absolute; top:50%; left:50%; transform: translate(-50%,-50%); background: var(--copper-500); }
.faq__q .ico::before { width: 14px; height: 1.5px; }
.faq__q .ico::after { width: 1.5px; height: 14px; transition: transform .4s var(--ease); }
.faq__item.open .faq__q .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq__a p { padding: 0 0 1.6rem; color: var(--ink-soft); font-size: 0.98rem; max-width: 64ch; }

/* ---------- 15. Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,4.5rem); }
.contact-info .item { display: flex; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(221,176,145,0.2); }
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item .ico { flex: none; width: 22px; color: var(--copper-300); margin-top: 3px; }
.contact-info .item h4 { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper-300); margin-bottom: 0.35rem; font-weight: 400; }
.contact-info .item p, .contact-info .item a { color: var(--sage-100); font-size: 1rem; }
.contact-info .item a:hover { color: var(--copper-300); }

.form { display: grid; gap: 1.2rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-300); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(221,176,145,0.28); border-radius: var(--radius);
  padding: 0.95rem 1rem; color: var(--ivory); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(226,231,221,0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper-400); background: rgba(255,255,255,0.07); }
.field select option { color: var(--ink); }
.form .consent { font-size: 0.78rem; color: var(--sage-200); display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; }
.form .consent input { margin-top: 4px; accent-color: var(--copper-500); }

/* ---------- 16. Faixa CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.cta-band .lead { max-width: 56ch; margin: 0 auto 2.2rem; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 17. Rodapé ---------- */
.site-footer { background: var(--forest-900); color: var(--sage-200); padding-top: clamp(3.5rem,7vw,5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand__name { color: var(--ivory); }
.footer-brand p { font-size: 0.9rem; color: var(--sage-200); max-width: 32ch; margin-top: 1.2rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper-300); margin-bottom: 1.2rem; font-weight: 400; }
.footer-col ul { display: grid; gap: 0.75rem; }
.footer-col a { font-size: 0.92rem; color: var(--sage-200); transition: color .4s var(--ease); }
.footer-col a:hover { color: var(--copper-300); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(221,176,145,0.3); border-radius: 50%; display: grid; place-items: center; color: var(--sage-100); transition: .4s var(--ease); }
.footer-social a:hover { background: var(--grad-copper); color: var(--forest-900); border-color: transparent; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(221,176,145,0.16); padding: 1.8rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.76rem; color: var(--taupe); }
.footer-bottom a { color: var(--taupe); }
.footer-bottom a:hover { color: var(--copper-300); }
.footer-legal { font-size: 0.72rem; color: rgba(156,145,131,0.8); line-height: 1.7; padding-bottom: 2rem; max-width: 70ch; }

/* ---------- 18. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .4s var(--ease); animation: waPop .6s var(--ease) 1.2s both;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- 19. Animações de revelação ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
[data-reveal][data-delay="4"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 20. Página interna: cabeçalho de página ---------- */
.page-hero { background: var(--grad-forest); padding-top: clamp(9rem, 14vw, 12rem); padding-bottom: clamp(3.5rem,7vw,5.5rem); position: relative; overflow: hidden; }
.page-hero__grain { position:absolute; inset:0; opacity:.4; mix-blend-mode: overlay; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.4rem,5.5vw,4.4rem); margin: 1.2rem 0 1rem; }
.page-hero .lead { color: var(--sage-200); max-width: 60ch; }
.breadcrumb { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-400); display: flex; gap: 0.6rem; }
.breadcrumb a:hover { color: var(--copper-300); }
.breadcrumb span { color: var(--copper-300); }

/* Conteúdo de artigo / texto longo */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.4rem; margin: 1.8rem 0 0.8rem; color: var(--copper-700); }
.prose p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.prose ul { display: grid; gap: 0.7rem; margin: 1rem 0 1.6rem; }
.prose ul li { display: flex; gap: 0.8rem; color: var(--ink-soft); }
.prose ul li::before { content:""; flex:none; width:6px; height:6px; margin-top:0.6rem; background: var(--grad-copper); border-radius: 50%; }

/* Cartões de blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 2rem; }
.blog-card { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid rgba(156,145,131,0.18); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-card__media { aspect-ratio: 16/10; background-image: var(--grad-frame); background-size: cover; background-position: center; }
.blog-card__body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .cat { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-600); }
.blog-card h3 { font-size: 1.4rem; margin: 0.7rem 0 0.6rem; }
.blog-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.blog-card .meta { margin-top: 1.2rem; font-size: 0.72rem; color: var(--taupe); letter-spacing: .05em; }

/* Mapa */
.map-wrap { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(221,176,145,0.25); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* Selo / badges de associações */
.assoc { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; align-items: center; justify-content: center; }
.assoc span { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; color: var(--taupe); opacity: 0.85; }
.bg-forest .assoc span { color: var(--sage-200); }

/* ---------- 21. Responsivo ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16/11; max-height: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  /* Navegação mobile (hambúrguer) a partir desta largura */
  .nav__links, .nav__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 0; padding: 6rem 2rem 2rem;
    background: var(--grad-forest); z-index: 105;
  }
  .nav.open .nav__links a { color: var(--sage-100); font-size: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(221,176,145,0.14); letter-spacing: 0.12em; }
  .nav.open .nav__links a::after { display: none; }
  .nav.open .nav__cta { display: flex; position: fixed; bottom: 2rem; left: 2rem; right: 2rem; z-index: 106; }
  .nav.open .nav__cta .btn { width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 760px) {
  .form .row { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.6rem 2rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- 22. Imagens reais sobre gradiente (fallback elegante) ---------- */
/* Insira fotos em assets/img/. Se o arquivo não existir, o gradiente permanece. */
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.split__media .media-img { z-index: 0; }
.split__media::before { z-index: 2; }
.split__media .frame-label { z-index: 3; }
.proc-card .media-img { z-index: 0; }
.blog-card__media { position: relative; overflow: hidden; }
.blog-card__media .media-img { position: absolute; inset: 0; }

/* utilidades */
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.text-center{text-align:center}
.maxw-60{max-width:60ch}.mx-auto{margin-inline:auto}
