/* =========================================================
   COE — Consultório Odontológico Especializado
   Folha única. Tokens no topo para futuras páginas.
   ========================================================= */

/* ---------- Fontes locais (variáveis) ---------- */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --azul: #399FB1;          /* marca — decorativo / grandes áreas */
  --azul-prof: #236575;     /* texto, botões, links (AA) */
  --azul-suave: #EAF5F6;
  --azul-nevoa: #DCEEF0;
  --azul-ic: #2B8597;       /* ícones de linha sobre branco (≥ 4:1) */    /* um tom acima do suave: contraste para o jaleco branco */
  --grafite: #26383D;
  --grafite-2: #4A5C61;     /* texto secundário (AA) */
  --linha: #DCE8EA;
  --branco: #fff;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(96px, 11vw, 176px);
  --header-h: 76px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--branco); color: var(--grafite); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--azul-prof); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--azul); color: #fff; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--azul-prof); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.ic, .ic-lg, .esp-ic, .wa-float svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 20px; height: 20px; }
.ic-lg { width: 30px; height: 30px; }

/* ---------- Tipografia ---------- */
.display, .h2 { font-family: var(--serif); font-weight: 500; color: var(--grafite); letter-spacing: -.014em; text-wrap: balance; }
.display em, .h2 em { font-style: italic; color: var(--azul-prof); font-weight: 500; }
.display { font-size: clamp(2.7rem, 1.5rem + 4.2vw, 5.4rem); line-height: 1; }
.h2 { font-size: clamp(2.2rem, 1.4rem + 2.9vw, 3.9rem); line-height: 1.05; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--azul-prof); }
.kicker .k-n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: 0; text-transform: none; font-weight: 500; display: inline-flex; align-items: center; gap: 14px; }
.kicker .k-n::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .45; }
.lead { font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); line-height: 1.75; color: var(--grafite-2); max-width: 33em; }
.body-lg { font-size: clamp(1.04rem, .98rem + .25vw, 1.15rem); line-height: 1.8; color: var(--grafite-2); max-width: 36em; }

/* ---------- Botões ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; letter-spacing: .01em; text-decoration: none; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn-solid { background: var(--azul-prof); color: #fff; box-shadow: 0 12px 26px -16px rgba(35, 101, 117, .85); }
.btn-solid:hover { background: #1b5260; transform: translateY(-2px); box-shadow: 0 18px 32px -18px rgba(35, 101, 117, .9); }
.btn-ghost { border: 1px solid var(--linha); color: var(--azul-prof); background: #fff; }
.btn-ghost:hover { border-color: var(--azul-prof); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--azul-prof); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.link-plain { color: var(--grafite); text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.link-plain:hover { color: var(--azul-prof); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .4s var(--ease), transform .5s var(--ease); }
.site-header.is-solid { box-shadow: 0 1px 0 var(--linha); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand picture { position: relative; border-radius: 50%; }
.brand img { width: 50px; height: 50px; border-radius: 50%; }
.brand picture::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--azul); opacity: 0; pointer-events: none; }
.brand picture.pulse::after, .brand:hover picture::after { animation: ring 1.6s var(--ease) both; }
@keyframes ring { 0% { opacity: .8; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .03em; color: var(--azul-prof); }
.brand-txt span { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grafite-2); }
.menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.menu ul { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.menu ul a { position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--grafite); padding: 10px 0; }
.menu ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--azul-prof); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.menu ul a:hover::after, .menu ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.menu ul a[aria-current="true"] { color: var(--azul-prof); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; }
.burger, .burger::before, .burger::after { position: absolute; left: 14px; width: 20px; height: 1.6px; background: var(--grafite); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger { top: 23px; }
.burger::before { content: ""; left: 0; top: -6px; }
.burger::after { content: ""; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   ABERTURA — imersiva, foto fundida ao branco
   ========================================================= */
