/*
Theme Name: Criançartes
Description: Tema do site da Criançartes — Educação Infantil em Botafogo, RJ.
Version: 1.0.0
Author: Criançartes
Text Domain: criancartes
*/
/* ============================================================
   Criançartes — shared stylesheet
   Playful & warm, premium light theme. Locked brand palette.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Locked brand */
  --teal:        #4DB0B0;
  --teal-light:  #6BBFBF;
  --teal-dark:   #3C9696;
  --coral:       #EA916E;
  --coral-dark:  #D9785A;
  --secondary:   #7B8A94;
  --bg:          #F9FAFB;
  --text:        #4A5565;

  /* Playful accents (derived from the logo's children) */
  --sky:    #7FB6DE;
  --sky-soft:#E4F0F9;
  --sun:    #F5C95D;
  --sun-soft:#FCF1D5;
  --teal-soft:#E1F2F2;
  --coral-soft:#FCE7DD;
  --mint-soft:#E9F6F0;

  /* Neutrals */
  --ink:     #2E3A44;   /* headings */
  --white:   #FFFFFF;
  --line:    #E9ECEF;
  --muted:   #8A97A0;

  /* Type */
  --f-head: 'Poppins', 'Inter', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  /* Radius */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadow (soft, teal-tinted) */
  --sh-sm: 0 4px 14px -6px rgba(61,127,127,.18);
  --sh-md: 0 14px 34px -14px rgba(47,86,90,.22);
  --sh-lg: 0 30px 64px -24px rgba(47,86,90,.28);

  --wrap: 1200px;
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1,h2,h3,h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 820px; }
section { position: relative; }
.sec { padding-block: clamp(56px, 8vw, 110px); }
.sec-tight { padding-block: clamp(40px, 5vw, 64px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 7px 16px; border-radius: var(--r-pill);
}
.eyebrow.coral { color: var(--coral-dark); background: var(--coral-soft); }
.eyebrow.sun  { color: #b58413; background: var(--sun-soft); }
.eyebrow.sky  { color: #3d77a6; background: var(--sky-soft); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--secondary); }
.lead { font-size: 1.22rem; color: var(--secondary); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--r-sm);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal-light); color: #134444; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--teal); transform: translateY(-3px); box-shadow: var(--sh-md); }
.btn-secondary { background: var(--coral); color: #fff; border-radius: var(--r-pill); box-shadow: 0 10px 24px -10px rgba(217,120,90,.7); }
.btn-secondary:hover { background: var(--coral-dark); transform: translateY(-3px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--teal-dark); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-white { background:#fff; color: var(--teal-dark); box-shadow: var(--sh-md); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(249,250,251,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(47,86,90,.5); background: rgba(249,250,251,.94); }
.nav { display: flex; align-items: center; gap: 28px; height: 84px; }
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-head); font-weight: 500; font-size: .98rem; color: var(--ink); white-space: nowrap;
  padding: 10px 14px; border-radius: var(--r-pill); transition: background .2s, color .2s;
}
.nav__link:hover, .nav__item:hover > .nav__link { background: var(--teal-soft); color: var(--teal-dark); }
.nav__link[aria-current="page"] { color: var(--teal-dark); background: var(--teal-soft); }
.nav__link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav__item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 244px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); border: 1px solid var(--line);
  padding: 10px; opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s; z-index: 30;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 500; font-size: .96rem; color: var(--text); transition: background .18s, color .18s; }
.dropdown a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.dropdown a .dot { position: static; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dropdown .d-meta { display:block; font-size:.78rem; color: var(--muted); font-weight: 400; }

.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__social { display: flex; gap: 6px; }
.nav__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--secondary); transition: .2s; }
.nav__social a:hover { color: var(--teal-dark); border-color: var(--teal-light); transform: translateY(-2px); }
.nav__social svg { width: 18px; height: 18px; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background:#fff; border:1px solid var(--line); place-items:center; margin-left:auto; }
.nav__toggle svg { width: 24px; height: 24px; color: var(--ink); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 24px; }
.mobile-menu__top img { height: 38px; }
.mm-close { width:46px; height:46px; border-radius:14px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; }
.mm-close svg { width:24px; height:24px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .mm-link { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); padding: 12px 8px; border-radius: 12px; }
.mobile-menu .mm-sub { display:flex; flex-direction:column; padding: 4px 8px 12px 18px; gap: 2px; }
.mobile-menu .mm-sub a { color: var(--text); font-weight: 500; padding: 8px 6px; font-size: 1.02rem; }
.mobile-menu .mm-cta { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
body.menu-open { overflow: hidden; }

/* ---------- footer ---------- */
.site-footer { background: #2C3A41; color: #C7D2D6; padding-block: 72px 30px; position: relative; }
.site-footer .foot-wave { position:absolute; bottom:calc(100% - 1px); left:0; width:100%; line-height:0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 48px; }
.foot-brand img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .96; }
.foot-brand p { color: #9FB0B5; max-width: 320px; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display:grid; place-items:center; background: rgba(255,255,255,.08); transition: .2s; }
.foot-social a:hover { background: var(--teal-light); color: #0f3a3a; transform: translateY(-3px); }
.foot-social svg { width: 19px; height: 19px; }
.foot-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.foot-col ul { display: flex; flex-direction: column; gap: 11px; }
.foot-col a, .foot-col li { color: #A9B8BD; font-size: .98rem; transition: color .2s; }
.foot-col a:hover { color: var(--teal-light); }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-light); }
.foot-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #8A9BA0; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s; animation: wa-pop .5s .8s both;
}
.wa-fab:hover { transform: scale(1.08) translateY(-2px); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wa-ring 2.4s infinite; }
@keyframes wa-ring { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.45);} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
@keyframes wa-pop { from{transform:scale(0);} to{transform:scale(1);} }
@media (prefers-reduced-motion: reduce){ .wa-fab, .wa-fab::after { animation: none; } }

/* ---------- decorative blobs / dots ---------- */
.blob { position: absolute; border-radius: 48% 52% 58% 42% / 52% 44% 56% 48%; filter: blur(2px); opacity: .55; z-index: 0; pointer-events: none; }
.dot { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.float-slow { animation: floaty 9s ease-in-out infinite; }
.float-med  { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-18px) } }
@media (prefers-reduced-motion: reduce){ .float-slow,.float-med{ animation:none; } }

