/* ==========================================================================
   Bibi do Inglês — Versão 1 (página inicial)
   Estrutura: 1. Variáveis  2. Base  3. Componentes  4. Seções  5. Responsivo
   ========================================================================== */

/* ---------- 0. Fontes (arquivos locais, funcionam sem internet) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url("../assets/fonts/playfair-display-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/playfair-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 800; font-display: swap; src: url("../assets/fonts/playfair-display-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/playfair-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 900; font-display: swap; src: url("../assets/fonts/playfair-display-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* ---------- 1. Variáveis ---------- */
:root {
  /* paleta oficial */
  --burgundy: #7A0F29;
  --navy: #0E2A47;
  --cream: #F9F4EE;
  --pink: #F4D7D9;
  --beige: #EADFD6;

  /* apoio (vistos no mockup aprovado) */
  --burgundy-dark: #560A1C;
  --red: #D6143A;
  --red-dark: #B30F2F;
  --red-bright: #F0284D;
  --sky: #D6E9F8;
  --text-blue: #2B5481;

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 76px;
  --tear-h: clamp(22px, 3.6vw, 54px);
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 28px;

  /* bordas de papel rasgado (geradas em SVG) */
  --tear-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1200 60%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M0 0H1200V44 L1200 44 L1194 35.7 L1180 33.0 L1144 39.2 L1116 30.6 L1094 53.1 L1066 37.4 L1038 46.8 L1016 31.6 L1002 42.3 L980 51.8 L966 50.7 L930 45.5 L908 38.8 L886 50.5 L850 49.9 L836 41.0 L808 34.0 L786 34.3 L758 33.1 L744 45.8 L722 49.0 L700 43.7 L678 32.1 L660 50.7 L642 39.4 L614 42.1 L592 41.1 L556 35.4 L520 44.7 L506 32.5 L484 46.6 L448 32.7 L430 38.0 L394 44.1 L376 37.5 L358 44.5 L344 55.4 L330 45.2 L294 54.6 L258 46.4 L240 33.2 L204 41.0 L168 36.3 L154 41.3 L140 35.6 L104 31.5 L68 32.4 L32 31.9 L18 40.3 L0 38.4Z%27 fill=%27black%27/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27220%27 height=%27220%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0%27/%3E%3C/filter%3E%3Crect width=%27100%%27 height=%27100%%27 filter=%27url%28%23n%29%27/%3E%3C/svg%3E");


  /* bordas de papel rasgado (recortes irregulares reutilizáveis) */
  --torn-a: polygon(0.0% 1.4%, 5.2% 3.0%, 10.1% 1.6%, 15.5% 0.6%, 20.5% 2.0%, 26.7% 0.3%, 30.9% 0.3%, 37.1% 2.2%, 40.3% 3.1%, 47.1% 2.1%, 52.6% 0.5%, 55.7% 1.7%, 58.9% 0.6%, 62.9% 0.1%, 67.7% 1.4%, 74.1% 1.7%, 79.7% 1.6%, 85.3% 1.5%, 89.4% 3.2%, 96.4% 2.7%, 100.0% 1.0%, 99.1% 7.8%, 97.5% 14.4%, 97.3% 23.6%, 96.9% 32.7%, 100.0% 45.5%, 97.1% 53.2%, 96.9% 62.9%, 99.8% 72.1%, 97.5% 83.1%, 99.7% 91.3%, 96.9% 99.9%, 99.6% 100.0%, 96.0% 99.7%, 92.8% 97.4%, 89.1% 98.2%, 84.3% 99.4%, 78.3% 99.6%, 72.8% 99.6%, 68.1% 99.3%, 64.0% 96.9%, 57.8% 99.0%, 51.3% 99.3%, 46.7% 97.3%, 41.1% 99.7%, 34.2% 99.3%, 30.1% 97.5%, 25.8% 99.1%, 22.5% 99.7%, 17.2% 99.2%, 11.8% 98.8%, 7.0% 96.9%, 2.0% 98.2%, 0.0% 99.4%, 2.9% 92.8%, 0.8% 80.2%, 2.4% 72.7%, 0.6% 59.2%, 2.8% 45.6%, 1.3% 34.8%, 0.1% 27.9%, 0.8% 14.2%, 0.8% 2.6%);
  --torn-b: polygon(0.0% 4.2%, 9.5% 4.0%, 14.2% 2.7%, 20.8% 2.4%, 25.7% 0.9%, 32.4% 1.0%, 39.1% 0.1%, 43.8% 3.2%, 50.4% 2.3%, 58.7% 1.6%, 63.2% 3.5%, 70.7% 3.0%, 78.4% 4.4%, 84.6% 3.4%, 90.9% 2.6%, 98.8% 1.4%, 100.0% 2.1%, 97.3% 10.6%, 97.1% 19.2%, 99.2% 25.9%, 96.3% 33.6%, 99.5% 40.4%, 99.8% 46.5%, 97.4% 53.9%, 98.5% 65.2%, 98.7% 73.3%, 96.5% 80.9%, 98.8% 90.2%, 96.5% 96.4%, 96.3% 100.0%, 94.5% 97.5%, 85.1% 97.3%, 75.6% 99.2%, 66.0% 99.7%, 59.4% 99.9%, 50.7% 96.9%, 41.1% 96.4%, 31.5% 97.6%, 21.8% 96.6%, 15.7% 95.6%, 9.4% 99.1%, 4.7% 97.9%, 0.0% 95.8%, 1.0% 87.8%, 2.4% 81.6%, 2.4% 75.0%, 1.1% 63.7%, 4.1% 55.3%, 1.5% 46.7%, 3.7% 34.9%, 3.1% 23.0%, 3.1% 14.7%, 2.9% 3.3%);
  --torn-c: polygon(0.0% 2.6%, 4.0% 2.3%, 11.7% 3.2%, 17.8% 2.4%, 23.1% 2.0%, 27.2% 2.6%, 33.7% 1.1%, 39.1% 2.8%, 44.9% 3.6%, 53.1% 3.2%, 57.2% 0.3%, 62.2% 1.4%, 69.1% 3.1%, 75.4% 2.4%, 81.8% 0.1%, 87.9% 0.8%, 93.5% 0.0%, 100.0% 3.5%, 97.8% 5.2%, 98.7% 10.2%, 96.7% 16.0%, 96.6% 25.5%, 97.3% 31.7%, 98.1% 40.9%, 97.6% 51.6%, 97.3% 58.2%, 99.2% 66.1%, 99.8% 74.8%, 97.9% 82.5%, 97.5% 87.3%, 97.5% 92.7%, 99.9% 99.7%, 99.8% 100.0%, 95.6% 98.1%, 90.9% 98.0%, 85.0% 97.8%, 78.8% 98.9%, 74.2% 97.4%, 68.5% 98.0%, 60.5% 100.0%, 55.6% 97.9%, 51.7% 97.1%, 46.2% 98.8%, 41.7% 96.3%, 37.8% 96.9%, 30.9% 96.6%, 23.9% 98.7%, 17.7% 96.5%, 13.9% 96.8%, 7.0% 99.3%, 0.0% 98.9%, 1.0% 95.2%, 0.1% 87.1%, 1.7% 78.5%, 2.9% 71.6%, 3.7% 62.8%, 3.3% 52.4%, 3.2% 41.7%, 0.3% 33.7%, 2.4% 26.1%, 2.5% 15.1%, 0.3% 6.6%);
  --pink-hot: #FF5A7A;

}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}

