/* Approved editorial refinement. Decorative fades occupy reserved empty space. */
:root{--editorial-paper:#fcfbf8;--editorial-tone:#f2eeea;--editorial-charcoal:#242725;--editorial-ink:#233d33;--editorial-muted:#5f6660;--fade-depth:84px}
html[data-theme="dark"]{--editorial-paper:#242622;--editorial-tone:#2d302b;--editorial-ink:#f1ede2;--editorial-muted:#c9cbc2}
body{background:var(--editorial-paper)}
.editorial-page h1,.editorial-page h2,.editorial-page h3{font-weight:500;letter-spacing:-.025em}
.editorial-page p{line-height:1.75}
.editorial-section{position:relative;background:var(--editorial-paper)!important;border:0!important;padding-block:80px!important}
.editorial-section.tone-section{background:linear-gradient(180deg,var(--editorial-paper),var(--editorial-tone) 22%,var(--editorial-tone) 78%,var(--editorial-paper))!important}
.editorial-section h2{font-size:clamp(32px,3.5vw,49px);line-height:1.12;max-width:24ch}
.editorial-page .content-card{border-radius:12px;border-color:rgba(200,165,146,.2);box-shadow:0 18px 27px -25px rgba(29,37,31,.42);background:var(--editorial-tone)!important;padding:25px}
html .glass-control.glass-control{border-radius:8px;box-shadow:0 8px 17px -12px rgba(22,36,28,.35),inset 0 1px 0 rgba(255,255,255,.4)}
html .glass-control.glass-primary{background:#1e4a3d;color:#fcfbf8;border-color:#1e4a3d}
html .glass-control.glass-primary::before{background:linear-gradient(130deg,rgba(255,255,255,.1),transparent 60%)}
.site-header.site-header{max-width:1400px;border-radius:10px;background:rgba(252,251,248,.88)}
.site-header.site-header .official-signature{object-fit:contain;height:42px}
#view-inicio>section.home-hero{padding:0!important;overflow:visible}
.editorial-hero{display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:auto;min-height:600px;position:relative}
.editorial-copy{padding:100px 0 70px max(36px,calc((100vw - 1240px)/2));position:relative;z-index:2;align-self:center}
.editorial-copy .eyebrow{font-size:10px;letter-spacing:.17em;color:var(--editorial-muted)}
#view-inicio .home-hero h1{font-size:clamp(44px,4.7vw,70px);line-height:1.04;color:var(--editorial-ink);margin:24px -100px 26px 0;letter-spacing:-.035em;font-weight:500}
.editorial-copy h1 em{font-weight:400}
.hero-description{max-width:390px;color:var(--editorial-muted);font-size:17px;margin-bottom:28px}
.hero-secondary{display:block;font-size:12px;color:var(--editorial-muted);margin-top:22px;text-decoration:none}
.hero-secondary:hover{text-decoration:underline}
.editorial-photo{position:relative;min-width:0;margin:0;min-height:600px;overflow:hidden}
.editorial-photo img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:65% center}
.editorial-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,var(--editorial-paper),transparent 32%),linear-gradient(0deg,var(--editorial-paper),transparent 12%)}
.editorial-photo figcaption{position:absolute;bottom:56px;right:20px;z-index:1;font-size:10px;color:#fff;text-shadow:0 1px 4px #000}
.editorial-values{display:flex;justify-content:center;gap:30px;margin:0;padding:32px 20px;font-family:'Cormorant Garamond',serif;font-size:23px;letter-spacing:.08em;color:var(--editorial-ink)}
.editorial-values span{color:#b99e8c}
#view-inicio>section.editorial-dark,.editorial-section.editorial-dark{background:radial-gradient(ellipse at 90% 25%,rgba(200,165,146,.16),transparent 45%),#242725!important;color:#f4f2eb;padding:calc(var(--fade-depth) + 32px) 24px!important;position:relative;isolation:isolate}
.section-fade::before,.section-fade::after{content:"";position:absolute;left:0;right:0;height:var(--fade-depth);z-index:0;pointer-events:none}
.section-fade::before{top:0;background:linear-gradient(180deg,var(--editorial-paper),transparent)}
.section-fade::after{bottom:0;background:linear-gradient(0deg,var(--editorial-paper),transparent)}
.editorial-dark>*{position:relative;z-index:1}
.editorial-dark-grid{max-width:1240px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:76px;align-items:center}
.detail-photo{position:relative;min-height:480px;align-self:stretch;overflow:hidden;border-radius:4px}
.detail-photo img{width:100%;height:100%;object-fit:cover;object-position:90% center;position:absolute;opacity:.8}
.detail-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#242725,transparent 45%),linear-gradient(90deg,transparent 65%,#242725)}
.detail-photo>span{position:absolute;bottom:28px;left:24px;z-index:1;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:27px}
html .editorial-dark h2,html .editorial-dark h3{color:#f4f2eb!important}
.editorial-dark h2{font-size:clamp(34px,3.4vw,50px);line-height:1.13;margin:15px 0 22px}
.editorial-dark p{color:#d3d5ce;max-width:52ch;font-size:14px}
.editorial-dark .eyebrow{color:#c8a592;font-size:10px}
.smoke-panel{background:linear-gradient(120deg,rgba(255,255,255,.085),rgba(255,255,255,.025));border:1px solid rgba(222,201,185,.29);border-radius:10px;margin:28px 0;box-shadow:0 20px 25px -20px #000,inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:5px 26px}
.smoke-panel>div{display:flex;gap:22px;padding:20px 0}.smoke-panel>div+div{border-top:1px solid rgba(255,255,255,.12)}
.smoke-panel>div>span{font-family:'Cormorant Garamond',serif;font-size:23px;color:#c8a592}.smoke-panel section{padding:0!important}.smoke-panel h3{font-size:24px;margin:0 0 5px}.smoke-panel p{font-size:12px;margin:0}
html .editorial-dark .glass-control{color:#f1ede2;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.25)}
#home-formatos .price{font-size:32px}#home-formatos .price span{font-family:'Plus Jakarta Sans',sans-serif;font-size:12px}
#home-formatos .content-card{display:flex;flex-direction:column}#home-formatos .content-card>div:last-child{margin-top:auto;padding-top:20px}
#home-intro .content-card{background:var(--editorial-tone)!important;border:0;box-shadow:none}
#home-about{background:radial-gradient(ellipse at 90% 50%,rgba(200,165,146,.12),transparent 65%),var(--editorial-paper)!important}
#view-sobre .rounded-3xl,#view-planos .rounded-3xl{border-radius:12px}
#view-sobre img{object-position:65% center}.photo-disclaimer{font-size:10px;color:var(--editorial-muted);margin-top:8px}
#view-planos .featured-plan{background:radial-gradient(ellipse at top right,rgba(200,165,146,.2),transparent 70%),#29332d;color:#f4f2eb;box-shadow:0 24px 38px -25px rgba(17,32,24,.6);border-color:rgba(200,165,146,.5)}
html #view-planos .featured-plan [class*="text-"],html #view-planos .featured-plan h3,html #view-planos .featured-plan p{color:#f4f2eb}
#view-diagnostico>.editorial-section>div{max-width:1080px}#view-diagnostico .content-card{background:var(--editorial-paper)!important;box-shadow:0 20px 50px -35px rgba(30,45,36,.35);border-color:rgba(200,165,146,.28)}
#view-diagnostico input,#view-diagnostico select{background:var(--editorial-tone);border-radius:7px}
.utility-page .editorial-section{min-height:68vh;background:radial-gradient(ellipse at 90% 25%,rgba(200,165,146,.13),transparent 65%),var(--editorial-paper)!important}
#view-privacidade .content-card{background:none!important;border:0;box-shadow:none;padding:0;max-width:78ch}
#view-demonstracao .editorial-section{padding-block:48px!important}#view-demonstracao .editorial-section+section{background:linear-gradient(var(--editorial-paper),var(--editorial-tone),var(--editorial-paper))!important}
footer{border-color:rgba(200,165,146,.16)!important}
@media(min-width:1500px){.editorial-copy{padding-left:64px}}
@media(max-width:900px){.editorial-hero{min-height:540px}.editorial-copy{padding:60px 0 40px 28px}.editorial-photo{min-height:540px}.editorial-dark-grid{gap:32px}.detail-photo{min-height:460px}.editorial-section{padding-block:60px!important}}
@media(max-width:640px){:root{--fade-depth:52px}.editorial-hero{display:flex;flex-direction:column}.editorial-copy{padding:42px 24px 20px;order:1}.editorial-copy .eyebrow{font-size:9px}#view-inicio .home-hero h1{font-size:43px!important;margin:20px 0;line-height:1.06!important}.hero-description{font-size:15px;max-width:30ch}.editorial-photo{order:2;min-height:320px;margin-top:12px}.editorial-photo img{object-position:65% 48%}.editorial-photo::after{background:linear-gradient(180deg,var(--editorial-paper),transparent 20%),linear-gradient(0deg,var(--editorial-paper),transparent 18%)}.editorial-photo figcaption{bottom:40px}.editorial-values{gap:12px;font-size:18px;padding:16px 10px 24px;letter-spacing:.03em}.editorial-dark-grid{grid-template-columns:1fr;gap:28px}.detail-photo{min-height:230px}.detail-photo img{object-position:65% 58%}.detail-photo>span{font-size:24px}.editorial-section{padding-block:44px!important}.smoke-panel{padding-inline:18px}.smoke-panel h3{font-size:23px}.smoke-panel>div{gap:16px}.editorial-dark h2{font-size:35px!important}.site-header.site-header .brand-lockup{flex-basis:220px;width:220px}.site-header.site-header .official-signature{width:214px}.editorial-page .content-card{padding:22px}.photo-disclaimer{margin-top:6px}}
@media(prefers-reduced-transparency:reduce){.smoke-panel{background:#343932;backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not (backdrop-filter:blur(1px)){.smoke-panel{background:#343932}}
.editorial-section .text-center h2{margin-left:auto;margin-right:auto}


/* P1 — one optical material for the existing header and seven navigation links.
   Web adaptation of Apple WWDC26: diffusion, dark edge, specular highlights.
   No SVG backdrop displacement: WebKit cannot reliably sample the DOM through it. */
html .site-header.site-header{
  --ib-surface:linear-gradient(125deg,rgba(255,255,250,.42),rgba(248,244,231,.22) 48%,rgba(224,227,210,.26));
  --ib-edge:rgba(255,255,249,.82);
  --ib-contact:0 3px 9px rgba(21,39,29,.09);
  --ib-elevation:0 24px 48px -22px rgba(21,39,29,.26);
  border-radius:26px;border:1px solid var(--ib-edge);
  background:var(--ib-surface);
  box-shadow:var(--ib-contact),var(--ib-elevation),inset 0 1px 1px rgba(255,255,255,.95),inset 0 -1px 1px rgba(45,60,40,.15);
  backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25);
  overflow:visible;
}
html .site-header.site-header>div:first-child{height:76px;gap:16px;padding:10px 24px}
html .site-header.site-header .admin-entry:not(#mobileMenu .admin-entry){
  display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;
  min-height:44px;padding:10px 17px;border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.36),rgba(255,255,255,.1));
  border:1px solid var(--ib-edge);color:var(--glass-text);
  box-shadow:0 3px 8px rgba(25,40,29,.07),inset 0 1px 1px rgba(255,255,255,.85),inset 0 -1px 1px rgba(42,60,37,.12);
}
html .site-header .admin-entry:not(#mobileMenu .admin-entry)::before{
  content:"";position:static;inset:auto;z-index:auto;flex:0 0 18px;width:18px;height:18px;
  border:0;border-radius:0;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3.5'/%3E%3Cpath d='M5 21v-2c0-4 3-6 7-6s7 2 7 6v2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='3.5'/%3E%3Cpath d='M5 21v-2c0-4 3-6 7-6s7 2 7 6v2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html .site-header #mobileMenuBtn{
  flex-shrink:0;width:48px;height:48px;min-width:48px;min-height:48px;padding:10px;border-radius:50%;
  color:var(--glass-text);border:1px solid var(--ib-edge);
  background:radial-gradient(ellipse at 20% 0,rgba(255,255,255,.66),transparent 65%),rgba(255,255,255,.12);
  box-shadow:0 4px 10px rgba(28,43,31,.13),inset 0 1px 2px rgba(255,255,255,.9),inset 0 -1px 2px rgba(45,60,40,.16);
}
html .site-header #mobileMenuBtn::before,html .site-header #mobileMenuBtn::after{content:none}
/* The menu/close glyph stays available if the external icon font fails. */
html .site-header #mobileMenuBtn #menuIcon{display:block;position:relative;width:22px;height:22px;font-size:0}
html .site-header #mobileMenuBtn #menuIcon::before,html .site-header #mobileMenuBtn #menuIcon::after{content:"";position:absolute;left:1px;top:10px;width:20px;height:1.65px;background:currentColor;border-radius:2px}
html .site-header #mobileMenuBtn[aria-expanded="false"] #menuIcon::before{transform:translateY(-6px);box-shadow:0 6px 0 currentColor,0 12px 0 currentColor}
html .site-header #mobileMenuBtn[aria-expanded="false"] #menuIcon::after{content:none}
html .site-header #mobileMenuBtn[aria-expanded="true"] #menuIcon::before{transform:rotate(45deg)}
html .site-header #mobileMenuBtn[aria-expanded="true"] #menuIcon::after{transform:rotate(-45deg)}
html .site-header a:focus-visible,html .site-header button:focus-visible{outline:3px solid #5d947e;outline-offset:3px}
@media(max-width:1279px){
  /* Absolute dropdown keeps page geometry and scroll position unchanged. */
  html .site-header.site-header:has(#mobileMenu:not(.hidden)){background:transparent;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  /* One unbroken shell samples the page. No filtered ancestor may clip the
     backdrop to the compact bar; the top controls sit above this same shell. */
  html .site-header.site-header:has(#mobileMenu:not(.hidden))>div:first-child{position:relative;z-index:1}
  html .site-header.site-header #mobileMenu:not(.hidden){
    position:absolute;display:block;top:-1px;left:-1px;right:-1px;
    margin:0;padding:76px 16px 16px;border:1px solid var(--ib-edge);border-radius:26px;
    background:var(--ib-surface);backdrop-filter:blur(32px) saturate(1.25);-webkit-backdrop-filter:blur(32px) saturate(1.25);
    box-shadow:var(--ib-contact),var(--ib-elevation),inset 1px 0 1px rgba(255,255,255,.6),inset 0 -1px 1px rgba(45,60,40,.17);
    max-height:calc(100dvh - 24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    scrollbar-width:thin;scrollbar-color:rgba(75,93,77,.28) transparent;
    animation:ib-menu-reveal .18s ease-out;
  }
  html .site-header #mobileMenu nav[aria-label="Menu móvel"]{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;white-space:normal}
  html .site-header #mobileMenu nav a.glass-control{
    position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;
    width:100%;min-width:0;min-height:clamp(53px,5.8vw,64px);padding:11px 46px 11px 68px;
    border-radius:16px;border:1px solid rgba(255,255,250,.83);color:#273930;
    background:radial-gradient(ellipse at 8% -50%,rgba(255,255,255,.52),transparent 60%),linear-gradient(120deg,rgba(255,255,255,.26),rgba(255,255,255,.09) 65%,rgba(246,234,211,.21));
    box-shadow:0 3px 6px rgba(30,43,31,.05),0 13px 22px -15px rgba(30,43,31,.3),inset 0 1px 1px rgba(255,255,255,.94),inset 0 -1px 1px rgba(45,60,40,.16);
    backdrop-filter:blur(8px) saturate(1.12);-webkit-backdrop-filter:blur(8px) saturate(1.12);
    font-size:clamp(14px,1.6vw,18px);font-weight:500;letter-spacing:0;line-height:1.35;text-align:left;
    transition:background-color .16s ease,box-shadow .16s ease;
  }
  html .site-header #mobileMenu nav a.glass-control::before{
    content:"";position:absolute;inset:auto;z-index:1;top:50%;left:23px;width:22px;height:22px;
    transform:translateY(-50%);border:0;border-radius:0;
    background-position:center;background-repeat:no-repeat;background-size:contain;pointer-events:none;
  }
    html .site-header #mobileMenu nav a[data-route="inicio"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3.5%2010.2%2012%203.7l8.5%206.5V21H4v-10.8Z%22%2F%3E%3Cpath%20d%3D%22M9.5%2021v-7h5v7%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="sobre"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227.3%22%20r%3D%223.4%22%2F%3E%3Cpath%20d%3D%22M5.3%2021v-2.6c0-3.6%202.7-5.5%206.7-5.5s6.7%201.9%206.7%205.5V21Z%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="metodologia"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2020.5h18M5.4%2017V12m5.1%205V6m5.1%2011V9m5.1%208V3%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="planos"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223.5%22%20width%3D%2214%22%20height%3D%2217%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M8.5%208h7M8.5%2012h7M8.5%2016h4%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="produtos"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206.25c2.5-1.5%205.2-1.2%208%20.5v13c-2.7-1.6-5.5-1.9-8-.5v-13Z%22%2F%3E%3Cpath%20d%3D%22M20%206.25c-2.5-1.5-5.2-1.2-8%20.5v13c2.7-1.6%205.5-1.9%208-.5v-13Z%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="diagnostico"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2018%2018%206M9%206h9v9%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[data-route="aluno"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228.5%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M3%2020v-1.2c0-3%202.2-4.6%206-4.6s6%201.6%206%204.6V20%22%2F%3E%3Cpath%20d%3D%22M16%205.7a3%203%200%200%201%200%205.7M16.8%2014.5c2.8.3%204.2%201.8%204.2%204.3V20%22%2F%3E%3C%2Fsvg%3E")}
html .site-header #mobileMenu nav a[class*="admin-entry"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2334433a%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210.5%22%20width%3D%2214%22%20height%3D%2210.5%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010.5V7a4%204%200%200%201%208%200v3.5M12%2014.7v2.3%22%2F%3E%3C%2Fsvg%3E")}
  html .site-header #mobileMenu nav a.glass-control::after{
    content:"";position:absolute;inset:auto;right:20px;top:50%;width:9px;height:9px;border:0;
    border-top:1.65px solid currentColor;border-right:1.65px solid currentColor;border-radius:0;
    transform:translateY(-50%) rotate(45deg);opacity:.8;pointer-events:none;
  }
  html .site-header #mobileMenu nav a.glass-primary{
    padding-left:82px;color:#fcfbf8;border-color:rgba(216,243,218,.73);
    background:radial-gradient(ellipse at 18% -50%,rgba(212,244,216,.35),transparent 65%),linear-gradient(120deg,#41745f,#275947 53%,#153f34);
    box-shadow:0 4px 9px rgba(13,55,39,.16),0 18px 30px -19px rgba(20,58,46,.5),inset 0 1px 1px rgba(255,255,255,.66),inset 0 -1px 2px rgba(8,32,23,.35);
  }
  html .site-header #mobileMenu nav a.glass-primary::before{
    left:18px;width:36px;height:36px;border-radius:50%;background-color:rgba(234,250,237,.17);
    background-size:19px 19px;filter:brightness(0) invert(1);
    box-shadow:inset 0 0 0 1px rgba(244,255,239,.45),inset 0 1px 2px rgba(255,255,255,.25),0 2px 5px rgba(0,0,0,.12);
  }
  html[data-theme="dark"] .site-header #mobileMenu nav a.glass-control:not(.glass-primary){
    color:#f2f1e8;border-color:rgba(248,248,232,.32);
    background:linear-gradient(125deg,rgba(108,124,106,.29),rgba(33,44,33,.2));
    box-shadow:0 3px 8px rgba(0,0,0,.12),0 14px 25px -16px rgba(0,0,0,.4),inset 0 1px 1px rgba(255,255,255,.27),inset 0 -1px 1px rgba(0,0,0,.3);
  }
  html[data-theme="dark"] .site-header #mobileMenu nav a.glass-control::before{filter:brightness(0) invert(1)}
}
html[data-theme="dark"] .site-header.site-header{
  --ib-surface:linear-gradient(125deg,rgba(52,65,48,.7),rgba(29,38,28,.6));
  --ib-edge:rgba(247,247,230,.32);--ib-contact:0 3px 9px rgba(0,0,0,.2);--ib-elevation:0 24px 48px -22px rgba(0,0,0,.5);
}
@media(max-width:640px){
  html .site-header.site-header>div:first-child{height:66px;padding:8px 13px;gap:12px}
  html .site-header.site-header .brand-lockup{width:min(225px,calc(100vw - 104px));flex:0 1 auto}
  html .site-header.site-header .admin-entry:not(#mobileMenu .admin-entry){display:none}
  html .site-header.site-header #mobileMenu:not(.hidden){padding:68px 10px 12px;max-height:calc(100dvh - 16px);border-radius:22px}
  html .site-header #mobileMenu nav[aria-label="Menu móvel"]{gap:7px}
  html .site-header #mobileMenu nav a.glass-control{min-height:52px;padding:10px 36px 10px 54px;font-size:13px;border-radius:14px}
  html .site-header #mobileMenu nav a.glass-control::before{left:17px;width:20px;height:20px}
  html .site-header #mobileMenu nav a.glass-primary{padding-left:70px}
  html .site-header #mobileMenu nav a.glass-primary::before{left:13px;width:36px;height:36px;background-size:19px 19px}
  html .site-header #mobileMenu nav a.glass-control::after{right:18px}
}
@keyframes ib-menu-reveal{from{opacity:0;clip-path:inset(0 0 12% 0 round 0 0 30px 30px)}to{opacity:1;clip-path:inset(0 round 0 0 30px 30px)}}
@media(prefers-reduced-motion:reduce){
  html .site-header #mobileMenu:not(.hidden){animation:none}
  html .site-header .glass-control{transition:none!important;transform:none!important}
}
/* Last in cascade: accessibility cannot be overwritten by theme rules. */
@media(prefers-reduced-transparency:reduce){
  html .site-header.site-header{--ib-surface:#f7f4ed;backdrop-filter:none;-webkit-backdrop-filter:none}
    html .site-header.site-header #mobileMenu:not(.hidden),html .site-header #mobileMenu nav a.glass-control,html .site-header.site-header:has(#mobileMenu:not(.hidden))::before{backdrop-filter:none;-webkit-backdrop-filter:none}
  html .site-header #mobileMenu nav a.glass-control:not(.glass-primary){background:#faf9f3}
  html[data-theme="dark"] .site-header.site-header{--ib-surface:#30372f}
  html[data-theme="dark"] .site-header #mobileMenu nav a.glass-control:not(.glass-primary){background:#3b463b}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html .site-header.site-header{--ib-surface:#f7f4ed}
  html .site-header #mobileMenu nav a.glass-control:not(.glass-primary){background:#faf9f3}
  html[data-theme="dark"] .site-header.site-header{--ib-surface:#30372f}
  html[data-theme="dark"] .site-header #mobileMenu nav a.glass-control:not(.glass-primary){background:#3b463b}
}
