/* Estratégia Educação — landing page layout & extras. Built on tokens.css + ds-components.css (never edit those). */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
h1, h2, h3, p, figure, blockquote, address, ol, ul { margin: 0; }
img { max-width: 100%; }
address { font-style: normal; }
a { color: inherit; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--white); font-weight: 600; border-radius: var(--radius-md) 0 var(--radius-md) 0; text-decoration: none; }
.skip:focus { top: 12px; outline: 3px solid var(--focus-dark); outline-offset: 2px; }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 44px; height: 44px; stroke-width: 1.5; }

/* Layout */
.wrap { max-width: var(--layout-max); margin: 0 auto; padding-inline: var(--space-5); box-sizing: border-box; }
.wrap-narrow { max-width: 920px; }
.section { padding-block: var(--section-padding); scroll-margin-top: 72px; }
.section-hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 96px); }
.ground-paper { background: var(--paper); }
.ground-white { background: var(--white); }
.tile-paper { background: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--tile-gap); }
.c-3 { grid-column: span 3; } .c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; }
.c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }
@media (max-width: 900px) {
  .c-3, .c-4 { grid-column: span 6; }
  .c-5, .c-6, .c-7, .c-8 { grid-column: span 12; }
  .row-2 { grid-row: auto; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: var(--space-4); }
  .grid { gap: 12px; }
  .c-3, .c-4 { grid-column: span 12; }
}

/* Type */
.h1 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 2rem + 3.2vw, 68px); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 1.6rem + 2.6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.h2-md { font-size: clamp(30px, 1.5rem + 1.4vw, 42px); line-height: 1.1; }
.title-md { font-size: clamp(26px, 1.4rem + .8vw, 34px); }
.title-sm { font-size: 22px; line-height: 1.2; }
.lead { margin: 0; font-size: clamp(17px, 1rem + .35vw, 20px); line-height: 1.6; max-width: 64ch; }
.lead-onink { color: var(--white); }
.lead-sec { color: var(--ink); margin: var(--space-6) 0 var(--space-6); }
.on-ink-muted { color: var(--on-ink-muted); }
.ee-on-ink .lead-sec { color: var(--on-ink-muted); }
.body-lg { font-size: 17px; line-height: 1.6; max-width: 60ch; }
.sec-head { max-width: 800px; margin-bottom: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.sec-head .lead { margin: 0; }
.ee-label { margin-bottom: 2px; }
.after-list { margin-top: var(--space-6); }

/* Tile tweaks */
.ee-tile-xl { padding: clamp(24px, 4vw, 48px); }
.ee-tile-md { padding: var(--space-5); }
.ee-tile-xl .ee-tile-title { font-size: clamp(30px, 1.6rem + 1.4vw, 44px); }
.ee-tile-xl .ee-tile-title.title-md { font-size: clamp(26px, 1.4rem + .8vw, 34px); }
.ee-tile-xl .ee-tile-title.title-sm, .ee-tile-title.title-sm { font-size: 22px; }
.ee-tile-xl { gap: var(--space-4); }
a.ee-tile { text-decoration: none; }
.ee-tile-body.body-lg { font-size: 17px; }
.ee-stat-note { color: var(--ink-muted); }
.ee-tile-coral .ee-stat-note, .ee-tile-marigold .ee-stat-note, .ee-tile-mint .ee-stat-note, .ee-tile-lilac .ee-stat-note { color: var(--ink); }
.ee-tile-ink .ee-stat-note { color: var(--on-ink-muted); }
.ee-tile-ink .ee-tile-body-muted { color: var(--on-ink-muted); }
.ee-tile-coral .ee-tile-body-muted, .ee-tile-marigold .ee-tile-body-muted, .ee-tile-mint .ee-tile-body-muted, .ee-tile-lilac .ee-tile-body-muted { color: var(--ink); }
.ee-tile-ink .ee-tile-body { color: var(--white); }
.ee-tile-ink .ee-tile-body.ee-tile-body-muted { color: var(--on-ink-muted); }
.ee-tile-ink .ee-link { color: var(--white); }
.ee-tile-ink .ee-label { color: var(--on-ink-muted); }
.ee-tile-ink .ee-label.on-ink-muted { color: var(--on-ink-muted); }
.ee-tile-coral .ee-label, .ee-tile-marigold .ee-label, .ee-tile-mint .ee-label, .ee-tile-lilac .ee-label { color: var(--ink); }
.ee-tile.ee-tile-ink .ee-label { color: var(--on-ink-muted); }
.meta-onink { margin: 0; color: var(--on-ink-muted); font-size: 15px; }

/* Buttons */
.ee-btn:active { transform: translateY(1px); }
.ee-btn .icon { width: 20px; height: 20px; }
.ee-btn { text-align: center; line-height: 1.2; padding-block: 12px; }
.ee-btn-primary:focus-visible { outline-color: var(--focus-light); }
.ee-on-ink .ee-btn-primary:focus-visible, .ee-tile-ink .ee-btn:focus-visible { outline-color: var(--focus-dark); }

/* Header */
.ee-header { position: sticky; top: 0; z-index: 50; transition: box-shadow var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out); }
.ee-header-logo { display: inline-flex; flex: none; }
.ee-header-logo img { height: 40px; width: auto; }
.ee-header-cta { flex: none; }
.ee-nav a { padding: 12px 0; }
.ee-nav a:hover, .ee-nav a[aria-current="true"] { border-bottom-color: var(--ink); }
.ee-nav a[aria-current="true"] { border-bottom-width: 3px; }
.ee-overlay { position: fixed; inset: 0; min-height: 0; height: 100vh; height: 100dvh; overflow-y: auto; z-index: 90; }
.ee-overlay[hidden] { display: none; }
.ee-overlay-top button { display: inline-flex; align-items: center; justify-content: center; }
.ee-overlay nav { margin-block: var(--space-4); }
.ee-overlay nav a { padding: 6px 0; }
.ee-overlay .ee-btn { align-self: flex-start; }
.ee-overlay .menu-directions { color: var(--white); align-self: flex-start; padding-block: 12px; }
.ee-menu-btn { align-items: center; justify-content: center; }
body.menu-open { overflow: hidden; }
@media (max-width: 900px) { .ee-header-inner { padding-inline: var(--space-4); } .ee-header-logo img { height: 36px; } }