.hero { position: relative; margin-top: var(--header-h); isolation: isolate; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 2912 / 2768; background: var(--azul-suave); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo picture { height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
/* fusões: base branca (texto sobe sobre ela) + topo suave sob o cabeçalho */
.hero-fade { display: none; position: absolute; inset: 0; pointer-events: none; }
.hero-curtain { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: #fff; visibility: hidden; pointer-events: none; }
.motion .hero-curtain { visibility: visible; }
.hero-in { position: relative; z-index: 2; }
.hero-copy { display: grid; gap: 18px; padding-block: 34px 60px; }
.hero-brand { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--azul-prof); line-height: 1.45; }
.coe-symbol { width: 30px; height: 33px; flex: none; fill: none; stroke: var(--azul); stroke-width: 2; stroke-linejoin: round; }
.coe-symbol .dot { fill: var(--azul); stroke: none; transform-box: fill-box; transform-origin: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 6px; }
.hero-loc { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--grafite-2); letter-spacing: .02em; }
.hero-loc .ic { width: 18px; height: 18px; color: var(--azul); }
.scroll-cue { display: none; }

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-copy { max-width: 640px; padding-block: 48px 80px; gap: 22px; }
}
@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: clamp(620px, calc(100svh - var(--header-h)), 1040px); }
  .hero-media { position: absolute; inset: 0 0 0 auto; width: var(--hero-w, 66%); height: auto; aspect-ratio: auto; background: none; }
  .hero-photo { inset: -6% 0; will-change: transform; }
  .hero-photo img { --hero-pos: 60% 38%; }
  .hero-fade { display: block; background:
      linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 4%, rgba(255,255,255,.8) 9%, rgba(255,255,255,.52) 15%, rgba(255,255,255,.22) 20.5%, rgba(255,255,255,0) 26%),
      linear-gradient(0deg, #fff 0%, rgba(255,255,255,.45) 6%, rgba(255,255,255,0) 15%); }
  .hero-curtain { display: block; position: absolute; top: 0; bottom: 0; height: auto; left: -30%; right: auto; width: 130%; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #fff 23%); visibility: hidden; pointer-events: none; }
  .motion .hero-curtain { visibility: visible; }
  .hero-in { padding-block: 56px 96px; }
  .hero-copy { max-width: min(440px, 31vw); padding-block: 0; gap: 26px; }
  .hero .hero-brand { max-width: 17em; }
  .hero .lead { max-width: 100%; }
  .scroll-cue { display: none; position: absolute; z-index: 3; left: max(calc(var(--gut) - 10px), calc((100vw - var(--wrap)) / 2 - 10px)); bottom: 22px; width: 28px; height: 64px; }
  .scroll-cue .scroll-line { left: 10px; }
  .scroll-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--linha); overflow: hidden; }
  .scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--azul-prof); animation: cue 2.6s var(--ease-in-out) infinite; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-copy { max-width: 31vw; gap: 22px; }
  .hero .hero-brand { font-size: .68rem; }
  .hero .display { font-size: 3.2rem; }
  .hero .lead { font-size: 1rem; }
}
@media (min-width: 1280px) and (max-width: 1679px) {
  .hero .display { font-size: clamp(3.6rem, 1.2rem + 3.1vw, 4.6rem); }
}
@media (min-width: 1280px) {
  .hero { --hero-w: 64%; }
  .hero-photo img { --hero-pos: 52% 38%; }
}
@media (min-width: 1280px) and (min-height: 760px) { .scroll-cue { display: block; } }
@media (min-width: 1680px) {
  .hero-copy { max-width: 470px; }
  .hero .display { font-size: 4.9rem; }
  .hero { --hero-w: 62%; }
  .hero-photo img { --hero-pos: 48% 36%; }
}
@keyframes cue { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(350%); } }

/* =========================================================
   SOBRE
   ========================================================= */
.sobre { padding: clamp(72px, 8vw, 120px) 0 0; }
.sobre-grid { display: grid; gap: 40px; align-items: center; }
.sobre-copy { display: grid; gap: 24px; }
.sobre-visual { position: relative; }
.sobre-shape { display: none; position: absolute; z-index: -1; right: -6%; top: 14%; width: 54%; height: 92%; border-radius: 999px 999px 40px 40px; background: linear-gradient(180deg, var(--azul-suave), rgba(234, 245, 246, .35)); }
/* mobile: foto de ponta a ponta, sem moldura nem fundo artificial */
.sobre-media { margin-inline: calc(var(--gut) * -1); overflow: hidden; aspect-ratio: 4 / 3; }
.sobre-media picture { height: 100%; }
.sobre-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 104px); }
  .sobre-media { margin-inline: 0; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 200px; aspect-ratio: 4 / 3.25; }
  .sobre-shape { display: block; right: -7%; top: 16%; }
}

