:root {
  /* Paleta derivada da marca JoyEnergy. Os tons escuros garantem contraste;
     ciano, dourado e coral são usados com parcimônia para hierarquia e ação. */
  --ink: #102427;
  --ink-soft: #2b4448;
  --pine: #0d4b50;
  --pine-2: #11747d;
  --cyan: #19b6c9;
  --gold: #f6b932;
  --coral: #f35e36;
  --paper: #faf8f2;
  --white: #ffffff;
  --mist: #edf6f6;
  --line: #d7e3e2;
  --muted: #607477;
  /* aliases mantidos para componentes existentes */
  --lime: var(--gold);
  --solar: var(--gold);
  --container: min(1180px, calc(100% - 40px));
  --radius: 14px;
  --shadow: 0 20px 50px rgba(17, 25, 24, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); z-index: 999; background: var(--white); padding: 12px 16px; border-radius: 5px; }
.skip-link:focus { transform: none; }

.contact-bar { background: #081b1d; color: #f0f5f2; font-size: 12px; }
.contact-bar__inner { min-height: 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.contact-bar__inner > :last-child { justify-self: end; }
.social-links a, .contact-bar a { opacity: .88; }
.social-links a:hover, .contact-bar a:hover { opacity: 1; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(17,25,24,.08); backdrop-filter: blur(10px); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { font-size: 23px; letter-spacing: -.7px; }
.brand__text strong { font-weight: 850; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 14px; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--solar); transition: right .25s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.header-socials { display: inline-flex; align-items: center; gap: 10px; }
.header-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; border: 1px solid rgba(17,25,24,.12); background: rgba(255,255,255,.62); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-social:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.10); background: rgba(255,255,255,.92); }
.header-social img { width: 100%; height: 100%; object-fit: cover; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; background: var(--coral); color: #ffffff; border: 1px solid var(--coral); border-radius: 7px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(243,94,54,.25); }
.button--small { min-height: 43px; padding-inline: 18px; }
.button--outline { background: transparent; border-color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.button--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.button--ghost-light:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link--light { color: var(--white); }

.hero { min-height: min(760px, calc(100vh - 112px)); position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--pine); }
.hero__media, .hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { overflow: hidden; background: var(--pine); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: 0; transform: scale(1.025); transition: opacity 1.1s ease, transform 8s linear; }
.hero__video.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { background: linear-gradient(90deg, rgba(7,30,32,.90) 0%, rgba(7,30,32,.65) 44%, rgba(7,30,32,.18) 76%), linear-gradient(0deg, rgba(7,30,32,.72), transparent 58%); }
.hero__content { position: relative; z-index: 2; padding: 95px 0 155px; }
.eyebrow { margin: 0 0 18px; color: #f35e36; font-size: 17px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--light { color: #bdeef2; }
.eyebrow--lime { color: var(--lime); }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(48px, 7.2vw, 92px); line-height: .97; letter-spacing: -.055em; font-weight: 900; }
.hero h1 span { color: var(--gold); }
.hero__lead { max-width: 690px; margin: 26px 0 32px; font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,.86); }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__video-controls { position: absolute; z-index: 4; left: max(20px, calc((100% - 1180px)/2)); bottom: 116px; display: flex; align-items: center; gap: 16px; }
.hero__video-dots { display: flex; align-items: center; gap: 8px; }
.hero__video-dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.40); transition: width .25s ease, background .25s ease; }
.hero__video-dots button.is-active { width: 46px; background: var(--gold); }
.hero__video-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; background: rgba(7,30,32,.35); color: var(--white); backdrop-filter: blur(8px); }
.hero__video-toggle:hover { background: rgba(7,30,32,.70); }
.hero__video-toggle-icon { font-size: 11px; font-weight: 900; }
.hero__video-toggle-label { font-size: 11px; font-weight: 800; }
.hero__trust { position: absolute; z-index: 3; left: max(20px, calc((100% - 1180px)/2)); right: max(20px, calc((100% - 1180px)/2)); bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--pine); }
.hero__trust div { padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.18); }
.hero__trust div:last-child { border: 0; }
.hero__trust strong, .hero__trust span { display: block; }
.hero__trust strong { font-size: 19px; color: var(--gold); }
.hero__trust span { font-size: 12px; margin-top: 3px; color: rgba(255,255,255,.75); }

