﻿/* =========================================================
   Fotografia com Propósito — estilos
   Estrutura: tokens · base · componentes · seções · utilidades
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Cores */
  --white: #ffffff;
  --paper: #fbf9f6;
  --sand: #f5f0e8;
  --sky-50: #eff6fd;
  --sky-100: #dcebfa;
  --sky-300: #93c0ef;
  --sky-500: #4a9be4; /* azul da logo, um pouco mais intenso */
  --sky-600: #317ac8; /* títulos em itálico (texto grande) */
  --blue-600: #1f63b3; /* botões e links */
  --blue-700: #184f92;
  --ink: #1c2b3a;
  --text: #45525f;
  --muted: #6b7785;
  --line: #e4e8ec;
  --overlay: 16 32 50;

  /* Tipografia */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.6rem, 1.5rem + 3.3vw, 4.6rem);
  --fs-h2: clamp(2.3rem, 1.55rem + 2.7vw, 4rem);
  --fs-h3: clamp(2rem, 1.5rem + 1.7vw, 3rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.72rem;

  /* Espaço e layout */
  --gutter: clamp(1rem, 0.4rem + 3vw, 4rem);
  --container: 1320px;
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --header-h: 72px;
  --radius: 2px;

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

em { font-style: italic; }

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

::selection { background: var(--sky-100); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-small);
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* ---------- Tipografia compartilhada ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-600);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--light { color: var(--white); }

.section-title,
.experience-title,
.final-cta-title,
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.04;
  margin-top: 1.25rem;
}

.section-title em,
.experience-title em,
.hero-title em,
.g-cta-title em,
.footer-tagline em {
  font-weight: 400;
  color: var(--sky-600);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.25rem; }

.section-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section-head--center .section-title { max-width: 18ch; margin-inline: auto; }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.section-head--split .section-title { max-width: 16ch; }
.section-intro { color: var(--muted); max-width: 28ch; font-size: var(--fs-small); }

/* ---------- Botões e links ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-primary:hover { --btn-bg: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgb(24 79 146 / 0.65); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
}
.btn-light:hover { --btn-bg: var(--sky-50); transform: translateY(-2px); }

.btn-sm { min-height: 2.75rem; padding: 0.7rem 1.35rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

.btn-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn-icon { transform: translateX(4px); }
.btn-icon--wa { fill: currentColor; stroke: none; width: 1.25rem; height: 1.25rem; }
.btn:hover .btn-icon--wa { transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-600);
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.link-arrow svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; color: var(--blue-700); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgb(28 43 58 / 0.35);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand { flex: none; display: block; padding-block: 0.25rem; }
.brand img { height: 46px; width: auto; }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(1.5rem, 2.2vw, 2.75rem); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="true"] { color: var(--blue-600); }

.header-cta { display: none; }

.menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-toggle-icon { position: relative; width: 26px; height: 10px; }
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { top: 4.25px; transform: rotate(20deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { top: 4.25px; transform: rotate(-20deg); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .brand img { height: 54px; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 8vh, 4rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }

.mobile-menu-list li { border-bottom: 1px solid var(--line); }
.mobile-menu-list a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-block: 1.1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 9vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}
.mobile-menu-list a span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--blue-600);
}
.mobile-menu-list a:active { color: var(--blue-600); }
.mobile-menu-meta { margin-top: 1rem; text-align: center; font-size: var(--fs-small); color: var(--muted); }

.mobile-menu.is-open .mobile-menu-list li { animation: menu-in 0.6s var(--ease) both; }
.mobile-menu.is-open .mobile-menu-list li:nth-child(2) { animation-delay: 60ms; }
.mobile-menu.is-open .mobile-menu-list li:nth-child(3) { animation-delay: 120ms; }
.mobile-menu.is-open .mobile-menu-list li:nth-child(4) { animation-delay: 180ms; }
@keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
}

.hero-media { order: -1; position: relative; }
.hero-frame {
  position: relative;
  height: min(52svh, 130vw);
  min-height: 330px;
  overflow: hidden;
  background: var(--sky-100);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-caption-line { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-500); }

.hero-content {
  padding: 1.75rem var(--gutter) 3.5rem;
}
.hero-title {
  margin-top: 1rem;
  font-size: var(--fs-display);
  line-height: 1;
}
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 0.12em; }
.hero-text {
  margin-top: 1.5rem;
  max-width: 34ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

.scroll-cue {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--blue-600);
  animation: scroll-cue 2.4s var(--ease-soft) infinite;
}
@keyframes scroll-cue { to { top: 100%; } }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-frame { height: max(62svh, 460px); }
  .hero-content { padding-top: 3rem; padding-bottom: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: stretch;
    min-height: min(100svh, 1000px);
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem clamp(2rem, 4vw, 5rem) 3rem var(--gutter);
  }
  .hero-media {
    order: 0;
    padding: 1.25rem var(--gutter) 2.5rem 0;
  }
  .hero-media::before {
    content: "";
    position: absolute;
    left: -2.5rem;
    bottom: 0.75rem;
    width: 46%;
    height: 42%;
    background: var(--sky-100);
  }
  .hero-frame { height: 100%; min-height: 560px; }
  .hero-caption { right: calc(var(--gutter) + 1.25rem); bottom: 3.75rem; }
  .scroll-cue { display: inline-flex; align-self: flex-start; }
}

/* Entrada do hero (CSS puro, sem atrasar a leitura) */
.hero-anim { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hero-frame { animation: frame-in 1.3s var(--ease) both; }
.hero-img { animation: settle 2.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes frame-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.08); } }