/* granulado sutil sobre a página inteira */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.07;
}

img, svg { max-width: 100%; }
img { height: auto; }

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

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

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

.hero :focus-visible,
.philosophy :focus-visible,
.cta :focus-visible { outline-color: var(--cream); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Componentes ---------- */

/* botões */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0.7em 1.5em;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { min-height: 54px; padding: 0.8em 1.7em; font-size: 1.05rem; }

.btn--burgundy { --btn-bg: var(--burgundy); --btn-fg: #fff; box-shadow: 0 6px 16px rgba(122, 15, 41, 0.28); }
.btn--burgundy:hover { --btn-bg: var(--burgundy-dark); }

.btn--primary { --btn-bg: var(--red); --btn-fg: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); }
.btn--primary:hover { --btn-bg: var(--red-dark); }

.btn--outline { --btn-fg: var(--cream); --btn-bd: rgba(249, 244, 238, 0.85); }
.btn--outline:hover { --btn-bg: var(--cream); --btn-fg: var(--burgundy); --btn-bd: var(--cream); }

.btn--light { --btn-bg: var(--cream); --btn-fg: var(--burgundy); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.btn--light:hover { --btn-bg: #fff; }

.btn--outline-burgundy { --btn-fg: var(--burgundy); --btn-bd: var(--burgundy); }
.btn--outline-burgundy:hover { --btn-bg: var(--burgundy); --btn-fg: #fff; }

/* papel rasgado entre seções */
.has-tear { position: relative; }
.has-tear::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: var(--tear-h);
  background: var(--tear);
  -webkit-mask: var(--tear-mask) center / 100% 100% no-repeat;
  mask: var(--tear-mask) center / 100% 100% no-repeat;
  z-index: 4;
  pointer-events: none;
}

/* colagem: pedaços de papel, rabiscos e silhuetas */
.paper { position: absolute; display: block; }
.halftone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.2px, transparent 1.7px) 0 0 / 7px 7px;
  -webkit-mask: linear-gradient(135deg, #000 0%, transparent 78%);
  mask: linear-gradient(135deg, #000 0%, transparent 78%);
}
.deco { position: absolute; display: block; width: 40px; height: 40px; }

.underline {
  position: absolute;
  left: 0;
  bottom: -0.22em;
  width: 100%;
  height: 0.3em;
  color: var(--red);
  overflow: visible;
}
.underline--navy { color: var(--navy); }

/* ---------- 4. Seções ---------- */

/* ===== Cabeçalho ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--cream);
}
.site-header::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  height: clamp(16px, 2.4vw, 30px);
  background: var(--cream);
  -webkit-mask: var(--tear-mask) center / 100% 100% no-repeat;
  mask: var(--tear-mask) center / 100% 100% no-repeat;
  z-index: 1;
  pointer-events: none;
}
.site-header__cta { min-height: 44px; padding: 0.55em 1.3em; font-size: 0.95rem; }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: block; flex-shrink: 0; }
.brand__crop {
  display: block;
  width: 100px;
  aspect-ratio: 1386 / 976;
  overflow: hidden;
}
/* o PNG oficial tem margem transparente: recortamos só a área visível, sem alterar o arquivo */
.brand__crop img,
.lt__logo img,
.ph__logo img {
  display: block;
  width: 104.4564%;
  max-width: none;
  height: auto;
  margin-top: -6.0606%;
}

.nav { flex: 1; }
.nav__list { display: flex; justify-content: center; gap: clamp(12px, 2.3vw, 34px); }
.nav__cta-mobile { display: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  transition: color 0.18s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__link:hover { color: var(--burgundy); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--red); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: var(--burgundy);
}
.menu-toggle__bars { position: relative; display: block; width: 26px; height: 18px; margin: auto; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7.5px; }
.menu-toggle__bars span:nth-child(3) { top: 15px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 7.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 7.5px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  --portrait-w: min(44vw, 640px);
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(var(--portrait-w) * 1.2496 + 48px);
  padding: clamp(48px, 7.2vw, 108px) 0 clamp(80px, 9vw, 120px);
  color: var(--cream);
  background:
    radial-gradient(70% 80% at 72% 38%, rgba(214, 20, 58, 0.30), transparent 70%),
    radial-gradient(90% 90% at 8% 90%, rgba(0, 0, 0, 0.35), transparent 65%),
    linear-gradient(118deg, #5A0A1E 0%, var(--burgundy) 46%, #8A1130 100%);
}
/* textura de meio-tom nos cantos */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(244, 215, 217, 0.32) 1.2px, transparent 1.7px) 0 0 / 9px 9px;
  -webkit-mask: radial-gradient(55% 60% at 0% 100%, #000, transparent 72%), radial-gradient(35% 45% at 46% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
  mask: radial-gradient(55% 60% at 0% 100%, #000, transparent 72%), radial-gradient(35% 45% at 46% 0%, rgba(0, 0, 0, 0.55), transparent 70%);
}

.hero__collage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* camadas de papel: bordô, rosa, marinho e bege */
.paper--wash {
  top: 12%;
  right: 9%;
  width: 34%;
  height: 66%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, transparent 28%, rgba(0, 0, 0, 0.12) 62%, transparent 100%),
    linear-gradient(150deg, #C9123A 0%, #9C0E2B 100%);
  clip-path: var(--torn-b);
  transform: rotate(6deg);
  opacity: 0.9;
}
.paper--strip-pink {
  top: 8%;
  left: 47%;
  width: 18%;
  height: 8%;
  background: var(--pink);
  clip-path: var(--torn-a);
  transform: rotate(-13deg);
  opacity: 0.95;
}
.paper--strip-pink::after { background: radial-gradient(circle, rgba(122, 15, 41, 0.45) 1.3px, transparent 1.8px) 0 0 / 7px 7px; }
.paper--strip-navy {
  left: -2%;
  bottom: 9%;
  width: 11%;
  height: 22%;
  background: var(--navy);
  clip-path: var(--torn-c);
  transform: rotate(-4deg);
}
.paper--strip-beige {
  right: 1%;
  bottom: 5%;
  width: 40%;
  height: 12%;
  background: var(--beige);
  clip-path: var(--torn-a);
  transform: rotate(-2deg);
  opacity: 0.9;
}

.deco--star-big { width: clamp(34px, 4vw, 60px); height: clamp(34px, 4vw, 60px); top: 20%; left: 49%; color: #fff; }
.deco--star-small { width: 22px; height: 22px; bottom: 22%; left: 5%; color: var(--pink); }
.deco--crown { width: clamp(52px, 6vw, 88px); height: clamp(36px, 4vw, 58px); top: 5%; right: 3%; color: var(--cream); }
.deco--zigzag { width: 36px; height: 26px; bottom: 26%; left: 45%; color: var(--cream); opacity: 0.9; }

/* colagem editorial de Londres (arquivo real, atrás do retrato) */
.hero__london {
  position: absolute;
  left: 31vw;
  bottom: clamp(14px, 2vw, 30px);
  display: block;
  width: min(100vw, 1600px);
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.hero__london img { display: block; width: 100%; height: auto; }

.hero__inner { position: relative; z-index: 3; }
.hero__text { max-width: min(62vw, 800px); }

.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-shadow: 0 3px 22px rgba(40, 0, 12, 0.35);
}
.hero__line { display: block; }
.hero__title-accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  color: var(--pink);
}
.hero__lead {
  margin-top: clamp(20px, 2.6vw, 32px);
  max-width: 24em;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: var(--cream);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 38px);
}

/* retrato com fundo transparente, sobreposto às camadas */
.hero__portrait {
  position: absolute;
  z-index: 2;
  right: clamp(0px, 8vw, 150px);
  bottom: 0;
  width: var(--portrait-w);
  filter: drop-shadow(0 22px 30px rgba(30, 0, 10, 0.45));
  pointer-events: none;
}
.hero__portrait picture { display: block; }
.hero__portrait img { display: block; width: 100%; height: auto; object-fit: contain; }

/* ===== Faixa de diferenciais ===== */
.features {
  padding: calc(var(--tear-h) + 10px) 0 16px;
  background: var(--cream);
}
.features__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 14px;
}
.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 46px;
  width: 2px;
  transform: translateY(-50%);
  background: var(--red);
  opacity: 0.55;
}
.feature__icon { flex-shrink: 0; width: 50px; height: 50px; }
.feature--navy .feature__icon { color: var(--navy); }
.feature--burgundy .feature__icon { color: var(--burgundy); }
.feature__label {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1C4F8A;
}

/* ===== Categorias ===== */
.categories { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.categories .container { max-width: 1320px; }
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  color: var(--navy);
}
.section-title__accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--burgundy);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 30px 26px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(122, 15, 41, 0.07);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(14, 42, 71, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: calc(var(--header-h) + 90px);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14, 42, 71, 0.14); }
.card__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
}
.card__icon svg { width: 44px; height: 44px; }
.card__icon--pink { background: #F6CDD1; color: var(--burgundy); }
.card__icon--blue { background: #CFE5FA; color: var(--navy); }
.card__title {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--navy);
}
.card__text {
  margin-top: 12px;
  margin-bottom: 22px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #264E7A;
}
.card__go {
  display: grid;
  place-items: center;
  align-self: flex-end;
  width: 46px;
  height: 46px;
  margin-top: auto;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  transition: background-color 0.18s, color 0.18s, transform 0.18s;
}
.card__go svg { width: 22px; height: 22px; }
.card__go:hover { background: var(--burgundy); color: #fff; transform: translateX(3px); }

/* ===== Filosofia (navy) ===== */
.philosophy {
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--tear-h) + clamp(52px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
  color: var(--cream);
  background:
    radial-gradient(60% 80% at 78% 45%, rgba(255, 255, 255, 0.07), transparent 65%),
    radial-gradient(40% 50% at 0% 100%, rgba(122, 15, 41, 0.35), transparent 70%),
    var(--navy);
}
.philosophy__collage { position: absolute; inset: 0; z-index: -1; }
.paper--red-edge {
  left: -2%;
  top: 10%;
  width: 7%;
  height: 36%;
  background: linear-gradient(160deg, #C9123A, #8E1030);
  clip-path: var(--torn-c);
  transform: rotate(-3deg);
}
.paper--pink-edge {
  right: -3%;
  bottom: -2%;
  width: 12%;
  height: 15%;
  background: var(--pink);
  opacity: 0.9;
  clip-path: var(--torn-a);
  transform: rotate(-5deg);
}
.paper--pink-edge::after { background: radial-gradient(circle, rgba(122, 15, 41, 0.35) 1.2px, transparent 1.7px) 0 0 / 7px 7px; }
.deco--dashes { width: 54px; height: 54px; right: 8%; top: calc(var(--tear-h) + 14%); color: var(--cream); }

.philosophy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}
.philosophy__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.3vw, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.philosophy__accent { display: block; font-weight: 900; color: var(--pink-hot); }
.philosophy__accent-line { display: block; }
.philosophy__lead {
  margin: clamp(18px, 2.2vw, 28px) 0 clamp(24px, 3vw, 36px);
  max-width: 28em;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--cream);
}

.devices-figure { margin: 0; }
.devices {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 840px;
  margin-inline: auto;
  aspect-ratio: 1.42 / 1;
}
.devices__caption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(249, 244, 238, 0.75);
}