.section { padding: 110px 0; }
.section--light { background: #f2f5f4; }
.section--dark { background: #0a2528; color: var(--white); }
.section--pattern { background-color: var(--paper); background-image: linear-gradient(rgba(17,25,24,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17,25,24,.025) 1px, transparent 1px); background-size: 32px 32px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .about__content h2, .what-we-do h2, .quote-section h2, .reviews__header h2, .results__copy h2 { margin: 0; font-size: clamp(36px, 4.7vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow), .about__content p, .what-we-do__intro p, .quote-section__panel > p { color: var(--muted); font-size: 17px; }
.section--dark .what-we-do__intro p { color: rgba(255,255,255,.7); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { min-height: 300px; position: relative; padding: 34px; border: 1px solid var(--line); background-color: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease; }
.service-card.reveal:not(.reveal--visible) { transform: translateX(28px); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background-color: var(--cyan); border-color: var(--cyan); }
.service-card--accent { background-color: var(--white); border-color: var(--line); color: inherit; }
.service-card__number { position: absolute; top: 24px; right: 28px; color: var(--muted); font-weight: 800; }
.service-card__icon { width: 48px; height: 48px; display: grid; place-self: center; color: var(--pine); font-size: 25px; margin-bottom: 44px; }
.service-card__icon-image { width: 100%; height: 100%; object-fit: contain; }
.service-card__icon-image--white { display: none; }
.service-card:hover .service-card__icon-image--cyan { display: none; }
.service-card:hover .service-card__icon-image--white { display: block; }
.service-card--accent .service-card__icon { place-self: center; }
.service-card h3 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.03em; }
.service-card p { margin: 0 0 26px; max-width: 520px; color: var(--muted); }
.service-card:hover p { color: #000000; }
.service-card .text-link { margin-top: auto; }

.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 78px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; position: relative; z-index: 2; }
.about__media-accent { position: absolute; width: 55%; height: 80%; right: -18px; bottom: -18px; background: var(--cyan); z-index: 1; border-radius: 6px; }
.about__content p { max-width: 620px; }
.about__content .button { margin-top: 14px; }
.values { margin-top: 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.values__intro h3 { margin: 0; font-size: clamp(31px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.values__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value span { color: var(--coral); font-size: 12px; font-weight: 900; }
.value h4 { margin: 22px 0 6px; font-size: 21px; }
.value p { margin: 0; color: var(--muted); }

.what-we-do__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.sticky-copy { position: sticky; top: 140px; }
.process-list { display: grid; gap: 18px; }
.process-card { display: flex; gap: 22px; align-items: flex-start; padding: 34px 36px; border: 1px solid rgba(255,255,255,.14); background: #11545a; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.process-card.reveal:not(.reveal--visible) { transform: translateX(28px); }
.process-card__badge { width: 38px; height: auto; flex: 0 0 auto; }
.process-card__content { flex: 1; min-width: 0; }
.process-card h3 { margin: 0 0 10px; color: var(--gold); font-size: 28px; letter-spacing: -.025em; }
.process-card p { margin: 0; color: rgba(255,255,255,.70); }

.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; }
.reason { display: grid; grid-template-columns: 65px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.reason__icon { width: 58px; height: 58px; display: grid; place-items: center; padding: 5px; overflow: hidden; border: 2px solid var(--solar); border-radius: 50%; font-size: 13px; font-weight: 900; color: var(--coral); }
.reason__icon img { width: 100%; height: 100%; object-fit: contain; }
.reason h3 { margin: 0 0 8px; font-size: 24px; }
.reason p { margin: 0; color: var(--muted); }

.results { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--coral), var(--gold)); color: var(--white); padding: 105px 0; }
.results::before, .results::after { content: ""; position: absolute; left: -2%; width: 104%; height: 42px; background: var(--paper); transform: rotate(-2deg); }
.results::before { top: -23px; }
.results::after { bottom: -24px; }
.results__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr repeat(4, .75fr); gap: 34px; align-items: end; }
.results__copy h2 { font-size: clamp(30px, 4vw, 52px); }
.result strong { display: block; font-size: clamp(39px, 4.8vw, 67px); line-height: 1; letter-spacing: -.045em; }
.result span { display: block; margin-top: 10px; font-weight: 750; }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--solar); border-left: 2px solid var(--solar); }
.benefit { min-height: 255px; padding: 36px; background: rgba(255,255,255,.78); border-right: 2px solid var(--solar); border-bottom: 2px solid var(--solar); }
.benefit h3 { margin: 0 0 35px; font-size: 29px; letter-spacing: -.03em; }
.benefit h3::after { content: ""; display: block; width: 75px; height: 4px; margin-top: 12px; background: linear-gradient(90deg, var(--coral), var(--solar)); }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.projects .section-heading { max-width: 780px; }
.project-gallery { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 310px); gap: 20px; }
.project { margin: 0; position: relative; overflow: hidden; border-radius: 8px; background: var(--ink); }
.project--large { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,13,11,.84), transparent 62%); }
.project:hover img { transform: scale(1.035); }
.project figcaption { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 2; color: var(--white); }
.project figcaption span { color: var(--lime); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 900; }
.project figcaption h3 { margin: 7px 0 4px; font-size: 28px; letter-spacing: -.03em; line-height: 1.08; }
.project figcaption p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }

.reviews__header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.reviews__header h2 { max-width: 670px; }
.reviews__controls { display: flex; gap: 10px; }
.reviews__controls button { width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 20px; }
.reviews__controls button:hover { background: var(--lime); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px)/3); gap: 24px; overflow: hidden; scroll-behavior: smooth; }
.review-card { min-height: 300px; padding: 26px; background: var(--white); border-top: 4px solid var(--pine); }
.review-card__top { display: flex; gap: 13px; align-items: center; }
.avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--white); font-weight: 900; }
.review-card__top strong, .review-card__top span { display: block; }
.review-card__top span { color: var(--muted); font-size: 12px; }
.stars { color: #f7c900; letter-spacing: 2px; margin: 26px 0 12px; }
.review-card p { margin: 0; color: var(--ink-soft); }

.quote-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--pine); color: var(--white); }
.quote-section__media { min-height: 730px; }
.quote-section__media img { width: 100%; height: 100%; object-fit: cover; }
.quote-section__panel { padding: 90px max(40px, calc((100vw - 1180px)/2)) 90px 70px; display: flex; flex-direction: column; justify-content: center; }
.quote-section__panel > p { color: rgba(255,255,255,.72); }
.lead-form { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.lead-form label { display: grid; gap: 7px; }
.lead-form label span { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #d9e8e2; }
.lead-form input, .lead-form select { width: 100%; height: 50px; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); background: transparent; color: var(--white); padding: 0 4px; outline: none; }
.lead-form select option { color: var(--ink); }
.lead-form input:focus, .lead-form select:focus { border-bottom-color: var(--lime); }
.lead-form__full { grid-column: 1 / -1; }
.file-field input { padding-top: 13px; }
.form-note { font-size: 12px !important; }
.form-status { margin: 0; min-height: 20px; color: var(--lime); }

.site-footer { background: #09110f; color: rgba(255,255,255,.76); padding: 75px 0 25px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 55px; }
.brand--footer { color: var(--white); }
.footer-brand p { max-width: 330px; }
.site-footer h3 { margin: 0 0 18px; color: var(--white); font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; font-size: 13px; }
.site-footer a:hover { color: var(--lime); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 48px; padding: 0 18px; background: #23c45e; color: var(--white); border-radius: 30px; font-size: 13px; font-weight: 900; box-shadow: 0 12px 30px rgba(0,0,0,.22); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal--visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 112px 20px auto; display: none; padding: 24px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 20px; }
  .main-nav.is-open { display: flex; }
  .header-socials { width: 100%; justify-content: center; }
  .menu-toggle { display: block; }
  .contact-bar__inner { grid-template-columns: 1fr 1fr; }
  .contact-bar__center { display: none; }
  .hero__video-controls { left: 28px; bottom: 28px; }
  .hero__trust { grid-template-columns: 1fr; position: relative; left: auto; right: auto; margin: 0 20px; }
  .hero__trust div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero { display: block; min-height: auto; padding-bottom: 30px; background: var(--pine); }
  .hero__media, .hero__overlay { height: 650px; }
  .hero__content { min-height: 650px; display: flex; flex-direction: column; justify-content: center; }
  .about__grid, .values, .what-we-do__grid, .quote-section { grid-template-columns: 1fr; }
  .what-we-do__grid { gap: 50px; }
  .sticky-copy { position: static; }
  .results__inner { grid-template-columns: repeat(2, 1fr); }
  .results__copy { grid-column: 1 / -1; }
  .project-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 360px); }
  .project--large { grid-row: auto; }
  .quote-section__media { min-height: 520px; }
  .quote-section__panel { padding: 70px 40px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .review-track { grid-auto-columns: calc((100% - 24px)/2); }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .contact-bar__inner { min-height: 31px; font-size: 10px; }
  .site-header__inner { min-height: 68px; }
  .main-nav { top: 99px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__text { font-size: 19px; }
  .hero__media, .hero__overlay, .hero__content { min-height: 570px; height: 570px; }
  .hero__content { padding: 65px 0; }
  .hero h1 { font-size: 50px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .section { padding: 78px 0; }
  .service-grid, .values__list, .reasons-grid, .benefits-grid, .lead-form { grid-template-columns: 1fr; }
  .values__list { border-left: 0; }
  .value { border-left: 1px solid var(--line); }
  .service-card { min-height: 280px; padding: 28px; }
  .about__grid { gap: 55px; }
  .about__media-accent { right: -7px; bottom: -10px; }
  .results__inner { grid-template-columns: 1fr; }
  .results__copy { grid-column: auto; }
  .result { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.35); }
  .project-gallery { grid-template-rows: repeat(3, 340px); }
  .review-track { grid-auto-columns: 88%; }
  .reviews__header { align-items: flex-start; flex-direction: column; }
  .quote-section__media { min-height: 340px; }
  .quote-section__panel { padding: 60px 22px; }
  .lead-form__full { grid-column: auto; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .whatsapp-float { bottom: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__video { transition: none; transform: none; }
}

/* Ajustes solicitados para o cabeçalho e a Hero Section. */
.brand__logo {
  display: block;
  width: 190px;
  height: 64px;
  object-fit: contain;
}

.hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1,
.hero__lead {
  margin-inline: auto;
}

.hero__actions {
  justify-content: center;
}

.hero__cta {
  color: var(--white);
  position: relative;
  padding-inline: 28px;
  box-shadow:
    0 0 0 0 rgba(243, 94, 54, .24),
    0 12px 30px rgba(243, 94, 54, .38),
    0 0 30px rgba(246, 185, 50, .18);
  animation: heroCtaPulse 3.4s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.hero__cta:hover {
  color: var(--white);
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 8px rgba(243, 94, 54, .10),
    0 16px 38px rgba(243, 94, 54, .44),
    0 0 38px rgba(246, 185, 50, .24);
}

@keyframes heroCtaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(243, 94, 54, .20),
      0 12px 30px rgba(243, 94, 54, .34),
      0 0 24px rgba(246, 185, 50, .14);
  }
  50% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 10px rgba(243, 94, 54, 0),
      0 16px 38px rgba(243, 94, 54, .46),
      0 0 40px rgba(246, 185, 50, .26);
  }
}

@media (max-width: 760px) {
  .brand__logo {
    width: 156px;
    height: 54px;
  }

  .hero__actions {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cta {
    animation: none;
  }
}


/* ============================================================
   HERO INSTITUCIONAL — HOME JOYENERGY
   Mantém as demais seções do protótipo sem alterações.
============================================================ */
.contact-bar__region,
.contact-bar__hours,
.contact-bar__phone { white-space: nowrap; }

.hero.hero--institutional {
  min-height: auto;
  display: block;
  padding: clamp(58px, 7vw, 92px) 0 clamp(62px, 7vw, 88px);
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 12%, rgba(246,185,50,.12), transparent 27%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero.hero--institutional .eyebrow {
  margin-bottom: 17px;
  color: #f35e36;
}

.hero.hero--institutional h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -.052em;
  font-weight: 900;
}

.hero.hero--institutional h1 span {
  color: var(--coral);
  white-space: nowrap;
}

.hero.hero--institutional .hero__lead {
  max-width: 620px;
  margin: 25px 0 13px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.58;
}

.hero__support {
  max-width: 610px;
  margin: 0;
  padding-left: 15px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero.hero--institutional .hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  margin-top: 29px;
  flex-wrap: wrap;
}

.hero.hero--institutional .hero__cta {
  min-height: 54px;
  gap: 10px;
  padding-inline: 24px;
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 12px 26px rgba(243,94,54,.22);
  animation: institutionalCta 5.2s ease-in-out infinite;
}

.hero.hero--institutional .hero__cta:hover,
.hero.hero--institutional .hero__cta:focus-visible {
  color: var(--white);
  background: #dc4f2d;
  border-color: #dc4f2d;
  box-shadow: 0 15px 32px rgba(243,94,54,.28);
  animation-play-state: paused;
}

.hero__secondary-cta {
  min-height: 54px;
  background: transparent;
  border-color: rgba(16,36,39,.35);
  color: var(--ink);
}

.hero__microcopy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 33px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-benefit {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 9px;
  min-width: 0;
}

.hero-benefit__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--pine-2);
  background: var(--mist);
  border-radius: 50%;
}

.hero-benefit strong,
.hero-benefit small { display: block; }

.hero-benefit strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.hero-benefit small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
  min-height: clamp(480px, 53vw, 610px);
  overflow: visible;
}