/* ---------- Nossa essência ---------- */
.essence { background: var(--paper); }

.essence-grid {
  display: grid;
  gap: 3.5rem;
}
.essence-media { position: relative; max-width: 520px; }
.essence-media figure { aspect-ratio: 4 / 5; }
.essence-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.seal {
  position: absolute;
  right: 0.75rem;
  bottom: -2.5rem;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 16px 40px -28px rgb(28 43 58 / 0.45);
}
.seal-ring {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: spin 28s linear infinite;
}
.seal-ring text {
  font-family: var(--font-sans);
  font-size: 15.2px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--blue-600);
}
.seal-heart { width: 26px; height: 26px; fill: none; stroke: var(--sky-500); stroke-width: 1.4; }
@keyframes spin { to { transform: rotate(360deg); } }

.essence-text .prose { margin-top: 2rem; max-width: 56ch; }

.highlight {
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4em;
  line-height: 1;
  font-weight: 500;
  color: var(--blue-600);
  white-space: nowrap;
}
.highlight svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.4em;
  overflow: visible;
  fill: none;
  stroke: var(--sky-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
}
.js .prose:not(.is-in) .highlight svg { stroke-dashoffset: 220; }
.js .prose .highlight svg { transition: stroke-dashoffset 1.4s var(--ease) 0.6s; }

.essence-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
}
.essence-note-line { width: 3rem; height: 1px; background: var(--sky-500); }

@media (min-width: 1024px) {
  .essence-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 2rem;
  }
  .essence-media { grid-column: 1 / span 5; max-width: none; margin-top: -1rem; }
  .essence-text { grid-column: 7 / span 6; }
  .seal { right: -66px; bottom: 12%; width: 150px; height: 150px; }
}

/* ---------- Nossa história ---------- */
.story { background: var(--sky-50); }

.story-grid { display: grid; gap: 3.5rem; }

.story-timeline {
  margin-top: 2.75rem;
  border-left: 1px solid var(--sky-300);
}
.story-timeline li {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 0 0 2rem 1.75rem;
}
.story-timeline li:last-child { padding-bottom: 0; }
.story-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.3rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--sky-500);
  background: var(--sky-50);
}
.story-timeline li.is-current::before { background: var(--sky-500); }
.story-timeline-label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.story-timeline-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.story-timeline li:not(.is-current) .story-timeline-name { color: var(--muted); }
.story-timeline-desc { font-size: var(--fs-small); color: var(--muted); }

.story-body > * + * { margin-top: 1.5rem; }
.story-body > p { max-width: 60ch; }

.story-quote {
  position: relative;
  margin-block: 2.5rem !important;
  padding-top: 2.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
}
.story-quote::before {
  content: "“";
  position: absolute;
  top: -0.9rem;
  left: -0.2rem;
  font-size: 4.5rem;
  line-height: 1;
  font-style: normal;
  color: var(--sky-300);
}

