/* ==========================================================================
   Dra. Agatha Nicolas — Dermatologia & Medicina Estética
   Identidade visual derivada das artes da marca:
   vinho profundo #2E1220 · dourado champanhe #C4A882 · creme #EADFD6
   ========================================================================== */

:root {
  /* Cores da marca */
  --wine: #2E1220;
  --wine-deep: #24101B;
  --wine-ink: #3D1C2C;
  --wine-soft: #4A2434;
  --gold: #C4A882;
  --gold-light: #D8BE9A;
  --gold-deep: #A08671;
  --cream: #EADFD6;
  --cream-deep: #DFD2C7;
  --ivory: #F7F0EA;
  --white: #FCFAF8;

  --text-dark: #3D1C2C;
  --text-dark-soft: rgba(61, 28, 44, .74);
  --text-light: #EFE4DA;
  --text-light-soft: rgba(239, 228, 218, .76);

  /* Tipografia */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 2px;
  --header-h: 76px;

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, .35vw + .94rem, 1.08rem);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  margin: 0 0 .6em;
  letter-spacing: .005em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--wine); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--wine);
  padding: .6rem 1rem;
  font-size: .85rem;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Elementos de assinatura ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(.66rem, .25vw + .6rem, .75rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.script {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 1.6vw + .9rem, 2rem);
  line-height: 1.3;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.rule {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: min(100%, 300px);
  margin: 1.7rem 0;
  color: var(--gold);
}
.rule::before,
.rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.rule span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* cantoneiras douradas */
.framed { position: relative; }
.framed::before {
  content: '';
  position: absolute;
  inset: clamp(.9rem, 2.4vw, 1.9rem);
  pointer-events: none;
  z-index: 2;
  --arm: clamp(22px, 2.6vw, 40px);
  background:
    linear-gradient(currentColor, currentColor) left top / var(--arm) 1px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 1px var(--arm) no-repeat,
    linear-gradient(currentColor, currentColor) right top / var(--arm) 1px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 1px var(--arm) no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / var(--arm) 1px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1px var(--arm) no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / var(--arm) 1px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 1px var(--arm) no-repeat;
  color: var(--gold);
  opacity: .55;
}
.section--cream.framed::before,
.section--ivory.framed::before { opacity: .7; }

/* ---------- Botões ---------- */
.btn {
  --btn-fg: var(--wine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 2rem;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

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

.btn--ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(196, 168, 130, .5);
}
.btn--ghost:hover { border-color: var(--gold-light); background: rgba(196, 168, 130, .1); }

.btn--wine {
  background: var(--wine);
  color: var(--cream);
  border-color: var(--wine);
}
.btn--wine:hover { background: var(--wine-ink); border-color: var(--wine-ink); }

.btn--ghost-dark {
  background: transparent;
  color: var(--wine);
  border-color: rgba(61, 28, 44, .35);
}
.btn--ghost-dark:hover { border-color: var(--wine); background: rgba(61, 28, 44, .05); }

.btn--sm { padding: .7rem 1.4rem; font-size: .7rem; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: .85rem;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease),
              padding .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(36, 16, 27, .94);
  box-shadow: 0 1px 0 rgba(196, 168, 130, .22), 0 18px 40px -30px rgba(0, 0, 0, .8);
  padding-block: .6rem;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: auto; height: clamp(30px, 3.2vw, 38px); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, .5vw + .9rem, 1.22rem);
  color: var(--ivory);
  letter-spacing: .02em;
}
.brand-tag {
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 2rem); }
.nav-list a {
  position: relative;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-light-soft);
  padding-block: .4rem;
  transition: color .3s var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-list a:hover { color: var(--ivory); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(196, 168, 130, .45);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle-bar { transform: translate(-50%, -50%); }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ''; left: 0; top: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after { transform: translateY(0) rotate(-45deg); }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--cream { background: var(--cream); color: var(--text-dark); }
.section--ivory { background: var(--ivory); color: var(--text-dark); }
.section--wine {
  background: var(--wine);
  color: var(--text-light);
  background-image: radial-gradient(120% 80% at 80% 0%, rgba(196, 168, 130, .10), transparent 60%);
}
.section--ink {
  background: var(--wine-deep);
  color: var(--text-light);
  background-image: radial-gradient(110% 70% at 20% 0%, rgba(196, 168, 130, .09), transparent 65%);
}
.section--wine p,
.section--ink p { color: var(--text-light-soft); }

.section-title { font-size: clamp(2rem, 4.4vw, 3.35rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .rule { margin-inline: auto; }
.section-lead { font-size: clamp(1.05rem, .5vw + .95rem, 1.22rem); line-height: 1.85; }
.section-foot { margin-top: clamp(2.5rem, 4vw, 3.5rem); text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background: var(--wine);
  color: var(--text-light);
  background-image:
    radial-gradient(90% 70% at 78% 22%, rgba(196, 168, 130, .14), transparent 62%),
    radial-gradient(70% 60% at 6% 100%, rgba(196, 168, 130, .07), transparent 60%);
  overflow: hidden;
}
.hero p { color: var(--text-light-soft); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: .35em;
  color: var(--ivory);
}
.hero .lead { max-width: 30rem; font-size: clamp(1.05rem, .5vw + .95rem, 1.2rem); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  margin: 1.9rem 0 2.3rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-meta li { display: flex; align-items: center; gap: .7rem; }
.hero-meta li + li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
  margin-right: .9rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: cover;
  object-position: 50% 22%;
}
/* fusão da foto com o fundo, como nas artes da marca */
.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(46, 18, 32, 0) 46%, var(--wine) 99%),
    linear-gradient(to left, rgba(46, 18, 32, 0) 62%, var(--wine) 100%),
    linear-gradient(to top, rgba(46, 18, 32, 0) 82%, var(--wine) 100%);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 1px; height: 62px;
  background: rgba(196, 168, 130, .35);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute;
  left: 0; top: -30%;
  width: 1px; height: 30%;
  background: var(--gold);
  animation: scrollHint 2.6s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { top: -30%; opacity: 0; }
  25% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Bloco dividido (Sobre) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.split-media { position: relative; }
.split-media img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: 50% 18%;
}
.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(234, 223, 214, 0) 62%, var(--cream) 100%),
    linear-gradient(to right, rgba(234, 223, 214, 0) 78%, var(--cream) 100%);
}

