
.portal-footer{display:block!important;margin:32px 0 0;padding:36px 5% 0;background:linear-gradient(150deg,#073575,#052551);color:#fff;font:15px/1.6 Arial,Helvetica,sans-serif;text-align:center;border-top:3px solid #f3d632}.footer-main{display:flex;flex-direction:column;align-items:center;gap:24px;max-width:1000px;margin:auto}.footer-brand{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:680px;margin:auto}.footer-brand>a{display:block;line-height:0}.footer-brand img{display:block;width:300px;max-width:80vw;height:auto;aspect-ratio:2/1;object-fit:contain;background:transparent;padding:0;border:0;clip-path:inset(4.2% 1.3% 3.5% 1.3% round 22px)}.footer-brand strong{font-size:23px;line-height:1.35;color:#fff}.footer-brand span{display:block;max-width:600px;color:#d9e7fa;font-size:16px;line-height:1.65}.portal-footer a{color:inherit;overflow-wrap:anywhere}.footer-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;width:100%;margin:0}.footer-links a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border:1px solid #7493bf;border-radius:10px;background:#ffffff08;color:#fff;text-decoration:none;font-size:15px;font-weight:700;line-height:1.4}.footer-links a[href^="/cadastro"]{background:#f5d936;color:#082f65;border-color:#f5d936}.footer-links a:hover{background:#ffffff18}.footer-links a[href^="/cadastro"]:hover{background:#ffe962}.portal-footer a:focus-visible,.footer-directory summary:focus-visible{outline:3px solid #ffe629;outline-offset:4px}.footer-directory{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:900px;margin:28px auto 0;text-align:left}.footer-directory details{border:1px solid #ffffff25;border-radius:10px;padding:14px 18px;background:#ffffff05}.footer-directory summary{cursor:pointer;font-weight:700;font-size:15px}.footer-directory ul{list-style:none;padding:0;columns:2;column-width:170px;margin:14px 0 0}.footer-directory li{margin-bottom:8px;break-inside:avoid}.footer-directory a{text-decoration:none;color:#d9e7fa}.footer-directory a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #ffffff25;max-width:1100px;margin:28px auto 0;padding:20px 0;color:#bbd0eb;font-size:13px;line-height:1.7;text-align:center}
/* Shared footer composition on desktop and mobile. */
.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:560px}.footer-links a{padding:12px 8px;font-size:14px}.footer-links a[href^="https://wa.me/"]{grid-column:1/-1}.footer-directory{width:100%;max-width:680px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.footer-directory details{padding:12px;min-width:0}.footer-directory ul{columns:1}.footer-directory summary{font-size:14px}.footer-brand img{width:300px;max-width:100%}.footer-brand strong{font-size:21px}.footer-brand span{font-size:15px}.footer-main{gap:22px}.portal-footer{padding:28px 6% 0}.footer-bottom{margin-top:22px;padding:18px 0;font-size:13px}
/* Unified Ponto Ipiranga brand framing. */
body>header{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px clamp(18px,5vw,80px);background:linear-gradient(125deg,#072b61 0%,#0749aa 65%,#0759c7 100%);border:0;border-bottom:3px solid #f6dc35;box-shadow:0 8px 24px #07357514}
body>header .brand-home{display:flex;align-items:center;gap:26px;text-decoration:none;flex-wrap:nowrap}
body>header .portal-logo{width:250px;max-width:100%;height:auto!important;object-fit:contain;clip-path:inset(4.2% 1.3% 3.5% 1.3% round 18px);filter:drop-shadow(0 8px 12px #00152d38)}
body>header .brand-message strong{color:#fff;font-size:24px;line-height:1.3;letter-spacing:-.4px;max-width:300px}
body>header .brand-message span{display:none}
body>header .header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:440px;width:100%;flex-shrink:0}
body>header .header-actions .action-link{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 16px;border-radius:14px;border:1px solid #ffffff70;color:#fff;background:#ffffff0d;text-decoration:none;font-size:15px;line-height:1.4;font-weight:700;text-align:center;box-shadow:0 4px 12px #001a3a18;white-space:normal}
body>header .header-actions a[href^="/cadastro"]{background:linear-gradient(135deg,#fff06a,#f5d32f);border-color:#ffe85c;color:#073575}
body>header .header-actions .action-link:hover{filter:brightness(1.08);box-shadow:0 6px 18px #001a3a30}
body>header .header-actions .whatsapp-phone{display:block;white-space:nowrap;font-size:14px}
body>header .mobile-whatsapp-break{display:none}
.portal-footer{position:relative;background:radial-gradient(ellipse at 50% 0%,#0b4b9a 0%,#073575 45%,#041d43 100%);border-top:3px solid #f6dc35;padding:40px 6% 0;margin-top:40px}
.footer-brand{gap:18px;max-width:660px}.footer-brand img{width:320px;filter:drop-shadow(0 9px 15px #00132945)}.footer-brand strong{font-size:clamp(21px,2.6vw,27px);letter-spacing:-.4px}.footer-brand span{max-width:570px;line-height:1.8;color:#e1ecfc;font-size:16px}.footer-brand span b{color:#ffea61}
.footer-links{max-width:560px;gap:12px;margin-top:6px}.footer-links a{border-radius:14px;min-height:52px;background:#ffffff0a;border-color:#ffffff40;font-size:15px;box-shadow:0 4px 12px #00132918}.footer-links a[href^="/cadastro"]{background:linear-gradient(135deg,#fff06a,#f5d32f);color:#073575;border-color:#ffe85c}.footer-links a[href^="https://wa.me/"]{background:#ffffff12}.footer-directory details{background:#ffffff08;border-color:#ffffff25;border-radius:14px;padding:16px}.footer-directory summary{font-size:15px}.footer-bottom{max-width:680px;color:#c7daf5;padding:22px 0;font-size:14px;line-height:1.8}
@media(max-width:1000px){body>header{flex-direction:column;gap:18px}body>header .brand-home{justify-content:center}body>header .header-actions{max-width:560px}}
@media(max-width:760px){body>header{padding:22px 18px 20px;gap:18px}body>header .brand-home{flex-direction:column;gap:8px;width:100%;text-align:center}body>header .portal-logo{width:250px;max-width:85%}body>header .brand-message strong{font-size:20px;max-width:none}body>header .header-actions{gap:10px}body>header .header-actions .action-link{font-size:14px;min-height:58px;padding:10px 8px}body>header .header-actions .whatsapp-phone{font-size:13px}.portal-footer{padding-top:32px}.footer-brand img{width:290px}.footer-brand span{font-size:15px}.footer-links a{font-size:14px}.footer-bottom{font-size:13px}}

/* Keep the brand slogan complete on one line. */
body>header .brand-message{flex-shrink:0}body>header .brand-message strong{white-space:nowrap;max-width:none;font-size:clamp(18px,1.65vw,24px)}body>header .brand-home{flex-shrink:0}body>header .header-actions{max-width:400px}body>header{gap:20px}
.footer-brand strong{white-space:nowrap;font-size:clamp(16px,4.5vw,27px)}
@media(max-width:1150px){body>header{flex-direction:column;gap:18px}body>header .brand-home{justify-content:center}body>header .header-actions{max-width:560px}}
@media(max-width:760px){body>header .brand-message strong{font-size:clamp(15px,4.4vw,20px)}body>header .brand-home{flex-direction:column;gap:8px}}

/* Full, scrollable footer with room above mobile browser controls. */
.portal-footer{position:relative!important;height:auto!important;max-height:none!important;overflow:visible!important;box-sizing:border-box;width:100%;min-width:0;padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}.footer-main,.footer-brand,.footer-links,.footer-directory,.footer-bottom{min-width:0;max-width:100%;box-sizing:border-box}.footer-links a{white-space:normal;overflow-wrap:anywhere}.footer-bottom{overflow-wrap:anywhere}
@media(max-width:760px){.portal-footer{padding-top:24px;margin-top:28px;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.footer-main{gap:16px}.footer-brand{gap:12px;width:100%}.footer-brand img{width:250px;max-width:100%}.footer-brand strong{font-size:clamp(15px,4.4vw,20px)}.footer-brand span{font-size:15px;line-height:1.6}.footer-links{gap:10px;margin-top:0;width:100%}.footer-links a{min-height:48px;padding:10px 8px}.footer-directory{margin-top:18px;gap:10px}.footer-directory details{padding:12px}.footer-bottom{margin-top:18px;padding:16px 0;line-height:1.6}}