/* ---------- cards ---------- */
.card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .3s cubic-bezier(.34,1.4,.6,1), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

/* real photos */
.photo { display: block; width: 100%; object-fit: cover; background: var(--teal-soft); }
img.photo { color: transparent; }
.photo-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* image placeholder (fallback / unfilled slots) */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background-color: var(--teal-soft);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 14px, rgba(255,255,255,0) 14px 28px);
  display: grid; place-items: center; isolation: isolate;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; letter-spacing: .04em; color: rgba(46,58,68,.5);
  background: rgba(255,255,255,.78); padding: 6px 11px; border-radius: var(--r-pill);
  text-align: center; backdrop-filter: blur(2px);
}
.ph.t-coral { background-color: var(--coral-soft); }
.ph.t-sun   { background-color: var(--sun-soft); }
.ph.t-sky   { background-color: var(--sky-soft); }
.ph.t-mint  { background-color: var(--mint-soft); }
.ph.t-teal  { background-color: var(--teal-soft); }

/* ---------- waves ---------- */
.wave { line-height: 0; }
.wave svg { width: 100%; height: auto; display: block; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; background:#fff; border-radius: var(--r-lg); border:1px solid var(--line); box-shadow: var(--sh-sm); }
.stat .num { font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem,3.4vw,2.7rem); color: var(--teal-dark); line-height: 1; }
.stat .lbl { margin-top: 8px; font-size: .98rem; color: var(--secondary); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }
.reveal[data-d="5"]{ transition-delay:.40s }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- gallery + lightbox ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry .g-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-md); overflow: hidden; cursor: pointer; position: relative; box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.masonry .g-item:hover { transform: translateY(-4px) scale(1.012); box-shadow: var(--sh-md); }
.masonry .ph { border-radius: 0; }
.g-item .g-cap { position:absolute; inset:auto 0 0 0; padding: 10px 12px; font-family: var(--f-head); font-weight:600; font-size:.84rem; color:#fff; background: linear-gradient(transparent, rgba(30,40,46,.62)); opacity: 0; transition: opacity .25s; }
.g-item:hover .g-cap { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(24,32,38,.86); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s; padding: 24px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox .lb-stage { width: min(900px, 92vw); height: min(620px, 74vh); border-radius: var(--r-lg); transform: scale(.94); transition: transform .35s; overflow: hidden; background: #1a2227; display: grid; place-items: center; }
.lightbox .lb-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox.open .lb-stage { transform: scale(1); }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--f-head); font-weight: 500; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); color:#fff; display:grid; place-items:center; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255,255,255,.26); transform: scale(1.06); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-light); box-shadow: 0 0 0 4px var(--teal-soft); }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.field .err { display: none; color: var(--coral-dark); font-size: .85rem; margin-top: 6px; font-weight: 500; }
.field .err.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-success { text-align: center; padding: 18px 8px; }
.form-success .check { width: 76px; height: 76px; border-radius: 50%; background: var(--mint-soft); color: var(--teal-dark); display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s cubic-bezier(.34,1.56,.64,1) both; }
.form-success .check svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- page hero (interior) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 92px) clamp(40px,5vw,68px); position: relative; overflow: hidden; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero .breadcrumb { display:flex; gap:8px; align-items:center; font-size:.9rem; color: var(--secondary); margin-bottom: 18px; flex-wrap: wrap; }
.page-hero .breadcrumb a:hover { color: var(--teal-dark); }
.page-hero .breadcrumb svg { width: 14px; height: 14px; opacity:.6; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 18px; font-size: 1.2rem; color: var(--secondary); max-width: 60ch; }

