
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0A2F86;--navy2:#082665;--blue:#075FBA;--green:#45842C;--green2:#2F6F22;--mint:#EAF8FC;--mint2:#D7F0F7;--ink:#10243E;--muted:#607087;--line:#DDE7EF;--white:#fff;--shadow:0 18px 55px rgba(10,47,134,.11);--radius:22px;--container:1180px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:'Manrope',sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.container{width:min(var(--container),calc(100% - 40px));margin:auto}
.topbar{background:var(--navy2);color:#eaf1ff;font-size:13px}.topbar .inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar .right{display:flex;gap:20px}
header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,231,239,.9)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:48px;height:48px}.brand strong{display:block;color:var(--navy);font-size:22px;line-height:1}.brand small{display:block;color:var(--green);font-size:9px;font-weight:800;letter-spacing:1.2px;margin-top:4px}.menu{display:flex;align-items:center;gap:22px;font-size:13px;font-weight:700}.menu a:hover,.menu a.active{color:var(--blue)}.menu-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;padding:13px 18px;font-weight:800;cursor:pointer;transition:.2s}.menu-cta,.btn.primary{background:var(--green);color:#fff}.menu-cta:hover,.btn.primary:hover{background:var(--green2);transform:translateY(-1px)}.btn.secondary{background:var(--mint);color:var(--navy)}.btn.outline{border:1px solid var(--line);background:#fff;color:var(--navy)}.hamb{display:none;background:none;border:0;font-size:28px;color:var(--navy);cursor:pointer}
.hero{padding:80px 0 65px;background:linear-gradient(135deg,#f7fcff 0%,#eaf8fc 52%,#fff 100%);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(69,132,44,.08);right:-140px;top:-160px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-weight:800;font-size:13px;letter-spacing:.5px;margin-bottom:15px}.eyebrow:before{content:"";width:28px;height:3px;background:var(--green);border-radius:9px}.hero h1{font-size:clamp(38px,5vw,66px);line-height:1.05;letter-spacing:-2.4px;margin-bottom:20px;color:var(--navy)}.hero h1 span{color:var(--green)}.hero p{font-size:17px;color:var(--muted);max-width:650px;margin-bottom:28px}.actions{display:flex;flex-wrap:wrap;gap:12px}.hero-card{background:#fff;border:1px solid var(--line);border-radius:30px;padding:28px;box-shadow:var(--shadow);position:relative}.medical-art{height:330px;border-radius:22px;background:linear-gradient(145deg,var(--navy),var(--blue));display:flex;align-items:center;justify-content:center;overflow:hidden}.medical-art svg{width:76%;max-height:290px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.stat b{display:block;color:var(--navy);font-size:21px}.stat span{font-size:11px;color:var(--muted)}
.section{padding:78px 0}.section.alt{background:#f7fbfd}.section-head{max-width:720px;margin-bottom:35px}.section-head.center{text-align:center;margin-left:auto;margin-right:auto}.section-head h2{font-size:clamp(28px,4vw,43px);line-height:1.12;color:var(--navy);letter-spacing:-1.3px;margin-bottom:12px}.section-head p{color:var(--muted)}.grid{display:grid;gap:18px}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.card{border:1px solid var(--line);border-radius:20px;padding:25px;background:#fff;box-shadow:0 8px 28px rgba(16,36,62,.05);transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.icon{width:48px;height:48px;border-radius:14px;background:var(--mint);display:grid;place-items:center;color:var(--navy);font-size:22px;margin-bottom:17px}.card h3{font-size:19px;color:var(--navy);margin-bottom:8px}.card p{font-size:14px;color:var(--muted)}.card a.more{display:inline-block;color:var(--green);font-weight:800;font-size:13px;margin-top:14px}
.about-grid,.contact-grid,.booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.checklist{display:grid;gap:12px;margin:22px 0}.check{display:flex;gap:11px;align-items:flex-start}.check i{width:23px;height:23px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-style:normal;font-size:12px;flex:none;margin-top:3px}.check span{color:var(--muted);font-size:14px}.visual{min-height:390px;border-radius:28px;background:linear-gradient(145deg,var(--navy2),var(--blue));display:grid;place-items:center;box-shadow:var(--shadow);overflow:hidden}.visual svg{width:75%;max-height:340px}
.page-hero{padding:65px 0;background:linear-gradient(135deg,#f5fbff,#eaf8fc)}.page-hero h1{font-size:clamp(35px,5vw,56px);line-height:1.05;color:var(--navy);letter-spacing:-1.8px;margin-bottom:14px}.page-hero p{color:var(--muted);max-width:760px}.crumb{font-size:12px;color:var(--muted);margin-bottom:18px}.crumb a{color:var(--blue)}
.form{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800;color:var(--navy)}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px;outline:0;background:#fff;color:var(--ink)}.field textarea{min-height:130px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(7,95,186,.08)}.form-note{font-size:11px;color:var(--muted);margin-top:10px}
.faq{display:grid;gap:12px;max-width:850px;margin:auto}.faq details{border:1px solid var(--line);border-radius:15px;padding:17px 19px;background:#fff}.faq summary{cursor:pointer;font-weight:800;color:var(--navy)}.faq p{color:var(--muted);font-size:14px;padding-top:10px}
.map{min-height:350px;border-radius:24px;background:linear-gradient(135deg,#eaf8fc,#d7f0f7);border:1px solid var(--line);display:grid;place-items:center;text-align:center;padding:30px}.map b{color:var(--navy);font-size:20px}.map span{display:block;color:var(--muted);font-size:13px;margin:7px 0 16px}
footer{background:var(--navy2);color:#dce8ff;padding:55px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:35px}.footer-brand strong{font-size:24px}.footer-brand p{font-size:13px;color:#b8c8e5;max-width:310px;margin-top:12px}.footer h4{color:#fff;margin-bottom:13px}.footer a{display:block;font-size:13px;color:#b8c8e5;margin:8px 0}.footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9db0d0}.wa{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;font-size:27px;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:120}.wa:hover{transform:scale(1.06)}
.notice{padding:18px 20px;border-left:4px solid var(--green);background:var(--mint);border-radius:12px;color:var(--ink);font-size:14px}.legal h2{color:var(--navy);margin:30px 0 10px}.legal p,.legal li{color:var(--muted);font-size:14px}.legal ul{padding-left:20px;margin:10px 0}
@media(max-width:900px){.menu{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:18px 20px;flex-direction:column;align-items:stretch;box-shadow:0 20px 30px rgba(0,0,0,.08)}.menu.open{display:flex}.menu a{padding:10px 0}.menu-cta{display:none}.hamb{display:block}.hero-grid,.about-grid,.contact-grid,.booking-grid{grid-template-columns:1fr;gap:30px}.grid-4{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.topbar .right{display:none}}
@media(max-width:600px){.container{width:min(var(--container),calc(100% - 28px))}.nav{height:70px}.menu{top:70px}.topbar .inner{justify-content:center}.hero{padding:55px 0}.hero h1{font-size:40px}.section{padding:58px 0}.grid-3,.grid-4,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.medical-art{height:260px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.wa{width:52px;height:52px;right:15px;bottom:15px}}

/* Logos oficiais Hospitango */
.brand-logo{height:48px;width:auto;object-fit:contain}.footer-logo{height:58px;width:auto;object-fit:contain}.login-logo{height:72px;width:auto;object-fit:contain}
.portal-hero{padding:55px 0;background:linear-gradient(135deg,#071f59,#0a2f86);color:#fff}.portal-hero h1{font-size:clamp(32px,5vw,54px);line-height:1.05;margin-bottom:14px}.portal-hero p{max-width:720px;color:#d8e6ff}
.portal-shell{display:grid;grid-template-columns:250px 1fr;min-height:700px;background:#f5f8fb}.sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 15px}.side-brand{padding:5px 10px 20px;border-bottom:1px solid var(--line);margin-bottom:15px}.side-brand img{height:48px;width:auto}.side-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:11px;font-size:13px;font-weight:800;color:var(--muted);margin:4px 0}.side-nav a:hover,.side-nav a.active{background:var(--mint);color:var(--navy)}.portal-main{padding:28px}.portal-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.portal-top h2{color:var(--navy);font-size:25px}.user-chip{background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:12px;font-size:12px;font-weight:800}.dash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric{background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px}.metric small{color:var(--muted);font-size:11px}.metric b{display:block;color:var(--navy);font-size:29px;margin-top:3px}.portal-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.panel h3{color:var(--navy);margin-bottom:15px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid #edf1f4;white-space:nowrap}.table th{color:var(--muted);font-size:11px}.status{display:inline-flex;padding:5px 9px;border-radius:30px;background:var(--mint);color:var(--green);font-weight:800;font-size:10px}.status.wait{background:#fff4df;color:#a86d00}.status.off{background:#f1f3f5;color:#6d7782}.quick{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick a{padding:16px;border:1px solid var(--line);border-radius:13px;color:var(--navy);font-weight:800;font-size:12px;background:#fbfdff}.tele-grid{display:grid;grid-template-columns:1.5fr .5fr;gap:18px}.video{min-height:440px;border-radius:18px;background:linear-gradient(145deg,#061a49,#0a2f86);display:grid;place-items:center;color:#fff;text-align:center}.video .camera{width:88px;height:88px;border:2px solid rgba(255,255,255,.45);border-radius:50%;display:grid;place-items:center;font-size:32px;margin:auto auto 15px}.call-actions{display:flex;justify-content:center;gap:10px;margin-top:22px}.call-btn{border:0;border-radius:12px;padding:12px 16px;color:#fff;background:var(--green);font-weight:800}.call-btn.end{background:#b52d36}.patient-card{display:flex;gap:12px;align-items:center;padding:13px;border-bottom:1px solid var(--line)}.avatar{width:40px;height:40px;border-radius:50%;background:var(--mint);color:var(--navy);display:grid;place-items:center;font-weight:800}.login{min-height:100vh;background:linear-gradient(135deg,#f4fbfd,#e8f4fb);display:grid;place-items:center;padding:20px}.login-box{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:var(--shadow)}.login-box .field{margin:12px 0}.security{font-size:11px;color:var(--muted);margin-top:15px}
@media(max-width:1000px){.portal-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.side-nav{display:flex;overflow:auto;gap:4px}.side-nav a{white-space:nowrap}.dash-grid{grid-template-columns:repeat(2,1fr)}.portal-grid,.tele-grid{grid-template-columns:1fr}}
@media(max-width:600px){.portal-main{padding:18px 13px}.dash-grid{grid-template-columns:1fr 1fr}.portal-top{align-items:flex-start;flex-direction:column}.quick{grid-template-columns:1fr}.video{min-height:330px}}

.team-card{position:relative}.team-avatar{width:88px;height:88px;border-radius:24px;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;display:grid;place-items:center;font-size:25px;font-weight:800;margin-bottom:18px}.team-role{font-size:10px;letter-spacing:1px;color:var(--green);font-weight:800;margin-bottom:7px}.team-meta{font-size:11px;color:var(--muted);padding:10px 0;border-top:1px solid var(--line);margin-top:14px}.team-card .more{display:inline-block;color:var(--green);font-weight:800;font-size:12px;margin-top:10px}

/* V6 — identidade visual, fotografia e navegação */
.brand-logo{height:68px;max-height:68px;width:auto}.footer-logo{height:112px;max-height:112px;width:auto}.footer-brand{display:flex;flex-direction:column;align-items:flex-start}.footer-brand .footer-logo{max-width:310px;object-fit:contain;object-position:left center;margin-bottom:14px}
.menu-cta.system-cta,.btn.system-cta{background:var(--navy);color:#fff}.menu-cta.system-cta:hover,.btn.system-cta:hover{background:var(--blue)}
.page-hero.photo-hero{position:relative;min-height:330px;display:flex;align-items:flex-end;overflow:hidden;background-size:cover;background-position:center}.photo-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,26,73,.90) 0%,rgba(8,38,101,.68) 48%,rgba(8,38,101,.25) 100%)}.photo-hero .container{position:relative;z-index:1;color:#fff;padding-top:75px;padding-bottom:48px}.photo-hero .crumb,.photo-hero .crumb a,.photo-hero p{color:#e5efff}.photo-hero .eyebrow{color:#9be0b0}.photo-hero .eyebrow:before{background:#9be0b0}.photo-hero h1{color:#fff;text-shadow:0 3px 20px rgba(0,0,0,.18)}
.page-hero.hero-about{background-image:url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-specialties{background-image:url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-general{background-image:url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-women{background-image:url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-child{background-image:url('https://images.unsplash.com/photo-1542884748-2b87b36c6b90?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-heart{background-image:url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-care{background-image:url('https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-exams{background-image:url('https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-team{background-image:url('https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-booking{background-image:url('https://images.unsplash.com/photo-1516841273335-e39b37888115?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-contact{background-image:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-faq{background-image:url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-tele{background-image:url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1800&q=85')}.page-hero.hero-legal{background-image:url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=85')}
.hero-photo{position:relative;min-height:510px;border-radius:30px;overflow:hidden;background-image:linear-gradient(90deg,rgba(6,27,76,.72),rgba(6,27,76,.12)),url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1800&q=85');background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:34px}.hero-photo .hero-logo{position:absolute;top:26px;right:28px;width:min(250px,42%);background:rgba(255,255,255,.92);padding:14px;border-radius:18px}.hero-photo .hero-photo-caption{color:#fff;max-width:440px}.hero-photo .hero-photo-caption h2{font-size:34px;line-height:1.08;margin-bottom:10px}.hero-photo .hero-photo-caption p{color:#e5efff;font-size:14px}
.photo-card{border-radius:22px;overflow:hidden;border:1px solid var(--line);background:#fff;box-shadow:0 8px 28px rgba(16,36,62,.05)}.photo-card img{width:100%;height:210px;object-fit:cover}.photo-card .photo-card-body{padding:20px}.team-photo{width:100%;height:280px;object-fit:cover;object-position:center top;border-radius:18px;margin-bottom:18px;background:#eaf8fc}.team-card{overflow:hidden}.team-card .team-photo-wrap{margin:-25px -25px 18px}.team-card .team-photo{border-radius:20px 20px 0 0;margin:0;height:285px}.replace-note{font-size:10px;color:#77879a;margin-top:8px}.replace-note code{background:#f2f6f9;padding:2px 5px;border-radius:4px}.gallery-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.gallery-grid .gallery-main img{height:430px}.gallery-grid img{width:100%;height:205px;object-fit:cover;border-radius:20px}.gallery-side{display:grid;gap:18px}.visual.photo-visual{min-height:390px;background-image:linear-gradient(90deg,rgba(5,26,73,.35),rgba(5,26,73,.05)),url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=1200&q=85');background-size:cover;background-position:center}.footer .footer-brand{min-width:0}
@media(max-width:900px){.brand-logo{height:60px}.footer-logo{height:92px}.nav{height:84px}.menu{top:84px}.page-hero.photo-hero{min-height:300px}.hero-photo{min-height:420px}.gallery-grid{grid-template-columns:1fr}.gallery-grid .gallery-main img{height:300px}}
@media(max-width:600px){.brand-logo{height:54px}.footer-logo{height:78px;max-width:260px}.nav{height:76px}.menu{top:76px}.photo-hero .container{padding-top:65px}.photo-hero h1{font-size:38px}.hero-photo{min-height:400px;padding:22px}.hero-photo .hero-logo{width:180px;top:18px;right:18px}.hero-photo .hero-photo-caption h2{font-size:28px}.team-card .team-photo{height:240px}.gallery-grid .gallery-main img{height:240px}}

.portal-photo-hero{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(5,26,73,.88),rgba(5,26,73,.42)),url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=1800&q=85") center/cover no-repeat}.portal-photo-hero .container{position:relative;z-index:1}

@media(max-width:900px){header .menu-cta.system-cta{display:inline-flex;position:absolute;top:calc(100% + 178px);left:20px;right:20px;z-index:101}.menu.open + .menu-cta.system-cta{display:inline-flex}}


/* HOSPITANGO V12.2 — UI UNIFICADO */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 14px;border:1px solid transparent;border-radius:9px;font-weight:600;font-size:14px;line-height:1;text-decoration:none;cursor:pointer;box-sizing:border-box;transition:.18s ease}
.hp-btn-primary{background:#1769aa;color:#fff}.hp-btn-primary:hover{background:#0f4f82;transform:translateY(-1px)}
.hp-btn-secondary{background:#fff;color:#243447;border-color:#dce3ea}.hp-btn-danger{background:#fff;color:#b42318;border-color:#efc5c1}
.hp-btn-sm{min-height:34px;padding:8px 11px;font-size:13px}
.hp-page-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.hp-sidebar-section{margin:18px 10px 7px;color:#94a3b8;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hp-nav-item{display:flex;align-items:center;gap:10px;margin:3px 8px;padding:9px 11px;border-radius:9px;color:#d9e5ef;text-decoration:none;font-size:14px}
.hp-nav-item:hover,.hp-nav-item.active{background:rgba(255,255,255,.1);color:#fff}
.hp-developer-signature{text-align:center;padding:14px 12px;color:#94a3b8;font-size:12px}
.hp-developer-signature strong{color:#64748b}
.hp-pharmacy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.hp-pharmacy-card{overflow:hidden;border:1px solid #e3e8ef;border-radius:12px;background:#fff}
.hp-pharmacy-card img{display:block;width:100%;height:140px;object-fit:cover}
.hp-pharmacy-card-body{padding:13px}
@media(max-width:700px){.hp-page-actions{align-items:stretch;flex-direction:column}.hp-page-actions .hp-btn{width:100%}}


/* AGM INOVARTE DESIGNER — RESPONSIVIDADE FINAL DO PAINEL AUTENTICADO */
body{overflow-x:hidden}
.hp-topbar{position:sticky;top:0;width:100%;min-width:0}
.hp-brand{flex:0 0 auto;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.hp-topnav{min-width:0;scrollbar-width:none}
.hp-topnav a{flex:0 0 auto}
.portal-shell{width:100%;min-width:0}
.portal-main{width:100%;min-width:0;max-width:1440px;margin:0 auto;padding:28px clamp(14px,2.5vw,34px) 42px}
.dash-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.portal-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}
.panel,.metric,.card{min-width:0}
.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table{min-width:560px}
.quick a,.hp-btn,.btn{max-width:100%}
.hp-menu-toggle{flex:0 0 auto}
@media(max-width:1100px){
  .hp-topbar{gap:9px;padding:10px 14px;flex-wrap:wrap}
  .hp-brand{max-width:180px}
  .hp-topnav{order:4;flex-basis:100%;min-width:100%;max-width:100%;padding-top:2px}
  .hp-user-actions{margin-left:auto}
  .portal-grid{grid-template-columns:1fr}
  .dash-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .hp-topbar{min-height:60px;padding:9px 12px;position:sticky}
  .hp-brand{font-size:13px;max-width:150px}
  .hp-menu-toggle{display:block;margin-left:auto}
  .hp-topnav{display:none;position:absolute;left:10px;right:10px;top:calc(100% + 6px);z-index:10000;flex-direction:column;align-items:stretch;gap:2px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 35px rgba(16,36,62,.15);max-height:70vh;overflow:auto}
  .hp-topnav.open{display:flex}
  .hp-topnav a{width:100%;padding:11px 12px}
  .hp-user-actions{gap:6px}
  .hp-user{display:none}
  .hp-logout{padding:8px 10px}
  .portal-main{padding:20px 12px 34px}
  .portal-top{align-items:flex-start;flex-direction:column}
  .portal-top .user-chip{align-self:stretch}
  .dash-grid{grid-template-columns:1fr 1fr;gap:10px}
  .metric{padding:15px}
  .metric b{font-size:25px}
  .panel{padding:15px;border-radius:15px}
  .quick{grid-template-columns:1fr}
  .hp-page-actions{align-items:stretch;flex-direction:column}
}
@media(max-width:430px){
  .hp-brand{max-width:115px}
  .dash-grid{grid-template-columns:1fr}
  .dashboard-cards{grid-template-columns:1fr!important}
  .actions,.call-actions{flex-direction:column;align-items:stretch}
  .actions .btn,.call-actions .call-btn{width:100%}
  .form,.login-box{padding:20px}
}

/* Crédito institucional — AGM InoVarte Designer */
.agm-credit{width:100%;box-sizing:border-box;text-align:center;padding:10px 16px;font-size:11px;line-height:1.4;color:#64748b;letter-spacing:.01em;background:transparent;}
.agm-credit strong{font-weight:700;color:inherit;}
@media (max-width:600px){.agm-credit{font-size:10px;padding:9px 12px;}}

/* Footer institucional: crédito integrado no próprio footer, sem bloco extra abaixo. */
.footer-bottom a{display:inline;color:inherit;margin:0;font-size:inherit;}
.footer-bottom a:hover{color:#fff;}
html,body{margin:0;padding:0;}