/* Método */
.method-band { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-xl) 0 var(--radius-xl) 0; display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: 0; }
.method-band .h2 { max-width: 20ch; }
.ee-e5-step { gap: var(--space-2); }
.ee-e5-step:not(.ee-e5-featured) { background: var(--white); }
@media (max-width: 1000px) and (min-width: 721px) {
  .ee-e5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Photo slots */
.slot { position: relative; margin: 0; aspect-ratio: var(--ar, 4/3); min-height: 0; border-radius: var(--radius-lg) 0 var(--radius-lg) 0; }
.slot.ee-tile-xl { border-radius: var(--radius-xl) 0 var(--radius-xl) 0; padding: 0; }
.slot-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-5); text-align: center; color: var(--ink-muted); background: var(--ink-10); }
.slot-ph span { max-width: 42ch; font-size: 14px; line-height: 1.45; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .slot-ph { padding: var(--space-4); gap: var(--space-2); } .slot-ph span { font-size: 13px; } .slot-ph .icon-lg { width: 36px; height: 36px; } }

/* Espaço */
.espaco-cap { justify-content: center; gap: var(--space-4); }
.espaco-cap .ee-tile-foot { margin-top: var(--space-3); }

/* Como começar */
.steps { list-style: none; padding: 0; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.steps .ee-tile { gap: var(--space-3); }

/* FAQ */
.acc-paper { background: var(--paper); padding-inline: clamp(20px, 4vw, 32px); }
.acc-h { margin: 0; font-size: inherit; }
.ee-acc-btn { text-align: left; }
.ee-acc-btn:hover { color: var(--ink-deep); }
.ee-acc-icon { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ee-acc-panel { padding-bottom: var(--space-5); }
.ee-acc-item + .ee-acc-item { border-top-color: var(--ink-20); }
.js .acc-wrap { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base); }
.js .acc-wrap.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--duration-base) var(--ease-out), visibility 0s; }
.js .acc-inner { overflow: hidden; min-height: 0; }
@media (max-width: 640px) { .ee-acc-btn { font-size: 19px; } }