.split-body p { color: var(--text-dark-soft); }

.quote {
  margin: 2.2rem 0;
  padding-left: 1.6rem;
  border-left: 1px solid rgba(196, 168, 130, .8);
}
.quote p {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.95rem);
  line-height: 1.35;
  color: var(--wine-ink);
  margin: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61, 28, 44, .16);
}
.stats li { display: flex; flex-direction: column; gap: .35rem; }
.stats strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 1.4vw + 1rem, 1.95rem);
  color: var(--wine-ink);
  line-height: 1;
}
.stats span {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Áreas de cuidado ---------- */
.area {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .78fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3.6rem);
}
.area--reverse { grid-template-columns: minmax(0, .78fr) minmax(0, 1.5fr); }

.area-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.area-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: 50% 16%;
}
.section--wine .area-media::after,
.section--ink .area-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(46, 18, 32, 0) 58%, var(--wine) 100%);
}
.section--cream .area-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(234, 223, 214, 0) 58%, var(--cream) 100%);
}

.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.4vw, 2.2rem) clamp(1.6rem, 3vw, 2.8rem);
}
.topics li {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(196, 168, 130, .32);
}
.topic-num {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
}
.topics h3 {
  font-size: clamp(1.06rem, .5vw + .95rem, 1.28rem);
  margin-bottom: .35rem;
  color: var(--ivory);
}
.section--cream .topics h3 { color: var(--wine-ink); }
.topics p {
  font-size: .93rem;
  line-height: 1.72;
  margin: 0;
}
.topics--dark p { color: var(--text-light-soft); }

