/* Cosmake Institute — v2
   Linha editorial clínica. Motivo gráfico: as três camadas do símbolo
   (epiderme · derme · hipoderme ↔ azul-noite · lavanda · bege).
   Fundos brancos; azul-noite só em capa, revelação e fecho.
   Só Open Sans (sem Antonio no website). */

@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/OpenSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #12233A;
  --navy-2: #1B3253;
  --lavanda: #A399BB;
  --bege: #E0BC92;
  --texto: #566274;
  --creme: #F4F1EA;
  --linha: #E6E8EC;
  --lav-esc: #6A5E8C;
  --bege-esc: #8F6430;
  --lav-claro: #F3F1F7;
  --bege-claro: #FAF5EF;

  --max: 1240px;
  --g: clamp(20px, 5vw, 72px);
  --r-img: clamp(32px, 6vw, 96px);
  --r-btn: 999px;
  --r-campo: 14px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --f: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: var(--f);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--texto); font: 400 17px/1.65 var(--f); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 700; line-height: 1.08; letter-spacing: -0.028em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--lavanda); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* Tipografia */
.display { font-size: clamp(44px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.04em; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.intro { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; max-width: 34em; }
.pre { display: block; font-size: 15px; font-weight: 600; color: var(--lav-esc); margin-bottom: 18px; }
.i-hero .pre .pre { color: var(--bege); }
.num { font-family: var(--f-num); font-weight: 400; letter-spacing: .01em; }
strong { color: var(--navy); font-weight: 700; }
.i-hero strong strong { color: #fff; }

/* Botões (cantos todos arredondados) */
.btn {
  --bg: var(--navy); --fg: #fff; --hv: var(--navy-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: var(--r-btn); border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none; font-size: 16px; font-weight: 600;
  overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--hv); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn--claro { --bg: #fff; --fg: var(--navy); --hv: var(--creme); }
.btn--linha { --bg: transparent; --fg: var(--navy); --hv: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--linha:hover { color: #fff; }
.i-hero .btn--linha { --fg: #fff; --hv: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.i-hero .btn--linha:hover { color: var(--navy); }
.btn--grande { min-height: 62px; padding: 0 34px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.ar { width: 18px; height: 18px; flex-shrink: 0; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }
.link .ar { width: 16px; height: 16px; }
.i-hero .link .link { color: #fff; }

/* Cabeçalho + menu Formações */
.topo { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.topo.sombra { box-shadow: 0 1px 0 var(--linha); }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 32px; }
.topo__logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: var(--r-btn); text-decoration: none; font-size: 15.5px; font-weight: 600; color: var(--navy); background: none; border: 0; cursor: pointer; transition: background-color .2s; }
.nav > a:not(.btn):hover, .nav__btn:hover, .nav__btn[aria-expanded="true"], .nav > a[aria-current="page"], .nav__btn.atual { background: var(--lav-claro); }
.nav__btn .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav > .btn { background: var(--bg); margin-left: 14px; min-height: 48px; height: 48px; padding: 0 24px; font-size: 15px; color: #fff; }
.nav__grupo { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; padding: 12px; border-radius: 24px;
  background: #fff; box-shadow: 0 30px 60px -20px rgba(18,35,58,.25), 0 0 0 1px rgba(18,35,58,.06);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mega.aberto { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.mega a { display: grid; gap: 14px; padding: 10px 10px 16px; border-radius: 16px; text-decoration: none; transition: background-color .2s; }
.mega a:hover { background: var(--lav-claro); }
.mega img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 40px 10px 10px 10px; }
.mega b { display: block; color: var(--navy); font-size: 17px; letter-spacing: -0.01em; }
.mega span { display: block; font-size: 14px; margin-top: 2px; }
.mega__seta { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 8px !important; font-weight: 600; color: var(--navy); }
.mega__seta .ar { width: 14px; height: 14px; }
.menu-btn { display: none; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: var(--r-btn); border: 0; background: var(--lav-claro); color: var(--navy); font-weight: 600; font-size: 15px; cursor: pointer; }
.menu-btn i { display: block; width: 16px; height: 10px; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 8px; }
.menu-btn[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .topo .wrap { height: 76px; }
  .topo__logo img { height: 46px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--g) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.aberto { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
  .nav > a:not(.btn), .nav__btn { height: auto; width: 100%; justify-content: space-between; padding: 16px 2px; border-radius: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 1px solid var(--linha); }
  .nav > a:not(.btn):hover, .nav__btn:hover, .nav__btn[aria-expanded="true"], .nav > a[aria-current="page"], .nav__btn.atual { background: none; }
  .nav__btn .chev { width: 20px; height: 20px; }
  .mega { position: static; width: auto; transform: none; box-shadow: none; padding: 8px 0; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transition: none; border-radius: 0; border-bottom: 1px solid var(--linha); }
  .mega.aberto { display: grid; transform: none; }
  .mega a { grid-template-columns: 88px 1fr; align-items: center; padding: 8px 0; }
  .mega img { aspect-ratio: 1; border-radius: 26px 8px 8px 8px; }
  .mega__seta { display: none !important; }
  .nav > .btn { margin: 28px 0 0; min-height: 58px; height: 58px; font-size: 17px; }
}

/* Camadas do símbolo */
.camadas-svg { overflow: visible; }
.camadas-svg g { transform-box: fill-box; transform-origin: 0 100%; }
.camadas-svg.anim g { opacity: 0; animation: camada 1.2s var(--ease) forwards; }
.camadas-svg.anim g:nth-of-type(1) { animation-delay: .6s; }
.camadas-svg.anim g:nth-of-type(2) { animation-delay: .38s; }
.camadas-svg.anim g:nth-of-type(3) { animation-delay: .16s; }
@keyframes camada { from { opacity: 0; transform: translate(-28px, 48px); } to { opacity: 1; transform: none; } }
.camadas-svg path[data-p] { will-change: transform; }

/* Entrada da página */
.entra > * { opacity: 0; animation: entra .9s var(--ease) forwards; }
.entra > *:nth-child(2) { animation-delay: .08s; }
.entra > *:nth-child(3) { animation-delay: .16s; }
.entra > *:nth-child(4) { animation-delay: .24s; }
.entra > *:nth-child(5) { animation-delay: .32s; }
.entra > *:nth-child(6) { animation-delay: .40s; }
.entra > *:nth-child(7) { animation-delay: .48s; }
@keyframes entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Revelação ao percorrer */
.js .rev { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rev.vis { opacity: 1; transform: none; }
.js .rev-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .rev-img img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .rev-img.vis { clip-path: inset(0 0 0 0); }
.js .rev-img.vis img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .entra > *, .camadas-svg.anim g { opacity: 1 !important; transform: none !important; }
  .js .rev, .js .rev-img, .js .rev-img img { opacity: 1; transform: none; clip-path: none; }
}

/* ——— HOMEPAGE ——— */
/* Hero: gradiente azul-noite + símbolo em 3D */
.h-hero {
  position: relative; overflow: hidden; isolation: isolate; color: var(--creme);
  background:
    radial-gradient(120% 90% at 78% 38%, #24426C 0%, rgba(36,66,108,0) 55%),
    linear-gradient(165deg, #1B3254 0%, #12233A 48%, #0A1526 100%);
  min-height: min(880px, 100svh); display: flex; align-items: center;
  padding: calc(92px + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 104px);
}
.h-hero__luz { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: 40%; top: -20%; border-radius: 50%;
  background: radial-gradient(circle, rgba(163,153,187,.22) 0%, rgba(163,153,187,0) 62%); animation: luz 18s ease-in-out infinite alternate; pointer-events: none; }
@keyframes luz { from { transform: translate(-12%, 0) scale(1); } to { transform: translate(10%, 16%) scale(1.15); } }
.h-hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.h-hero h1 { color: #fff; }
.h-hero .pre { color: var(--bege); letter-spacing: .02em; }
.h-hero .intro { margin-top: 28px; color: rgba(244,241,234,.82); }
.h-hero .link { color: #fff; }
.acoes { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.cena { justify-self: center; width: min(100%, 440px); aspect-ratio: 855 / 936; perspective: 1300px; }
.cena__flut { width: 100%; height: 100%; transform-style: preserve-3d; animation: flutua 8s ease-in-out infinite; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.cena__in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -22deg)); transition: transform .9s var(--ease); }
.camada { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--z) * (1 + var(--sep, 0) * 1.6))); }
.camada svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 28px 34px rgba(5,12,24,.45)); }
.camada.c1 { --z: 110px; } .camada.c2 { --z: 55px; } .camada.c3 { --z: 0px; }
/* entrada: as camadas chegam de longe e encaixam (base → topo) */
.js .camada { animation: encaixa 1.5s var(--ease) backwards; }
.js .camada.c3 { animation-delay: .15s; } .js .camada.c2 { animation-delay: .35s; } .js .camada.c1 { animation-delay: .55s; }
@keyframes encaixa { from { opacity: 0; transform: translateZ(calc(var(--z) + 420px)) translateY(-60px) rotateZ(-6deg); } }
/* telemóvel / sem rato: oscilação automática suave */
@media (hover: none), (pointer: coarse) {
  .cena__in { animation: oscila 10s ease-in-out infinite; transition: none; }
  @keyframes oscila { 0%, 100% { transform: rotateX(10deg) rotateY(-24deg); } 50% { transform: rotateX(16deg) rotateY(14deg); } }
}
@media (max-width: 860px) {
  .h-hero { min-height: 0; padding: calc(76px + 20px) 0 56px; display: block; }
  .h-hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .cena { order: -1; width: min(58vw, 260px); }
  .camada.c1 { --z: 70px; } .camada.c2 { --z: 35px; }
  .camada svg { filter: drop-shadow(0 16px 20px rgba(5,12,24,.45)); }
  .h-hero .acoes .btn { flex: 1 1 100%; }
  .h-hero .acoes .link { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cena__in { transform: rotateX(12deg) rotateY(-22deg) !important; }
  .js .camada { animation: none !important; opacity: 1 !important; }
}

/* Cabeçalho transparente sobre a capa */
.topo--capa { position: fixed; left: 0; right: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .35s, box-shadow .35s; }
.topo .logo-escuro { display: none; }
.topo--capa:not(.solido) .logo-claro { display: none; }
.topo--capa:not(.solido) .logo-escuro { display: block; height: 58px; width: auto; }
.topo--capa.solido { background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--linha); }
@media (min-width: 981px) {
  .topo--capa:not(.solido) .nav > a:not(.btn), .topo--capa:not(.solido) .nav__btn { color: #fff; }
  .topo--capa:not(.solido) .nav > a:not(.btn):hover, .topo--capa:not(.solido) .nav__btn:hover, .topo--capa:not(.solido) .nav__btn[aria-expanded="true"] { background: rgba(255,255,255,.1); }
  .topo--capa:not(.solido) .nav > .btn { --bg: #fff; --hv: var(--creme); color: var(--navy); }
}
@media (max-width: 980px) {
  .topo--capa:not(.solido) .logo-escuro { height: 46px; }
  .topo--capa:not(.solido) .menu-btn { background: rgba(255,255,255,.12); color: #fff; }
}

.h-imersoes { padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.h-imersoes__cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.h-imersoes__cab p { max-width: 30em; }
.h-imersoes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.tile { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--r-img) 0 0 0; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--navy); }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile img { object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,35,58,0) 30%, rgba(18,35,58,.9) 100%); }
.tile__txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3vw, 40px); }
.tile__sobre { font-size: 16px; color: var(--creme); }
.tile h3 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.035em; margin-top: 2px; }
.tile__meta { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.tile__datas { font-size: 15px; color: rgba(244,241,234,.86); }
.tile__datas .num { font-size: 22px; color: #fff; margin-right: 4px; }
.tile__ir { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: var(--r-btn); background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; transition: gap .35s var(--ease); }
.tile:hover .tile__ir { gap: 16px; }
@media (max-width: 760px) { .h-imersoes__grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 1 / 1.08; } }

.h-inst { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--linha); }
.h-inst .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px 72px; }
.h-inst__txt { font-size: clamp(23px, 2.9vw, 38px); line-height: 1.3; letter-spacing: -0.022em; color: var(--navy); }
.h-inst__txt em { font-style: normal; color: var(--lav-esc); }
.h-inst .link { margin-top: 32px; }
.marcas { margin-top: clamp(52px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px clamp(32px, 5vw, 72px); }
.marcas p { font-size: 14px; width: 100%; margin-bottom: -4px; }
.marcas img { height: 40px; width: auto; }
.marcas img.cm { height: 22px; }
@media (max-width: 860px) { .h-inst .wrap { grid-template-columns: 1fr; } .marcas img { height: 30px; } .marcas img.cm { height: 17px; } }

/* Fecho (branco) com prazo */
.fecho { position: relative; background: #fff; padding: clamp(80px, 10vw, 136px) 0; overflow: hidden; border-top: 1px solid var(--linha); }
.fecho .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: 'txt deg' 'acoes deg'; gap: 0 80px; align-items: end; }
.fecho .wrap > div:first-child { grid-area: txt; }
.fecho__acoes { grid-area: acoes; }
.degraus { grid-area: deg; }
.fecho .pre { color: var(--lav-esc); }
.fecho .intro { margin-top: 20px; }
.fecho .acoes { margin-top: 34px; }
.degraus { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: end; }
.degrau { position: relative; display: grid; gap: 10px; align-content: end; justify-items: start; min-height: 200px; padding: 26px 24px 22px; border-radius: 40px 16px 16px 16px; background: var(--lav-claro); color: var(--texto); }
.degrau--agora { background: var(--navy); color: rgba(244,241,234,.8); }
.degrau__v { font-size: clamp(56px, 6vw, 80px); line-height: .85; color: var(--navy); }
.degrau--agora .degrau__v { color: #fff; }
.degrau:not(.degrau--agora) .degrau__v { color: #8A93A3; }
.degrau__q { font-size: 14.5px; line-height: 1.4; }
.degrau__q b { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.degrau--agora .degrau__q b { color: var(--bege); }
.degrau__tag { margin-bottom: 4px; font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--bege); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) { .degrau { min-height: 0; padding: 20px 18px 18px; border-radius: 32px 14px 14px 14px; } .degrau__v { font-size: 54px; } }
.fecho__camadas { position: absolute; right: -10%; bottom: -36%; width: min(56vw, 720px); opacity: .05; pointer-events: none; }
@media (max-width: 860px) { .fecho .wrap { grid-template-columns: 1fr; grid-template-areas: 'txt' 'deg' 'acoes'; } .degraus { margin-top: 32px; } .fecho .acoes .btn { flex: 1 1 100%; } }

/* Rodapé */
.rodape { padding: 72px 0 36px; font-size: 15px; }
.rodape__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.rodape__logo img { height: 60px; width: auto; }
.rodape__logo p { margin-top: 20px; max-width: 21em; }
.rodape h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.rodape li + li { margin-top: 8px; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--navy); }
.rodape__base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13.5px; }
.rodape__base nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) { .rodape { padding-top: 56px; } .rodape__grid { grid-template-columns: 1fr 1fr; gap: 32px; } .rodape__logo { grid-column: 1 / -1; } }
.tem-barra .rodape { padding-bottom: 110px; }
@media (min-width: 861px) { .tem-barra .rodape { padding-bottom: 36px; } }

/* ——— PÁGINA DE IMERSÃO ——— */
.i-hero { position: relative; background: var(--navy); color: var(--creme); overflow: hidden; }
.i-hero__grid {
  display: grid; min-height: min(740px, calc(100svh - 92px));
  grid-template-columns: minmax(var(--g), 1fr) minmax(0, calc(var(--max) * .52 - var(--g))) minmax(0, calc(var(--max) * .48)) minmax(0, 1fr);
}
.i-hero__txt { grid-column: 2; align-self: center; padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(48px, 6vw, 88px) 0; }
.migalhas { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(244,241,234,.62); margin-bottom: clamp(24px, 4vw, 44px); }
.migalhas a { text-decoration: none; } .migalhas a:hover { color: #fff; }
.i-hero__sobre { font-size: clamp(22px, 2.4vw, 32px); color: var(--creme); letter-spacing: -0.02em; line-height: 1.1; }
.i-hero h1 { color: #fff; margin-top: 6px; }
.i-hero .intro { margin-top: 24px; color: rgba(244,241,234,.82); }
.i-hero__info { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: var(--r-btn); background: rgba(255,255,255,.09); color: #fff; font-size: 14px; font-weight: 600; }
.i-hero__preco { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.preco-tag { display: flex; align-items: center; gap: 14px; color: #fff; }
.preco-tag .num { font-size: 56px; line-height: 1; }
.preco-tag s { font-family: var(--f-num); font-size: 24px; color: rgba(244,241,234,.5); }
.preco-tag small { display: block; font-size: 14px; color: rgba(244,241,234,.78); line-height: 1.4; }
.preco-tag small b { color: var(--bege); }
.i-hero__foto { grid-column: 3 / 5; position: relative; margin-top: clamp(24px, 4vw, 48px); }
.i-hero__foto .camadas-svg { position: absolute; left: clamp(-72px, -5vw, -32px); bottom: clamp(28px, 4vw, 56px); width: clamp(104px, 11vw, 160px); z-index: 2; }
.i-hero__foto picture { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-img) 0 0 0; overflow: hidden; }
.i-hero__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .i-hero__grid { grid-template-columns: var(--g) 1fr; min-height: 0; }
  .i-hero__txt { grid-column: 2; padding: 28px var(--g) 36px 0; }
  .i-hero__foto { grid-column: 2; aspect-ratio: 16 / 11; margin: 0; }
  .i-hero__foto .camadas-svg { display: none; }
  .preco-tag .num { font-size: 46px; }
  .i-hero .intro { font-size: 17px; }
  .i-hero__preco .btn { flex: 1 1 100%; }
}

.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec--est { background: var(--lav-claro); }
.sec--ped { background: var(--bege-claro); }
.cab { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.cab .intro { margin-top: 18px; }

/* Programa */
.modulos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); align-items: start; }
.modulo { background: var(--lav-claro); border-radius: 48px 20px 20px 20px; padding: 8px; }
.modulo--ped { background: var(--bege-claro); }
.modulo li { border-top-color: rgba(18,35,58,.08) !important; }
.modulo summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 26px 26px 20px; }
.modulo summary::-webkit-details-marker { display: none; }
.modulo__quando { font-size: 14.5px; font-weight: 600; color: var(--lav-esc); }
.modulo--ped .modulo__quando { color: var(--bege-esc); }
.modulo h3 { grid-column: 1; }
.modulo__mais { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: none; place-items: center; transition: transform .35s var(--ease); }

.modulo__mais svg { width: 18px; height: 18px; color: var(--navy); }
.modulo[open] .modulo__mais { transform: rotate(45deg); }
.modulo ol { padding: 0 26px 16px; }
.modulo li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 15px 0; border-top: 1px solid var(--linha); color: var(--navy); font-size: 16px; line-height: 1.5; }
.modulo li .num { font-size: 19px; line-height: 1.3; color: var(--lav-esc); }
.modulo--ped li .num { color: var(--bege-esc); }
.modulo li.demo { font-weight: 600; }
@media (max-width: 860px) {
  .modulos { grid-template-columns: 1fr; }
  .modulo { border-radius: 36px 16px 16px 16px; }
  .modulo summary { padding: 20px 16px 18px 20px; }
  .modulo__mais { display: grid; }
  .modulo ol { padding: 0 18px 10px; }
  .modulo li { font-size: 15.5px; padding: 13px 0; }
}

/* Para quem / Inclui */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 7vw, 120px); }
.duo h2 { margin-bottom: 18px; }
.duo .intro { max-width: none; }
.inclui li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linha); color: var(--navy); }
.inclui li:first-child { border-top: 1px solid var(--linha); }
.inclui svg { width: 20px; height: 20px; margin-top: 3px; color: var(--lav-esc); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ——— INSCRIÇÃO ——— */
.insc__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.passo-t { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 20px; letter-spacing: -0.015em; }
.passo-t .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 17px; flex-shrink: 0; }
.passo-bloco + .passo-bloco { margin-top: 44px; }
.sessoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.sessao { position: relative; cursor: pointer; display: block; }
.sessao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sessao__c { display: flex; flex-direction: column; height: 100%; padding: 18px 20px; border-radius: 32px 16px 16px 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linha); transition: box-shadow .25s, background-color .25s; }
.sessao:hover .sessao__c { box-shadow: inset 0 0 0 1.5px var(--lavanda); }
.sessao input:checked + .sessao__c { background: var(--lav-claro); box-shadow: inset 0 0 0 2px var(--navy); }
.sessao input:focus-visible + .sessao__c { outline: 2px solid var(--lavanda); outline-offset: 3px; }
.sessoes.erro .sessao__c { box-shadow: inset 0 0 0 1.5px #B3261E; }
.sessao__cidade { font-size: 14.5px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sessao__check { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #C9CED6; display: grid; place-items: center; transition: background-color .2s, box-shadow .2s; flex-shrink: 0; }
.sessao__check svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease); }
.sessao input:checked + .sessao__c .sessao__check { background: var(--navy); box-shadow: none; }
.sessao input:checked + .sessao__c .sessao__check svg { opacity: 1; transform: none; }
.sessao__data { font-family: var(--f-num); font-size: 46px; line-height: 1; color: var(--navy); margin: 12px 0 6px; }
.sessao__local { font-size: 14px; line-height: 1.4; }
.sessao__extra { margin-top: 10px; align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--bege-esc); background: var(--bege-claro); padding: 4px 10px; border-radius: var(--r-btn); }
.msg-erro { display: none; margin-top: 10px; font-size: 14px; color: #B3261E; font-weight: 600; }
.msg-erro.on { display: block; }
@media (max-width: 640px) {
  .sessoes { grid-template-columns: 1fr; gap: 10px; }
  .sessao__c { display: grid; grid-template-columns: 84px 1fr auto; grid-template-areas: "d c k" "d l l" "d e e"; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 26px 14px 14px 14px; }
  .sessao__data { grid-area: d; margin: 0; font-size: 34px; }
  .sessao__cidade { grid-area: c; display: contents; }
  .sessao__cidade > span:first-child { grid-area: c; }
  .sessao__check { grid-area: k; }
  .sessao__local { grid-area: l; }
  .sessao__extra { grid-area: e; margin-top: 6px; justify-self: start; }
}

.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { position: relative; }
.campo--larga { grid-column: 1 / -1; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: 400 16px/1.4 var(--f); color: var(--navy); background: #fff;
  border: 0; border-radius: var(--r-campo); box-shadow: inset 0 0 0 1.5px #D5D9E0;
  padding: 27px 18px 9px; min-height: 62px; transition: box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.campo textarea { min-height: 130px; resize: vertical; padding-top: 30px; }
.campo label { position: absolute; left: 19px; top: 20px; font-size: 16px; color: var(--texto); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; white-space: nowrap; }
.campo label small { font-size: 13px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy); }
.campo input:focus + label, .campo input:not(:placeholder-shown) + label,
.campo textarea:focus + label, .campo textarea:not(:placeholder-shown) + label,
.campo select + label { transform: translateY(-11px) scale(.78); color: var(--navy); font-weight: 600; }
.campo select { padding-right: 46px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312233A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.campo .erro, .campo input:user-invalid { box-shadow: inset 0 0 0 2px #B3261E; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 20px; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.enviar { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.enviar .btn { min-width: 260px; }
.enviar__nota { font-size: 14px; max-width: 26em; }
@media (max-width: 560px) { .campos { grid-template-columns: 1fr; } .enviar .btn { width: 100%; } }

.resumo { position: sticky; top: 112px; background: var(--navy); color: var(--creme); border-radius: 56px 24px 24px 24px; padding: clamp(26px, 3vw, 40px); overflow: hidden; isolation: isolate; }
.resumo__camadas { position: absolute; right: -50px; top: -36px; width: 190px; opacity: .09; z-index: -1; }
.resumo__t { font-size: 15px; font-weight: 600; color: var(--bege); }
.resumo__curso { font-size: 26px; color: #fff; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-top: 8px; }
.resumo__sessao { margin-top: 18px; padding: 15px 18px; border-radius: 16px; background: rgba(255,255,255,.07); font-size: 15px; line-height: 1.45; min-height: 74px; transition: background-color .3s; }
.resumo__sessao b { display: block; color: #fff; font-size: 17px; }
.resumo__sessao.pulsa { animation: pulsa .7s var(--ease); }
@keyframes pulsa { 0% { background: rgba(163,153,187,.4); } 100% { background: rgba(255,255,255,.07); } }
.resumo__preco { margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(244,241,234,.14); }
.resumo__preco .num { font-size: 64px; line-height: .9; color: #fff; }
.resumo__preco s { font-family: var(--f-num); font-size: 26px; color: rgba(244,241,234,.45); margin-left: 8px; }
.resumo__preco small { display: block; text-align: right; font-size: 13.5px; line-height: 1.45; color: rgba(244,241,234,.75); }
.resumo__preco small b { color: var(--bege); }
.resumo ul { margin-top: 18px; }
.resumo li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 5px 0; font-size: 15px; color: #fff; }
.resumo li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--bege); }
.resumo__voucher { margin-top: 18px; padding: 15px 18px; border-radius: 16px; background: rgba(224,188,146,.12); font-size: 14px; line-height: 1.5; }
.resumo__voucher b { color: var(--bege); }
.resumo__legal { margin-top: 14px; font-size: 12.5px; color: rgba(244,241,234,.6); }
@media (max-width: 980px) { .insc__grid { grid-template-columns: 1fr; } .resumo { position: relative; top: auto; } }

.sucesso { display: none; padding: clamp(30px, 4vw, 48px); border-radius: 56px 24px 24px 24px; background: var(--lav-claro); }
.sucesso.on { display: block; animation: entra .7s var(--ease) both; }
.sucesso .camadas-svg { width: 64px; margin-bottom: 24px; }
.sucesso p { margin-top: 12px; max-width: 32em; }
.sucesso .btn { margin-top: 24px; }
.escondido { display: none !important; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq details:first-of-type { border-top: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--lav-claro); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .2s; }
.faq summary i svg { width: 16px; height: 16px; color: var(--navy); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq summary:hover i { background: #E7E3EF; }
.faq details p { padding: 0 56px 24px 0; max-width: 46em; }
@media (max-width: 560px) { .faq details p { padding-right: 0; } }

/* Outra imersão */
.outra { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-decoration: none; }
.outra__img { border-radius: var(--r-img) 0 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.outra__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.outra:hover .outra__img img { transform: scale(1.04); }
.outra .intro { margin-top: 14px; }
.outra .link { margin-top: 22px; }
@media (max-width: 760px) { .outra { grid-template-columns: 1fr; gap: 22px; } }

/* Barra fixa (telemóvel) */
.barra { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: var(--r-btn); background: var(--navy); color: #fff; box-shadow: 0 18px 40px -12px rgba(18,35,58,.5); transform: translateY(150%); transition: transform .5s var(--ease); }
.barra.on { transform: none; }
.barra__p { line-height: 1.15; font-size: 12.5px; color: rgba(244,241,234,.75); }
.barra__p b { display: block; font-family: var(--f-num); font-weight: 400; font-size: 26px; color: #fff; }
.barra .btn { min-height: 50px; padding: 0 22px; font-size: 15px; --bg: #fff; --fg: var(--navy); --hv: var(--creme); }
@media (max-width: 860px) { .barra { display: flex; } }

/* ——— SOBRE ——— */
.p-hero { padding: clamp(44px, 8vw, 112px) 0 clamp(56px, 8vw, 104px); }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.p-hero .intro { margin-top: 28px; }
.p-hero__simbolo { justify-self: end; width: min(100%, 300px); }
@media (max-width: 860px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero__simbolo { display: none; } }

.percurso { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.percurso::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1.5px; background: var(--linha); }
.etapa { position: relative; padding-right: 28px; }
.etapa__ano { position: relative; display: inline-block; background: #fff; padding-right: 14px; font-family: var(--f-num); font-size: 60px; line-height: 1; color: var(--navy); }
.etapa__antes { display: block; height: 19px; font-size: 13px; font-weight: 600; color: var(--texto); }
.etapa h3 { font-size: 19px; margin-top: 22px; letter-spacing: -0.015em; }
.etapa p { margin-top: 10px; font-size: 15.5px; }
.etapa--atual .etapa__ano { color: var(--lav-esc); }
@media (max-width: 960px) {
  .percurso { grid-template-columns: 1fr; gap: 34px; padding-left: 28px; }
  .percurso::before { left: 5px; right: auto; top: 10px; bottom: 10px; width: 1.5px; height: auto; }
  .etapa { padding: 0; }
  .etapa::before { content: ""; position: absolute; left: -28px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
  .etapa--atual::before { background: var(--lavanda); }
  .etapa__antes { height: auto; }
  .etapa__ano { font-size: 46px; }
  .etapa h3 { margin-top: 12px; }
}

.marca { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(48px, 8vw, 120px); align-items: center; }
.marca__vis svg { width: min(100%, 420px); }
.legenda { margin-top: 32px; }
.legenda li { display: grid; grid-template-columns: 18px 130px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--linha); transition: opacity .3s; cursor: default; }
.legenda li:first-child { border-top: 1px solid var(--linha); }
.legenda i { width: 14px; height: 14px; border-radius: 50%; transform: translateY(2px); }
.legenda b { color: var(--navy); }
.marca__vis g { transition: opacity .4s var(--ease); }
.marca.foco-1 .marca__vis g:not(:nth-of-type(1)), .marca.foco-2 .marca__vis g:not(:nth-of-type(2)), .marca.foco-3 .marca__vis g:not(:nth-of-type(3)) { opacity: .16; }
.marca.foco-1 .legenda li:not(:nth-child(1)), .marca.foco-2 .legenda li:not(:nth-child(2)), .marca.foco-3 .legenda li:not(:nth-child(3)) { opacity: .45; }
@media (max-width: 860px) { .marca { grid-template-columns: 1fr; } .marca__vis svg { width: 180px; } .legenda li { grid-template-columns: 18px 1fr; } .legenda li span { grid-column: 2; } }

.nome { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.nome div { padding-top: 22px; border-top: 3px solid var(--navy); }
.nome div:nth-child(2) { border-color: var(--lavanda); }
.nome div:nth-child(3) { border-color: var(--bege); }
.nome b { display: block; color: var(--navy); font-size: 19px; letter-spacing: -0.01em; margin-bottom: 8px; }
@media (max-width: 760px) { .nome { grid-template-columns: 1fr; gap: 26px; } }

/* ——— CONTACTO ——— */
.c-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(48px, 8vw, 120px); align-items: start; }
.c-canais li + li { margin-top: 10px; }
.canal { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 28px 14px 14px 14px; background: var(--lav-claro); text-decoration: none; transition: background-color .2s; }
.canal:hover { background: #EAE6F1; }
.canal small { display: block; font-size: 13.5px; color: var(--texto); }
.canal b { display: block; color: var(--navy); font-size: clamp(18px, 1.7vw, 21px); letter-spacing: -0.01em; word-break: break-word; }
.canal .ar { color: var(--navy); transition: transform .35s var(--ease); }
.canal:hover .ar { transform: translateX(4px); }
.c-atalhos { margin-top: 40px; }
.c-atalhos h2 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: 10px; }
.c-atalhos a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linha); text-decoration: none; color: var(--navy); font-weight: 600; }
.c-atalhos a:first-of-type { border-top: 1px solid var(--linha); }
.c-atalhos a span { font-weight: 400; font-size: 14px; color: var(--texto); }
.c-atalhos a:hover { color: var(--lav-esc); }
@media (max-width: 900px) { .c-grid { grid-template-columns: 1fr; } }

/* 404 */
.e404 { min-height: 62vh; display: grid; align-items: center; padding: 72px 0; }
.e404 .camadas-svg { width: 90px; margin-bottom: 32px; }

[hidden] { display: none !important; }
.h-hero.pausa .h-hero__luz, .h-hero.pausa .cena__flut, .h-hero.pausa .cena__in { animation-play-state: paused; }

.aviso { margin-top: 22px; padding: 20px 22px; border-radius: 24px 12px 12px 12px; background: var(--bege-claro); }
.aviso p { color: var(--navy); font-size: 15px; }
.aviso .btn { margin-top: 14px; min-height: 48px; font-size: 15px; }
.enviar__nota a, .check a { color: var(--navy); font-weight: 600; }
.aviso__c { margin-top: 8px; font-weight: 600; }
.aviso__c a { color: var(--navy); }

/* Telemóvel: sem backdrop-filter no cabeçalho — com ele, o menu fixo ficava preso à altura do cabeçalho */
@media (max-width: 980px) {
  .topo, .topo--capa.solido { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topo, .topo--capa.solido { background: #fff; }
  .topo--capa:not(.solido) { background: transparent; }
  .nav { height: calc(100dvh - 76px); }
}

/* ——— Identidade minimalista (nov. 2026) ———
   Cabeçalho sempre branco com o logo estático; capas das imersões em branco;
   sem fundos de cor nos módulos; sem camadas decorativas. */
.topo { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

.i-hero { background: #fff; color: var(--texto); }
.i-hero h1, .i-hero__sobre { color: var(--navy); }
.i-hero__sobre { font-size: clamp(18px, 1.8vw, 24px); color: var(--texto); }
.i-hero .intro { color: var(--texto); }
.migalhas { color: #8A93A3; }
.migalhas a:hover { color: var(--navy); }
.chip { height: 34px; padding: 0 14px; background: none; box-shadow: inset 0 0 0 1px var(--linha); color: var(--navy); }
.preco-tag { color: var(--navy); }
.preco-tag s { color: #A3AAB6; }
.preco-tag small { color: var(--texto); }
.preco-tag small b { color: var(--lav-esc); }


.modulo, .modulo--ped { background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.modulo__mais { background: var(--lav-claro); }

.rodape { border-top: 1px solid var(--linha); }
.rodape__grid--3 { grid-template-columns: 1.6fr 1fr 1.2fr; }
@media (max-width: 860px) { .rodape__grid--3 { grid-template-columns: 1fr 1fr; } }

/* Homepage «em breve» */
.eb { padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 8vw, 120px); }
.eb__cab { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.eb__cab h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.eb__cab .intro { margin-top: 22px; }
.eb__pre { display: inline-flex; align-items: center; gap: 10px; }
.eb__pre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lavanda); }
.eb__info { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 6px; font-size: 15.5px; }
.eb__info b { color: var(--navy); }
.eb__info a { color: var(--navy); font-weight: 600; text-decoration: none; }
.eb__info a:hover { text-decoration: underline; }

/* Homepage: capa em branco, símbolo 3D em cores sobre claro */
.h-hero { background: #fff; color: var(--texto); min-height: 0; padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 7vw, 104px); }
.h-hero h1 { color: var(--navy); }
.h-hero .pre { color: var(--lav-esc); }
.h-hero .intro { color: var(--texto); }
.h-hero .link { color: var(--navy); }
.camada svg { filter: drop-shadow(0 22px 26px rgba(18,35,58,.16)); }
@media (max-width: 860px) {
  .h-hero { padding: 24px 0 48px; }
  .camada svg { filter: drop-shadow(0 12px 16px rgba(18,35,58,.16)); }
}
.h-hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1; }
@media (max-width: 860px) { .h-hero .cena { width: min(44vw, 180px); margin: 12px auto 20px; } }

/* ═══════════ v3 · Sleek: moderno, clínico, fundos brancos, só Open Sans ═══════════ */
:root { --r-img: clamp(18px, 2.4vw, 32px); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; }
.display { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.03em; }
.h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.022em; }
.h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.012em; }
.intro { font-size: clamp(16.5px, 1.25vw, 18.5px); }
.pre { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.num { font-family: var(--f); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.btn { font-weight: 600; font-size: 15px; min-height: 50px; padding: 0 24px; }
.btn--grande { min-height: 54px; padding: 0 28px; font-size: 15.5px; }

/* Datas: uma sessão = um dia numa cidade */
.agenda { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--texto); }
.agenda li { white-space: nowrap; }
.agenda b { font-weight: 600; color: var(--navy); margin-right: 3px; }
.i-hero__agenda { margin-top: 24px; font-size: 16px; }
.outra .agenda { margin-top: 16px; }

/* Homepage */
.h-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; }
.h-hero .pre { text-transform: none; letter-spacing: 0; font-size: 14px; }
.cena { width: min(100%, 360px); }
.h-inst__txt { font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; letter-spacing: -0.012em; }

/* Cartões das imersões: foto em cima, texto em branco por baixo */
.tile { aspect-ratio: auto; background: none; color: var(--navy); border-radius: 0; overflow: visible; }
.tile::after { display: none; }
.tile picture { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r-img) 0 0 0; overflow: hidden; background: #0b0b0b; }
.tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__txt { position: static; padding: 22px 0 0; }
.tile__sobre { color: var(--texto); font-size: 14px; }
.tile h3 { color: var(--navy); font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -0.02em; }
.tile__meta { margin-top: 12px; display: grid; gap: 16px; justify-content: start; }
.tile__datas { font-size: 15px; color: var(--texto); }
.tile__ir { height: auto; padding: 0 0 3px; border-radius: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; color: var(--navy); font-size: 15px; }
@media (max-width: 760px) { .tile { aspect-ratio: auto; } }

/* Topo da imersão */
.i-hero__sobre { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lav-esc); }
.i-hero h1 { margin-top: 10px; }
.i-hero__info { margin-top: 14px; }
.chip { height: 30px; font-size: 13px; font-weight: 600; }
.preco-tag .num { font-size: 40px; }
.preco-tag s { font-family: var(--f); font-size: 18px; }
.i-hero__foto picture { background: #0b0b0b; }
@media (max-width: 900px) { .preco-tag .num { font-size: 36px; } }

/* Programa */
.modulo { border-radius: 20px 12px 12px 12px; }
.modulo li .num { font-size: 14px; line-height: 1.6; }
.modulo li { font-size: 15.5px; }

/* Sessões */
.sessao__c { border-radius: 16px 10px 10px 10px; }
.sessao input:checked + .sessao__c { background: #fff; }
.sessao__data { font-family: var(--f); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; margin: 10px 0 4px; }
@media (max-width: 640px) { .sessao__c { grid-template-columns: 72px 1fr auto; border-radius: 14px 10px 10px 10px; } .sessao__data { font-size: 20px; } }

/* Resumo da inscrição em branco */
.resumo { background: #fff; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha); border-radius: 24px 14px 14px 14px; }
.resumo__t { color: var(--lav-esc); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.resumo__curso { color: var(--navy); font-size: 20px; font-weight: 600; }
.resumo__sessao { background: #F6F7F9; }
.resumo__sessao b { color: var(--navy); font-size: 15.5px; font-weight: 600; }
@keyframes pulsa { 0% { background: var(--lav-claro); } 100% { background: #F6F7F9; } }
.resumo__preco { border-bottom-color: var(--linha); }
.resumo__preco .num { font-size: 40px; line-height: 1; color: var(--navy); }
.resumo__preco s { font-family: var(--f); font-size: 18px; color: #A3AAB6; }
.resumo__preco small { color: var(--texto); }
.resumo__preco small b { color: var(--lav-esc); }
.resumo li { color: var(--navy); }
.resumo li svg { color: var(--lav-esc); }
.resumo__voucher { background: #F6F7F9; }
.resumo__voucher b { color: var(--navy); }
.resumo__legal { color: #8A93A3; }

/* Fecho: valores */
.degrau { min-height: 0; padding: 22px 22px 20px; border-radius: 20px 12px 12px 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linha); }
.degrau--agora { background: #fff; color: var(--texto); box-shadow: inset 0 0 0 1.5px var(--navy); }
.degrau__v { font-size: clamp(36px, 3.4vw, 46px); line-height: 1; }
.degrau--agora .degrau__v { color: var(--navy); }
.degrau--agora .degrau__q b { color: var(--lav-esc); }
.degrau__tag { background: var(--lav-claro); color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .degrau__v { font-size: 36px; } }

/* Sobre */
.etapa__ano { font-family: var(--f); font-weight: 600; font-size: 36px; letter-spacing: -0.03em; }
.percurso::before { top: 34px; }
@media (max-width: 960px) { .etapa__ano { font-size: 30px; } }

/* Contacto, avisos e sucesso: branco com contorno */
.canal { background: #fff; box-shadow: inset 0 0 0 1px var(--linha); border-radius: 16px 10px 10px 10px; transition: box-shadow .2s; }
.canal:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.canal b { font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; }
.sucesso { background: #fff; box-shadow: inset 0 0 0 1px var(--linha); border-radius: 24px 14px 14px 14px; }
.aviso { background: #fff; box-shadow: inset 0 0 0 1.5px var(--bege); border-radius: 16px 10px 10px 10px; }
.faq summary { font-size: clamp(16px, 1.3vw, 18px); }

/* Barra fixa (telemóvel) em branco */
.barra { background: #fff; color: var(--navy); box-shadow: 0 0 0 1px var(--linha), 0 18px 40px -16px rgba(18,35,58,.35); }
.barra__p { color: var(--texto); }
.barra__p b { font-family: var(--f); font-weight: 600; font-size: 20px; color: var(--navy); }
.barra .btn { --bg: var(--navy); --fg: #fff; --hv: var(--navy-2); }

/* Símbolo da homepage estático (sem 3D nem movimento) */
.h-hero__simbolo { justify-self: center; width: min(100%, 300px); }
.h-hero__simbolo svg { width: 100%; height: auto; }
@media (max-width: 860px) { .h-hero__simbolo { display: none; } }

/* Cartões: a foto mantém 3:2 */
.tile picture { width: 100%; height: auto; }
.tile__ir { justify-self: start; }

/* Pedicure: o fundo preto da foto passa a azul-noite (o preto funde-se com a cor de fundo) */
picture:has(img[src*="pedicure"]), .mega__foto:has(img[src*="pedicure"]), .outra__img:has(img[src*="pedicure"]) {
  background: radial-gradient(90% 120% at 70% 40%, #24426C 0%, #162A47 50%, #0D1A2D 100%);
}
img[src*="pedicure"] { mix-blend-mode: lighten; }

/* Contacto: atalhos com a data por baixo do nome */
.c-atalhos a { flex-direction: column; align-items: flex-start; gap: 2px; }
.mega__foto { display: block; border-radius: 20px 10px 10px 10px; overflow: hidden; isolation: isolate; } .mega__foto img { border-radius: 0; }

/* Marcas: logos alinhados pela base, com ligação às páginas no cosmake.pt */
.marcas__logos { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(32px, 5vw, 72px); }
.marcas__logos a { display: block; opacity: .85; transition: opacity .2s; }
.marcas__logos a:hover { opacity: 1; }
.marcas__logos img { display: block; }