/* =========================================================
   ESPECIALIDADES
   ========================================================= */
.esp { padding: var(--sec) 0 0; }
.sec-head { display: grid; gap: 22px; max-width: 820px; margin-bottom: clamp(40px, 6vw, 76px); }
.esp-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--linha); }
.esp-list li { position: relative; isolation: isolate; display: grid; grid-template-columns: 34px 1fr auto; column-gap: 16px; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--linha); }
.esp-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--azul-suave), rgba(234, 245, 246, 0)); opacity: 0; transition: opacity .5s var(--ease); }
.esp-list li:hover::before { opacity: 1; }
.esp-ic { width: 30px; height: 30px; color: var(--azul-ic); grid-row: span 2; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; transition: color .4s; }
.esp-list li:hover .esp-ic { color: var(--azul-prof); animation: draw 1.1s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.esp-list h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.26rem, 1.12rem + .6vw, 1.62rem); line-height: 1.2; color: var(--grafite); transition: transform .5s var(--ease), color .4s; }
.esp-list li:hover h3 { transform: translateX(6px); color: var(--azul-prof); }
.esp-list p { grid-column: 2; color: var(--grafite-2); font-size: .92rem; line-height: 1.5; margin-top: 2px; transition: transform .5s var(--ease); }
.esp-list li:hover p { transform: translateX(6px); }
.esp-n { grid-column: 3; grid-row: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--grafite-2); font-variant-numeric: tabular-nums; transition: color .4s; }
.esp-list li:hover .esp-n { color: var(--azul-prof); }
@media (min-width: 900px) {
  .esp-list { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 100px); border-top: 0; }
  .esp-list li { grid-template-columns: 40px 1fr auto; column-gap: 20px; padding: 24px 10px; }
  .esp-ic { width: 34px; height: 34px; }
  .esp-list li:nth-child(-n+2) { border-top: 1px solid var(--linha); }
}

/* =========================================================
   ATENDIMENTO INTEGRADO
   ========================================================= */