.hero.hero--institutional .hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--pine);
  border-radius: 18px 18px 70px 18px;
  box-shadow: 0 28px 65px rgba(13,75,80,.18);
}

.hero.hero--institutional .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(7,30,32,.35));
}

.hero.hero--institutional .hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.1s ease, transform 8s linear;
}

.hero.hero--institutional .hero__video.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__visual-tag {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: -18px;
  padding: 10px 14px;
  color: var(--ink);
  background: #02c6bf;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(16,36,39,.14);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__visual-caption {
  position: absolute;
  z-index: 4;
  left: 26px;
  right: 26px;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  color: var(--white);
  background: rgb(7 30 32 / 17%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero__visual-caption-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #02c6bf;
  border-radius: 50%;
  font-weight: 900;
}

.hero__visual-caption strong,
.hero__visual-caption small { display: block; }

.hero__visual-caption strong { font-size: 20px; }
.hero__visual-caption small { margin-top: 2px; color: rgba(255,255,255,.72); font-size: 16px; }

@keyframes institutionalCta {
  0%, 100% { box-shadow: 0 12px 26px rgba(243,94,54,.22); }
  50% { box-shadow: 0 14px 31px rgba(243,94,54,.30); }
}

@media (max-width: 1080px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
    gap: 40px;
  }

  .hero.hero--institutional h1 { font-size: clamp(43px, 5.6vw, 62px); }
  .hero__benefits { grid-template-columns: 1fr; gap: 15px; }
  .hero-benefit { grid-template-columns: 36px 1fr; }
  .hero-benefit small { font-size: 11px; }
}