/* Location */
.loc-tile { gap: var(--space-4); }
.map { position: relative; z-index: 0; isolation: isolate; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg) 0 var(--radius-lg) 0; background: var(--ink-10); }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-4); text-align: center; color: var(--ink); background-image: linear-gradient(var(--ink-20) 1px, transparent 1px), linear-gradient(90deg, var(--ink-20) 1px, transparent 1px); background-size: var(--paper-grid-size) var(--paper-grid-size); }
.map-ph p { background: var(--ink-10); padding: 4px 8px; font-size: 15px; line-height: 1.4; }
.map.is-ready .map-ph { display: none; }
.map-pin { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: var(--white); border-radius: 12px 0 12px 0; box-shadow: var(--shadow-raised); }
.map-pin svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.leaflet-container { font-family: var(--font-text); width: 100%; height: 100%; }
.leaflet-popup-content-wrapper { border-radius: 14px 0 14px 0; color: var(--ink); }
.leaflet-popup-content { margin: 12px 16px; font-size: 14px; line-height: 1.45; }
.leaflet-popup-content strong { font-family: var(--font-display); font-size: 16px; }
.loc-address { display: grid; gap: var(--space-3); }
.loc-line { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 1.5; margin: 0; }
.loc-line .icon { margin-top: 1px; }
.loc-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.loc-actions .ee-btn { flex: 1 1 auto; }
.ee-btn.is-done { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); z-index: 120; padding: 12px 20px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; border-radius: var(--radius-md) 0 var(--radius-md) 0; box-shadow: var(--shadow-raised); opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (max-width: 720px) { .toast { bottom: 88px; } }

/* Footer */
.ee-footer-inner { padding-inline: var(--space-5); }
.foot-tag { margin-top: var(--space-3) !important; max-width: 28ch; color: var(--white) !important; font-family: var(--font-display); font-size: 20px !important; line-height: 1.3 !important; }
.foot-social { grid-auto-flow: row; margin-top: var(--space-4) !important; }
.foot-social a, .ee-footer ul a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; }
.ee-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.ee-footer-legal span { color: var(--on-ink-muted); align-self: center; margin-left: auto; }
@media (max-width: 720px) { .ee-footer-inner { padding-inline: var(--space-4); } .ee-footer-legal span { margin-left: 0; } }

/* Reveal on enter (JS only adds .will-reveal to elements below the fold) */
.will-reveal { opacity: 0; }
.will-reveal.is-in { opacity: 1; animation: ee-enter var(--duration-base) var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * var(--stagger)); }

/* Draft mode (?rascunho): outline mocks and photo slots */
body.is-draft [data-mock], body.is-draft [data-slot] { outline: 2px dashed var(--coral); outline-offset: 3px; }
body.is-draft [data-mock]::after, body.is-draft [data-slot]::after { content: "MOCK"; position: absolute; top: 8px; right: 8px; z-index: 5; padding: 3px 8px; background: var(--coral); color: var(--ink); font: 700 10px/1.2 var(--font-text); letter-spacing: .08em; border-radius: 6px 0 6px 0; }
body.is-draft [data-slot]::after { content: "FOTO"; }
body.is-draft [data-mock][data-slot]::after { content: "MOCK"; }
body.is-draft [data-slot] .slot-ph { border-radius: inherit; }

/* Review fixes */