.integra { padding: var(--sec) 0; }
.integra-grid { display: grid; gap: 44px; align-items: center; }
.integra-copy { display: grid; gap: 26px; }
.pilares { display: grid; margin-top: 10px; border-top: 1px solid var(--linha); }
.pilares li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linha); font-weight: 500; font-size: 1.05rem; }
.pilares .ic-lg { color: var(--azul-prof); }
.netmap { width: min(100%, 720px); margin-inline: auto; }
.net-svg { width: 100%; height: auto; overflow: visible; }
.net-rings circle { fill: none; stroke: var(--linha); stroke-width: 1; stroke-dasharray: 2 6; }
.net-links path { fill: none; stroke: var(--azul); stroke-width: 1.2; opacity: .55; }
.net-links path.arc { opacity: .28; }
.net-beams path { fill: none; stroke-linecap: round; pointer-events: none; }
.net-beams .b-tail { stroke: var(--azul); stroke-width: 2.4; opacity: .28; }
.net-beams .b-mid { stroke: #6CC3D2; stroke-width: 2.6; opacity: .6; }
.net-beams .b-head { stroke: #E9FBFF; stroke-width: 3.4; }
.core-glow { opacity: 0; pointer-events: none; }
.net-nodes .node circle { transition: stroke .5s, fill .5s; }
.net-nodes .node.is-lit circle { stroke: var(--azul-prof); fill: #F3FBFC; }
.net-nodes .node circle { fill: #fff; stroke: var(--azul); stroke-width: 1.2; }
.net-nodes .node-ic { fill: none; stroke: var(--azul-prof); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.net-nodes .node text { font: 600 15px var(--sans); fill: var(--grafite); letter-spacing: .01em; }
.net-legend { display: none; }
.core { fill: var(--azul-prof); }
.core-halo { fill: var(--azul-suave); }
.core-ring { fill: none; stroke: var(--azul); stroke-width: 1; opacity: 0; }
.core-ic { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
@media (max-width: 699px) {
  .net-nodes .node-label { display: none; }
  .netmap { width: calc(100% + var(--gut) * 2); margin-inline: calc(var(--gut) * -1); }
  .net-svg { width: min(100%, 460px); margin-inline: auto; }
  .net-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 8px var(--gut) 0; }
  .net-legend li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--azul-suave); font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--grafite); transition: background-color .5s, color .5s; }
  .net-legend li svg { width: 16px; height: 16px; fill: none; stroke: var(--azul-prof); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .net-legend li.is-lit { background: var(--azul-nevoa); color: var(--azul-prof); }
}
@media (min-width: 960px) {
  .integra-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); }
}

/* =========================================================
   FUNDADORA
   ========================================================= */
.fundadora { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(80px, 9vw, 140px); background: linear-gradient(180deg, #fff 0%, #F4FAFB 12%, var(--azul-suave) 32%, var(--azul-suave) 68%, #F4FAFB 88%, #fff 100%); }
.fund-bg { position: absolute; z-index: -1; inset: auto 0 0 0; width: 100%; height: 70%; }
.fund-wave { fill: var(--azul-nevoa); opacity: .7; }
.fund-bg { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
/* mobile: kicker → título → foto → texto → marcos → assinatura */
.fund-grid { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(64px, 9vw, 96px); }
.fund-copy { display: contents; }
.fund-copy > .kicker { order: 1; }
.fund-copy > .h2 { order: 2; }
.fund-portrait { position: relative; order: 3; width: min(100%, 520px); margin: 18px auto 8px; }
.fund-copy > .body-lg { order: 4; }
.fund-copy > .marcos { order: 5; }
.fund-copy > .sign { order: 6; }
.fund-shape { position: absolute; z-index: 0; left: -15%; bottom: 0; width: 130%; }
.fund-shape svg { width: 100%; height: auto; overflow: visible; }
.fund-shape .blob { fill: none; }
/* halo azul difuso atrás da fundadora: dá contraste ao jaleco branco sem moldura */
.fund-portrait::before { content: ""; position: absolute; z-index: 0; left: -14%; right: -14%; top: 2%; bottom: -4%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(57, 159, 177, .26) 0%, rgba(57, 159, 177, .14) 45%, rgba(57, 159, 177, .05) 75%, rgba(57, 159, 177, 0) 100%); }
.fund-shape .ring { fill: none; stroke: var(--azul); stroke-width: 1; opacity: .3; }
.fund-shape .ring-dot { fill: var(--azul); }
.fund-portrait picture { position: relative; z-index: 1; will-change: transform; }
/* sombra difusa leve (sem contorno) + esmaecimento quase imperceptível só na borda inferior do recorte */
.fund-portrait img { width: 100%; height: auto; filter: drop-shadow(0 22px 30px rgba(35, 101, 117, .11));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.55) 95%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 86%, rgba(0,0,0,.55) 95%, transparent 100%); }

.marcos { position: relative; display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 18px; padding-top: 28px; margin-top: 6px; }
.marcos::before, .marcos::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(35, 101, 117, .2); }
.marcos::after { background: var(--azul); transform-origin: left; transform: scaleX(var(--p, 1)); }
.marco { position: relative; }
.marco-dot { position: absolute; top: -28px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--azul-suave); border: 1px solid var(--azul); z-index: 1; }
.marco.is-on .marco-dot { background: var(--azul); box-shadow: 0 0 0 6px rgba(57, 159, 177, .16); transition: background-color .5s, box-shadow .5s; }
.marco-n { font-family: var(--serif); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.3rem); line-height: 1; font-weight: 500; color: var(--azul-prof); }
.marco-sm .marco-n { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); color: var(--grafite-2); padding-top: .35em; }
.marco-t { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--grafite-2); }
.sign { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid rgba(35, 101, 117, .2); max-width: 36em; }
.sign-name { font-family: var(--serif); font-size: 1.75rem; font-style: italic; color: var(--azul-prof); line-height: 1.2; }
.sign-role { font-size: .9rem; color: var(--grafite-2); }
@media (min-width: 1024px) {
  .fund-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 110px); padding-bottom: 0; }
  .fund-copy { display: grid; gap: 24px; align-content: center; padding-bottom: clamp(80px, 9vw, 140px); }
  .fund-portrait { order: 0; width: 100%; max-width: 500px; margin: 0; align-self: end; }
}

/* =========================================================
   CONTATO
   ========================================================= */