@media (max-width: 880px) {
  .hero.hero--institutional { padding-top: 50px; }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero__copy { max-width: 720px; }
  .hero.hero--institutional h1 { max-width: 13ch; }
  .hero__benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__visual { min-height: 520px; }
  .hero__visual-tag { left: 18px; }
}

@media (max-width: 680px) {
  .contact-bar__inner {
    display: flex;
    justify-content: center;
    min-height: 34px;
  }

  .contact-bar__region,
  .contact-bar__hours { display: none; }

  .contact-bar__phone {
    justify-self: auto !important;
    font-size: 11px;
    font-weight: 800;
  }

  .main-nav .button--small { width: 100%; }

  .hero.hero--institutional {
    padding: 44px 0 58px;
  }

  .hero.hero--institutional h1 {
    max-width: none;
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero.hero--institutional h1 span { white-space: normal; }
  .hero.hero--institutional .hero__lead { font-size: 17px; }

  .hero.hero--institutional .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero.hero--institutional .hero__actions .button { width: 100%; }
  .hero__microcopy { text-align: center; }
  .hero__benefits { grid-template-columns: 1fr; }

  .hero-benefit {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-benefit:last-child { border-bottom: 0; }
  .hero__visual { min-height: 390px; }

  .hero.hero--institutional .hero__media {
    border-radius: 13px 13px 42px 13px;
  }

  .hero__visual-caption {
    left: 15px;
    right: 15px;
    bottom: 15px;
  }

  .hero__visual-tag {
    top: 14px;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--institutional .hero__cta { animation: none; }
}

/* ============================================================
   AJUSTES MOBILE — VÍDEO COMO FUNDO DA HERO + WHATSAPP COM ÍCONE
============================================================ */
.whatsapp-float {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.18) inset;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.04);
  background: #20bd5a;
  box-shadow: 0 16px 34px rgba(0,0,0,.26), 0 0 0 1px rgba(255,255,255,.22) inset;
}

.whatsapp-float__icon {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@media (max-width: 680px) {
  .hero.hero--institutional {
    position: relative;
    isolation: isolate;
    padding: 48px 0 58px;
    color: var(--white);
    background: var(--pine);
    border-bottom-color: rgba(255,255,255,.12);
  }

  .hero.hero--institutional .hero__layout {
    display: block;
    position: relative;
    z-index: 2;
  }

  .hero.hero--institutional .hero__copy {
    position: relative;
    z-index: 3;
  }

  /* O bloco visual deixa de ocupar espaço próprio e passa a cobrir toda a Hero. */
  .hero.hero--institutional .hero__visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }

  .hero.hero--institutional .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  /* Overlay mais forte no mobile para manter os textos legíveis sobre os vídeos. */
  .hero.hero--institutional .hero__media::after {
    background:
      linear-gradient(180deg, rgba(5,24,27,.72) 0%, rgba(5,24,27,.68) 40%, rgba(5,24,27,.88) 100%),
      linear-gradient(90deg, rgba(5,24,27,.42), rgba(5,24,27,.18));
  }

  .hero.hero--institutional .hero__video {
    object-position: center center;
  }

  /* Os elementos que pertenciam à composição lateral são ocultados no fundo mobile. */
  .hero.hero--institutional .hero__visual-tag,
  .hero.hero--institutional .hero__visual-caption {
    display: none;
  }

  .hero.hero--institutional .eyebrow {
    color: #7ee6eb;
  }

  .hero.hero--institutional h1,
  .hero.hero--institutional .hero__lead,
  .hero.hero--institutional .hero__support,
  .hero.hero--institutional .hero__microcopy,
  .hero.hero--institutional .hero-benefit strong,
  .hero.hero--institutional .hero-benefit small {
    color: var(--white);
  }

  .hero.hero--institutional .hero__lead {
    color: rgba(255,255,255,.90);
  }

  .hero.hero--institutional .hero__support,
  .hero.hero--institutional .hero__microcopy,
  .hero.hero--institutional .hero-benefit small {
    color: rgba(255,255,255,.76);
  }

  .hero.hero--institutional .hero__support {
    border-left-color: var(--gold);
  }

  .hero.hero--institutional .hero__secondary-cta {
    color: var(--white);
    background: rgba(5,24,27,.22);
    border-color: rgba(255,255,255,.68);
    backdrop-filter: blur(5px);
  }

  .hero.hero--institutional .hero__secondary-cta:hover,
  .hero.hero--institutional .hero__secondary-cta:focus-visible {
    color: var(--ink);
    background: var(--white);
    border-color: var(--white);
  }

  .hero.hero--institutional .hero__benefits {
    border-top-color: rgba(255,255,255,.24);
  }

  .hero.hero--institutional .hero-benefit {
    border-bottom-color: rgba(255,255,255,.19);
  }

  .hero.hero--institutional .hero-benefit__icon {
    color: var(--gold);
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    min-width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}

/* ============================================================
   AJUSTES HERO V3 — EDGE-TO-EDGE MOBILE, CARD DE DESTAQUE E CTA
============================================================ */
.hero__support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 610px;
  margin-top: 18px;
  padding: 16px 18px;
  color: var(--white);
  background: #0b3134;
  border: 1px solid rgba(25, 182, 201, .46);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(7, 30, 32, .15);
}

.hero__support-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #02c6bf;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.hero__support-card-content {
  min-width: 0;
}

