/* C&A Building Solutions — Home V9 | Wipe Reveal Premium. Isolado à Home. */
.hero-message{isolation:isolate;overflow:hidden;box-shadow:0 16px 45px rgba(32,37,22,.11);border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.hero-message::before{content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);width:32%;height:3px;background:linear-gradient(90deg,transparent,#c5a267 22%,#e0c48c 50%,#c5a267 78%,transparent);border-radius:4px}
.hero-message h1{position:relative;text-shadow:0 1px 0 rgba(255,255,255,.5)}
.hero-message h1::after{content:"";display:block;width:25%;height:2px;margin:.22em auto .18em;background:linear-gradient(90deg,transparent,#bd9c62,transparent);transform-origin:center}
.hero-message .welcome{letter-spacing:-.045em}
.hero-message .inspiring em{color:#91703b}
.hero-message .driving strong{color:#4a5426}
/* Barra editorial de áreas atendidas. */
.hero .locations{display:flex;align-items:center;gap:0;padding:9px 14px;border:1px solid rgba(255,255,255,.75);border-radius:12px;background:rgba(249,247,239,.94);box-shadow:0 9px 26px rgba(20,29,14,.2);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);white-space:nowrap}
.hero .locations .locations-label{font:700 clamp(9px,.8vw,11px)/1.15 Arial,sans-serif;letter-spacing:.12em;color:#9b7b48;padding:0 14px 0 2px;border-right:1px solid rgba(82,88,48,.25);white-space:normal;max-width:90px}
.hero .locations span:not(.locations-label){display:inline-flex;align-items:center;gap:7px;padding:6px clamp(8px,1vw,16px);background:none;border-radius:0;box-shadow:none;color:#3f4a23;font:700 clamp(11px,1.05vw,15px)/1.2 Arial,sans-serif}
.hero .locations span:not(.locations-label)::before{content:"";display:inline-block;width:6px;height:6px;margin:0;flex:none;background:#b89358;border-radius:50%}
.hero .locations span:not(.locations-label)+span:not(.locations-label){border-left:1px solid rgba(82,88,48,.18)}

/* Wipe Reveal lento: 1,5s por frase, com entrada sequencial. */
@media (prefers-reduced-motion:no-preference){
 @keyframes caWipeReveal{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
 @keyframes caRule{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
 @keyframes caRail{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
 .hero-message .welcome,.hero-message h1,.hero-message .inspiring,.hero-message .driving{animation:caWipeReveal 2.5s cubic-bezier(.25,.1,.25,1) both}
 .hero-message .welcome{animation-delay:.2s}
 .hero-message h1{animation-delay:.8s}
 .hero-message .inspiring{animation-delay:1.4s}
 .hero-message .driving{animation-delay:2s}
 .hero-message h1::after{animation:caRule .85s ease-out 2.3s both}
 .hero .locations{animation:caRail .85s ease-out 2.6s both}
}
@media (min-width:651px) and (max-width:1050px){.hero .locations{padding:7px 8px}.hero .locations .locations-label{display:none}.hero .locations span:not(.locations-label){padding:5px 7px;font-size:clamp(10px,1.2vw,13px)}}
@media(max-width:650px){.hero-message{backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.hero .locations{max-width:100%;flex-wrap:wrap;justify-content:center;gap:0;padding:8px 5px;border-radius:12px}.hero .locations .locations-label{flex:0 0 100%;max-width:none;text-align:center;border:0;padding:0 0 6px;font-size:9px}.hero .locations span:not(.locations-label){padding:6px 7px;font-size:11px;gap:5px}.hero .locations span:not(.locations-label)+span:not(.locations-label){border-left:0}}
@media(max-width:370px){.hero .locations span:not(.locations-label){font-size:10px;padding:5px}}
@media(prefers-reduced-motion:reduce){.hero-message .welcome,.hero-message h1,.hero-message .inspiring,.hero-message .driving,.hero-message h1::after,.hero .locations{animation:none!important;clip-path:none!important;filter:none!important;opacity:1!important}}

/* V8 — posicionamento aprovado; preservado. */
@media (min-width:1051px){
 .hero{background-size:cover;background-position:54% 53%}
 .hero-message{top:10.5%;right:16%;width:34.5%;padding:1.35% 1.4% 1.55%;border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 12px 32px rgba(32,37,22,.10)}
 .hero-message .welcome{font-size:clamp(17px,1.95vw,30px);letter-spacing:-.065em}
 .hero-message h1{font-size:clamp(19px,2.2vw,35px);letter-spacing:-.065em}
 .hero-message .inspiring{font-size:clamp(27px,3vw,47px)}
 .hero-message .driving{font-size:clamp(26px,2.85vw,44px);padding-left:7%}
 .hero-message .welcome,.hero-message h1{white-space:normal}
}
@media (min-width:651px) and (max-width:1050px){
 .hero-message{right:14%;width:43%;top:9%;padding:1.5% 1.4%;background:rgba(255,255,255,.83)}
 .hero-message .welcome,.hero-message h1{white-space:normal}
}

/* HOME V10 — correções consolidadas (não altera Wipe Reveal). */
.hero-message .inspiring,
.hero-message .driving {
  line-height: 1.24;
  padding-bottom: .09em;
  overflow: visible;
}
.hero-message .driving {margin-top:0 !important;}
/* Enquadramento conservador: a imagem continua preenchendo a área.
   O deslocamento lateral pode ser refinado após a captura de homologação. */
@media (min-width:1051px){
  .hero {background-size:cover; background-position:56% 53%;}
}
@media (min-width:651px) and (max-width:1050px){
  .hero {background-size:cover; background-position:54% 53%;}
}