.contato { padding: var(--sec) 0; }
.ct-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ct-grid { display: grid; gap: 48px; }
.ct-info { display: grid; align-content: start; border-top: 1px solid var(--linha); }
.ct-block { display: grid; grid-template-columns: 30px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--linha); }
.ct-block .ic-lg { color: var(--azul-prof); margin-top: 2px; }
.ct-block h3 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--grafite-2); margin-bottom: 8px; }
.ct-block address { font-size: 1.06rem; line-height: 1.6; }
.hours { border-collapse: collapse; width: 100%; max-width: 380px; font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; padding: 5px 14px 5px 0; white-space: nowrap; vertical-align: top; }
.hours td { text-align: right; padding: 5px 0; color: var(--grafite-2); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--azul-prof); font-weight: 700; }
.hours tr.is-today th::after { content: " · hoje"; font-weight: 500; font-size: .82em; }
.ct-map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 400px; background: var(--azul-suave); box-shadow: 0 0 0 1px var(--linha); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.btn-map { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
.map-ph { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(120% 90% at 100% 0%, #fff 0%, rgba(255,255,255,0) 55%), repeating-linear-gradient(0deg, rgba(57,159,177,.07) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, rgba(57,159,177,.07) 0 1px, transparent 1px 44px), var(--azul-suave); }
.map-ph[hidden] { display: none; }
.map-ph-pin { width: 44px; height: 44px; fill: none; stroke: var(--azul-prof); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.map-ph-title { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.15; color: var(--grafite); max-width: 18em; }
.map-ph-addr { font-size: 1.02rem; line-height: 1.6; color: var(--grafite-2); }
.map-ph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.map-ph-note, .map-ph-error { font-size: .86rem; line-height: 1.55; color: var(--grafite-2); max-width: 34em; }
.map-ph-note a { color: var(--azul-prof); font-weight: 600; }
.map-ph-error { color: #7A3B12; }
.map-remember { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--grafite-2); cursor: pointer; min-height: 44px; }
.map-remember input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--azul-prof); }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin: -2px 0 10px; font-size: .88rem; font-weight: 600; color: var(--grafite-2); }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9AA9AD; }
.open-status.is-open { color: #1F6B4A; }
.open-status.is-open::before { background: #2E9E6B; box-shadow: 0 0 0 4px rgba(46, 158, 107, .16); }
@media (min-width: 960px) {
  .ct-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); }
  .ct-map { min-height: 580px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 180px; }
  .btn-map { left: auto; right: 22px; bottom: 22px; }
}