/* prose */
.prose h2 { margin-top: 8px; }
.prose h3 { margin-top: 8px; color: var(--teal-dark); }
.prose p { margin-bottom: 16px; font-size: 1.08rem; }
.prose p + h3 { margin-top: 28px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul.ticks { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 20px; }
.prose ul.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.prose ul.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C9696' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }

/* pills list */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display:inline-flex; align-items:center; gap:8px; padding: 9px 16px; border-radius: var(--r-pill); background:#fff; border:1px solid var(--line); font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--ink); }
.chip .dot { position: static; width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* utility */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
.items-center { align-items: center; }
.text-center { text-align: center; }
.mt-s{margin-top:14px}.mt-m{margin-top:26px}.mt-l{margin-top:44px}
.bg-white { background: #fff; }
.bg-teal-soft { background: var(--teal-soft); }
.bg-coral-soft { background: var(--coral-soft); }
.rounded-panel { border-radius: var(--r-xl); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__social { display: none; }
  .nav__toggle { display: grid; }
  .nav__cta { margin-left: auto; }
  .nav__cta .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .masonry { columns: 2 160px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .cols-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav { height: 72px; }
  .nav__logo img { height: 46px; }

  /* tighter type scale for small screens */
  h1 { font-size: clamp(2.05rem, 8.4vw, 2.7rem); }
  h2 { font-size: clamp(1.6rem, 6.2vw, 2.05rem); }
  h3 { font-size: 1.18rem; }
  body { font-size: 16.5px; }
  .lead { font-size: 1.08rem; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 1.04rem; margin-top: 12px; }

  /* comfortable section rhythm */
  .sec { padding-block: clamp(44px, 12vw, 64px); }

  /* full-width, easy-to-tap buttons */
  .btn { padding: 14px 22px; }
  .btn-lg { padding: 16px 26px; font-size: 1.02rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; width: 100%; }

  /* stats read better as 2-up with a touch less padding */
  .stats { gap: 14px; }
  .stat { padding: 22px 12px; }

  /* footer bottom stacks cleanly */
  .foot-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 400px) {
  h1 { font-size: clamp(1.9rem, 9vw, 2.3rem); }
}

/* ---------- mobile: compact info-cards, 2-up, no clipping ---------- */
@media (max-width: 560px) {
  .grid { gap: 14px; }
  /* "Nesta fase" cards stack one-per-row on phones */
  .grid:has(> .focus-card) { grid-template-columns: 1fr; }
  .focus-card, .pilar, .princ, .subnav-card, .mod-card, .feat-card, .doc-card { padding: 18px 15px; }
  .focus-card h3, .pilar h3, .princ h3, .subnav-card h3, .feat-card h3, .doc-card h3 { font-size: 1rem; line-height: 1.25; }
  .focus-card p, .pilar p, .princ p, .subnav-card p, .feat-card p { font-size: .86rem; margin-top: 6px; }
  .focus-card .fc-dot, .princ .pn, .pilar .pilar__ic, .subnav-card .sn-ic, .feat-card .fc-ic { width: 38px; height: 38px; margin-bottom: 10px; }
}