.story-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2.75rem !important;
  padding-top: 2rem;
  border-top: 1px solid var(--sky-100);
}
.story-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
}
.story-sign span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }
  .story-head {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(var(--header-h) + 3rem);
  }
  .story-body { grid-column: 7 / span 6; padding-top: 2.25rem; }
}

/* ---------- Nossas experiências ---------- */
.experiences { padding-bottom: 0; }
.experiences .section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }

.experience { padding-block: clamp(3.5rem, 2rem + 6vw, 8rem); }
.experience--couple { padding-top: 0; }
.experience--family { background: var(--sky-50); }

.experience-grid {
  display: grid;
  gap: 3rem;
}

.experience-media {
  position: relative;
  padding-bottom: 18%;
  max-width: 560px;
}
.experience-main { width: 78%; aspect-ratio: 4 / 5; }
.experience-main img,
.experience-secondary img { width: 100%; height: 100%; object-fit: cover; }
.experience-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  border: clamp(6px, 1vw, 10px) solid var(--white);
  box-shadow: 0 24px 50px -30px rgb(28 43 58 / 0.5);
}
.experience-secondary--wide { width: 58%; aspect-ratio: 4 / 3; }
.experience--family .experience-secondary { border-color: var(--sky-50); }
.experience--family .experience-main { margin-left: auto; }
.experience--family .experience-secondary { right: auto; left: 0; }

.experience-index {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.experience-index span {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--sky-500);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.experience-title {
  margin-top: 1.25rem;
  font-size: var(--fs-h3);
  line-height: 1.06;
  max-width: 14ch;
}

.experience-text > p:not(.experience-index):not(.experience-quote) { margin-top: 1.5rem; max-width: 52ch; }

.experience-quote {
  margin: 2rem 0 2.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--sky-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
}

@media (min-width: 1024px) {
  .experience-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 2rem;
  }
  .experience-media { grid-column: 1 / span 6; max-width: none; padding-bottom: 14%; }
  .experience-text { grid-column: 8 / span 5; }

  .experience--family .experience-media { grid-column: 7 / span 6; grid-row: 1; }
  .experience--family .experience-text { grid-column: 1 / span 5; grid-row: 1; }
}

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1.2vw, 1.25rem);
}
.g-item { position: relative; aspect-ratio: 2 / 3; }
.g-a,
.g-f { grid-column: 1 / -1; aspect-ratio: 3 / 2; }

.g-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--sky-50);
  cursor: zoom-in;
}
.g-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.g-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(var(--overlay) / 0.28), transparent 45%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.g-zoom {
  position: absolute;
  z-index: 1;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.9);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.g-zoom::before,
.g-zoom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.g-zoom::after { transform: translate(-50%, -50%) rotate(90deg); }

@media (hover: hover) {
  .g-btn:hover img { transform: scale(1.045); }
  .g-btn:hover::after,
  .g-btn:hover .g-zoom { opacity: 1; transform: none; }
}
.g-btn:focus-visible { outline-offset: 4px; }
.g-btn:focus-visible .g-zoom { opacity: 1; transform: none; }

.g-cta {
  display: flex;
  align-items: flex-end;
  background: var(--sky-50);
}
.g-cta-inner { padding: clamp(1rem, 2.5vw, 2rem); }
.g-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.g-cta .link-arrow { font-size: 0.82rem; }

@media (min-width: 1024px) {
  .gallery-grid {
    --g: clamp(0.75rem, 1.2vw, 1.25rem);
    --gw: min(100vw - var(--gutter) * 2, var(--container));
    --cell: calc((var(--gw) - var(--g) * 5) / 6);
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: calc(var(--cell) / 2);
    grid-auto-flow: row;
    gap: var(--g);
  }
  .g-item { aspect-ratio: auto; }
  .g-a { grid-column: 1 / 5; grid-row: 1 / 6; }
  .g-b { grid-column: 5 / 7; grid-row: 1 / 7; }
  .g-c { grid-column: 1 / 3; grid-row: 6 / 12; }
  .g-d { grid-column: 3 / 5; grid-row: 6 / 13; }
  .g-e { grid-column: 5 / 7; grid-row: 7 / 13; }
  .g-h { grid-column: 1 / 3; grid-row: 12 / 18; }
  .g-f { grid-column: 3 / 7; grid-row: 13 / 18; }
  .g-g { grid-column: 1 / 3; grid-row: 18 / 24; }
  .g-i { grid-column: 3 / 5; grid-row: 18 / 24; }
  .g-cta { grid-column: 5 / 7; grid-row: 18 / 24; }
}