/* ---------- Rodapé ---------- */
.site-footer { background: var(--grafite); color: #DCE6E8; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; line-height: 1.7; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand { display: flex; gap: 18px; align-items: flex-start; }
.foot-brand img { width: 60px; height: 60px; border-radius: 50%; flex: none; }
.foot-brand p { display: grid; gap: 4px; }
.foot-brand strong { color: #fff; font-weight: 600; }
.foot-h { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #A9C9CF; margin-bottom: 8px; }
.foot-contact address, .foot-contact p { color: #DCE6E8; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; align-content: start; }
.foot-nav .foot-h { flex-basis: 100%; }
.foot-nav a { color: #DCE6E8; text-decoration: none; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-social { display: flex; gap: 10px; align-self: start; }
.foot-social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background-color .3s, border-color .3s; }
.foot-social a:hover { background: var(--azul-prof); border-color: var(--azul-prof); }
.foot-social .ic-lg { width: 22px; height: 22px; }
.foot-base { display: grid; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: #B9C9CC; font-size: .88rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-legal a, .foot-btn { color: #DCE6E8; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); min-height: 44px; display: inline-flex; align-items: center; font-size: inherit; padding: 0; }
.foot-legal a:hover, .foot-btn:hover { color: #fff; text-decoration-color: currentColor; }
.foot-credit { color: #9FB2B6; }
.site-footer :focus-visible { outline-color: #fff; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.5fr 1.2fr 1fr auto; gap: 40px; }
  .foot-base { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .foot-credit { grid-column: 1 / -1; }
}

/* ---------- Preferências de privacidade ---------- */
.consent { width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border: 0; border-radius: 22px; padding: 0; color: var(--grafite); box-shadow: 0 30px 80px -20px rgba(38, 56, 61, .45); }
.consent::backdrop { background: rgba(38, 56, 61, .45); }
.consent-in { position: relative; display: grid; gap: 16px; padding: 30px clamp(20px, 5vw, 34px) 26px; }
.consent h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.1; padding-right: 36px; }
.consent p { font-size: .95rem; line-height: 1.6; color: var(--grafite-2); }
.consent-opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--linha); cursor: default; }
label.consent-opt { cursor: pointer; }
.consent-opt > span, .consent-opt > div { display: grid; gap: 2px; }
.consent .consent-name { font-weight: 700; color: var(--grafite); font-size: .98rem; }
.consent .consent-desc { font-size: .88rem; color: var(--grafite-2); line-height: 1.5; }
.consent-fixed { font-size: .82rem; font-weight: 600; color: var(--azul-prof); white-space: nowrap; }
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 50px; height: 30px; border-radius: 999px; background: #B7C6C9; cursor: pointer; transition: background-color .3s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.switch:checked { background: var(--azul-prof); }
.switch:checked::after { transform: translateX(20px); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-more { font-size: .86rem; }
.consent-more a { color: var(--azul-prof); font-weight: 600; }
.consent-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--grafite-2); }
.consent-close:hover { background: var(--azul-suave); }

/* ---------- WhatsApp flutuante (mobile/tablet) ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--azul-prof); color: #fff; box-shadow: 0 8px 18px -10px rgba(35, 101, 117, .55), 0 0 0 1px rgba(255,255,255,.6); transform: translateY(calc(100% + 32px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.wa-float[hidden] { display: none; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float.is-in { transform: none; visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Menu mobile (até tablet em pé/deitado) ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .brand { gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .brand-txt strong { font-size: 1.25rem; }
  .brand-txt span { font-size: .56rem; letter-spacing: .08em; line-height: 1.3; }
  .menu ul a { min-height: 56px; }
  .nav-toggle { display: block; }
  .menu { position: fixed; inset: var(--header-h) 0 auto; height: calc(100svh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px; padding: 24px var(--gut) calc(32px + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul li { border-bottom: 1px solid var(--linha); }
  .menu ul a { display: block; padding: 18px 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
  .menu ul a::after { display: none; }
  .menu .btn { min-height: 56px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 339px) { .brand-txt span { display: none; } }
@media (min-width: 1024px) { .wa-float { display: none; } }

/* =========================================================
   Movimento — estados iniciais só quando o GSAP vai rodar
   (classe .motion; sem JS ou com movimento reduzido, tudo visível)
   ========================================================= */
.line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line > span { display: inline-block; will-change: transform; }
.motion [data-lines]:not(.is-split),
.motion [data-reveal],
.motion [data-hero-item] { opacity: 0; }
.motion .esp-list li .esp-ic { stroke-dashoffset: 1; }
.motion .net-nodes .node { opacity: 0; }
.motion .marcos { --p: 0; }
.motion .coe-symbol { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .net-beams, .core-glow, .scroll-cue { display: none !important; }
}

/* ---------- Páginas internas (políticas, 404) ---------- */
.page-legal .site-header { position: sticky; top: 0; }
.page-legal .header-in .btn { flex: none; }
.legal { max-width: calc(760px + var(--gut) * 2); padding-block: 56px 96px; }
.legal .h2 { margin: 14px 0 18px; }
.legal h2:not(.h2) { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.95rem); line-height: 1.2; color: var(--grafite); margin: 44px 0 12px; }
.legal h3 { font-size: 1rem; font-weight: 700; color: var(--grafite); margin: 24px 0 6px; }
.legal p, .legal li { font-size: 1.04rem; line-height: 1.75; color: var(--grafite-2); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--azul-prof); font-weight: 600; }
.legal code { font-size: .9em; background: var(--azul-suave); padding: .1em .4em; border-radius: 6px; color: var(--grafite); }
.legal-meta { font-size: .95rem !important; padding: 14px 18px; border-left: 3px solid var(--azul); background: var(--azul-suave); border-radius: 0 12px 12px 0; }
.pend { display: inline-block; font-size: .82em; font-weight: 700; color: #7A3B12; background: #FDF1E3; border: 1px solid #F2D3AE; border-radius: 6px; padding: 0 .45em; }
.legal-table { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--linha); border-radius: 14px; }
.legal-table table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linha); line-height: 1.55; color: var(--grafite-2); }
.legal-table th { background: var(--azul-suave); color: var(--grafite); font-weight: 700; }
.e404 { display: grid; gap: 18px; min-height: 52svh; align-content: center; }
.e404-actions { display: flex; flex-wrap: wrap; gap: 12px; }