/* notebook ilustrativo */
.laptop { position: absolute; left: 0; top: 7%; width: 80%; filter: drop-shadow(0 2.5cqw 3cqw rgba(0, 0, 0, 0.4)); }
.laptop__screen {
  padding: 1.1cqw;
  background: #1B1D23;
  border-radius: 1.8cqw 1.8cqw 0.5cqw 0.5cqw;
}
.lt {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  background: var(--cream);
  border-radius: 0.8cqw;
}
.lt__nav { display: flex; align-items: center; justify-content: space-between; height: 5.6cqw; padding: 0 2cqw; }
.lt__logo { display: block; width: 7.5cqw; aspect-ratio: 1386 / 976; overflow: hidden; }
.lt__links { display: flex; gap: 1.8cqw; font-size: 0.95cqw; font-style: normal; color: var(--navy); }
.lt__links i { font-style: normal; }
.lt__hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: linear-gradient(180deg, #D6E6F4 0%, #EFE6DF 100%);
}
.lt__photo { position: absolute; inset: 0; display: block; }
.lt__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% 60%; }
.lt__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 7.2cqw;
  height: 7.2cqw;
  transform: translate(-50%, -50%);
  color: #fff;
  background: var(--burgundy);
  border: 0.45cqw solid #fff;
  border-radius: 50%;
  box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.3);
}
.lt__play svg { width: 3.4cqw; height: 3.4cqw; margin-left: 0.3cqw; }
.lt__cards { display: flex; gap: 1cqw; padding: 1.2cqw 2cqw 1.6cqw; background: var(--cream); }
.lt__card {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.9cqw;
  padding: 0.8cqw 1cqw;
  font-size: 0.9cqw;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  background: #fff;
  border-radius: 1.2cqw;
  box-shadow: 0 0.3cqw 1cqw rgba(14, 42, 71, 0.1);
}
.lt__card b { flex-shrink: 0; width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; }
.lt__card--orange b { background: #F9D9C2; }
.lt__card--blue b { background: #CFE5FA; }
.lt__card--pink b { background: #F6CDD1; }
.laptop__base {
  height: 1.7cqw;
  margin: 0 -3%;
  background: linear-gradient(#DADCE2, #A5A9B2);
  border-radius: 0 0 2.2cqw 2.2cqw;
}

/* celular ilustrativo */
.phone {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 25cqw;
  padding: 0.8cqw;
  transform: rotate(3deg);
  background: #14161B;
  border-radius: 4cqw;
  filter: drop-shadow(0 2cqw 3cqw rgba(0, 0, 0, 0.45));
}
.phone__screen {
  aspect-ratio: 9 / 19.6;
  overflow: hidden;
  background: linear-gradient(170deg, #8E1230, var(--burgundy) 55%, #5B0A1E);
  border-radius: 3.3cqw;
}
.ph__top { display: flex; align-items: flex-end; height: 10.5cqw; padding: 0 2.4cqw; background: var(--cream); }
.ph__logo { display: block; width: 9.5cqw; aspect-ratio: 1386 / 976; overflow: hidden; }
.ph__title {
  padding: 2.4cqw 2.4cqw 1.6cqw;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1cqw;
  line-height: 1.2;
  color: #fff;
}
.ph__menu { display: grid; gap: 1.5cqw; padding: 0 2cqw; }
.ph__menu li {
  position: relative;
  padding: 2cqw 3cqw;
  font-size: 1.7cqw;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  background: var(--cream);
  border-radius: 1.6cqw;
}
.ph__menu li::after { content: "›"; position: absolute; right: 2.6cqw; top: 50%; transform: translateY(-52%); color: var(--burgundy); font-size: 2.6cqw; }

/* ===== Sobre ===== */
.about {
  --london-w: clamp(240px, 27vw, 400px);
  isolation: isolate;
  overflow-x: clip;
  padding: calc(var(--tear-h) + clamp(44px, 6vw, 80px)) 0 clamp(130px, 12.5vw, 184px);
  background: var(--cream);
}
/* textura de papel */
.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.035;
}
.about .container { max-width: 1320px; }

/* decoração da seção (atrás do conteúdo) */
.about__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about__beige {
  position: absolute;
  top: calc(var(--tear-h) - 8px);
  right: 5%;
  width: 20%;
  height: 8%;
  background: var(--beige);
  clip-path: var(--torn-a);
  transform: rotate(-2deg);
  opacity: 0.85;
}
.about__dots {
  position: absolute;
  right: 0;
  bottom: 14%;
  width: 13%;
  height: 28%;
  background: radial-gradient(circle, rgba(214, 20, 58, 0.30) 1.5px, transparent 2px) 0 0 / 8px 8px;
  -webkit-mask: linear-gradient(to left, #000 0%, transparent 90%);
  mask: linear-gradient(to left, #000 0%, transparent 90%);
}
/* detalhe de Londres: recorte do arquivo real da colagem (Big Ben, Parlamento e ponte) */
.about__london {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: var(--london-w);
  aspect-ratio: 922 / 724;
  overflow: hidden;
  -webkit-mask: linear-gradient(to right, transparent 0, #000 9%);
  mask: linear-gradient(to right, transparent 0, #000 9%);
}
.about__london img {
  display: block;
  width: 235.57%;
  max-width: none;
  height: auto;
  margin-left: -135.57%;
}

.about__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4.2vw, 60px);
}

/* retrato com moldura editorial */
.about__photo { position: relative; isolation: isolate; width: 100%; max-width: 330px; margin-inline: auto; }
.about__frame { position: relative; z-index: 2; display: block; }
.about__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  object-position: 50% 34%;
  border: 12px solid #FFFBF5;
  border-radius: 5px;
  box-shadow: 0 18px 34px rgba(14, 42, 71, 0.24), 0 2px 8px rgba(0, 0, 0, 0.12);
}
.about__paper { position: absolute; z-index: -1; }
.about__paper--pinkstrip {
  top: 24%;
  left: -50px;
  width: 78px;
  height: 56%;
  background:
    radial-gradient(circle, rgba(122, 15, 41, 0.35) 1.4px, transparent 1.9px) 0 0 / 8px 8px,
    #F2CBD0;
  clip-path: var(--torn-a);
  transform: rotate(-2deg);
}
.about__paper--navy-side {
  top: 3%;
  right: -26px;
  width: 52px;
  height: 46%;
  background: var(--navy);
  clip-path: var(--torn-c);
  transform: rotate(1.5deg);
}
.about__paper--navy-base {
  left: 12%;
  bottom: -30px;
  width: 80%;
  height: 48px;
  background: var(--navy);
  clip-path: var(--torn-a);
  transform: rotate(-1.5deg);
}
.about__tape {
  position: absolute;
  z-index: 3;
  top: -14px;
  left: -34px;
  width: 124px;
  height: 36px;
  background:
    radial-gradient(circle, rgba(122, 15, 41, 0.40) 1.3px, transparent 1.8px) 0 0 / 7px 7px,
    rgba(244, 215, 217, 0.96);
  clip-path: var(--torn-a);
  transform: rotate(-24deg);
}
.about__dashes { position: absolute; z-index: 3; left: -72px; top: 12%; width: 38px; height: 38px; color: var(--burgundy); transform: rotate(-8deg); }
.about__spark { position: absolute; z-index: 3; right: -50px; bottom: 6%; width: 32px; height: 32px; color: var(--burgundy); }
.about__stamp { position: absolute; z-index: 3; left: -76px; top: 42%; width: 88px; height: 88px; color: var(--burgundy); opacity: 0.85; transform: rotate(-12deg); }

.about__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.3vw, 3.1rem);
  line-height: 1.08;
  color: var(--navy);
}
.about__accent { position: relative; display: inline-block; font-style: italic; color: var(--burgundy); }
.underline--pink { color: #EFA3B3; bottom: -0.16em; height: 0.24em; }
.about__lead {
  margin: 20px 0 28px;
  max-width: 30em;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: #1F4268;
}
.about__btn { --btn-bg: #FFFBF5; box-shadow: 0 6px 14px rgba(122, 15, 41, 0.10); }
.about__btn:hover { --btn-bg: var(--burgundy); }

.about__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #1F4268;
}
.point + .point { border-left: 2px solid rgba(214, 20, 58, 0.28); }
.point__icon { width: 54px; height: 54px; }
.point__icon--burgundy { color: var(--burgundy); }

/* ===== Chamada final ===== */
.cta {
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--tear-h) + clamp(56px, 7vw, 104px));
  color: var(--cream);
  background:
    radial-gradient(70% 90% at 80% 70%, rgba(214, 20, 58, 0.28), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(0, 0, 0, 0.3), transparent 70%),
    linear-gradient(120deg, #5A0A1E 0%, var(--burgundy) 55%, #8A1130 100%);
}
.cta__collage { position: absolute; inset: 0; z-index: -1; }
.paper--cta-wash {
  right: 2%;
  bottom: 12%;
  width: 40%;
  height: 46%;
  background: linear-gradient(150deg, #C9123A, #970D29);
  clip-path: var(--torn-b);
  transform: rotate(-3deg);
  opacity: 0.85;
}
.paper--cta-pink {
  left: -4%;
  bottom: 9%;
  width: 14%;
  height: 11%;
  background: var(--pink);
  clip-path: var(--torn-a);
  transform: rotate(-8deg);
}
.paper--cta-pink::after { background: radial-gradient(circle, rgba(122, 15, 41, 0.4) 1.2px, transparent 1.7px) 0 0 / 7px 7px; }
.paper--cta-navy {
  right: -2%;
  top: calc(var(--tear-h) + 4%);
  width: 14%;
  height: 20%;
  background: var(--navy);
  clip-path: var(--torn-c);
  transform: rotate(6deg);
}
.deco--cta-star { width: clamp(30px, 3.4vw, 50px); height: clamp(30px, 3.4vw, 50px); top: calc(var(--tear-h) + 10%); left: 47%; color: #fff; }
.deco--cta-star2 { width: 22px; height: 22px; bottom: 30%; left: 7%; color: var(--pink); }
.deco--cta-zigzag { display: none; }
.cta__london {
  position: absolute;
  right: -5%;
  bottom: 56px;
  display: block;
  width: min(62%, 920px);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}
.cta__london img { display: block; width: 100%; height: auto; }

.cta__inner { position: relative; z-index: 2; padding-bottom: clamp(72px, 9vw, 120px); }
.cta__title {
  max-width: 9.5em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.cta__accent { font-style: italic; font-weight: 900; color: var(--pink); }
.cta__lead { margin: 20px 0 30px; max-width: 24em; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; }

.site-footer {
  position: relative;
  z-index: 2;
  padding: 22px var(--gutter) 26px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(249, 244, 238, 0.8);
  border-top: 1px solid rgba(249, 244, 238, 0.18);
  background: rgba(40, 0, 12, 0.18);
}

/* ---------- 5. Responsivo ---------- */

/* notebook pequeno / tablet horizontal: menu vira "hambúrguer" */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .site-header__cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    display: none;
    padding: 6px var(--gutter) 22px;
    background: var(--cream);
    border-top: 1px solid rgba(14, 42, 71, 0.08);
    box-shadow: 0 18px 30px rgba(14, 42, 71, 0.18);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 14px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--beige); }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--red); }
  .nav__cta-mobile { display: block; margin-top: 16px; }
  .nav__cta-mobile .btn { width: 100%; }
}

@media (max-width: 1300px) {
  .about__inner { grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); }
  .about__points { grid-column: 1 / -1; max-width: 680px; width: 100%; margin-inline: auto; }
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 320px; }
  .features__list { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .feature + .feature::before { display: none; }
}