/* ---------- Diferenciais ---------- */
.values { background: var(--white); }

.values-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.value {
  position: relative;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
}
.value-num {
  position: absolute;
  top: 2.75rem;
  right: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.value-icon {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--sky-500);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-title {
  margin-top: 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.6rem + 0.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.value p { margin-top: 1rem; max-width: 38ch; }

@media (min-width: 768px) {
  .values-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
  }
  .value {
    padding: 0.5rem clamp(1.5rem, 3vw, 3.5rem) 1rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .value:first-child { border-left: 0; padding-left: 0; }
  .value:last-child { padding-right: 0; }
  .value-num { top: 0.5rem; right: clamp(1.5rem, 3vw, 3.5rem); }
  .value:last-child .value-num { right: 0; }
}

/* ---------- Local ---------- */
.location { background: var(--sand); overflow: hidden; }

.location-grid { display: grid; gap: 3rem; }
.location-text .lead { margin-top: 2rem; max-width: 44ch; }

.location-highlight {
  margin-top: 1.75rem;
  max-width: 30ch;
  padding-left: 1.25rem;
  border-left: 1px solid var(--sky-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem);
  line-height: 1.3;
  color: var(--sky-600);
}

.location-place {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.65rem 1.1rem 0.65rem 0.9rem;
  border: 1px solid rgb(28 43 58 / 0.12);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
}
.location-place svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.5;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
}

.location-media { aspect-ratio: 4 / 5; margin-inline: calc(var(--gutter) * -1); }
.location-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

@media (min-width: 640px) {
  .location-media { margin-inline: 0; }
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 2rem;
  }
  .location-text { grid-column: 1 / span 5; }
  .location-media { grid-column: 7 / span 6; aspect-ratio: 5 / 6; }
}

/* ---------- Chamada final ---------- */
.final-cta { padding: var(--section-y) 0 0; }

.final-cta-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88svh, 820px);
  max-width: calc(var(--container) + var(--gutter) * 2 + 200px);
  margin-inline: auto;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.final-cta-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.final-cta-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(var(--overlay) / 0.82) 0%, rgb(var(--overlay) / 0.45) 45%, rgb(var(--overlay) / 0.05) 80%),
    linear-gradient(to right, rgb(var(--overlay) / 0.35), transparent 60%);
}

.final-cta-content {
  width: 100%;
  padding: 4rem var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
  color: var(--white);
}
.final-cta-title {
  margin-top: 1.25rem;
  max-width: 15ch;
  font-size: var(--fs-h2);
  line-height: 1.02;
  color: var(--white);
}
.final-cta-title em { color: var(--sky-100); font-weight: 400; }
.final-cta-text {
  margin: 1.5rem 0 2.25rem;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgb(255 255 255 / 0.92);
}

@media (min-width: 1024px) {
  .final-cta { padding-inline: var(--gutter); }
  .final-cta-content { padding-inline: clamp(3rem, 6vw, 7rem); }
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0 calc(2rem + env(safe-area-inset-bottom));
  background: var(--white);
}

.footer-grid { display: grid; gap: 3rem; }

.footer-brand img { width: 180px; height: auto; }
.footer-tagline {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  max-width: 18ch;
}

