@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --atlantic: #092b43;
  --maritime: #205d7a;
  --ria: #8ebccb;
  --ivory: #f5f2ea;
  --paper: #fbfaf6;
  --white: #fff;
  --ink: #182c36;
  --muted: #5e6c72;
  --line: rgba(24, 44, 54, .18);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
  --container: min(1320px, calc(100vw - 80px));
  --section: clamp(5.5rem, 9vw, 9rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ria); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; transform: translateY(-180%); background: var(--white); color: var(--atlantic); padding: .65rem 1rem; }
.skip-link:focus { transform: none; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow { margin: 0 0 1.25rem; font-size: .72rem; line-height: 1.4; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { color: var(--maritime); }
.display { margin: 0; font-family: var(--serif); font-size: clamp(3.75rem, 7.2vw, 6.5rem); font-weight: 400; line-height: .9; letter-spacing: -.045em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2.8rem, 4.8vw, 4.7rem); line-height: .98; letter-spacing: -.035em; }
h3 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.6rem); line-height: 1.05; }
p { margin: 0; }
.lead { max-width: 42rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.section { padding-block: var(--section); }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--blue { position: relative; overflow: hidden; background: var(--atlantic); color: var(--white); }
.section--blue::before { content: ''; position: absolute; inset: 0; opacity: .12; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='500' viewBox='0 0 800 500'%3E%3Cg fill='none' stroke='%238EBCCB' stroke-width='1'%3E%3Cpath d='M-30 84C91 9 211 168 348 88s258 5 501-44'/%3E%3Cpath d='M-45 146C95 61 190 212 352 145s282-17 490-40'/%3E%3Cpath d='M-13 224C132 144 238 278 380 211s271-16 458-55'/%3E%3Cpath d='M-38 310C117 231 236 363 392 294s280-8 461-53'/%3E%3Cpath d='M-21 402C115 335 245 462 413 389s285-19 447-55'/%3E%3C/g%3E%3C/svg%3E") center/cover; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }

.site-header { position: fixed; z-index: 100; top: 0; inset-inline: 0; height: 90px; color: var(--atlantic); transition: background .3s ease, color .3s ease, height .3s ease, box-shadow .3s ease; }
.site-header.hero-header { color: var(--white); }
.site-header.scrolled, .site-header.inner { height: 76px; color: var(--atlantic); background: rgba(245,242,234,.96); box-shadow: 0 1px 0 rgba(9,43,67,.12); backdrop-filter: blur(10px); }
.header-inner { width: var(--container); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.brand { display: inline-flex; width: fit-content; align-items: center; line-height: 1; }
.brand-logo { width: clamp(210px, 18vw, 250px); height: auto; object-fit: contain; transition: filter .3s ease; }
.hero-header:not(.scrolled) .brand-logo,
.mobile-menu .brand-logo,
.site-footer .brand-logo { filter: brightness(0) invert(1); }
.hero-header.scrolled .brand-logo,
.site-header.inner .brand-logo { filter: none; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; font-size: .84rem; font-weight: 600; }
.nav-link { position: relative; padding-block: .75rem; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: .35rem; height: 3px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6'%3E%3Cpath d='M0 4c12-6 25 4 39 0s27 2 41-1' fill='none' stroke='%238EBCCB' stroke-width='2'/%3E%3C/svg%3E") center/100% 100%; }
.nav-link:hover::after, .nav-link[aria-current='page']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.language { display: flex; align-items: center; gap: .42rem; font-size: .7rem; font-weight: 700; letter-spacing: .08em; }
.language a[aria-current='true'] { text-decoration: underline; text-underline-offset: 4px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.35rem; border: 1px solid transparent; border-radius: 2px; font-size: .78rem; line-height: 1.2; font-weight: 700; letter-spacing: .035em; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--atlantic); color: var(--white); }
.hero-header .btn-primary { background: var(--white); color: var(--atlantic); }
.site-header.scrolled .btn-primary, .site-header.inner .btn-primary { background: var(--atlantic); color: var(--white); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-light { background: var(--white); color: var(--atlantic); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: currentColor; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ''; display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }

.mobile-menu { position: fixed; z-index: 120; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 1.35rem max(1.25rem, calc((100vw - 1320px)/2)); color: var(--white); background: var(--atlantic); transform: translateY(-102%); visibility: hidden; transition: transform .38s cubic-bezier(.2,.8,.2,1), visibility .38s; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu::after { content: ''; position: absolute; inset: auto 0 5rem; height: 180px; opacity: .22; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160'%3E%3Cpath d='M0 90c180-100 330 75 520 10s350-5 680-70M0 125c180-90 350 60 540 5s350-15 660-60' fill='none' stroke='%238EBCCB' stroke-width='2'/%3E%3C/svg%3E") center/cover no-repeat; pointer-events: none; }
.mobile-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-close { width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: white; font-size: 1.5rem; }
.mobile-links { align-self: center; display: grid; gap: .4rem; position: relative; z-index: 1; }
.mobile-links a { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 1.02; }
.mobile-footer { position: relative; z-index: 1; display: grid; gap: .45rem; font-size: .85rem; }

.hero { position: relative; min-height: min(90vh, 900px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--atlantic); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { transform: scale(1.02); animation: drift 18s ease-in-out infinite alternate; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,24,39,.76) 0%, rgba(3,24,39,.32) 52%, rgba(3,24,39,.05) 100%), linear-gradient(0deg, rgba(3,24,39,.34), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: var(--container); margin-inline: auto; padding: 10rem 0 6rem; }
.hero-copy { max-width: 53rem; }
.hero .display { max-width: 51rem; }
.hero .lead { margin-top: 1.75rem; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-location { position: absolute; z-index: 2; right: max(40px, calc((100vw - 1320px)/2)); bottom: 2.1rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 2; left: max(40px, calc((100vw - 1320px)/2)); bottom: 1.8rem; display: flex; align-items: center; gap: .7rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue::before { content: ''; width: 38px; height: 1px; background: rgba(255,255,255,.7); }
.wave-edge { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: 30px; color: var(--ivory); }

.intro-copy { grid-column: 1 / span 5; align-self: center; }
.intro-copy h2 { margin-bottom: 2rem; }
.intro-copy .lead + .lead { margin-top: 1.15rem; }
.text-link { position: relative; display: inline-block; margin-top: 2rem; padding-bottom: .28rem; font-weight: 700; font-size: .82rem; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .25s ease; }
.text-link:hover::after { transform: scaleX(.55); }
.intro-visual { grid-column: 7 / -1; position: relative; min-height: 650px; }
.intro-visual .image-main { position: absolute; inset: 0 0 5rem 15%; }
.intro-visual .image-small { position: absolute; z-index: 2; left: 0; bottom: 0; width: 44%; height: 42%; border: 12px solid var(--ivory); }
.image-note { position: absolute; z-index: 3; right: .8rem; bottom: 1rem; color: white; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }

.section-head { display: grid; grid-template-columns: 1fr minmax(18rem, 34rem); gap: 3rem; align-items: end; margin-bottom: 4.5rem; }
.section-head .lead { color: var(--muted); }
.courses-list { border-top: 1px solid var(--line); }
.course-row { display: grid; grid-template-columns: 5rem minmax(12rem, 1.2fr) minmax(13rem, 1fr) auto; gap: 2rem; align-items: center; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.course-no { color: var(--maritime); font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.course-row h3 { font-size: clamp(1.9rem, 3vw, 3.2rem); }
.course-row p { color: var(--muted); max-width: 31rem; }
.course-meta { min-width: 10rem; text-align: right; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.course-row:hover h3 { font-style: italic; }

.experience { position: relative; z-index: 1; }
.experience-number { grid-column: 1 / span 4; font-family: var(--serif); font-size: clamp(7rem, 15vw, 13rem); line-height: .75; letter-spacing: -.07em; }
.experience-number small { display: block; max-width: 17rem; margin: 2rem 0 0 .7rem; font-family: var(--sans); font-size: .72rem; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.experience-copy { grid-column: 6 / -1; }
.experience-copy .lead { margin-top: 2rem; color: rgba(255,255,255,.75); }
.principles-inline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.24); }
.principles-inline span { padding: 1.15rem .5rem 0 0; font-size: .8rem; font-weight: 600; }

.photo-statement { position: relative; min-height: 720px; display: flex; align-items: flex-end; color: white; overflow: hidden; }
.photo-statement::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,24,39,.8), rgba(3,24,39,.05) 70%); }
.photo-statement-content { position: relative; z-index: 1; width: var(--container); margin-inline: auto; padding-bottom: 5rem; }
.photo-statement-content h2 { max-width: 47rem; }
.photo-statement-content .lead { margin-top: 1.5rem; }
.photo-credit { margin-top: 1.3rem; font-size: .65rem; opacity: .72; }

.cta { position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -4rem; bottom: 1rem; width: min(50vw, 650px); height: 170px; opacity: .3; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 180'%3E%3Cpath d='M0 80c90-55 160 30 250 0s150 20 245-10 130-10 205-48M0 120c90-45 160 35 260 5s170 10 250-15 130-10 190-45' fill='none' stroke='%23205D7A' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: end; }
.cta p { margin-top: 1.5rem; max-width: 43rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }

.inner-hero { position: relative; min-height: 570px; display: flex; align-items: flex-end; color: white; background: var(--atlantic); overflow: hidden; }
.inner-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,24,39,.7), rgba(3,24,39,.14)), linear-gradient(0deg, rgba(3,24,39,.48), transparent 60%); }
.inner-hero .container { position: relative; z-index: 2; padding: 10rem 0 5rem; }
.inner-hero h1 { max-width: 55rem; }
.inner-hero .lead { margin-top: 1.5rem; }
.anchor-nav { position: sticky; z-index: 50; top: 76px; overflow-x: auto; white-space: nowrap; background: var(--white); border-bottom: 1px solid var(--line); }
.anchor-nav .container { display: flex; gap: 2.2rem; }
.anchor-nav a { padding: 1.05rem 0; font-size: .76rem; font-weight: 700; }

.course-detail { padding-block: clamp(5rem, 8vw, 8rem); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.course-detail:nth-child(even) { background: var(--ivory); }
.course-detail-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.course-detail:nth-child(even) .course-photo { order: 2; }
.course-photo { position: sticky; top: 150px; height: min(70vh, 660px); }
.course-photo::after { content: 'Imagem ilustrativa'; position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .55rem; background: rgba(9,43,67,.84); color: white; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.course-kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; color: var(--maritime); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.course-detail h2 { margin-bottom: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.fact { padding: 1.3rem 1rem 1.3rem 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 1.3rem; }
.fact dt { margin-bottom: .35rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fact dd { margin: 0; color: var(--muted); font-size: .9rem; }
.course-detail .btn { margin-top: 2rem; }
.validation-note { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--ria); color: var(--muted); font-size: .75rem; }

.comparison-wrap { overflow-x: auto; margin-top: 3rem; }
.comparison { width: 100%; min-width: 800px; border-collapse: collapse; text-align: left; }
.comparison th, .comparison td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.comparison th { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.comparison td:first-child { font-family: var(--serif); font-size: 1.2rem; }
.comparison td { font-size: .82rem; }
.faq { max-width: 950px; margin: 3rem auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.35rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .5rem; top: 1.45rem; font-family: var(--sans); font-size: 1.1rem; }
.faq details[open] summary::after { content: '–'; }
.faq details p { max-width: 46rem; padding: 0 0 1.6rem; color: var(--muted); }

.manifesto { max-width: 65rem; margin-inline: auto; text-align: center; }
.manifesto p { margin: 2rem auto 0; }
.teaching-grid { margin-top: 4rem; border-top: 1px solid var(--line); }
.teaching-item { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.teaching-item h3 { font-style: italic; }
.team-band { align-items: center; }
.school-photo { grid-column: 1 / span 5; position: relative; min-height: 540px; margin: 0; overflow: hidden; background: var(--maritime); }
.school-photo img { object-position: center; }
.school-photo figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .65rem; background: rgba(9,43,67,.88); color: var(--white); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.team-copy { grid-column: 7 / -1; }
.team-copy .lead { margin-top: 1.5rem; }
.person { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.3); }
.person strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.person span { font-size: .75rem; opacity: .72; }
.olhao-grid { align-items: end; }
.olhao-copy { grid-column: 1 / span 5; padding-bottom: 2rem; }
.olhao-copy .lead { margin-top: 1.5rem; }
.olhao-photo { grid-column: 7 / -1; height: 620px; }

.contact-shell { padding-top: 160px; }
.contact-intro { max-width: 62rem; }
.contact-intro .lead { margin-top: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); margin-top: 5rem; }
.contact-list { border-top: 1px solid var(--line); }
.contact-item { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: .35rem; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-item a { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.map-panel { margin-top: 2rem; min-height: 260px; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; background: var(--atlantic); color: white; position: relative; overflow: hidden; }
.map-panel::before { content: ''; position: absolute; inset: 0; opacity: .4; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='300' viewBox='0 0 500 300'%3E%3Cg fill='none' stroke='%238EBCCB'%3E%3Cpath d='M-20 70C70 5 160 120 260 55s170 35 270-20M-20 135c110-70 185 55 300-5s150 20 250-20M-10 210c100-65 195 50 300-5s160 20 230-25'/%3E%3Ccircle cx='295' cy='150' r='9'/%3E%3Cpath d='m295 141 0-22m-8 9 8-9 8 9'/%3E%3C/g%3E%3C/svg%3E") center/cover; }
.map-panel > * { position: relative; z-index: 1; }
.contact-form { padding: clamp(2rem, 4vw, 4rem); background: var(--white); border: 1px solid var(--line); }
.contact-form h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; margin-top: 2.5rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: .75rem .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--maritime); outline: 2px solid rgba(142,188,203,.35); }
.check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; grid-column: 1 / -1; font-size: .76rem; }
.check input { width: 18px; height: 18px; margin-top: .18rem; }
.form-status { grid-column: 1 / -1; min-height: 1.5rem; color: #8c3b28; font-size: .8rem; }
.dev-note { grid-column: 1 / -1; padding: .85rem 1rem; background: var(--ivory); border-left: 3px solid var(--ria); font-size: .73rem; color: var(--muted); }

.legal { padding: 160px 0 var(--section); }
.legal article { max-width: 830px; }
.legal h1 { margin: 0 0 2rem; font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: .95; }
.legal h2 { margin: 3rem 0 1rem; font-size: 2.2rem; }
.legal p + p { margin-top: 1rem; }
.legal-callout { margin: 2rem 0; padding: 1.2rem; background: var(--ivory); border-left: 3px solid var(--ria); }

.site-footer { position: relative; padding: 6rem 0 1.5rem; background: var(--atlantic); color: white; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 45'%3E%3Cpath d='M0 20c180-35 300 30 510 5s350 10 690-10' fill='none' stroke='%238EBCCB' stroke-width='2'/%3E%3C/svg%3E") center/cover; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr .9fr 1.15fr; gap: 4rem; }
.footer-brand p { max-width: 22rem; margin-top: 1.4rem; color: rgba(255,255,255,.72); font-size: .86rem; }
.footer-brand .brand-logo { width: min(285px, 100%); }
.footer-col h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-col nav { display: grid; gap: .55rem; color: rgba(255,255,255,.75); font-size: .82rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); font-size: .66rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; }
.signature { font-family: var(--serif); font-style: italic; color: white; }
.prepublish { padding: .65rem 1rem; background: #dbe8eb; color: var(--atlantic); text-align: center; font-size: .68rem; letter-spacing: .04em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.07) translateX(-1.4%); } }

@media (max-width: 1050px) {
  :root { --container: min(100% - 48px, 1320px); }
  .desktop-nav, .header-actions .language, .header-actions .btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .intro-copy { grid-column: 1 / span 6; }
  .intro-visual { grid-column: 7 / -1; min-height: 560px; }
  .course-row { grid-template-columns: 3rem 1fr auto; }
  .course-row p { grid-column: 2 / -1; }
  .experience-number { grid-column: 1 / span 5; }
  .experience-copy { grid-column: 6 / -1; }
  .course-detail-grid { gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 40px); --section: 5rem; }
  body { font-size: 16px; }
  .site-header { height: 74px; }
  .brand-logo { width: 220px; }
  .hero { min-height: 780px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(3,24,39,.85), rgba(3,24,39,.15) 75%); }
  .hero-content { padding: 9rem 0 7rem; }
  .hero .display { font-size: clamp(3.8rem, 18vw, 5.3rem); }
  .hero-location { left: 20px; right: auto; bottom: 2rem; }
  .scroll-cue { display: none; }
  .grid-12 { display: block; }
  .intro-copy { margin-bottom: 3rem; }
  .intro-visual { min-height: 520px; }
  .intro-visual .image-main { inset: 0 0 4rem 8%; }
  .intro-visual .image-small { width: 48%; height: 38%; border-width: 8px; }
  .section-head { display: block; margin-bottom: 2.7rem; }
  .section-head .lead { margin-top: 1.5rem; }
  .course-row { grid-template-columns: 2.5rem 1fr; gap: 1rem; }
  .course-row p, .course-meta { grid-column: 2; text-align: left; }
  .experience-number { margin-bottom: 4rem; }
  .principles-inline { grid-template-columns: 1fr; }
  .principles-inline span { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .photo-statement { min-height: 650px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .inner-hero { min-height: 540px; }
  .anchor-nav { top: 74px; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .course-detail:nth-child(even) .course-photo { order: 0; }
  .course-photo { position: relative; top: auto; height: 430px; }
  .facts { grid-template-columns: 1fr; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-child(even) { padding-left: 0; }
  .teaching-item { grid-template-columns: 1fr; gap: .6rem; }
  .school-photo { min-height: 380px; margin-bottom: 3rem; }
  .olhao-copy { margin-bottom: 2.5rem; }
  .olhao-photo { height: 480px; }
  .contact-shell { padding-top: 125px; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .contact-form { margin-inline: -20px; border-inline: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
}

@media (max-width: 420px) {
  :root { --container: calc(100% - 32px); }
  .brand-logo { width: 205px; }
  .hero-actions, .cta-actions { display: grid; }
  .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