.hero__support-card strong,
.hero__support-card small {
  display: block;
}

.hero__support-card strong {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.25;
}

.hero__support-card small {
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.5;
}

/* Pulsação suave, mas perceptível, em desktop e mobile. */
.hero.hero--institutional .hero__cta {
  animation: institutionalCtaPulse 2.7s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow;
}

@keyframes institutionalCtaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(243, 94, 54, .22),
      0 12px 28px rgba(243, 94, 54, .30),
      0 0 20px rgba(246, 185, 50, .12);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 9px rgba(243, 94, 54, 0),
      0 17px 38px rgba(243, 94, 54, .44),
      0 0 34px rgba(246, 185, 50, .25);
  }
}

@media (max-width: 680px) {
  /* A Hero e o vídeo passam a ocupar toda a largura física da viewport. */
  .hero.hero--institutional {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    overflow: hidden;
  }

  .hero.hero--institutional .hero__layout.container {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero.hero--institutional .hero__copy {
    padding: 48px 20px 58px;
  }

  .hero.hero--institutional .hero__visual,
  .hero.hero--institutional .hero__media,
  .hero.hero--institutional .hero__video {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
  }

  .hero__support-card {
    max-width: none;
    margin-top: 18px;
    padding: 14px 15px;
    background: rgba(7, 42, 45, .88);
    border-color: rgba(25, 182, 201, .52);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    backdrop-filter: blur(7px);
  }

  .hero__support-card-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .hero__support-card strong {
    font-size: 14px;
  }

  .hero__support-card small {
    font-size: 11px;
  }

  /* Reativa a animação no mobile, anulando a regra anterior. */
  .hero.hero--institutional .hero__cta {
    animation: institutionalCtaPulse 2.7s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--institutional .hero__cta {
    animation: none;
  }
}

/* ==============================================================
   Arquitetura de conteúdo reorganizada — versão institucional V1
   ============================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  min-height: 126px;
  padding: 25px 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fcfcfc;
  background: var(--coral);
  font-weight: 900;
}
.trust-item strong,
.trust-item small { display: block; }
.trust-item strong { font-size: 17px; line-height: 1.25; }
.trust-item small { margin-top: 5px; color: var(--muted); line-height: 1.45; }

.service-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-grid--two .service-card { min-height: 340px; }
.reasons-grid--six .reason { min-height: 155px; }

.operations__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: stretch;
}
.operations__panel,
.payment-panel {
  padding: 44px;
  border-radius: var(--radius);
}
.operations__panel {
  background: var(--white);
  border: 1px solid var(--line);
}
.operations__panel h3,
.payment-panel h3 {
  margin: 0 0 26px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.operations__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.operations__list li {
  min-height: 138px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.operations__list strong,
.operations__list span { display: block; }
.operations__list strong { font-size: 18px; }
.operations__list span { margin-top: 8px; color: var(--muted); font-size: 14px; }
.payment-panel {
  color: var(--white);
  background: var(--pine);
}
.payment-panel ul {
  margin: 0 0 30px;
  padding-left: 20px;
  display: grid;
  gap: 15px;
  color: rgba(255,255,255,.78);
}

.reviews__header > div:first-child { max-width: 780px; }
.reviews__header > div:first-child > p:last-child { color: var(--muted); }
.review-track { grid-auto-columns: calc((100% - 24px)/2); }

.faq { background: var(--paper); }
.faq__grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 78px;
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: 130px;
}
.faq__intro h2 {
  margin: 0;
  font-size: clamp(36px, 4.7vw, 60px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.faq__intro p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 23px 48px 23px 0;
  list-style: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 19px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pine);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: -4px 50px 24px 0; color: var(--muted); }
.file-field small { color: rgba(255,255,255,.64); font-size: 11px; line-height: 1.45; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.brand__logo--footer {
  width: min(230px, 100%);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter: none;
  background: var(--white);
  border-radius: 8px;
  padding: 8px 10px;
}

@media (max-width: 980px) {
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .operations__grid,
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .review-track { grid-auto-columns: calc((100% - 24px)/2); }
}

@media (max-width: 680px) {
  .contact-bar { display: none; }
  .main-nav { top: 68px; }
  .service-grid--two,
  .operations__list { grid-template-columns: 1fr; }
  .trust-item { min-height: 108px; padding: 20px 16px; grid-template-columns: 42px 1fr; }
  .trust-item__icon { width: 40px; height: 40px; }
  .operations__panel,
  .payment-panel { padding: 28px 22px; }
  .review-track { grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .review-card { scroll-snap-align: start; }
  .faq-item summary { font-size: 17px; }
  .site-footer__bottom { flex-direction: column; }
  .brand__logo--footer { width: 190px; }
}