/* tablet e celular: composição própria, texto e retrato empilhados */
@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 44px 0 0;
  }
  .hero__text { max-width: none; }
  .hero__title { font-size: clamp(2.5rem, 12.2vw, 4.6rem); line-height: 1; }
  .hero__lead { max-width: 28em; }

  .hero__portrait {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(82%, 400px);
    margin: 18px auto 0 3%;
  }
  .hero__london {
    left: 8%;
    bottom: 0;
    width: 134%;
    max-width: none;
  }
  .paper--wash { top: 38%; right: -12%; width: 78%; height: 58%; }
  .paper--strip-pink { top: 50%; left: -4%; width: 34%; height: 6%; }
  .paper--strip-navy { display: none; }
  .paper--strip-beige { width: 90%; bottom: 0; right: 0; height: 8%; }
  .deco--star-big { top: 2.5%; left: auto; right: 6%; }
  .deco--crown, .deco--zigzag { display: none; }
  .deco--star-small { bottom: 18%; left: 6%; }

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

  .cta__london { right: -18%; bottom: 66px; width: 108%; }
  .deco--cta-star { display: none; }
  .paper--pink-edge { display: none; }
  .paper--cta-wash { width: 90%; right: -10%; height: 40%; }
  .cta__inner { padding-bottom: clamp(190px, 46vw, 300px); }
  .deco--cta-zigzag { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand__crop { width: 92px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 24px 22px 20px; }

  .about__inner { grid-template-columns: 1fr; text-align: left; }
  .about__photo { max-width: 300px; }
  .about__points { display: flex; flex-direction: column; gap: 6px; max-width: none; }
  .point { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 10px 4px; text-align: left; }
  .point + .point { border-left: 0; border-top: 1px solid rgba(14, 42, 71, 0.12); }
  .point br { display: none; }
  .about .btn, .hero__actions .btn, .philosophy .btn, .cta .btn { width: 100%; }

  .features__list { grid-template-columns: 1fr; }
  .feature { justify-content: flex-start; padding: 8px 6px; }
  .feature__label br { display: none; }
  .philosophy__title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.4rem; }
  .btn--lg { padding-inline: 1.1em; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .card:hover, .card__go:hover { transform: none; }
}