.footer-heading {
  margin-bottom: 1.1rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.footer-col ul { display: grid; gap: 0.35rem; }
.footer-col a,
.footer-col p { font-size: 0.95rem; color: var(--text); line-height: 1.7; }
.footer-col a[href] { display: inline-block; padding-block: 0.2rem; transition: color 0.3s; }
.footer-col a[href]:hover { color: var(--blue-600); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.back-top { display: inline-flex; align-items: center; gap: 0.5rem; padding-block: 0.5rem; color: var(--ink); }
.back-top svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.back-top:hover svg { transform: translateY(-3px); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2.5rem; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgb(24 79 146 / 0.7);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background-color 0.3s;
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--blue-700); }
html:not(.js) .wa-float { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(250 250 248 / 0.98);
  color: var(--ink);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgb(250 250 248 / 0.98); }
.lightbox[open] { animation: fade-in 0.45s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }

.lightbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 1.25rem;
}
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-img {
  max-width: min(100%, 1296px);
  max-height: calc(100svh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 60px -40px rgb(28 43 58 / 0.6);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.lightbox-img.is-changing { opacity: 0; transform: scale(0.985); }
.lightbox-caption {
  display: flex;
  gap: 1rem;
  max-width: 60ch;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  text-align: left;
}
.lightbox-count {
  flex: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue-600);
}

.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.lightbox-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-btn:hover { border-color: var(--ink); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev,
.lightbox-next { bottom: 1.25rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 767px) {
  .lightbox-inner { padding-bottom: 5.5rem; }
  .lightbox-img { max-height: calc(100svh - 13rem); }
}

/* ---------- Botão de modo escuro ---------- */
.theme-toggle {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 28px -16px rgb(28 43 58 / 0.45);
  transition: background-color 0.4s var(--ease), border-color 0.3s, color 0.4s, transform 0.4s var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--sky-500); }
.theme-icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.theme-icon--sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
html:not(.js) .theme-toggle { display: none; }

/* ---------- Modo escuro ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --white: #0e1620;
  --paper: #111b26;
  --sand: #15202b;
  --sky-50: #13202f;
  --sky-100: #1d3047;
  --sky-300: #36597e;
  --sky-500: #5aa6ea;
  --sky-600: #7db9f1;
  --blue-600: #72b2f0;
  --blue-700: #a3cdf6;
  --ink: #edf2f7;
  --text: #b6c2ce;
  --muted: #8d9aa8;
  --line: #263544;
}

[data-theme="dark"] .theme-icon--moon { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme="dark"] .theme-icon--sun { opacity: 1; transform: none; }

/* Botões e WhatsApp mantêm o azul forte com texto branco */
[data-theme="dark"] .btn-primary { --btn-bg: #2b74c6; --btn-fg: #ffffff; }
[data-theme="dark"] .btn-primary:hover { --btn-bg: #3a84d6; }
[data-theme="dark"] .wa-float { background: #2b74c6; color: #ffffff; }
[data-theme="dark"] .wa-float:hover { background: #3a84d6; }

[data-theme="dark"] .site-header { background: rgb(14 22 32 / 0.86); }
[data-theme="dark"] .hero-caption,
[data-theme="dark"] .g-zoom { background: rgb(14 22 32 / 0.82); }
[data-theme="dark"] .location-place { border-color: rgb(255 255 255 / 0.14); }
[data-theme="dark"] .lightbox,
[data-theme="dark"] .lightbox::backdrop { background: rgb(9 14 20 / 0.98); }

/* Seção final sobre a foto continua clara sobre fundo escuro */
[data-theme="dark"] .final-cta-frame { background: #0e1620; }
[data-theme="dark"] .final-cta-content,
[data-theme="dark"] .final-cta-title,
[data-theme="dark"] .eyebrow--light { color: #ffffff; }
[data-theme="dark"] .final-cta-title em { color: #cfe4f9; }

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 12px 28px -16px rgb(0 0 0 / 0.7); }

@media (min-width: 768px) {
  .lightbox-inner { padding: 5rem 6rem 2rem; }
  .lightbox-prev,
  .lightbox-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
  .lightbox-prev:hover { transform: translate(-3px, -50%); }
  .lightbox-next:hover { transform: translate(3px, -50%); }
  .lightbox-close { top: 1.5rem; right: 1.5rem; }
}

/* ---------- Revelação na rolagem ---------- */
.reveal-img { overflow: hidden; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .reveal-img[data-reveal] { opacity: 1; transform: none; clip-path: inset(10% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-img[data-reveal] img { transform: scale(1.1); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal-img[data-reveal].is-in { clip-path: inset(0); }
.js .reveal-img[data-reveal].is-in img { transform: none; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal],
  .js .reveal-img[data-reveal],
  .js .reveal-img[data-reveal] img { opacity: 1; transform: none; clip-path: none; }
  .js .prose .highlight svg { stroke-dashoffset: 0; }
  .seal-ring { animation: none; }
}
