/* Casca da home aprovada: seletores da home isolados de main. Ajustes de margem, toque e glifo seguem PADRAO.md §5. */
@font-face{font-family:FontAwesomeBrands;src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/webfonts/fa-brands-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:FontAwesomeFree;src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/webfonts/fa-solid-900.woff2') format('woff2');font-weight:900;font-display:swap}
:root{--blue:#196a89;--top:#226780;--deep:#096387;--teal:#60bebe}
header,footer,.whatsapp-float,.cookie-bar{font-family:Rubik,system-ui,sans-serif}
header *,footer *,.cookie-bar *{box-sizing:border-box}
header a,footer a{text-decoration:none;color:inherit}
header .container,footer .container{width:calc(100% - 32px);max-width:1152px;margin:auto}
.topbar{height:40px;background:var(--top);color:#fff}.topbar-inner{display:flex;justify-content:center;align-items:center;height:100%;gap:18px}.top-phone{font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.phone-icon::before{content:'\f232';font:400 18px FontAwesomeBrands}.top-social{display:flex;gap:12px}.social-icon{font-size:0;font-weight:700;line-height:1}.top-social .social-icon::before{font:400 17px FontAwesomeBrands}.top-social .social-icon:nth-child(1)::before{content:'\f39e'}.top-social .social-icon:nth-child(2)::before{content:'\f16d'}.top-social .social-icon:nth-child(3)::before{content:'\e07b'}.top-social .social-icon:nth-child(4)::before{content:'\f167'}.top-social .social-icon:nth-child(5)::before{content:'\f0e1'}
.header-main{height:72px;background:#fff}.header-inner{height:100%;display:flex;align-items:center;gap:14px}.logo-link{display:block;flex:0 0 auto}.logo{display:block;width:clamp(120px,36vw,160px);height:auto}.desktop-nav{display:none}.header-book{margin-left:auto;background:#09658b;border-radius:3px;color:white;padding:0 12px;font-size:14px;font-weight:700;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}.header-book::before{content:'\f274';font:900 1em FontAwesomeFree;margin-right:5px}.menu-toggle{border:0;background:transparent;color:#111;font-size:0;line-height:1;padding:8px;order:1;width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px}.menu-toggle span{display:block;width:23px;height:2px;background:currentColor}.mobile-nav{background:#fff;position:absolute;z-index:10;width:100%;box-shadow:0 8px 14px #0002;max-height:65vh;overflow:auto}.mobile-nav[hidden]{display:none}.mobile-nav details{border-bottom:1px solid #ddd}.mobile-nav summary{padding:12px 0;cursor:pointer;min-height:44px}.mobile-nav a{display:block;padding:12px;color:var(--deep)}
.footer-block{background:var(--blue);color:#fff;padding:56px 0 40px;text-align:center}.footer-grid{display:grid;gap:40px}.footer-logo{display:block;width:190px;height:auto;margin:0 auto 20px}.footer-block h2{font-size:20px;font-weight:600;margin:0 0 14px;line-height:1.3}.footer-address p{font-size:15px;font-weight:400;line-height:1.5;margin:4px 0;opacity:.92}.footer-links a,.footer-block div>a{display:block;margin:8px 0;font-size:15px;font-weight:400;opacity:.92}.footer-block a:hover{opacity:1;text-decoration:underline}.footer-social{display:flex;justify-content:center;gap:22px;margin-bottom:28px}.footer-social .social-icon{font-size:0}.footer-social .social-icon::before{font:400 19px FontAwesomeBrands}.footer-social .social-icon:nth-child(1)::before{content:'\f39e'}.footer-social .social-icon:nth-child(2)::before{content:'\f16d'}.footer-social .social-icon:nth-child(3)::before{content:'\f167'}.footer-social .social-icon:nth-child(4)::before{content:'\e07b'}.footer-social .social-icon:nth-child(5)::before{content:'\f0e1'}.footer-block form{position:relative;max-width:320px;margin:0 auto}.footer-block input{width:100%;height:44px;padding:6px 44px 6px 12px;border:0;border-radius:4px;font-weight:400}.footer-block button{position:absolute;right:4px;top:0;height:44px;min-width:44px;border:0;background:#fff;color:var(--deep)}
.whatsapp-float{position:fixed;bottom:24px;right:24px;z-index:20;width:56px;height:56px}.whatsapp-float img{width:56px;height:56px}.whatsapp-float:focus-visible,header a:focus-visible,footer a:focus-visible,header button:focus-visible,.cookie-bar button:focus-visible{outline:3px solid #ffca28;outline-offset:3px}
.cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:30;max-width:600px;margin:auto;background:#fff;border:1px solid #d3dfe7;border-radius:12px;box-shadow:0 2px 8px rgba(19,48,77,.08);padding:16px;display:flex;align-items:center;gap:16px;color:#1f2937}.cookie-bar[hidden]{display:none}.cookie-bar p{font:400 14px/1.5 Rubik,system-ui,sans-serif;margin:0}.cookie-bar a{color:#005875;text-decoration:underline}.cookie-bar button{border:0;background:#005875;color:#fff;border-radius:999px;min-height:44px;padding:8px 16px;font:600 14px Rubik,system-ui,sans-serif}
@media(min-width:981px){.topbar{height:55px}.top-phone{font-size:16px}.top-social{display:flex}.header-main{height:126px}.logo{width:180px}.menu-toggle,.mobile-nav{display:none!important}.desktop-nav{display:flex;flex:1;align-items:center;justify-content:space-between;gap:12px}.desktop-nav a{font-size:15px;font-weight:700;white-space:nowrap}.header-book{font-size:14px;padding:0 12px}.footer-block{padding:90px 0 80px;text-align:left}.footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr;gap:48px}.footer-logo{margin:0 0 8px;width:220px}.footer-social{justify-content:flex-start}.footer-block form{margin:0}}
@media(max-width:699px){.topbar-inner{gap:12px}.top-phone{font-size:13px}.top-social{gap:10px}.header-inner{gap:8px}.menu-toggle{order:0;margin-left:auto}.header-book{margin:0;order:1;padding:0 8px;font-size:14px}.cookie-bar{bottom:88px}}
/* Dropdowns copiados da home aprovada. */
.desktop-nav .dd{position:relative;display:inline-block}.desktop-nav .dd>button{font-family:inherit;font-size:15px;font-weight:700;white-space:nowrap;color:inherit;background:none;border:0;padding:0;cursor:pointer}.desktop-nav .dd>button span{font-size:10px}.desktop-nav .dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}.desktop-nav .dd-m{display:none;position:absolute;left:0;top:100%;z-index:50;background:#fff;min-width:240px;max-height:70vh;overflow:auto;box-shadow:0 8px 24px rgba(0,0,0,.12);border-top:3px solid var(--deep);padding:8px 0}.desktop-nav .dd:hover .dd-m,.desktop-nav .dd:focus-within .dd-m{display:block}.desktop-nav .dd-m a{display:block;padding:7px 16px;white-space:nowrap;font-weight:500}.desktop-nav .dd-m a:hover{background:#eef5f8}

.menu-toggle::before{content:"";display:block;width:23px;height:2px;background:currentColor;box-shadow:0 7px 0 currentColor,0 -7px 0 currentColor}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.cookie-bar div{font:400 14px/1.5 Rubik,system-ui,sans-serif}
.footer-logo{background:url('footer-logo-home.webp') center/contain no-repeat}

.header-book:hover{color:#fff}

@media(max-width:699px){.top-social{gap:10px}}
/* Entre tablet e desktop largo, a navegação cabe no menu móvel sem transbordar. */
@media(min-width:981px) and (max-width:1199px){
  .topbar{height:40px}.top-phone{font-size:13px}
  .header-main{height:72px}.logo{width:160px}
  .desktop-nav{display:none}
  .menu-toggle{display:flex!important;order:0;margin-left:auto}
  .mobile-nav{display:block!important}.mobile-nav[hidden]{display:none!important}
  .header-book{order:1;margin-left:0}
}