/* ---------- Sobre: ajustes por tamanho de tela ---------- */
@media (max-width: 1300px) {
  .about { padding-bottom: calc(var(--london-w) * 0.7852 + 28px); }
  .about__stamp { left: -64px; width: 76px; height: 76px; }
}

@media (max-width: 900px) {
  .about { --london-w: clamp(200px, 32vw, 260px); }
  /* enfeites que ficam fora da moldura saem de cena */
  .about__dashes, .about__stamp, .about__spark, .about__paper--navy-side { display: none; }
  .about__paper--pinkstrip { left: -22px; width: 56px; }
}

@media (max-width: 640px) {
  .about { --london-w: min(66vw, 260px); }
  .about__photo { max-width: 290px; margin-inline: auto; }
  .about__tape { left: -20px; width: 104px; }
  .about__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .about__dots { height: 18%; width: 22%; bottom: 8%; }
  .about__beige { width: 36%; }
  .about__points { width: 100%; justify-self: stretch; }
}


/* ==========================================================================
   Ajustes versão 1.3 — integração das artes finais (hero, seção azul e rodapé)
   ========================================================================== */
.hero--v2,
.philosophy--v2,
.cta--v2 {
  overflow: hidden;
  isolation: isolate;
}

.hero__artwork,
.philosophy__artwork,
.cta__artwork {
  display: block;
  position: relative;
  z-index: 0;
}
.hero__artwork img,
.philosophy__artwork img,
.cta__artwork img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== HERO COM ARTE FINAL ===== */
.hero--v2 {
  min-height: 0;
  padding: 0;
  background: none;
  color: var(--cream);
}
.hero--v2::before { display: none; }
.hero--v2 .hero__collage,
.hero--v2 .hero__portrait { display: none; }
.hero--v2 .hero__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero--v2 .hero__text {
  width: min(44%, 540px);
  max-width: min(44%, 540px);
  margin-left: clamp(34px, 5.6vw, 80px);
  margin-top: clamp(6px, 3vw, 38px);
  pointer-events: auto;
}
.hero--v2 .hero__title {
  font-size: clamp(2.4rem, 5.2vw, 5.55rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.hero--v2 .hero__lead {
  margin-top: clamp(14px, 1.8vw, 24px);
  max-width: 19em;
  font-size: clamp(1rem, 1.55vw, 1.42rem);
  line-height: 1.42;
}
.hero--v2 .hero__actions {
  margin-top: clamp(18px, 2.2vw, 30px);
  gap: 12px;
}
.hero--v2 .btn--primary { box-shadow: 0 8px 18px rgba(122, 15, 41, 0.34); }
.hero--v2 .btn--outline { background: rgba(122, 15, 41, 0.25); }

/* ===== SEÇÃO AZUL COM ARTE FINAL ===== */
.philosophy--v2 {
  padding: 0;
  background: none;
  color: var(--cream);
}
.philosophy--v2 .philosophy__collage,
.philosophy--v2 .devices-figure { display: none; }
.philosophy--v2 .container { max-width: none; padding-inline: 0; }
.philosophy--v2 .philosophy__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}
.philosophy--v2 .philosophy__text {
  position: absolute;
  left: clamp(34px, 5vw, 84px);
  top: 50%;
  transform: translateY(-44%);
  width: min(32%, 430px);
}
.philosophy--v2 .philosophy__title {
  font-size: clamp(2.1rem, 4.5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.philosophy--v2 .philosophy__lead {
  margin-top: clamp(14px, 2vw, 22px);
  max-width: 19em;
  font-size: clamp(1rem, 1.32vw, 1.22rem);
  line-height: 1.52;
  color: var(--cream);
}
.philosophy--v2 .btn { margin-top: 16px; }

/* ===== SEÇÃO SOBRE / OI EU SOU A BIBI ===== */
.about {
  padding: clamp(60px, 8vw, 100px) 0;
}
.about::after { display: none; }
.about .container { max-width: 1260px; }
.about__deco { opacity: 0.88; }
.about__inner {
  grid-template-columns: minmax(250px, 340px) minmax(320px, 1fr) minmax(300px, 360px);
  align-items: center;
  gap: clamp(28px, 3.8vw, 56px);
}
.about__photo { max-width: 320px; }
.about__frame img {
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(14, 42, 71, 0.14);
}
.about__title { font-size: clamp(2.2rem, 4vw, 4.5rem); line-height: 0.98; }
.about__lead { max-width: 26ch; font-size: clamp(1rem, 1.35vw, 1.22rem); }
.about__points {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.point {
  min-height: 180px;
  padding: 0 20px;
  text-align: center;
}
.point + .point { border-left: 1px solid rgba(122, 15, 41, 0.2); }
.point__icon { margin: 0 auto 16px; }
.point span { font-size: 1.05rem; line-height: 1.35; }

/* ===== RODAPÉ / CTA FINAL COM ARTE FINAL ===== */
.cta--v2 {
  padding: 0;
  background: none;
  color: var(--cream);
}
.cta--v2 .cta__collage { display: none; }
.cta--v2 .container { max-width: none; padding-inline: 0; }
.cta--v2 .cta__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
}
.cta--v2 .cta__title,
.cta--v2 .cta__lead,
.cta--v2 .btn {
  position: absolute;
  left: clamp(34px, 5vw, 84px);
  max-width: min(34%, 430px);
}
.cta--v2 .cta__title {
  top: 26%;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.cta--v2 .cta__lead {
  top: 54%;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.52;
}
.cta--v2 .btn { top: 69%; max-width: none; width: auto; }
.cta--v2 .cta__accent { color: var(--pink); }
.cta--v2 .site-footer {
  position: absolute;
  bottom: clamp(12px, 1.4vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  text-align: center;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1080px) {
  .hero--v2 .hero__text { width: min(50%, 460px); max-width: min(50%, 460px); margin-left: 26px; margin-top: 8px; }
  .philosophy--v2 .philosophy__text { left: 28px; width: min(38%, 360px); }
  .about__inner { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
  .about__points { grid-column: 1 / -1; margin-top: 10px; }
  .cta--v2 .cta__title, .cta--v2 .cta__lead, .cta--v2 .btn { left: 28px; max-width: min(40%, 360px); }
}

@media (max-width: 760px) {
  .hero--v2 .hero__inner,
  .philosophy--v2 .philosophy__inner,
  .cta--v2 .cta__inner { position: absolute; inset: 0; }

  .hero--v2 .hero__text {
    width: auto;
    max-width: none;
    margin: 0;
    position: absolute;
    left: 22px;
    right: 22px;
    top: 54px;
  }
  .hero--v2 .hero__title { font-size: clamp(2rem, 10.8vw, 3.6rem); }
  .hero--v2 .hero__lead { max-width: 15em; font-size: 1rem; }
  .hero--v2 .hero__actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .hero--v2 .hero__actions .btn { width: 100%; }

  .features__list { grid-template-columns: 1fr; gap: 0; }
  .feature { justify-content: flex-start; padding: 18px 0; }
  .feature + .feature::before { display: none; }

  .philosophy--v2 .philosophy__text {
    left: 22px;
    right: 22px;
    width: auto;
    top: 74px;
    transform: none;
  }
  .philosophy--v2 .philosophy__title { font-size: clamp(2rem, 10.2vw, 3.25rem); }
  .philosophy--v2 .philosophy__lead { max-width: 17em; font-size: 1rem; }
  .philosophy--v2 .btn { width: min(88vw, 320px); }

  .about { padding: 56px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 28px; }
  .about__photo { max-width: 280px; margin-inline: auto; }
  .about__text { text-align: left; }
  .about__lead { max-width: 30ch; }
  .about__btn { width: min(100%, 320px); }
  .about__points { grid-template-columns: 1fr; gap: 0; }
  .point { min-height: auto; text-align: left; padding: 18px 0; display: flex; align-items: center; gap: 14px; }
  .point + .point { border-left: none; border-top: 1px solid rgba(122, 15, 41, 0.15); }
  .point__icon { margin: 0; width: 40px; flex: 0 0 40px; }
  .point span { font-size: 1rem; }

  .cta--v2 .cta__title,
  .cta--v2 .cta__lead,
  .cta--v2 .btn {
    left: 22px;
    max-width: calc(100% - 44px);
  }
  .cta--v2 .cta__title { top: 18%; font-size: clamp(2rem, 9.6vw, 3.3rem); }
  .cta--v2 .cta__lead { top: 40%; font-size: 1rem; max-width: 17em; }
  .cta--v2 .btn { top: 52%; width: min(88vw, 320px); }
  .cta--v2 .site-footer { bottom: 12px; font-size: 0.72rem; width: calc(100% - 32px); }
}

/* Versão 1.4: acabamento responsivo, sem alterar as artes ou a cópia. */
#inicio, #categorias, #filosofia, #sobre, #contato,
#aulas, #jogos, #materiais, #cursos { scroll-margin-top: calc(var(--header-h) + 28px); }

/* A descrição e as ações ficam ligadas visualmente ao título. */
.hero--v2 .hero__text { margin-top: 0; }
.hero--v2 .hero__title { font-size: clamp(2.2rem, 4.85vw, 5.15rem); }
.hero--v2 .hero__lead { margin-top: clamp(12px, 1.4vw, 19px); }
.hero--v2 .hero__actions { margin-top: clamp(16px, 1.7vw, 23px); }
.hero--v2 .btn--lg { min-height: 48px; padding: 0.67em 1.3em; font-size: clamp(.86rem, 1.1vw, 1rem); }

/* Seção azul: aproximar o CTA da descrição, mantendo a arte intacta. */
.philosophy--v2 .philosophy__text { transform: translateY(-50%); }
.philosophy--v2 .philosophy__title { font-size: clamp(2rem, 4.2vw, 4.4rem); }
.philosophy--v2 .philosophy__lead { margin: 16px 0 18px; }
.philosophy--v2 .btn { margin-top: 0; }

/* Rodapé: título, parágrafo e botão são agora um único grupo flexível,
   não três elementos soltos com top em porcentagem. */
.cta--v2 .cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(12px, 1.35vw, 19px);
  padding-left: clamp(34px, 5vw, 84px);
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.cta--v2 .cta__title,
.cta--v2 .cta__lead,
.cta--v2 .btn {
  position: static;
  top: auto;
  left: auto;
  margin: 0;
  width: auto;
  max-width: min(37vw, 450px);
}
.cta--v2 .cta__title { font-size: clamp(2.2rem, 4vw, 4.45rem); }
.cta--v2 .cta__lead { font-size: clamp(1rem, 1.3vw, 1.17rem); }

@media (max-width: 1080px) and (min-width: 761px) {
  .hero--v2 .hero__text { margin-top: 0; }
  .cta--v2 .cta__inner { padding-left: 28px; }
  .cta--v2 .cta__title, .cta--v2 .cta__lead, .cta--v2 .btn { max-width: 40%; }
}

@media (max-width: 760px) {
  .hero--v2 .hero__text { top: clamp(28px, 6.4vw, 54px); margin: 0; }
  .hero--v2 .hero__title { font-size: clamp(2rem, 10vw, 3.4rem); line-height: 0.96; }
  .hero--v2 .hero__lead { margin-top: clamp(14px, 3.3vw, 22px); font-size: clamp(.88rem, 3.65vw, 1.05rem); line-height: 1.45; }
  .hero--v2 .hero__actions { margin-top: clamp(14px, 3.5vw, 22px); gap: 10px; max-width: 320px; }
  .hero--v2 .hero__actions .btn { min-height: 45px; padding: .65em 1.2em; font-size: clamp(.87rem, 3.6vw, 1rem); }

  .philosophy--v2 .philosophy__text { top: clamp(42px, 8vw, 74px); transform: none; }
  .philosophy--v2 .philosophy__title { font-size: clamp(2rem, 9.6vw, 3.15rem); }
  .philosophy--v2 .philosophy__lead { margin: 16px 0 18px; font-size: clamp(.9rem, 3.7vw, 1.05rem); }
  .philosophy--v2 .btn { margin-top: 0; }

  .cta--v2 .cta__inner {
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(16px, 4vw, 24px);
    padding: clamp(78px, 19vw, 120px) 22px 0;
  }
  .cta--v2 .cta__title, .cta--v2 .cta__lead, .cta--v2 .btn {
    position: static;
    margin: 0;
    width: auto;
    max-width: 100%;
  }
  .cta--v2 .cta__title { font-size: clamp(2rem, 9.5vw, 3.3rem); line-height: 1.05; }
  .cta--v2 .cta__lead { max-width: 23ch; font-size: clamp(.95rem, 3.8vw, 1.07rem); line-height: 1.46; }
  .cta--v2 .btn { width: min(100%, 320px); min-height: 46px; }
}


/* BIBI v1.5 — correções de posicionamento, 09/10/2026 */
/* Arte é um elemento independente: manter proporção e evitar cortes. */
.hero--v2 .hero__title, .philosophy--v2 .philosophy__title,
.cta--v2 .cta__title { text-wrap: balance; }
.hero--v2 .hero__inner { padding: 0; }
.hero--v2 .hero__text { margin-left: clamp(36px, 5vw, 80px); max-width: 43%; width: 43%; margin-top: 0; }
.hero--v2 .hero__title { font-size: clamp(2.3rem, 4.7vw, 4.75rem); line-height: .99; }
.hero--v2 .hero__lead { margin-top: 16px; }
.hero--v2 .hero__actions { margin-top: 19px; }
.philosophy--v2 .philosophy__text { top: 47%; transform: translateY(-50%); }
.philosophy--v2 .philosophy__title { font-size: clamp(2.1rem, 4.05vw, 4.15rem); }
.philosophy--v2 .philosophy__lead { margin: 15px 0; }
.philosophy--v2 .btn { margin-top: 0; }
/* O bloco CTA permanece unido; sem top % diferentes entre os filhos. */
.cta--v2 .cta__inner { display:flex; justify-content:center; align-items:flex-start;
  flex-direction:column; gap: 15px; padding: 0 0 3.5% clamp(36px, 5vw, 84px); }
.cta--v2 .cta__title, .cta--v2 .cta__lead, .cta--v2 .btn {
  position:static; left:auto; top:auto; margin:0; width:auto; max-width:min(37%, 475px); }
.cta--v2 .cta__title { font-size:clamp(2.3rem, 4.0vw, 4.5rem); line-height:1.04; }
.cta--v2 .cta__lead { font-size:clamp(1rem, 1.35vw, 1.2rem); }
.cta--v2 .site-footer { bottom: 12px; }
#inicio,#categorias,#filosofia,#sobre,#contato,#aulas,#jogos,#materiais,#cursos {
  scroll-margin-top: calc(var(--header-h) + 32px);
}
/* Marca de versão legível no rodapé; confirma upload na página. */
.site-footer__version { font-size: .75em; opacity: .8; margin-left: .35em; }
@media (max-width: 1080px) and (min-width: 761px) {
  .hero--v2 .hero__text { margin-left: 3vw; max-width: 46%; width: 46%; }
  .hero--v2 .hero__title { font-size: clamp(2.1rem, 4.65vw, 3.8rem); }
  .philosophy--v2 .philosophy__text { top: 48%; }
  .cta--v2 .cta__inner { padding-left: 4vw; }
}
@media (max-width: 760px) {
  /* A área adicionada ANTES da imagem cria espaço real para os dois botões. */
  .hero--v2 { background:#790019; }
  .hero--v2 .hero__artwork { margin-top: clamp(115px, 31vw, 150px); }
  .hero--v2 .hero__inner { inset:0; }
  .hero--v2 .hero__text { position:absolute; top: clamp(26px, 5vw, 38px);
    left: 20px; right:20px; width:auto; max-width:none; margin:0; }
  .hero--v2 .hero__title { font-size:clamp(2rem, 9.1vw, 3.2rem); line-height:.98; }
  .hero--v2 .hero__lead { margin-top:15px; max-width:24ch;
    font-size:clamp(.94rem, 3.75vw, 1.08rem); line-height:1.45; }
  .hero--v2 .hero__actions { display:flex; flex-direction:column; gap:10px;
    margin-top:16px; width:min(100%, 340px); max-width:340px; }
  .hero--v2 .hero__actions .btn { width:100%; min-height:45px;
    padding:.62em 1em; font-size:clamp(.9rem, 3.55vw, 1rem); }
  .philosophy--v2 .philosophy__text { top:clamp(36px, 6vw, 54px);
    left:20px; right:20px; width:auto; transform:none; }
  .philosophy--v2 .philosophy__title { font-size:clamp(2.05rem, 9.3vw, 3.1rem); }
  .philosophy--v2 .philosophy__lead { margin:14px 0 16px; font-size:clamp(.94rem, 3.6vw, 1.04rem); }
  .cta--v2 .cta__inner { justify-content:flex-start; gap:14px;
    padding:clamp(48px, 12vw, 76px) 20px 0; }
  .cta--v2 .cta__title,.cta--v2 .cta__lead,.cta--v2 .btn {
    max-width:100%; position:static; margin:0; }
  .cta--v2 .cta__title { font-size:clamp(2.15rem, 9.1vw, 3.15rem); line-height:1.03; }
  .cta--v2 .cta__lead { max-width:26ch; font-size:clamp(.95rem, 3.7vw, 1.08rem); }
  .cta--v2 .btn { width:min(100%, 340px); }
}


/* ===============================================================
   BIBI v1.6 — LAYOUT FIX: regras finais prevalecem sobre v1.3–v1.5.
   Manter artes intactas; organizar conteúdo nos espaços seguros.
   =============================================================== */
@media (min-width: 761px) {
  .hero--v2 .hero__inner {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
  }
  .hero--v2 .hero__text {
    position: relative;
    margin: clamp(42px, 7vw, 96px) 0 0 clamp(42px, 5.5vw, 100px);
    width: 42%; max-width: 42%;
  }
  .hero--v2 .hero__title {
    font-size: clamp(2.65rem, 4.45vw, 4.5rem);
    line-height: .96;
  }
  .hero--v2 .hero__lead { margin-top: 15px; font-size: clamp(1.04rem, 1.38vw, 1.2rem); max-width: 22em; }
  .hero--v2 .hero__actions { margin-top: 16px; gap: 12px; }
  .hero--v2 .hero__actions .btn { min-height: 45px; font-size: .94rem; padding: .65em 1.15em; }
  .philosophy--v2 .philosophy__text { top: 43%; transform: translateY(-50%); }
  .philosophy--v2 .philosophy__title { font-size: clamp(2.45rem, 3.7vw, 4.1rem); }
  .philosophy--v2 .philosophy__lead { margin: 12px 0 15px; }
  .cta--v2 .cta__inner {
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 14px; padding: 0 0 0 clamp(36px, 5vw, 84px);
  }
  .cta--v2 .cta__title, .cta--v2 .cta__lead, .cta--v2 .cta__inner > .btn {
    position: static; margin: 0; width: auto; max-width: min(38vw, 490px);
  }
  .cta--v2 .cta__title { font-size: clamp(2.5rem, 3.8vw, 4.3rem); }
  .cta--v2 .cta__lead { font-size: clamp(1rem, 1.28vw, 1.15rem); }
}
@media (min-width:761px) and (max-width:1080px) {
  .hero--v2 .hero__text { margin-top: 5vw; margin-left: 3.4vw; width: 45%; max-width: 45%; }
  .hero--v2 .hero__title { font-size: clamp(2.2rem, 4.25vw, 3.9rem); }
}
@media (max-width: 760px) {
  .hero--v2 .hero__artwork { margin-top: clamp(175px, 47vw, 215px); }
  .hero--v2 .hero__text { top: clamp(30px, 7vw, 46px); left: 20px; right: 20px; }
  .hero--v2 .hero__title { font-size: clamp(2rem, 9vw, 3.05rem); }
  .hero--v2 .hero__lead { margin-top: 12px; line-height: 1.4; }
  .hero--v2 .hero__actions { margin-top: 14px; gap: 9px; }
  .hero--v2 .hero__actions .btn { min-height: 43px; }
  .philosophy--v2 .philosophy__text { top: clamp(42px, 8vw, 64px); }
  .cta--v2 .cta__inner { padding-top: clamp(40px, 10vw, 66px); gap: 13px; }
  .cta--v2 .cta__title { font-size: clamp(2.2rem, 9vw, 3.1rem); }
}

/* v1.7 — Correção estrutural do rodapé: faixa fora da arte, sem sobreposição */
.site-footer--separate {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  min-height: 70px;
  margin: 0 !important;
  padding: 19px 20px !important;
  background: #0E2A47;
  color: #F9F4EE;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: 400 0.86rem/1.5 var(--font-body);
  z-index: 5;
}
.site-footer--separate p { margin: 0; }
@media (max-width:760px) {
  .site-footer--separate { min-height: 62px; padding: 14px 18px !important; font-size: .78rem; }
}

/* v1.8: SOMENTE O TOPO DESKTOP. Limita a altura e reduz a arte sem esticar a foto. */
@media (min-width: 761px) {
  .hero.hero--v2 {
    height: min(515px, calc(100svh - var(--header-h) - 12px));
    min-height: 420px;
    max-height: 515px;
    display: block;
    overflow: hidden;
  }
  .hero--v2 .hero__artwork { position: absolute; inset: 0; height: 100%; width: 100%; }
  .hero--v2 .hero__artwork img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 46%;
  }
  .hero--v2 .hero__inner { position: relative; width: 100%; height: 100%; }
  .hero--v2 .hero__text {
    position: absolute;
    top: 50%; left: clamp(32px, 8.5vw, 150px);
    transform: translateY(-50%);
    margin: 0; width: min(41%, 520px); max-width: min(41%, 520px);
  }
  .hero--v2 .hero__title { font-size: clamp(2.1rem, 4.2vw, 4.3rem); line-height: .98; }
  .hero--v2 .hero__lead { font-size: clamp(.96rem, 1.24vw, 1.13rem); margin-top: 12px; }
  .hero--v2 .hero__actions { margin-top: 15px; gap: 10px; }
  .hero--v2 .hero__actions .btn { font-size: .9rem; min-height: 43px; padding: .6em 1.13em; }
}


/* v1.9: corrige corte da cabeça no topo desktop */
@media (min-width: 761px) {
  .hero--v2 .hero__artwork img { object-position: center top !important; }
}

/* v2.0: remove a faixa vinho artificial entre a arte do topo e os diferenciais.
   O antigo .has-tear::before pintava um bloco sólido burgundy sobre o início
   da próxima seção. A imagem do hero já tem a borda de papel integrada. */
.features--no-burgundy-band {
  padding-top: 20px;
  background: var(--cream);
}
.features--no-burgundy-band::before {
  content: none !important;
  display: none !important;
}


/* v2.1 — CORREÇÃO EXCLUSIVA PARA O HERO MOBILE:
   remove o espaço duplicado antes da própria arte vertical.
   A imagem já contém a área vinho reservada para os textos.
   Não corta nem estica a fotografia. Desktop permanece intacto. */
@media (max-width: 760px) {
  .hero.hero--v2 { min-height: 0; }
  .hero--v2 .hero__artwork {
    margin-top: 0 !important;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .hero--v2 .hero__artwork img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


/* v2.2 — Sobre no celular: reserva espaço real para a colagem de Londres.
   Os diferenciais ficam acima da arte, sem texto sobre os prédios. */
@media (max-width: 760px) {
  .about {
    padding-bottom: max(230px, calc(var(--london-w) * 0.7852 + 78px)) !important;
  }
  .about__inner { position: relative; z-index: 2; }
  .about__points { position: relative; z-index: 2; }
  .about__london { bottom: 0; z-index: 0; }
}
