/* SOS Consultoria — plain CSS, no framework.
   Fonts: filson-pro (Adobe Fonts kit, loaded in header.php) and Raleway (self-hosted, slider titles only). */
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/assets/fonts/raleway-latin.woff2) format("woff2"); }

:root {
  --green: #08a443;      /* titles */
  --green2: #009933;     /* button start, copyright */
  --blue: #3399cc;       /* button end */
  --dark: #006633;       /* dark green: top links, active tab */
  --light: #e7f0ea;      /* light green panels */
  --ink: #232323;        /* big titles */
  --text: #4a4a4a;
  --list: #3f3e3e;
  --grad: linear-gradient(90deg, var(--green2) 0%, var(--blue) 100%);
  --wrap: 1410px;
  --font: "filson-pro", "Nunito Sans", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.8 var(--font); color: var(--text); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--dark); }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--ink); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.center, .center-text { text-align: center; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 10px; left: 10px; background: #fff; padding: 10px 16px; border-radius: 6px; }
.rounded { border-radius: 10px; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* Buttons */
.btn { display: inline-block; padding: 12px 30px; border: 0; border-radius: 90px; background: var(--grad); color: #fff; font: 500 18px/36px var(--font); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: filter .2s, transform .2s; }
.btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.btn-sm { font-size: 14px; line-height: 20px; padding: 13px 24px; font-weight: 600; }

/* Kicker: drop symbol + green caps */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--green); font-size: 20px; font-weight: 500; line-height: 40px; text-transform: uppercase; }
.kicker img { width: 44px; height: auto; }
.intro { text-align: center; padding: 140px 15px 60px; max-width: 1000px; margin: 0 auto; }
.intro.small { padding: 0 15px 40px; }
.big-title { font-size: 52px; line-height: 60px; font-weight: 700; color: var(--ink); margin: 0 0 15px; }
.intro p { margin: 0; }
.sec-title { font-size: 36px; line-height: 1.2; font-weight: 700; color: var(--ink); margin: 0 0 20px; }
.green-caps { color: var(--green); font-size: 24px; font-weight: 700; text-transform: uppercase; margin: 0 0 20px; line-height: 1.2; }
.green-caps.big { font-size: 32px; }
.green-title { color: var(--green); font-size: 28px; font-weight: 700; line-height: 1.25; margin: 0 0 12px; }
.lead-green { color: var(--green); font-size: 26px; font-weight: 500; line-height: 1.3; margin: 0 0 25px; }

/* Check list */
.checks { list-style: none; margin: 0 0 20px; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: baseline; color: var(--list); font-size: 18px; font-weight: 500; line-height: 32px; margin-bottom: 10px; }
.checks .ic { color: var(--green); font-size: 18px; position: relative; top: 2px; }
.checks.caps li { text-transform: uppercase; color: #020101; }
.checks.center { display: table; margin: 0 auto 20px; }

/* Header */
.topbar { background: var(--light); }
.topbar-inner { display: flex; justify-content: flex-end; gap: 30px; height: 47px; align-items: center; padding-right: 57px; }
.topbar a { color: var(--dark); font-size: 15px; font-weight: 500; text-transform: uppercase; }
.topbar a:hover, .topbar a[aria-current] { color: var(--green); }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; transition: box-shadow .2s; }
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 30; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-shown { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--grad); color: #fff; border-color: transparent; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 120px; padding: 0 72px 0 42px; max-width: 1440px; }
.logo img { width: 250px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { padding: 8px 18px; border-radius: 90px; color: var(--dark); font-size: 17px; font-weight: 500; text-transform: uppercase; white-space: nowrap; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--light); color: var(--dark); }
.main-nav a[aria-current] { background: var(--grad); color: #fff; }
.menu-toggle { display: none; }
.menu-toggle { width: 80px; height: 40px; border: 0; border-radius: 90px; background: var(--grad); cursor: pointer; display: none; place-content: center; gap: 5px; padding: 0; }
.menu-toggle span:not(.sr) { display: block; width: 28px; height: 2px; background: #fff; border-radius: 2px; }
.side-menu { position: fixed; z-index: 60; inset: 0 auto 0 0; width: 300px; background: var(--light); padding: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .3s; }
.side-menu.is-open { transform: none; }
.side-menu[hidden] { display: block; visibility: hidden; }
.side-menu.is-open[hidden] { visibility: visible; }
.side-menu ul { list-style: none; margin: 0; padding: 0; }
.side-menu a { display: block; padding: 7px 15px; margin-right: 15px; color: #0d5c33; font-size: 18px; font-weight: 500; line-height: 36px; text-transform: uppercase; }
.side-menu a:hover { color: var(--green); }
.side-menu a[aria-current] { background: var(--green2); color: #fff; }
.menu-close { position: fixed; left: 308px; top: 10px; background: none; border: 0; color: #fff; font-size: 14px; cursor: pointer; padding: 6px; }
.menu-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.5); }
.menu-overlay[hidden] { display: none; }
.page-banner { height: 180px; background: url(/assets/img/foto3-banner.webp) center 55% / cover; }

/* Footer */
.site-footer { margin-top: 100px; }
.footer-logo, .logo-band { display: flex; justify-content: center; padding: 30px 15px 80px; }
.logo-band img, .footer-logo img { width: 600px; }
.divider-title { display: flex; align-items: center; gap: 16px; margin: 0 0 25px; color: var(--green); font-size: 20px; font-weight: 500; line-height: 20px; text-transform: uppercase; }
.divider-title::before, .divider-title::after { content: ""; flex: 1; height: 1px; background: var(--green); }
.social { list-style: none; display: flex; justify-content: center; gap: 60px; margin: 0 0 40px; padding: 0; }
.social a { width: 50px; height: 50px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; transition: background .2s; }
.social a:hover { background: var(--dark); color: #fff; }
.social svg { width: 25px; height: 25px; }
.footer-nav, .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; margin: 0; text-transform: uppercase; }
.footer-nav { font-size: 18px; font-weight: 500; line-height: 33px; }
.footer-nav a, .footer-legal a, .footer-nav span, .footer-legal span { color: var(--dark); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--green); }
.site-footer hr { max-width: 1140px; margin: 25px auto 20px; border: 0; border-top: 1px solid var(--text); }
.footer-legal { font-size: 13px; font-weight: 500; line-height: 20px; }
.footer-awards { width: 1120px; margin: 60px auto 0; }
.copyright { margin: 80px 12px 0; padding: 15px; border-radius: 10px 10px 0 0; background: var(--light); color: var(--green2); text-align: center; text-transform: uppercase; }

/* Home: hero slider */
.hero { position: relative; height: 750px; overflow: hidden; background: var(--light); }
.slides, .slide { position: absolute; inset: 0; }
.slide { display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-text { padding: 180px 0 0 35px; position: relative; z-index: 2; }
.slide-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; color: #1d4f35; font-size: 20px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.slide-kicker .ic { font-size: 22px; }
.slide-title { font: 800 60px/60px "Raleway", var(--font); color: var(--green2); margin: 0; }
.slide-img { background-size: cover; background-position: center; }
.slide.is-active .slide-kicker, .slide.is-active .slide-title { animation: rise .8s both; }
.slide.is-active .slide-title { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-symbol { position: absolute; z-index: 1; width: 369px; left: calc(50% - 231px); top: 379px; clip-path: inset(0 138px 0 0); pointer-events: none; }
.hero-arrow { position: absolute; z-index: 3; top: 349px; width: 70px; height: 70px; border-radius: 50%; border: 0; background: rgba(0,0,0,.1); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.hero-arrow:hover { background: rgba(0,0,0,.25); }
.hero-arrow.prev { left: 70px; } .hero-arrow.next { right: 70px; }
.hero-dots { position: absolute; z-index: 3; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #fff; cursor: pointer; }
.hero-dots button[aria-selected="true"] { background: #1d4f35; }
.scroll-down { display: grid; place-items: center; width: 100px; height: 100px; margin: -50px auto 0; position: relative; z-index: 4; border-radius: 50%; background: var(--grad); border: 8px solid #fff; color: #fff; font-size: 30px; }
.scroll-down:hover { color: #fff; filter: brightness(1.08); }

/* Home: about */
.home-about { display: grid; grid-template-columns: 450px 1fr 349px; gap: 45px; align-items: start; padding-top: 80px; padding-bottom: 100px; }
.about-text { padding-top: 56px; }
.about-text .big-title { margin-bottom: 10px; }
.about-text p { margin-bottom: 40px; }
.about-main { width: 531px; justify-self: center; }
.about-side { padding-top: 56px; }
.about-side img { margin-bottom: 50px; }

/* Home: service panels */
.services { display: flex; height: 540px; padding: 0; max-width: 1410px; background: var(--light); border-radius: 10px; overflow: hidden; margin-bottom: 90px; }
.svc { display: flex; flex: 0 0 107px; border-left: 1px solid rgba(0,0,0,.12); transition: flex-basis .5s; }
.svc:first-child { border-left: 0; }
.svc.is-open { flex: 1 1 auto; border-left: 0; }
.svc-tab { flex: 0 0 107px; border: 0; background: none; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 45px 0; color: var(--green2); font: 700 32px/40px var(--font); text-transform: uppercase; }
.svc-tab span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.svc.is-open .svc-tab { flex-basis: 110px; background: var(--dark); color: #fff; }
.svc-body { display: none; gap: 30px; align-items: center; padding: 45px; }
.svc.is-open .svc-body { display: flex; animation: fade .5s; }
.svc-body img { width: 460px; height: 450px; object-fit: cover; border-radius: 10px; }
.svc-body > div { width: 280px; }
.svc-body h3 { color: #00a443; font-size: 32px; line-height: 40px; text-transform: uppercase; margin: 0 0 5px; }
.svc-body p { margin-bottom: 25px; }
.svc-body .btn { padding: 12px 30px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Home: blog cards */
.home-blog { margin-bottom: 80px; }
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 25px; }
.blog-card { display: flex; gap: 30px; justify-content: space-between; height: 430px; padding: 45px 30px; background: var(--light); border-radius: 10px; color: var(--ink); }
.blog-card:hover { color: var(--ink); }
.bc-text { display: flex; flex-direction: column; justify-content: space-between; }
.bc-icon { font-size: 60px; color: var(--green); }
.bc-title { font-size: 28px; font-weight: 700; line-height: 36px; }
.round-arrow { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); font-size: 18px; transition: background .2s, color .2s; }
.blog-card:hover .round-arrow { background: var(--grad); color: #fff; }
.blog-card img { width: 180px; height: 340px; object-fit: cover; border-radius: 10px; }

/* Home: contact over photo */
.contact-photo { position: relative; height: 873px; margin: 0 0 60px; background: url(/assets/img/foto15.webp) center / cover; border-radius: 10px; display: flex; justify-content: flex-end; align-items: center; padding: 0; }
.contact-card { width: 645px; margin-right: 15px; background: #fff; border-radius: 10px; padding: 45px 45px 45px; }
.contact-card .green-caps { margin-bottom: 30px; }

/* Form */
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.contact-form label { display: block; margin-bottom: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 15px; border: 1px solid #c9d8ce; border-radius: 8px; background: var(--light); font: 400 15px/1.4 var(--font); color: var(--ink); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }
.contact-form ::placeholder { color: #6b6b6b; }
.form-note { font-size: 14px; line-height: 1.5; margin: 0 0 25px; }
.captcha-status { font-size: 13px; min-height: 1.4em; margin: 0 0 10px; opacity: .8; }
.form-msg { padding: 12px 16px; border-radius: 8px; font-size: 16px; }
.form-msg.ok { background: #dff3e6; color: var(--dark); }
.form-msg.err { background: #fde8e8; color: #9b1c1c; }
.hp { position: absolute; left: -9999px; }

/* Home: map */
.home-map { margin-bottom: 80px; }
.map-wrap { display: grid; grid-template-columns: 1fr 1fr; max-width: 1110px; margin: 0 auto; background: #f3f7f4; border-radius: 10px; }
.map { position: relative; width: 539px; justify-self: center; margin: 0; }
.map > img { opacity: .2; }
.pin { position: absolute; width: 17px; height: 24px; padding: 0; border: 0; background: none; color: #232323; font-size: 24px; line-height: 24px; cursor: pointer; }
.pin .ic { width: 17px; height: 24px; vertical-align: top; }
.pin.is-active { color: var(--dark); }
.pin img { position: absolute; left: -42px; top: 24px; width: 100px; height: 100px; max-width: none; border-radius: 50%; border: 1px solid var(--dark); box-shadow: 0 0 0 60px rgba(255,255,255,.55), 0 0 0 61px rgba(0,0,0,.04); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; pointer-events: none; z-index: 2; }
.pin.is-active img, .pin:hover img { opacity: 1; transform: none; }
.pin:hover { color: var(--dark); z-index: 3; }
.loc-list { padding: 40px 10px; }
.loc-list h3 { text-align: center; color: var(--green); font-size: 28px; text-transform: uppercase; margin-bottom: 20px; }
.loc-list details { margin-bottom: 6px; }
.loc-list summary { list-style: none; cursor: pointer; text-align: center; padding: 6px; background: var(--light); border: 1px solid #c9d8ce; border-radius: 5px; color: #1f2124; font-size: 16px; font-weight: 500; text-transform: uppercase; }
.loc-list summary::-webkit-details-marker { display: none; }
.loc-list summary::before { content: "+"; font-weight: 700; margin-right: 8px; }
.loc-list details[open] summary::before { content: "–"; }
.loc-body { padding: 15px 30px 10px; border: 1px solid #dfe8e2; border-top: 0; background: #fff; font-size: 18px; font-weight: 300; text-transform: uppercase; }
.loc-body strong { font-weight: 500; color: var(--text); }
.loc-body img { width: 180px; margin: 10px 0 25px; }
.more { color: var(--dark); font-weight: 600; font-size: 16px; }

/* Partners strip */
.home-partners { margin-bottom: 190px; }
.partners { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.partners-track { list-style: none; display: flex; gap: 106px; width: max-content; margin: 0; padding: 0; animation: marquee 40s linear infinite; }
.partners:hover .partners-track { animation-play-state: paused; }
.partners li { width: 240px; height: 160px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; display: grid; place-items: center; }
.partners img { width: 120px; filter: grayscale(1) brightness(.6) contrast(1.25); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap, 106px) / 2)); } }

/* Inner pages: energy layout with side column */
.with-aside { display: grid; grid-template-columns: 390px 1fr; gap: 60px; align-items: start; padding-left: 45px; padding-right: 15px; max-width: 1440px; }
.energy-aside { display: grid; gap: 30px; }
.aside-box { background: var(--light); border-radius: 10px; padding: 30px; }
.aside-box h2 { color: var(--green); font-size: 30px; font-weight: 600; line-height: 1.2; margin: 0 0 20px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { margin-bottom: 10px; }
.aside-box li a { font-size: 20px; font-weight: 500; text-transform: uppercase; color: var(--green); }
.aside-box li a::before { content: "› "; }
.aside-box li a[aria-current], .aside-box li a:hover { color: var(--dark); }
.aside-lead { color: var(--green2); font-weight: 600; line-height: 1.6; }
.content { min-width: 0; }
.content .center-text { text-align: center; }
.content p, .split p { font-size: 18px; margin-bottom: 30px; }
.content .icon-card p, .content .step p { margin-bottom: 0; }

/* Alternating image/text rows (eletricidade e gás, smart solar) */
.feature-rows { display: grid; gap: 30px; margin-top: 30px; }
.feature-row { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: center; }
.feature-row.flip { grid-template-columns: 1fr 290px; }
.feature-row.flip img { order: 2; }
.feature-row img { width: 100%; border-radius: 16px; }
.feature-row.svg img { border-radius: 0; }

/* Cards with icon, title, text */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 20px 0; }
.icon-card { background: var(--light); border-radius: 10px; padding: 25px 20px 30px; text-align: center; }
.icon-card .ic { font-size: 60px; color: var(--ink); margin-bottom: 10px; }
.icon-card h3 { color: var(--green); font-size: 24px; margin-bottom: 8px; }
.icon-card p { font-size: 16px; line-height: 1.8; margin: 0; }
.panel-soft { background: rgba(231,240,234,.41); border-radius: 10px; padding: 20px 5px 5px; text-align: center; }
.panel-soft h3 { font-size: 28px; color: var(--ink); text-transform: uppercase; margin-bottom: 4px; }
.panel-soft > p { padding: 0 20px; font-size: 16px; }
.sep-symbol { display: flex; align-items: center; gap: 20px; margin: 30px 0; color: var(--green); }
.sep-symbol::before, .sep-symbol::after { content: ""; flex: 1; height: 1px; background: var(--dark); }
.sep-symbol img { width: 40px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 30px 0; }
.step { position: relative; }
.step-head { position: relative; height: 70px; margin-bottom: 10px; }
.step-head::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: #d9e3dc; }
.step-num { position: absolute; left: 10px; top: 46px; width: 34px; height: 30px; border-radius: 6px; background: var(--dark); color: #fff; font-size: 16px; font-weight: 600; display: grid; place-items: center; }
.step-icon { position: absolute; right: 0; top: 0; width: 66px; height: 66px; border-radius: 50%; background: var(--light); color: var(--green); display: grid; place-items: center; font-size: 26px; }
.step h3 { color: var(--green); font-size: 28px; text-align: center; margin: 18px 0 8px; }
.step p { font-size: 15px; line-height: 1.6; text-align: center; }
.steps.photo .step-media { position: relative; width: 248px; margin: 0 auto; }
.steps.photo .step-media img { width: 248px; height: 248px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 0 0 1px #dbe5de; }
.steps.photo .step-icon { right: -20px; top: 90px; background: #e8f3ec; }
.steps.photo .step-num { left: 0; top: auto; bottom: 0; }

/* Two columns (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.top { align-items: start; }
.photo-stack { position: relative; padding-bottom: 120px; }
.photo-stack img { border-radius: 10px; }
.photo-stack img + img { position: absolute; width: 62%; right: 0; bottom: 0; }

/* Carousel cards (smart solar, gestão) */
.card-carousel { position: relative; overflow: hidden; }
.cc-track { display: flex; gap: 30px; transition: transform .5s; }
.cc-card { flex: 0 0 calc((100% - 60px) / 3); background: var(--light); border-radius: 10px; padding: 30px; display: flex; flex-direction: column; }
.cc-card.is-center { background: var(--dark); }
.cc-card.is-center h3, .cc-card.is-center p { color: #fff; }
.cc-card.is-center .cc-badge { background: #fff; color: var(--dark); }
.cc-head { display: flex; align-items: center; gap: 15px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,.12); }
.cc-card.is-center .cc-head { border-color: rgba(255,255,255,.25); }
.cc-badge { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 22px; }
.cc-card h3 { font-size: 24px; margin: 0; text-transform: uppercase; }
.cc-card p { font-size: 16px; line-height: 1.6; }
.cc-card img { margin-top: auto; border-radius: 10px; width: 100%; aspect-ratio: 342 / 516; object-fit: cover; }
.cc-dots { display: flex; justify-content: center; gap: 8px; margin: 20px 0 0; }
.cc-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #d6e2da; cursor: pointer; }
.cc-dots button[aria-selected="true"] { background: var(--dark); }

/* Comunicações */
.brands { display: grid; grid-template-columns: repeat(3, 160px); justify-content: space-around; max-width: 1300px; margin: 0 auto 20px; }
.brands li { list-style: none; height: 107px; border: 1px solid rgba(0,0,0,.12); display: grid; place-items: center; }
.brands img { width: 100px; filter: grayscale(1) brightness(.6) contrast(1.25); }
.services-band { background: var(--light); padding: 30px 0; margin-bottom: 50px; }
.services-band ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; margin: 0 auto; padding: 0 60px; max-width: 1440px; }
.services-band li { display: flex; align-items: center; gap: 10px; color: var(--dark); font-size: 20px; font-weight: 500; text-transform: uppercase; }
.services-band .ic, .services-band svg { width: 28px; height: 28px; font-size: 28px; color: var(--dark); flex: none; }

/* Sobre nós */
.mvo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1140px; margin: 0 auto 60px; }
.mvo > div { display: flex; gap: 14px; align-items: flex-start; }
.mvo img { width: 101px; flex: none; }
.mvo h3 { color: var(--green); font-size: 32px; font-weight: 500; line-height: 40px; margin: 0; text-transform: uppercase; }
.mvo p { font-weight: 300; line-height: 1.33; margin: 0; }
.awards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 30px 0 60px; }
.awards img { width: 94px; height: 90px; object-fit: contain; }

/* Localizações */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; max-width: 1340px; margin: 0 auto; padding: 0 15px; }
.loc-grid h2 { color: var(--green); font-size: 28px; font-weight: 600; margin: 0 0 15px; }
.loc-grid p { font-size: 15px; font-weight: 300; line-height: 1.5; margin: 0 0 12px; }
.loc-grid iframe { width: 100%; height: 300px; border: 0; border-radius: 4px; }
.loc-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: var(--dark); font-size: 26px; }
.loc-sep::before, .loc-sep::after { content: ""; flex: 1; height: 1px; background: var(--dark); }

/* Contacte-nos */
.contact-page { padding: 120px 15px; background: url(/assets/img/foto15.webp) center / cover; border-radius: 10px; }
.contact-page .contact-card { margin: 0 auto; width: 100%; max-width: 760px; padding: 25px 40px 40px; text-align: center; }
.contact-page .contact-form { text-align: left; }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 30px 0 25px; margin-bottom: 30px; border-bottom: 1px solid var(--green); }
.contact-ways .cw-icon { width: 54px; height: 54px; margin: 0 auto 15px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 24px; }
.contact-ways h3 { color: var(--green); font-size: 22px; margin: 0; }
.contact-ways p, .contact-ways a { color: var(--text); font-size: 16px; margin: 0; }

/* Blog */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1470px; margin: 0 auto; padding: 0 0 60px; }
.blog-list h2 { font-size: 28px; line-height: 1.3; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #dde5df; }
.blog-list h2 a { color: var(--ink); }
.blog-list p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post { display: grid; grid-template-columns: 440px 1fr; gap: 30px; align-items: start; max-width: 1440px; padding: 0 22px; }
.post img { border-radius: 10px; }
.post h2 { font-size: 36px; }
.post-nav { display: flex; justify-content: space-between; max-width: 1440px; margin: 30px auto 0; padding: 0 22px; }

/* Legal */
.legal { max-width: 1170px; padding-top: 60px; }
.legal h1 { color: var(--green); font-size: 36px; text-align: center; text-transform: uppercase; margin-bottom: 30px; }
.legal p { font-size: 16px; line-height: 1.75; }

/* Energias */
.indent { padding-left: 66px; margin-top: 40px; }
.kicker.no-caps { text-transform: none; }
.green-title.small { font-size: 22px; margin-bottom: 15px; }
.small-text { font-size: 16px !important; line-height: 1.6; }
.iberdrola-collage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; margin: 40px 0; }
.ic-logos { display: grid; gap: 70px; justify-items: center; }
.ic-logos img:first-child { width: 371px; }
.ic-logos img:last-child { width: 411px; }
.ic-photos { position: relative; height: 640px; }
.ic-photos img { position: absolute; object-fit: cover; }
.ic-photos img:first-child { width: 342px; height: 274px; left: 0; top: 0; }
.ic-photos img:last-child { width: 332px; height: 332px; left: 100px; top: 191px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.info-cards > div { display: flex; gap: 15px; align-items: flex-start; background: var(--light); border-radius: 10px; padding: 20px 15px 30px; }
.info-cards svg { width: 111px; flex: none; color: var(--dark); }
.info-cards h3 { color: var(--green); font-size: 24px; line-height: 32px; margin: 0 0 10px; }
.info-cards p { margin: 0; line-height: 1.8; }

/* Misc page bits */
.light { font-weight: 300; }
.indent-sm { padding-left: 40px; margin-top: 40px; }
.indent-lg { padding-left: 51px; }
.indent-lg2 { padding-left: 135px; }
.closing { max-width: 1210px; padding-top: 20px; }
.closing-text { color: var(--list); font-size: 20px; font-weight: 500; line-height: 1.45; }
.sub-title { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.lead-green.big { font-size: 32px; font-weight: 700; }
.plain-cta { padding: 60px 15px 20px; }
.plain-cta p { margin-bottom: 20px; }
.team { width: 600px; margin: 30px auto 0; }
.post-awards { width: 852px; margin-top: 30px; }
.partners.compact { max-width: 1300px; margin: 30px auto 0; }
.card-carousel.wide .cc-card img { aspect-ratio: 369 / 258; }
.about-split { max-width: 1440px; padding: 0 30px 0 200px; gap: 45px; }
.photo-stack.left img + img { right: auto; left: -180px; width: 537px; }

/* CTA band */
.cta-band { max-width: 1410px; margin-top: 80px; padding: 30px 15px 35px; background: var(--light); border-radius: 10px; text-align: center; }
.cta-band h2 { color: var(--green); font-size: 26px; font-weight: 700; margin: 0 0 4px; }
.cta-band p { margin: 0 0 25px; }
/* Comunicações brand boxes */
.partners.compact .partners-track { gap: 300px; animation-duration: 30s; }
.partners.compact li { width: 160px; height: 107px; border-radius: 0; }
.partners.compact img { width: 100px; }
.partners.compact .partners-track { --gap: 300px; }

/* Section spacing */
.section { padding: 40px 0; }
.mt-0 { margin-top: 0; }

@media (max-width: 1200px) {
  .main-nav a { padding: 8px 10px; font-size: 15px; }
  .logo img { width: 200px; }
  .home-about { grid-template-columns: 1fr 1fr; }
  .about-main { display: none; }
  .with-aside { grid-template-columns: 300px 1fr; gap: 30px; padding-left: 15px; }
  .svc-body img { width: 320px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  body { font-size: 16px; }
  .big-title { font-size: 36px; line-height: 1.2; }
  .sec-title { font-size: 28px; }
  .intro { padding-top: 70px; }
  .topbar-inner { justify-content: center; gap: 14px; padding: 0 10px; flex-wrap: wrap; }
  .topbar a { font-size: 13px; }
  .header-inner { padding: 0 15px; height: 90px; }
  .logo img { width: 190px; }
  .page-banner { height: 110px; }
  .hero { height: auto; }
  .slides { position: relative; display: grid; }
  .slide { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; }
  .slide-text { padding: 50px 20px 30px; }
  .slide-title { font-size: 38px; line-height: 42px; }
  .slide-img { height: 280px; }
  .hero-symbol, .hero-arrow { display: none; }
  .home-about { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 50px; }
  .about-text, .about-side { padding-top: 0; }
  .services { flex-direction: column; height: auto; }
  .svc, .svc.is-open { flex: none; flex-direction: column; border-left: 0; border-top: 1px solid rgba(0,0,0,.12); }
  .svc-tab, .svc.is-open .svc-tab { flex: none; padding: 14px 20px; justify-content: flex-start; font-size: 22px; line-height: 1.3; }
  .svc-tab span { writing-mode: horizontal-tb; transform: none; }
  .svc-body { flex-direction: column; padding: 20px; }
  .svc-body img { width: 100%; height: 240px; }
  .svc-body > div { width: auto; }
  .blog-cards, .blog-list, .icon-cards, .steps, .mvo, .loc-grid, .contact-ways { grid-template-columns: 1fr; }
  .blog-card { height: auto; }
  .blog-card img { width: 120px; height: 220px; }
  .contact-photo { height: auto; padding: 30px 12px; justify-content: center; }
  .contact-card { margin-right: 0; }
  .home-partners { margin-bottom: 60px; }
  .contact-card { width: 100%; padding: 25px 20px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .green-caps.big { font-size: 24px; }
  .map-wrap { grid-template-columns: 1fr; }
  .map { width: 100%; max-width: 420px; }
  .logo-band img, .footer-logo img { width: 90%; }
  .with-aside { grid-template-columns: 1fr; }
  .energy-aside { order: 2; }
  .feature-row, .feature-row.flip, .split, .post, .iberdrola-collage, .info-cards { grid-template-columns: 1fr; }
  .ic-photos { height: 480px; }
  .ic-logos img:first-child, .ic-logos img:last-child { width: 80%; }
  .indent, .indent-sm, .indent-lg, .indent-lg2 { padding-left: 0; }
  .about-split { padding: 0 15px; }
  .photo-stack.left img + img { left: auto; right: 0; width: 62%; }
  .team, .post-awards { width: 100%; }
  .feature-row.flip img { order: 0; }
  .cc-card { flex-basis: 100%; }
  .services-band ul { grid-template-columns: 1fr 1fr; padding: 0 20px; gap: 20px; }
  .services-band li { font-size: 16px; }
  .brands { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 15px; }
  .social { gap: 30px; }
  .footer-nav { font-size: 15px; }
  .awards img { width: 70px; }
}

/* Scroll animations (classes are added by site.js, so without JS everything is simply visible) */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.rv.rv-left { transform: translateX(-50px); }
.rv.rv-right { transform: translateX(50px); }
.rv.rv-zoom { transform: scale(.92); }
.rv.in { opacity: 1; transform: none; }
.rv-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s cubic-bezier(.7,0,.3,1); }
.rv-img.in { clip-path: inset(0 0 0 0); }
.fill-word { color: #b9b9b9; transition: color .35s; }
.fill-word.on { color: inherit; }
.slide-img { transform: scale(1.12); transition: transform 7s ease-out; }
.slide.is-active .slide-img { transform: scale(1); }
.hero-symbol { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.btn, .blog-card, .icon-card, .cc-card, .aside-box, .info-cards > div { transition: opacity .9s, transform .4s, box-shadow .3s, filter .2s; }
.blog-card:hover, .icon-card:hover, .info-cards > div:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,102,51,.12); }
.blog-card img, .svc-body img, .photo-stack img, .rounded { transition: transform .6s; }
.blog-card:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .fill-word { color: inherit !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
