:root {
    color-scheme: light;
    --navy: #09254a;
    --navy-deep: #061a35;
    --ink: #142a45;
    --muted: #495c71;
    --orange: #f79436;
    --green: #136c47;
    --green-hover: #0c5637;
    --wash: #f2f6fb;
    --line: #dce5ef;
    --white: #fff;
    --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    background: var(--white);
    color: var(--ink);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
}
main { flex: 1; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #1776c8; outline-offset: 3px; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--orange); }
img { display: block; max-width: 100%; height: auto; }
svg { flex: 0 0 auto; }
p { margin: 0 0 1rem; }
h1, h2, h3 {
    margin: 0 0 .75rem;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -.035em;
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.25rem; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); z-index: 10; padding: .6rem 1rem; background: var(--white); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; min-height: 83px; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 83px; }
.brand { flex-shrink: 0; }
.brand img { width: 150px; max-height: 64px; object-fit: contain; }
.main-nav { display: flex; gap: clamp(.75rem, 2.4vw, 2.1rem); }
.main-nav a { position: relative; padding: .54rem 0; font-size: .95rem; text-decoration: none; font-weight: 620; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: #134b80; }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; border-radius: 3px; background: #d86112; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 46px;
    padding: .7rem 1rem;
    border: 1px solid transparent;
    border-radius: 7px;
    font: inherit;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
.button svg { width: 21px; height: 21px; }
.button-whatsapp { background: var(--green); color: var(--white); }
.button-whatsapp:hover { background: var(--green-hover); }
.button:disabled { color: #435266; background: #e7ecf3; cursor: default; }
.button-outline { color: var(--white); border-color: #8da5bf; }
.button-outline:hover { background: #ffffff1c; }
.nav-quote, .button-light { color: var(--navy); border-color: #bacde1; background: var(--white); }
.nav-quote:hover, .button-light:hover { background: var(--wash); }
.menu-toggle { display: none; font: inherit; font-weight: 650; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 7px; min-height: 44px; padding: .42rem .65rem; align-items: center; gap: .4rem; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.hero-inner { position: relative; z-index: 1; min-height: 525px; display: grid; align-items: center; padding-block: 4.5rem; }
.hero-copy { max-width: 755px; }
.hero-photo {
    position: absolute;
    inset: 0 0 0 35%;
    background: linear-gradient(90deg, var(--navy-deep), #061a3599 27%, #061a3520 72%, #061a3512), url("/assets/abertura-solar.webp") 56% 51%/cover no-repeat;
}
.location { display: flex; align-items: center; gap: .45rem; margin-bottom: 1.3rem; color: #d6e6f6; font-size: .91rem; font-weight: 650; }
.location svg { width: 19px; height: 19px; color: #ffa550; }
.hero h1 { font-size: clamp(2.55rem, 5.25vw, 4.55rem); letter-spacing: -.062em; line-height: 1.02; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: #ffa44d; }
.hero-description { color: #e0e9f5; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 34rem; margin-bottom: 1.65rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.section[id], #principal { scroll-margin-top: 83px; }
.section { padding: clamp(2.8rem, 6vw, 5.1rem) 0; }
.section-title p { max-width: 42rem; margin: 0; color: var(--muted); }
.section-title { margin-bottom: 1.6rem; }
.section-title h2, .product-help :is(h2, h3), .callout h2 { margin-bottom: .35rem; }
.service-grid, .photos, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.service-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.service-card-photo { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-image { width: 100%; height: clamp(164px, 17vw, 224px); object-fit: cover; object-position: center 47%; }
.service-carregadores .service-image { object-position: center 32%; }
.service-solar .service-image { object-position: center 77%; }
.service-limpeza .service-image { object-position: center 56%; }
.service-copy { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.5rem; }
.service-copy .button { align-self: flex-start; margin-top: auto; }
.service-copy p { padding-bottom: .25rem; }
.service-credit { color: var(--muted); margin: -.5rem 0 .8rem; }
.service-card p, .about-copy p, .product-help p { color: var(--muted); }
.service-card p:last-child, .product-help p { margin-bottom: 0; }
.tile-icon { color: #a74105; background: #fff0e2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; margin-bottom: 1rem; }
.installations { background: var(--wash); }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; filter: brightness(1.04) contrast(1.035); }
.installation-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.35rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.installation-cta h3 { margin-bottom: .35rem; }
.installation-cta p { color: var(--muted); margin: 0; }
.installation-cta .button { flex-shrink: 0; }
.cta-section { padding-block: 2.25rem; background: #e7eff9; }
.callout, .product-help { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.callout p { margin: 0; color: var(--muted); }
.callout .button, .product-help .button { flex-shrink: 0; }
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-main { padding-block: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.footer-brand { color: var(--white); font-weight: 780; font-size: 1.2rem; text-decoration: none; }
.footer-brand span { color: #ffa44d; }
.footer-main p, .copyright { color: #c0d1e5; font-size: .87rem; margin: .2rem 0 0; }
.footer-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-nav a, .social-link, .inline-social { text-decoration: none; font-size: .93rem; }
.footer-nav a:hover, .social-link:hover, .inline-social:hover { text-decoration: underline; }
.social-link, .inline-social { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 680; }
.social-link svg, .inline-social svg { width: 20px; height: 20px; }
.copyright { padding-block: 1rem; border-top: 1px solid #314862; }
.page-head { border-bottom: 1px solid #e1e9f2; background: var(--wash); padding: clamp(2.5rem, 5.6vw, 4.5rem) 0; }
.page-head h1 { color: var(--navy); font-size: clamp(2.45rem, 6vw, 4.5rem); letter-spacing: -.055em; }
.page-head p { color: var(--muted); margin: 0; font-size: clamp(1rem, 1.7vw, 1.1rem); max-width: 41rem; }
.about-copy { max-width: 48rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-card :is(h2, h3), .product-help :is(h2, h3) { font-size: 1.35rem; }
.contact-card .button { margin-top: .35rem; }
.contact-unavailable { margin-top: 1rem; }
.catalog-status { color: var(--muted); margin-bottom: 1.3rem; }
#inicio .catalog-section { background: var(--wash); }
#inicio .product-help { background: var(--white); }
.product-help { margin-top: 1.65rem; padding: 1.4rem; border-radius: 10px; background: var(--wash); }
.product { background: var(--white); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.product-photo { background: #fff; display: grid; place-items: center; aspect-ratio: 16 / 10; position: relative; border-bottom: 1px solid var(--line); }
.product-photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: contain; }
.product-photo img[src$="/produto-dreno-real.jpg"] { object-fit: cover; object-position: center 65%; }
.product-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.3rem; overflow-wrap: anywhere; }
.product-description { color: var(--muted); font-size: .93rem; white-space: pre-line; overflow-wrap: anywhere; }
.product-stock { align-self: start; margin: .6rem 0 .25rem; padding: .18rem .48rem; color: #4f6071; background: #eef3f9; border-radius: 4px; font-size: .88rem; font-weight: 750; }
.product-stock[data-stock="available"] { color: #185d3c; background: #def3e7; }
.product-stock[data-stock="sold-out"] { color: #88281e; background: #fdece9; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; margin-top: auto; padding-block: .3rem .7rem; }
.price strong { font-size: 1.2rem; }
.price s { color: var(--muted); font-size: .875rem; }
.contact-detail { font-size: 1.35rem; font-weight: 750; text-decoration: none; color: var(--navy); }
.product-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .55rem; }
.buy { flex: 1 1 175px; }
@media (max-width: 840px) {
    .wrap { width: min(var(--wrap), calc(100% - 40px)); }
    .service-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-inner { flex-wrap: wrap; gap: .6rem 1rem; padding-block: .6rem; min-height: 68px; }
    .site-header { min-height: 68px; }
    .section[id], #principal { scroll-margin-top: 68px; }
    .nav-quote { display: none; }
    .menu-toggle:not([hidden]) { display: inline-flex; margin-left: auto; }
    .main-nav { flex: 0 0 100%; flex-wrap: wrap; padding-bottom: .5rem; }
    .menu-toggle[aria-expanded="false"] + .main-nav { display: none; }
    .main-nav a { min-height: 44px; }
    .brand img { width: 132px; }
    .hero-inner { min-height: 475px; }
}
@media (max-width: 570px) {
    .wrap { width: calc(100% - 32px); }
    .hero-inner { padding-block: 3.25rem 1.1rem; min-height: 0; }
    .hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.35rem); }
    .hero-photo { position: relative; inset: auto; height: 210px; background: linear-gradient(180deg, var(--navy-deep), #061a3500 65%), url("/assets/abertura-solar.webp") 65% 53%/cover no-repeat; }
    .hero-actions .button { width: 100%; }
    .service-grid, .product-grid, .contact-grid { grid-template-columns: 1fr; }
    .service-image { height: auto; aspect-ratio: 16 / 10; }
    .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
    .photos img { aspect-ratio: 1; border-radius: 6px; }
    .callout, .product-help, .installation-cta { flex-direction: column; align-items: stretch; }
    .footer-main { align-items: flex-start; flex-direction: column; }
    .footer-nav { gap: .55rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.product-icon { margin-bottom: .8rem; }
.variant { display: grid; gap: .25rem; margin-bottom: .35rem; font-weight: 650; font-size: .9rem; }
.variant select { width: 100%; padding: .55rem .65rem; min-height: 44px; border: 1px solid #bac9d9; border-radius: 7px; color: var(--navy); background: white; font: inherit; }
.variant select:focus-visible { outline: 3px solid #1776c8; outline-offset: 3px; }
@media (min-width: 841px) {
    .service-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .service-grid .service-card { grid-column: span 2; }
    .service-grid .service-card:nth-last-child(-n+2) { grid-column: span 3; }
}
