/* Fênix Auto Center: protótipo real HTML/CSS, imagens individuais, sem screenshot de página */
:root{--green:#05df04;--red:#fc0b15;--white:#fff;--black:#000}
*{box-sizing:border-box}html{background:#000}body{margin:0;color:white;background:#000;font-family:'Roboto','Arial',sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid white;outline-offset:5px}
.site-header{height:146px;background:#000;border-bottom:2px solid #8a8a8a;display:flex;align-items:flex-start;position:relative;z-index:20;white-space:nowrap}
.site-header.homepage .nav{position:absolute;left:19.45%;top:41px;gap:117px}
.site-header.secondary .nav{position:absolute;left:29.2%;top:47px;gap:46px}.site-header.secondary .nav a{font-size:30px}
.nav{display:flex;align-items:center}.nav a{position:relative;font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-size:38px;font-weight:700;letter-spacing:-.7px;line-height:50px}.nav a.active{color:var(--green)}.nav a.active::after{content:'';position:absolute;height:8px;background:var(--green);left:-4px;right:-4px;bottom:-11px}.nav a:hover{color:var(--green)}
.header-info{position:absolute;right:1.3%;top:15px;font-family:'Roboto Condensed','Arial Narrow',sans-serif}.header-phone,.header-address{display:flex;align-items:flex-start;gap:22px}.header-phone{font-size:36px;font-weight:700;line-height:39px}.header-address{font-size:25px;line-height:26px;margin-top:7px}.header-info svg{width:31px;height:31px;fill:#fff;flex:none}.header-info .header-address svg{width:31px;height:38px}.header-info .pin-hole{fill:#000}.small-logo{position:absolute;top:0;left:4%;width:306px;height:137px;overflow:visible}.small-logo img{display:block;width:306px;height:auto;transform:none}
/* Homepage desktop: designed against the supplied 1754 × 896 reference */
.hero-home{min-height:750px;position:relative;overflow:hidden;background:#000;isolation:isolate}
.hero-home .tachometer{position:absolute;z-index:0;left:0;top:0;width:445px;height:750px;object-fit:cover}
.hero-home .car-photo{position:absolute;z-index:0;right:0;top:0;height:751px;width:609px;object-fit:cover;mask-image:linear-gradient(to right,transparent 0%,#000 16%,#000 100%)}
.hero-logo{position:absolute;z-index:2;left:calc(18.32% - 24px);top:-3px;width:801px;height:321px;object-fit:contain}
.hero-content{position:relative;z-index:3;left:19.1%;padding-top:302px;width:max-content;max-width:71vw}.hero-content h1{font-size:53px;line-height:.985;margin:0 0 23px;font-weight:800;letter-spacing:-.9px}.business-details{margin-top:22px;display:grid;gap:5px}.detail{display:flex;gap:23px;align-items:center}.detail svg{flex:none;width:55px;height:55px;fill:var(--red)}.detail svg .pin-hole{fill:#000}.detail-phone strong{font-size:41px;letter-spacing:-.4px;line-height:1.18}.detail-address{align-items:flex-start}.detail-address span{font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:33px;line-height:34px;padding-top:5px}.detail-address svg{margin-top:0}
.hero-actions{display:flex;align-items:center;gap:22px;margin-top:35px;margin-left:-10px}.btn{display:flex;justify-content:center;align-items:center;gap:27px;border-radius:999px;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-weight:800;white-space:nowrap;transition:filter .15s,transform .15s}.btn:hover{filter:brightness(1.15)}.btn:active{transform:translateY(1px)}.btn svg{width:61px;height:61px;flex-shrink:0}.btn-whatsapp{background:linear-gradient(180deg,#05e500 0%,#00840d 100%);min-height:100px;width:451px;font-size:44px}.btn-maps{background:#000;border:4px solid var(--green);min-height:101px;width:351px;font-size:35px;gap:15px}.btn-maps svg{width:57px;height:57px;fill:white}.btn-maps .pin-hole{fill:black}
/* Secondary pages: actual HTML content, not screenshots */
.about-stage{position:relative;min-height:798px;overflow:hidden;background:#030303}.about-photo{height:100%;width:54.2%;position:absolute;right:0;top:0;object-fit:cover;object-position:center}.about-fade{position:absolute;inset:0;background:linear-gradient(to right,#000 0%,#000 32%,rgba(0,0,0,.94) 41%,rgba(0,0,0,.45) 53%,transparent 71%)}.about-content{position:relative;z-index:1;margin-left:4.45%;padding-top:73px;width:47%}.section-title{border-left:16px solid var(--red);padding-left:24px}.section-title h1{font-size:51px;line-height:.98;font-weight:900;margin:0;letter-spacing:-1px}.about-paragraphs{font-size:29px;line-height:1.18;margin-top:34px;margin-left:10px;max-width:665px}.about-paragraphs p{margin:0 0 15px}.about-benefits{display:flex;margin-top:41px;gap:0;justify-content:space-between;font-size:25px;text-align:center;font-weight:800}.about-benefits>div{width:33.33%;display:flex;flex-direction:column;align-items:center;gap:5px}.about-benefits>div+div{border-left:2px solid #ccc}.benefit-symbol{height:73px;font-size:62px;line-height:63px;color:var(--red)}
.services-main{min-height:880px;position:relative;padding:40px 4.1% 53px;overflow:hidden;background:linear-gradient(140deg,#000,#060809 65%,#000)}.services-heading{margin-left:1.7%;margin-bottom:40px}.services-heading h1{font-size:52px}.services-heading p{font-size:39px;margin:0}.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:19px 26px;max-width:1355px;margin:0 auto 48px 1.5%}.service-card{min-height:205px;background:#000;border:4px solid var(--green);border-radius:27px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:15px;color:var(--red)}.service-card svg{height:90px;width:110px}.service-card h2{font-size:27px;color:white;line-height:1.09;margin:8px 0 0;font-weight:900}.services-cta{border:4px solid var(--green);border-radius:45px;display:flex;align-items:center;gap:24px;padding:17px 28px;max-width:1420px;min-height:142px;margin:auto}.services-cta>svg{color:white;width:85px;height:85px}.services-cta p{font-size:35px;font-weight:700;line-height:1.1;margin:0;flex:1}.services-cta .btn-whatsapp{width:520px;min-height:92px;font-size:37px}.services-cta .btn svg{width:60px;height:60px}
.contact-main{min-height:880px;display:flex;padding:72px 3.8% 0;gap:40px;position:relative}.contact-left{width:51%;}.contact-left .section-title h1{font-size:56px}.contact-left .section-title p{font-size:30px;margin:5px 0}.contact-details{margin:66px 0 0 10px;display:grid;gap:38px}.contact-line{display:flex;align-items:center;gap:34px;font-family:'Roboto Condensed','Arial Narrow',sans-serif;font-size:38px;line-height:1.12}.contact-line strong{font-size:60px}.contact-line svg{height:73px;width:73px;fill:var(--red);flex:none}.contact-line svg .pin-hole{fill:#000}.contact-line.hours{margin-top:22px}.contact-line.hours strong{font-size:40px}.contact-map-col{width:48%;padding-top:24px;display:flex;flex-direction:column;align-items:center;gap:36px}.contact-map{height:453px;width:100%;border:3px solid white;border-radius:25px;overflow:hidden;background:#111820}.contact-map-col .btn-maps{min-height:101px;width:88%;font-size:42px}
/* Practical smaller-screen layouts without distorting photographic assets */
@media(max-width:1550px){.site-header.homepage .nav{left:19%;gap:5.5vw}.site-header.secondary .nav{gap:4vw;left:30%}.nav a{font-size:31px}.header-info{right:1.5%}.header-phone{font-size:27px}.header-address{font-size:19px}.header-info svg{width:24px;height:24px}.header-info .header-address svg{width:24px;height:29px}.hero-logo{width:53vw;height:auto}.hero-content h1{font-size:3vw}.hero-home .car-photo{width:35%}.hero-content{padding-top:290px}.detail-phone strong{font-size:2.8vw}.detail-address span{font-size:2.2vw}.btn-whatsapp{width:30vw;font-size:3vw}.btn-maps{width:24vw;font-size:2.4vw}.services-cta p{font-size:2.4vw}.services-cta .btn-whatsapp{width:35%;font-size:2.5vw}}
@media(max-width:850px){.site-header{height:auto;min-height:130px;display:flex;flex-direction:column;gap:13px;padding:16px 20px 14px}.site-header.homepage .nav,.site-header.secondary .nav{position:static;gap:16px;justify-content:center;flex-wrap:wrap;width:100%;order:2}.nav a{font-size:21px;line-height:30px}.nav a.active::after{bottom:-4px;height:4px}.header-info{position:static;order:3;display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:center;width:100%}.header-phone{font-size:17px;line-height:19px}.header-address{font-size:16px;line-height:18px;margin:0}.header-info svg{width:18px;height:18px}.header-info .header-address svg{width:17px;height:21px}.header-phone,.header-address{gap:7px}.small-logo{position:static;display:block;width:170px;height:auto;align-self:center;order:1}.small-logo img{width:170px}.hero-home{height:auto;min-height:900px}.hero-home .tachometer{width:34vw;max-width:270px;height:auto;top:50px}.hero-home .car-photo{width:68%;height:470px;right:0;top:280px;opacity:.58;mask-image:linear-gradient(to right,transparent 0%,#000 50%)}.hero-logo{top:40px;left:15%;width:75vw;max-width:620px}.hero-content{left:6%;padding-top:285px;max-width:88%;width:auto}.hero-content h1{font-size:clamp(28px,5vw,44px);margin-bottom:25px}.detail-phone strong{font-size:28px}.detail-address span{font-size:22px;line-height:24px}.detail svg{width:40px;height:40px}.hero-actions{display:flex;flex-wrap:wrap;margin-top:33px;margin-left:0;gap:15px}.btn-whatsapp,.btn-maps{width:min(88vw,380px);min-height:76px;font-size:30px}.btn svg{width:47px;height:47px}.about-stage{height:auto;min-height:900px}.about-photo{width:100%;height:60%;opacity:.6;bottom:0;top:auto}.about-fade{background:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.95) 45%,rgba(0,0,0,.5) 100%)}.about-content{width:90%;margin-left:5%;padding-top:55px;padding-bottom:80px}.section-title h1{font-size:clamp(35px,6vw,50px)}.about-paragraphs{font-size:22px}.about-benefits{font-size:15px}.services-main{padding:35px 4%;}.services-heading p{font-size:24px}.services-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-left:0}.service-card{min-height:180px}.service-card h2{font-size:18px}.services-cta{flex-wrap:wrap;justify-content:center}.services-cta>svg{display:none}.services-cta p{font-size:23px;text-align:center;flex-basis:100%}.services-cta .btn-whatsapp{width:100%;font-size:26px}.contact-main{min-height:0;display:block;padding:35px 5% 60px}.contact-left,.contact-map-col{width:100%}.contact-left .section-title h1{font-size:38px}.contact-left .section-title p{font-size:22px}.contact-details{margin:38px 0;gap:27px}.contact-line{font-size:22px;gap:16px}.contact-line svg{height:47px;width:47px}.contact-line strong{font-size:33px}.contact-line.hours strong{font-size:25px}.contact-map{height:380px}.contact-map-col .btn-maps{width:100%;font-size:28px}}
@media(max-width:430px){.nav{gap:13px!important}.nav a{font-size:19px}.hero-home{min-height:840px}.hero-logo{top:30px}.hero-content{padding-top:245px}.hero-content h1{font-size:28px}.hero-actions{margin-top:24px}.hero-home .car-photo{top:350px}.about-benefits{gap:0}.about-benefits>div{font-size:12px}.section-title{padding-left:15px}}

.about-benefits .benefit-svg{color:var(--red);width:75px;height:70px;stroke:currentColor;stroke-width:2.5;fill:none}
.services-tires{position:absolute;z-index:0;right:0;top:399px;width:51%;height:auto;mask-image:linear-gradient(to right,transparent,#000 20%)}.services-main>*:not(.services-tires){position:relative;z-index:1}

/* Mobile: gracefully fade out the decorative tachometer; no copied text or hard crop edges. */
@media(max-width:850px){.hero-home .tachometer{mask-image:linear-gradient(to right,#000 0%,#000 50%,transparent 88%);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 50%,transparent 88%)}}
/* On narrow screens the gauge is decorative only and fades out above the readable headline. */
@media(max-width:850px){.hero-home .tachometer{width:34vw;max-width:270px;height:210px;object-fit:cover;object-position:top;top:50px;mask-image:linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%)}}

/* V3: tachometer and logo reproduced as one continuous ORIGINAL artwork from the reference. The rest of the page remains real HTML and CSS. */
.hero-home .hero-art-integrated{position:absolute;z-index:1;left:0;top:0;width:1120px;height:750px;max-width:none;object-fit:fill;pointer-events:none}
@media(max-width:850px){.hero-home .hero-art-integrated{width:100vw;height:auto;top:0;left:0;opacity:1}}

/* CORREÇÃO DA LOGOMARCA: mesma arte original, sem aparar as letras. */
.small-logo{overflow:visible;display:flex;align-items:center;justify-content:center;max-width:calc(100vw - 24px)}
.small-logo img{width:100%;height:100%;object-fit:contain;transform:none}
.logo-home-mobile,.contagiros-mobile{display:none}
@media(max-width:850px){
  .site-header.secondary .small-logo{position:static;order:1;width:min(75vw,330px);height:auto;aspect-ratio:829/335;max-height:134px;margin:0 auto}
  .site-header.secondary .small-logo img{display:block;width:100%;height:100%;object-fit:contain}
  .hero-home .hero-art-integrated{display:none}
  .hero-home .logo-home-mobile{display:block;position:absolute;z-index:2;top:5px;left:3vw;width:94vw;max-width:620px;height:auto;object-fit:contain;pointer-events:none}
  .hero-home .contagiros-mobile{display:block;position:absolute;z-index:1;top:0;left:0;width:min(55vw,230px);height:auto;pointer-events:none;opacity:.7}
  .hero-home .hero-content{padding-top:clamp(185px,46vw,290px)}
}
@media(max-width:430px){
  .hero-home .logo-home-mobile{top:10px;left:2vw;width:96vw}
  .hero-home .hero-content{padding-top:210px}
}

/* Logomarca FORNECIDA pela cliente. Linha prata removida do próprio arquivo.
   Mesma identidade visual em todas as páginas; sem modificar as cores da marca. */
.logo-home-desktop{position:absolute;z-index:3;top:24px;left:220px;width:924px;height:auto;max-width:none;pointer-events:none}
.site-header.secondary .small-logo{width:306px;height:137px;left:4%;top:0}
.site-header.secondary .small-logo img{object-fit:contain;width:100%;height:100%}
@media(max-width:850px){
  .logo-home-desktop{display:none}
  .hero-home .logo-home-mobile{width:94vw;max-width:620px;height:auto;top:20px;left:3vw;object-fit:contain}
  .site-header.secondary .small-logo{height:auto;aspect-ratio:462/140;width:min(75vw,330px)}
}
@media(max-width:430px){.hero-home .logo-home-mobile{left:2vw;width:96vw;top:22px}}
/* Conta-giros: dimensão natural do recorte aprovado; nunca ampliar para 1120px. */
@media(min-width:851px){.hero-home .hero-art-integrated{width:460px;height:750px;object-fit:fill;}}

/* FUNDO RESTAURADO NA PAGINA SERVICOS: fotografia extraida SOMENTE de
   areas livres de texto/cartoes do modelo visual aprovado. Nenhuma outra pagina mudou. */
.page-servicos .services-main{isolation:isolate;background-color:#000}
.page-servicos .services-main::before{
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;
  background-image:url("../imagens/fundo-servicos-original.png");
  background-repeat:no-repeat;background-position:center top;
  background-size:100% auto;
}
.page-servicos .services-main > *{position:relative;z-index:1}
@media(max-width:850px){
  .page-servicos .services-main::before{background-size:auto 520px;background-position:right top;opacity:.65}
}

/* Sobre: ocultar somente as letras residuais gravadas na borda esquerda inferior da fotografia. */
@media (min-width: 851px) {
  .page-sobre .about-photo {
    max-height: 798px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 96%, 72px 96%, 72px 84%, 0 84%);
  }
}

/* A prévia ilustrada abre a localização no Google Maps. */
.contact-map{position:relative}
.contact-map .map-preview{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;padding:0;background:#111820;cursor:pointer}
.contact-map .map-preview img{display:block;width:100%;height:100%;object-fit:cover}
.contact-map .map-preview:focus-visible{outline:4px solid #05df04;outline-offset:-5px}

/* Detalhes da referência aprovada: relógio vermelho e faixa verde sólida. */
.page-contato .contact-line.hours svg{color:var(--red)}
.page-contato .contact-main::before{content:"";position:absolute;left:34%;bottom:0;width:520px;height:430px;background:var(--green);clip-path:polygon(100% 0,0 100%,17% 100%);pointer-events:none;z-index:0}
.page-contato .contact-left,.page-contato .contact-map-col{position:relative;z-index:1}
@media(max-width:850px){
 .page-contato .contact-main::before{display:none}
 .page-contato .contact-map{height:auto;aspect-ratio:699/426}
 .page-contato .contact-map .map-preview img{object-fit:fill}
}


/* Acessibilidade: o atalho aparece somente quando recebe foco pelo teclado. */
.skip-link{position:fixed;left:16px;top:-120px;z-index:999;background:#000;color:#fff;padding:12px 18px;border:3px solid var(--green);border-radius:6px;font:700 16px Arial,sans-serif}
.skip-link:focus-visible{top:12px;outline:3px solid #fff;outline-offset:3px}
/* Não adicionar movimento desnecessário para quem prefere animações reduzidas. */
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

.not-found{max-width:42rem;margin:12vh auto;padding:0 24px}
.not-found h1{border-left:6px solid var(--red);padding-left:16px}
.not-found a{color:var(--green);text-decoration:underline;display:inline-block;padding:8px 0}

/* Keep the desktop menu clear of the contact block at intermediate widths. */
@media (850px < width <= 1350px) {
  .site-header {
    height: 168px;
  }

  .site-header.homepage .nav {
    top: 114px;
    left: 4%;
    gap: clamp(16px, 4vw, 54px);
  }

  .site-header.secondary .nav {
    top: 114px;
    left: calc(4% + 322px);
    gap: clamp(16px, 3vw, 40px);
  }

  .site-header.secondary .nav a {
    font-size: clamp(20px, 2.35vw, 30px);
  }

  .site-header .nav a {
    line-height: 42px;
  }
}

@media (max-width: 1250px) {
  .services-cta .btn-whatsapp {
    gap: clamp(6px, 1vw, 12px);
  }

  .services-cta .btn svg {
    width: clamp(24px, 4vw, 46px);
    height: auto;
  }
}

@media (850px < width <= 1250px) {
  .services-cta .btn-whatsapp {
    font-size: clamp(16px, 1.85vw, 23px);
  }
}

@media (max-width: 430px) {
  .services-cta .btn-whatsapp {
    font-size: clamp(15px, 5.1vw, 22px);
  }
}

@media (850px < width < 1144px) {
  .logo-home-desktop { width: min(924px, calc(100% - 244px)); }
}


/* Responsive text fit and WCAG AA contrast. */
@media (850px < width <= 1250px) {
  .about-benefits > div { min-width: 0; padding-inline: 4px; }
  .about-benefits strong { max-width: 100%; font-size: clamp(15px, 1.65vw, 21px); }
}
@media (max-width: 360px), (850px < width < 1024px) {
  .service-card h2 { font-size: clamp(14px, 2.35vw, 22px); }
}
@media (850px < width <= 1000px) {
  .contact-map-col .btn-maps { font-size: clamp(26px, 3.4vw, 34px); }
}
.btn-whatsapp {
  background: linear-gradient(180deg, #007314 0%, #005e13 100%);
}
@media (850px < width <= 950px) {
  .hero-actions .btn-maps { font-size: clamp(17px, 2.1vw, 20px); gap: 8px; }
  .hero-actions .btn-maps svg { width: 42px; height: 42px; }
  .contact-line.hours span { paint-order: stroke fill; -webkit-text-stroke: 3px #000; }
}
@media (max-width: 430px) {
  .hero-content .detail-address span {
    paint-order: stroke fill;
    -webkit-text-stroke: 3px #000;
  }
}

@media (max-width: 430px) {
  .hero-content h1 { background-color: rgb(0 0 0 / 60%); }
}

@media (max-width: 360px) { .page-servicos .service-card { padding-inline: 12px; } }


/* Let the existing layout grow when text needs more room. */
.hero-content,
.detail-address span,
.about-content,
.contact-left,
.contact-map-col,
.contact-line span,
.services-cta p,
.btn span {
  min-width: 0;
}

.hero-content,
.about-content,
.services-heading,
.services-cta,
.contact-left,
.not-found {
  overflow-wrap: anywhere;
}

.btn {
  white-space: normal;
}

.btn span {
  overflow-wrap: anywhere;
}

.service-card h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 850px) {
  .header-info > div {
    max-width: 100%;
  }
}

/* Keep headings and contact details in the header flow when they need to wrap. */
@media (width > 850px) {
  .site-header {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: start;
    height: auto;
    min-height: 146px;
    padding-bottom: 10px;
    --header-info-inset: 1.3cqw;
  }

  .site-header.homepage .nav,
  .site-header.secondary .nav {
    position: static;
    grid-area: 1 / 1;
    align-self: start;
    justify-self: start;
    flex-wrap: wrap;
    row-gap: 12px;
    min-width: 0;
  }

  .site-header.homepage .nav {
    margin: 41px 0 0 19.45cqw;
  }

  .site-header.secondary .nav {
    margin: 47px 0 0 29.2cqw;
  }

  .site-header .header-info {
    position: static;
    grid-area: 1 / 2;
    align-self: start;
    justify-self: end;
    max-width: max(310px, 36cqw);
    margin: 15px var(--header-info-inset) 0 0;
  }

  .site-header .nav a {
    line-height: max(50px, 1em);
    overflow-wrap: anywhere;
  }
}

@media (850px < width <= 1550px) {
  .site-header {
    --header-info-inset: 1.5cqw;
  }

  .site-header.homepage .nav { margin-left: 19cqw; }
  .site-header.secondary .nav { margin-left: 30cqw; }
}

@media (850px < width <= 1350px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(114px, auto) auto;
    min-height: 168px;
  }

  .site-header.homepage .nav,
  .site-header.secondary .nav {
    grid-area: 2 / 1;
    margin-top: 0;
  }

  .site-header.homepage .nav { margin-left: 4cqw; }
  .site-header.secondary .nav { margin-left: calc(4cqw + 322px); }
  .site-header .header-info { grid-area: 1 / 1; }
  .site-header .nav a { line-height: max(42px, 1em); }
}

.header-info span {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}

.header-phone span { line-height: max(39px, 1.02em); }
.header-address span { line-height: max(26px, 1.02em); }
.detail-address span { line-height: max(34px, 1.02em); }

@media (max-width: 850px) {
  .nav a { line-height: max(30px, 1em); }
  .header-phone span { line-height: max(19px, 1.02em); }
  .header-address span { line-height: max(18px, 1.02em); }
  .detail-address span { line-height: max(24px, 1.02em); }
}

@media (1550px < width < 1600px) {
  .site-header.homepage .nav { column-gap: 105px; }
}

.hero-decoration { display: contents; }