/* ---------- Cartões de conteúdo ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: clamp(1.1rem, 2vw, 1.9rem);
}
.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(196, 168, 130, .12);
}
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(46, 18, 32, 0) 45%, rgba(36, 16, 27, .72) 100%);
  transition: opacity .5s var(--ease);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card a:hover .card-media img { transform: scale(1.05); }
.card a:hover .card-media::after { opacity: .8; }

.card-tag {
  display: block;
  margin-top: .9rem;
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ivory);
  margin-top: .35rem;
  transition: color .35s var(--ease);
}
.card a:hover .card-title { color: var(--gold-light); }

/* ---------- Filosofia ---------- */
.philosophy-inner { text-align: center; max-width: 52rem; margin-inline: auto; }
.philosophy-quote {
  font-size: clamp(1.85rem, 4.2vw, 3.3rem);
  line-height: 1.22;
  color: var(--ivory);
  margin-bottom: 0;
}
.philosophy-quote em { color: var(--gold); }
.philosophy-inner .rule { margin-inline: auto; }
.philosophy-sign {
  font-size: .74rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Contato ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.contact-body p { color: var(--text-dark-soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.contact-card {
  background: var(--ivory);
  border: 1px solid rgba(196, 168, 130, .45);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
}
.contact-card img {
  width: min(70%, 260px);
  margin: 0 auto 1.6rem;
}
.contact-list { text-align: left; display: grid; gap: .9rem; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(61, 28, 44, .12);
  font-size: .9rem;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list span {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.contact-list strong,
.contact-list a { font-weight: 400; color: var(--wine-ink); text-decoration: none; }
.contact-list a:hover { color: var(--gold-deep); text-decoration: underline; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--wine-deep);
  color: var(--text-light-soft);
  padding-block: clamp(2.8rem, 5vw, 4rem);
  text-align: center;
}
.footer-mark { width: auto; height: 46px; margin: 0 auto 1rem; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  margin: 0 0 .3rem;
}
.footer-tag {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .35rem 1.2rem;
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(239, 228, 218, .72);
  margin-bottom: 1.8rem;
}
.footer-contact a {
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}
.footer-contact a:hover { text-decoration: underline; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.8rem;
  margin-bottom: 1.8rem;
}
.footer-nav a {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-light-soft);
  transition: color .3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-legal {
  font-size: .76rem;
  line-height: 1.7;
  color: rgba(239, 228, 218, .55);
  max-width: 46rem;
  margin: 0 auto;
}

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: var(--gold);
  border: 1px solid rgba(196, 168, 130, .5);
  text-decoration: none;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--wine-ink); }

/* ---------- Animações de entrada lateral ---------- */
.js-ready .reveal {
  opacity: 0;
  transition:
    opacity .95s var(--ease),
    transform 1.05s var(--ease);
  transition-delay: calc(var(--d, 0) * 95ms);
}
.js-ready .reveal[data-reveal='left'] { transform: translate3d(-52px, 0, 0); }
.js-ready .reveal[data-reveal='right'] { transform: translate3d(52px, 0, 0); }
.js-ready .reveal[data-reveal='up'] { transform: translate3d(0, 38px, 0); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 30rem; margin-inline: auto; }
  .hero-figure img { max-height: 56vh; }
  .hero-copy { text-align: left; }
  .area,
  .area--reverse { grid-template-columns: 1fr; }
  .area-media { position: static; order: -1; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 30rem; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.4rem;
    background: rgba(36, 16, 27, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(196, 168, 130, .25);
    transform: translateY(-102%);
    transition: transform .5s var(--ease);
    max-height: 100svh;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196, 168, 130, .18);
    font-size: .88rem;
  }
  .nav-list a::after { display: none; }
  .nav-cta { align-self: flex-start; }
  .topics { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-meta { flex-direction: column; gap: .5rem; }
  .hero-meta li + li::before { display: none; }
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-title { font-size: .92rem; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-ready .reveal { opacity: 1 !important; transform: none !important; }
  .hero-scroll { display: none; }
}
/* ---------- Página interna de conteúdos ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.2rem, 8vw, 6rem));
  padding-bottom: clamp(2.6rem, 6vw, 4.4rem);
  background: var(--wine);
  color: var(--text-light);
  background-image: radial-gradient(90% 80% at 85% 0%, rgba(196, 168, 130, .13), transparent 62%);
}
.page-hero p { color: var(--text-light-soft); }
.page-title {
  font-size: clamp(2.15rem, 5.4vw, 3.9rem);
  line-height: 1.05;
  color: var(--ivory);
}
.page-hero .lead { max-width: 40rem; font-size: clamp(1.05rem, .5vw + .95rem, 1.2rem); }
.page-hero .btn { margin-top: .6rem; }

.cards--page {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}

/* ---------- Chamada enxuta de conteúdos (página inicial) ---------- */
.teaser { padding-block: clamp(3.4rem, 6vw, 5.2rem); }
.teaser-inner { text-align: center; max-width: 44rem; margin-inline: auto; }
.teaser-inner .rule { margin-inline: auto; }
.teaser-inner .section-foot { margin-top: clamp(1.8rem, 3vw, 2.4rem); }