.loc-actions { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
.loc-actions .ee-btn { white-space: nowrap; }
.loc-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); margin: 0; }
.loc-links .ee-link { display: inline-flex; align-items: center; min-height: 44px; }
.loc-copy { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 1.5px; transition: text-decoration-thickness var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
.loc-copy:hover { text-decoration-thickness: 2.5px; }
.loc-copy.is-done { color: var(--success); }
.loc-copy .icon { width: 20px; height: 20px; }

/* Concise, photo-led homepage and shared detail pages */
.ee-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.section { padding-block: clamp(36px, 5vw, 64px); }
.section-hero { padding-top: 28px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); }
.hero-main { justify-content: center; gap: 20px; padding: clamp(24px, 3vw, 40px); }
.hero-main .h1 { font-size: clamp(38px, 4vw, 58px); }
.hero-location { font-size: 14px; color: var(--on-ink-muted); }
.hero-cta { gap: 18px; }
.hero-cta .ee-link { padding-block: 10px; font-size: 15px; }
.slot-hero { min-height: 440px; aspect-ratio: auto; }
.slot-ph small { display: block; font-size: 12px; margin-top: 8px; }
.offer-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); margin-top: var(--tile-gap); }
.offer-card { gap: 12px; padding: 24px 28px; }
.offer-card .ee-link { margin-top: auto; align-self: flex-start; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading .lead { margin-top: 16px; }
.section-heading > .ee-link { flex-shrink: 0; padding-block: 8px; }
.study-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--tile-gap); }
.study-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; gap: var(--tile-gap); min-width: 0; }
.study-photo-main { grid-column: 1 / -1; grid-row: 1 / -1; aspect-ratio: auto; min-height: 510px; }
.study-photo-detail { grid-column: 2; grid-row: 2; border: 6px solid var(--white); z-index: 1; margin: 0 20px 20px 0; aspect-ratio: 3/2; align-self: end; }
.study-photo-detail .slot-ph { padding: 12px; }
.study-photo-detail .slot-ph .icon { display: none; }
.study-features { gap: 24px; padding: 28px; }
.feature-list { list-style: none; padding: 0; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 14px; align-items: start; font-size: 15px; line-height: 1.5; }
.feature-list .icon { margin-top: 3px; }
.feature-list strong { display: block; font-size: 17px; margin-bottom: 3px; }
.contact-intro { justify-content: center; gap: 24px; }
.contact-intro .ee-btn { align-self: flex-start; }
.contact-note { color: var(--on-ink-muted); font-size: 15px; }
.contact-other { line-height: 2; font-size: 15px; overflow-wrap: anywhere; }
.contact-other a { text-underline-offset: 4px; }
.map { aspect-ratio: 2/1; min-height: 240px; }
.loc-tile { padding: 28px; }
.explore-section { padding-block: 32px; }
.explore-row, .explore-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; }
.explore-row .ee-tile-title { font-size: 24px; }
.quick-actions { position: fixed; right: 24px; bottom: 20px; z-index: 60; display: flex; gap: 8px; padding: 8px; background: var(--white); border: 1px solid var(--ink-10); border-radius: 20px 0 20px 0; box-shadow: var(--shadow-raised); }
.quick-actions .ee-btn { padding-inline: 18px; }
body.menu-open .quick-actions { visibility: hidden; }
.ee-footer { padding-bottom: 104px; }
.toast { bottom: 100px; }
.breadcrumb { padding-top: 24px; }
.detail-intro .lead { margin-top: 24px; }
.detail-intro .h1 { max-width: 22ch; }
.detail-list { padding-left: 20px; display: grid; gap: 12px; }
article[id] { scroll-margin-top: 100px; }
.space-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); }
.space-gallery .slot:first-child { grid-column: 1 / -1; aspect-ratio: 2/1; }
.visit-band { margin-top: 24px; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.visit-band p { margin-top: 12px; }
#perguntas .ee-acc { margin-top: 28px; }
@media (max-width: 1000px) { .ee-header-inner { gap: 20px; } .ee-nav { gap: 18px; } }
@media (max-width: 900px) {
  .hero-grid, .study-layout { grid-template-columns: 1fr; }
  .slot-hero { aspect-ratio: 16/9; min-height: 0; }
  .study-photo-main { min-height: 420px; }
  .feature-list { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 640px) {
  .hero-grid, .offer-pair, .study-layout { gap: 12px; }
  .offer-pair { grid-template-columns: 1fr; }
  .hero-cta { align-items: start; flex-direction: column; gap: 8px; }
  .offer-card, .study-features, .loc-tile { padding: 24px; }
  .feature-list { grid-template-columns: 1fr; gap: 16px; }
  .study-photo-main { min-height: 320px; }
  .study-photo-detail { margin: 0 12px 12px 0; }
  .quick-actions { inset: auto 0 0; border-radius: 0; border-inline: 0; border-bottom: 0; justify-content: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .quick-actions .ee-btn { flex: 1; padding-inline: 10px; font-size: 15px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .ee-footer { padding-bottom: 32px; }
  .space-gallery { grid-template-columns: 1fr; }
  .space-gallery .slot:first-child { aspect-ratio: 3/2; }
}
