/* Sapataria Xereta V3.1 | Motion pontual, melhoria mobile, SEO preservado.
   This CSS overrides V2 aesthetics without coupling to sistema/ or sistema2/. */
:root {--blue:#356996;--cream:#efe5cf;--blue-deep:#0c2b49;--header-height:90px}
.site-header {background:#356996;box-shadow:0 10px 30px rgba(12,43,73,.10)}
.site-header__row {min-height:100%}
.brand {min-width:178px;padding:3px 0}
.brand img {width:186px;height:auto;max-height:82px;object-fit:contain;filter:none;image-rendering:auto}
.footer__brand img {width:174px;height:auto;max-height:86px;object-fit:contain}
.hero-v3 {position:relative;background:var(--blue-deep);color:var(--white);min-height:clamp(590px,59vw,760px);isolation:isolate;display:flex;align-items:stretch;overflow:hidden}
.hero-v3__media {position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-v3__media picture,.hero-v3__photo {position:absolute;inset:0;width:100%;height:100%}
.hero-v3__photo {object-fit:cover;object-position:center 48%;filter:saturate(.92);transform:none}
.hero-v3__shade {position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,31,53,.96) 0%,rgba(10,40,65,.86) 31%,rgba(8,35,58,.38) 58%,rgba(9,27,42,.07) 79%),linear-gradient(0deg,rgba(8,27,43,.35) 0%,transparent 39%)}
.hero-v3__content {min-height:inherit;display:flex;align-items:center;position:relative;padding-top:62px;padding-bottom:118px}
.hero-v3__copy {width:min(66%,790px);max-width:790px;position:relative;z-index:4}
.hero-v3 h1 {font:600 clamp(52px,6vw,91px)/.99 var(--font-display);margin:0;color:#fffaf0;letter-spacing:-.035em;text-transform:uppercase;max-width:860px;text-wrap:balance;text-shadow:0 6px 24px rgba(2,21,35,.23)}
.hero-v3 h1 span {color:#f0e5ce}
.hero-v3__copy > p {color:#f1f0e9;font-size:clamp(14px,1.3vw,17px);line-height:1.85;max-width:570px;margin:27px 0 27px;text-wrap:pretty}
.hero-v3__actions {display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.hero-v3__primary {min-height:54px;padding:15px 23px;font-size:13px;box-shadow:0 13px 27px rgba(0,15,25,.18)}
.hero-v3__link {display:inline-flex;align-items:center;gap:12px;color:#fff;font-weight:700;font-size:13px;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:5px;transition:gap .3s,border-color .3s}
.hero-v3__link:hover {gap:18px;border-color:#fff}
.hero-v3__link span {font-size:18px;line-height:1}
.hero-v3__details {position:absolute;right:6.5%;bottom:15%;width:clamp(160px,16vw,260px);aspect-ratio:1.13/1;overflow:hidden;border:7px solid rgba(255,250,240,.96);border-radius:7px;transform:rotate(3deg);box-shadow:0 24px 52px rgba(5,17,26,.35)}
.hero-v3__details img {width:100%;height:100%;object-fit:cover;object-position:75% center}
.hero-v3__stitch {position:absolute;right:2%;bottom:13%;width:34%;height:auto;opacity:.58;transform:rotate(-7deg);filter:drop-shadow(0 0 8px rgba(239,229,207,.12));pointer-events:none}
.hero-v3__meta {position:absolute;bottom:76px;left:max(calc((100vw - 1200px)/2),36px);right:max(calc((100vw - 1200px)/2),36px);display:flex;justify-content:space-between;gap:12px;border-top:1px solid rgba(255,250,240,.25);padding-top:13px;color:#eee9dd;letter-spacing:.15em;font-size:10px;font-weight:800}
.consultation-section {margin-top:-53px;position:relative;z-index:12;padding-bottom:32px}
.consultation-card {box-shadow:0 30px 55px rgba(23,59,95,.19);border-radius:16px;overflow:hidden}
.consultation-card__intro {background:#efe5cf}
.consultation-card__main {background:linear-gradient(135deg,#fffdfb,#fffaf0)}
.consultation-card__intro p {color:#425a69}
.services {padding-top:82px}
.section-top > p {color:#42576b}
.service-card {border-radius:11px;transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s,border-color .5s}
.service-card__media {height:220px}
.service-card__media > img:first-child {transition:transform .8s cubic-bezier(.22,1,.36,1)}
.service-card__icon {width:51px;height:46px}
.store__copy > p {max-width:415px}
.store__image {overflow:hidden}
.store__image img {transition:transform 1.4s cubic-bezier(.22,1,.36,1)}
.store:hover .store__image img {transform:scale(1.035)}
.history__year::before,.history__year::after {opacity:.5}
.history__copy p {line-height:1.85}
.step {transition:transform .26s,box-shadow .26s,border-color .26s}
.step:hover {transform:translateY(-4px);box-shadow:0 18px 30px rgba(23,59,95,.07);border-color:#c2d6df}
.steps__grid .step__count {color:#a8bfcd}
.visit__map {isolation:isolate}
.footer__main {min-height:138px}
@media (max-width:1120px){
 .hero-v3 {min-height:640px}
 .hero-v3__copy {width:67%}
 .hero-v3 h1 {font-size:clamp(48px,6.7vw,74px)}
 .hero-v3__details {right:3%;width:160px;bottom:17%}
 .hero-v3__meta {left:26px;right:26px}
}
@media (max-width:900px){
 :root {--header-height:76px}
 .brand img {width:166px;max-height:72px}
 .hero-v3 {min-height:580px}
 .hero-v3__content {padding-top:55px;padding-bottom:92px}
 .hero-v3__copy {width:78%}
 .hero-v3 h1 {font-size:clamp(44px,7.2vw,65px)}
 .hero-v3__shade {background:linear-gradient(90deg,rgba(8,31,53,.96) 0%,rgba(10,40,65,.76) 42%,rgba(8,35,58,.30) 95%),linear-gradient(0deg,rgba(8,27,43,.4),transparent 45%)}
 .hero-v3__details {width:126px;right:2%;bottom:19%}
 .hero-v3__stitch {width:43%}
 .service-card__media {height:225px}
}
@media (max-width:640px){
 :root {--header-height:72px}
 .site-header {height:72px}
 .brand img {width:149px;height:auto;max-height:68px}
 .hero-v3 {min-height:680px;max-height:none;display:block}
 .hero-v3__media picture,.hero-v3__photo {height:100%;width:100%}
 .hero-v3__photo {object-position:66% center}
 .hero-v3__shade {background:linear-gradient(180deg,rgba(9,35,59,.92) 0%,rgba(8,31,53,.68) 44%,rgba(9,30,48,.36) 76%,rgba(7,29,47,.78) 100%),linear-gradient(90deg,rgba(12,43,73,.29),transparent)}
 .hero-v3__content {min-height:650px;padding:74px 0 115px;align-items:flex-start}
 .hero-v3__copy {width:100%;padding:0 8px}
 .hero-v3 h1 {font-size:clamp(43px,11vw,65px);max-width:480px;line-height:.99}
 .hero-v3__copy > p {font-size:14px;line-height:1.67;margin:23px 0 23px;max-width:480px}
 .hero-v3__actions {gap:16px}
 .hero-v3__primary {min-height:51px}
 .hero-v3__details {display:none}
 .hero-v3__stitch {right:-13%;bottom:12%;width:80%;opacity:.35}
 .hero-v3__meta {bottom:89px;left:26px;right:26px;font-size:8px}
 .hero-v3__meta span:last-child {display:none}
 .consultation-section {margin-top:-64px;padding:0 0 20px;background:var(--cream-soft)}
 .consultation-card {border-radius:14px}
 .services {padding-top:60px}
 .service-card__media {height:145px}
 .store__grid {width:100%}
 .footer__brand img {width:169px;max-height:84px}
}
@media (max-width:400px){
 .hero-v3 {min-height:710px}
 .hero-v3__content {min-height:700px;padding-top:57px}
 .hero-v3 h1 {font-size:clamp(39px,10.5vw,47px)}
 .hero-v3__copy > p {font-size:13px}
 .hero-v3__actions {display:flex;gap:14px}
 .hero-v3__link {font-size:12px}
 .hero-v3__meta {bottom:74px}
}
@media (prefers-reduced-motion: reduce){
 .hero-v3__photo,.hero-v3__details,.hero-v3__stitch{animation:none!important;transform:none!important}
 .service-card,.step,.store__image img{transition:none!important}
}

/* V3.1 | Melhorias de experiência sem mudar a integração da consulta */
.hero-v3__stitch path { stroke-dasharray:1; stroke-dashoffset:0; }
.js-ready .hero-v3__stitch-path { animation: xeretaStitchOnce 1.65s cubic-bezier(.22,1,.36,1) .4s 1 both; }
@keyframes xeretaStitchOnce { from { stroke-dashoffset:1; opacity:.05 } to { stroke-dashoffset:0; opacity:1 } }
.hero-v3__photo { animation:none!important; will-change:auto; }
.hero-v3__details { animation:none!important; }
/* Visuais sem movimento constante, com hierarquia legível */
.store__image-label { position:absolute;left:22px;bottom:20px;z-index:2;background:rgba(12,43,73,.90);border:1px solid rgba(255,250,240,.38);padding:11px 14px;border-radius:5px;color:#fffaf0;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.2; }
/* Zona visível do atalho restrita à seção de serviços; nunca sobre mapa ou formulário. */
.mobile-consulta:focus-visible { outline:3px solid #c5def1;outline-offset:3px; }
@media (max-width:900px) {
  .service-card p {font-size:13px;line-height:1.65;}
  .service-card__number {font-size:10px;}
  .step p {font-size:13px;line-height:1.65;}
  .history__copy p {font-size:13.5px;line-height:1.75;}
}
@media (max-width:640px) {
  .hero-v3 {min-height:595px;}
  .hero-v3__content {min-height:565px;padding-top:52px;padding-bottom:103px;}
  .hero-v3__copy {padding-inline:0;}
  .hero-v3 h1 {font-size:clamp(40px,10.25vw,56px);line-height:.98;max-width:550px;}
  .hero-v3__copy > p {font-size:14px;line-height:1.58;margin:19px 0 19px;max-width:470px;}
  .hero-v3__actions {gap:12px;}
  .hero-v3__primary {min-height:48px;padding:13px 16px;}
  .hero-v3__meta {display:none;}
  .hero-v3__stitch {right:-9%;bottom:8%;width:73%;opacity:.28;}
  .consultation-section {margin-top:-40px;padding-bottom:14px;}
  .consultation-card__intro {padding:19px 20px 11px;}
  .consultation-card__intro .section-heading {font-size:31px;line-height:1.02;}
  .consultation-card__intro > p {font-size:13px;line-height:1.6;max-width:500px;margin:9px 0 0;}
  .consultation-card__main {padding:17px 19px 18px;}
  .consulta-form__fieldset {margin-bottom:13px;}
  .consulta-tab {font-size:12px;}
  .consulta-form__label {font-size:12px;}
  .consulta-form__help {font-size:11.5px;}
  .status-key {margin-top:15px;padding-top:13px;font-size:11.5px;gap:11px 15px;}
  .services {padding-top:47px;}
  .service-card__media {height:155px;}
  .service-card__body {padding:17px 14px 19px;min-height:0;}
  .service-card h3 {font-size:22px;min-height:0;}
  .service-card p {font-size:13px;line-height:1.58;}
  .service-card__number {font-size:10px;}
  .store__image {min-height:220px;}
  .store__copy {padding-top:29px;padding-bottom:30px;}
  .store__copy p {font-size:13.5px;line-height:1.65;}
  .store__image-label {left:17px;bottom:14px;font-size:10px;}
  .history__year {min-height:109px;}
  .history__year strong {font-size:75px;line-height:1.04;}
  .history__year::before,.history__year::after {width:60px;height:60px;top:8px;}
  .history__year::before {left:calc(50% - 140px);}
  .history__year::after {right:calc(50% - 140px);}
  .history__copy {padding-top:11px;}
  .history__copy p {font-size:13.5px;line-height:1.7;margin-top:12px;}
  .steps__grid {position:relative;gap:0;}
  .steps__grid::before {content:'';position:absolute;top:23px;bottom:23px;left:38px;width:2px;background:#c9dbe6;}
  .step {position:relative;min-height:0;padding:16px 15px;gap:17px;margin-bottom:12px;align-items:flex-start;}
  .step__count {display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:#e7f0f5;border-radius:8px;font-size:25px;line-height:1;color:var(--blue-dark)!important;}
  .step h3 {font-size:19px;}
  .step p {font-size:13px;line-height:1.6;}
  .visit__details {padding:24px 20px;}
  .visit__map {min-height:350px;}
  .visit__map-strip {font-size:10px;min-height:42px;}
  .info-row p {font-size:13px;}
  .mobile-consulta {padding:12px 15px;min-width:205px;}
}
@media (max-width:420px) {
  .hero-v3 {min-height:586px;}
  .hero-v3__content {min-height:560px;padding-top:43px;padding-bottom:92px;}
  .hero-v3 h1 {font-size:clamp(38px,10.5vw,45px);letter-spacing:-.025em;}
  .hero-v3__copy > p {font-size:13.4px;}
  .hero-v3__primary {font-size:12px;}
  .hero-v3__link {font-size:12px;}
  .service-grid {grid-template-columns:1fr;gap:11px;}
  .service-card {display:grid;grid-template-columns:minmax(112px,40%) 1fr;min-height:139px;}
  .service-card__media {height:100%;min-height:145px;}
  .service-card__icon {width:37px;height:37px;right:6px;bottom:7px;}
  .service-card__body {padding:15px 12px 13px;}
  .service-card h3 {font-size:20px;line-height:1.12;margin:6px 0 7px;}
  .service-card p {font-size:12.5px;line-height:1.47;}
  .service-card__number {font-size:9px;}
}
@media (max-width:360px) {
  .hero-v3 {min-height:620px;}
  .hero-v3__content {min-height:605px;}
  .hero-v3 h1 {font-size:37px;}
  .hero-v3__actions {gap:10px;}
  .service-card {grid-template-columns:115px 1fr;}
  .service-card__body {padding:13px 10px;}
  .service-card h3 {font-size:18px;}
  .service-card p {font-size:12px;}
}
@media (prefers-reduced-motion:reduce) {
  .js-ready .hero-v3__stitch-path {animation:none!important;stroke-dashoffset:0;}
}

/* V3.1: CTA móvel fica no fluxo normal da página, nunca sobreposto. */
.services__mobile-cta {display:none;}
@media(max-width:640px) {
  .services__mobile-cta {display:inline-flex;margin-top:18px;min-height:46px;}
}
@media(max-width:360px) {
  .hero-v3__actions {flex-direction:column;align-items:flex-start;}
  .hero-v3__primary {max-width:100%;}
  .hero-v3__link {margin-top:2px;}
}
