/* =========================================================
   NETO' CAR AUTO CENTER — stylesheet
   ========================================================= */

:root{
  /* base palette */
  --black:      #121416;
  --graphite:   #1b1e21;
  --panel:      #24282c;
  --panel-2:    #2d3236;
  --steel:      #8a9096;
  --steel-soft: #c7cbce;
  --offwhite:   #f3f2ee;
  --white:      #ffffff;

  /* accent — automotive red */
  --red:        #e23a2e;
  --red-dark:   #b82c22;
  --red-glow:   rgba(226,58,46,.25);

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--black);
  background:var(--offwhite);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:600;
  line-height:1.1;
  margin:0 0 .5em;
  letter-spacing:.01em;
}
p{ margin:0 0 1em; line-height:1.6; color:#3a3d40; }
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--red); color:var(--white); padding:10px 16px; z-index:999;
}
.skip-link:focus{ left:8px; top:8px; }

:focus-visible{ outline:3px solid var(--red); outline-offset:2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.icon{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.icon--star{ fill:currentColor; stroke:none; width:20px; height:20px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:14px 26px;
  font-family:var(--font-head);
  font-weight:500;
  font-size:.95rem;
  letter-spacing:.02em;
  border-radius:2px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .icon{ width:18px; height:18px; }
.btn--accent{
  background:var(--red);
  color:var(--white);
}
.btn--accent:hover{ background:var(--red-dark); transform:translateY(-2px); }
.btn--outline{
  background:transparent;
  border-color:currentColor;
  color:var(--black);
}
.btn--outline:hover{ background:var(--black); color:var(--white); border-color:var(--black); transform:translateY(-2px); }
.btn--sm{ padding:9px 18px; font-size:.85rem; }
.btn--lg{ padding:17px 36px; font-size:1.05rem; }

.eyebrow{
  font-family:var(--font-head);
  color:var(--red);
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.06em;
  margin-bottom:.4em;
}

.link-arrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:500;
  color:var(--red);
  border-bottom:2px solid var(--red);
  padding-bottom:2px;
}

/* =========================================================
   HEADER
   ========================================================= */
.header{
  position:sticky;
  top:0;
  z-index:500;
  background:var(--black);
  border-bottom:3px solid var(--red);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{ display:flex; flex-direction:column; line-height:1; color:var(--white); }
.brand__main{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.4rem;
  letter-spacing:.02em;
}
.brand__sub{
  font-family:var(--font-body);
  font-weight:600;
  font-size:.62rem;
  letter-spacing:.28em;
  color:var(--red);
  margin-top:3px;
}
.nav__list{
  display:flex;
  gap:2rem;
}
.nav__list a{
  color:var(--steel-soft);
  font-family:var(--font-head);
  font-size:.92rem;
  letter-spacing:.02em;
  position:relative;
  padding:6px 0;
  transition:color .2s var(--ease);
}
.nav__list a:hover{ color:var(--white); }
.nav__list a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--red);
  transition:width .25s var(--ease);
}
.nav__list a:hover::after{ width:100%; }

.header__actions{ display:flex; align-items:center; gap:14px; }
.header__whats{ display:inline-flex; }

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:transparent;
  border:none;
  cursor:pointer;
  padding:0;
}
.hamburger span{
  display:block;
  width:24px; height:2px;
  background:var(--white);
  transition:transform .25s var(--ease), opacity .2s var(--ease);
  margin:0 auto;
}
.hamburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:min(88vh, 720px);
  display:flex;
  align-items:flex-end;
  color:var(--white);
  overflow:hidden;
}
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(0deg, rgba(15,16,18,.94) 0%, rgba(15,16,18,.55) 45%, rgba(15,16,18,.35) 100%),
    linear-gradient(100deg, rgba(15,16,18,.55) 0%, rgba(15,16,18,0) 55%);
}
.hero__content{
  position:relative;
  z-index:1;
  padding-bottom:72px;
  padding-top:120px;
  max-width:720px;
}
.hero__location{
  font-family:var(--font-head);
  color:var(--red);
  letter-spacing:.08em;
  font-size:.85rem;
  margin-bottom:14px;
}
.hero__title{
  font-size:clamp(2.1rem, 5.4vw, 3.6rem);
  border-left:5px solid var(--red);
  padding-left:20px;
  margin-bottom:20px;
}
.hero__subtitle{
  font-size:1.1rem;
  color:var(--steel-soft);
  max-width:480px;
  margin-bottom:32px;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero .btn--outline{ color:var(--white); }
.hero .btn--outline:hover{ background:var(--white); color:var(--black); border-color:var(--white); }

/* =========================================================
   SERVICE STRIP
   ========================================================= */
.strip{ background:var(--panel); border-bottom:1px solid var(--panel-2); }
.strip__track{
  display:flex;
  overflow-x:auto;
  scrollbar-width:none;
}
.strip__track::-webkit-scrollbar{ display:none; }
.strip__item{
  flex:1 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding:18px 22px;
  color:var(--steel-soft);
  border-right:1px solid var(--panel-2);
  white-space:nowrap;
  font-family:var(--font-head);
  font-size:.9rem;
  letter-spacing:.03em;
}
.strip__item:last-child{ border-right:none; }
.strip__item .icon{ color:var(--red); width:20px; height:20px; }

/* =========================================================
   SECTION generic
   ========================================================= */
section{ padding:88px 0; }
.section-head{ max-width:560px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ background:var(--white); }
.about__grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:56px;
  align-items:center;
}
.about__media img{
  width:100%; height:420px; object-fit:cover;
  border-radius:var(--radius);
}
.about__text h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.about__text p{ max-width:52ch; }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ background:var(--offwhite); }
.services__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  background:var(--black);
}
.service-card{
  background:var(--white);
  padding:36px 30px;
  transition:background .2s var(--ease);
}
.service-card:hover{ background:#fafaf8; }
.service-card__icon{
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background:var(--black);
  color:var(--red);
  margin-bottom:20px;
}
.service-card h3{ font-size:1.15rem; margin-bottom:.35em; }
.service-card p{ margin:0; font-size:.94rem; }

/* =========================================================
   AUTO PEÇAS
   ========================================================= */
.parts{ background:var(--black); color:var(--white); }
.parts__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.parts .eyebrow{ color:var(--red); }
.parts__text h2{ color:var(--white); font-size:clamp(1.7rem,3vw,2.3rem); }
.parts__text p{ color:var(--steel-soft); max-width:46ch; }
.parts__media img{
  width:100%; height:380px; object-fit:cover; border-radius:var(--radius);
  border:3px solid var(--panel-2);
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.diff{ background:var(--offwhite); }
.diff__grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.diff__grid li{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  padding:26px 20px;
  background:var(--white);
  border-top:3px solid var(--red);
  font-family:var(--font-head);
  font-size:.98rem;
}
.diff__grid .icon{ color:var(--red); }

/* =========================================================
   RATING
   ========================================================= */
.rating{ background:var(--white); border-top:1px solid #e4e2dc; border-bottom:1px solid #e4e2dc; padding:56px 0; }
.rating__inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.rating h2{ font-size:1.5rem; margin:0; }
.rating__box{
  display:flex;
  align-items:center;
  gap:16px;
}
.rating__score{
  font-family:var(--font-head);
  font-size:1.8rem;
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--black);
}
.rating__score .icon--star{ color:var(--red); }
.rating__count{ color:#6a6d70; font-size:.9rem; }

/* =========================================================
   INSTAGRAM
   ========================================================= */
.insta{ background:var(--panel); color:var(--white); }
.insta__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
.insta__media img{ width:100%; height:340px; object-fit:cover; border-radius:var(--radius); }
.insta__text h2{ color:var(--white); font-size:clamp(1.7rem,3vw,2.2rem); }
.insta .eyebrow{ color:var(--red); }
.insta__text p{ color:var(--steel-soft); max-width:44ch; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery{ background:var(--white); }
.gallery__filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:32px;
}
.filter{
  font-family:var(--font-head);
  font-size:.85rem;
  letter-spacing:.02em;
  padding:9px 18px;
  border:1px solid #d6d3cc;
  background:transparent;
  border-radius:2px;
  cursor:pointer;
  color:#5a5d60;
  transition:all .2s var(--ease);
}
.filter:hover{ border-color:var(--black); color:var(--black); }
.filter.active{ background:var(--black); color:var(--white); border-color:var(--black); }

.gallery__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.gallery__item{
  position:relative;
  padding:0;
  border:none;
  border-radius:var(--radius);
  overflow:hidden;
  cursor:pointer;
  aspect-ratio:4/3;
  background:var(--panel);
}
.gallery__item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .35s var(--ease);
}
.gallery__item:hover img{ transform:scale(1.06); }
.gallery__item.hidden{ display:none; }

/* =========================================================
   LOCATION
   ========================================================= */
.location{ background:var(--offwhite); }
.location__grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:stretch;
}
.location__name{ font-family:var(--font-head); font-weight:600; letter-spacing:.03em; margin-bottom:.3em; }
.hours{ margin:24px 0 28px; border-top:1px solid #d6d3cc; }
.hours__row{
  display:flex; justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid #d6d3cc;
  font-size:.95rem;
}
.hours__row span:first-child{ font-family:var(--font-head); color:var(--black); }
.hours__row span:last-child{ color:#5a5d60; }
.location__map{ min-height:320px; border-radius:var(--radius); overflow:hidden; }
.location__map iframe{ width:100%; height:100%; min-height:320px; border:0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ background:var(--black); color:var(--white); text-align:center; }
.contact__inner{ max-width:640px; margin:0 auto; }
.contact h2{ color:var(--white); font-size:clamp(1.8rem,3.6vw,2.5rem); }
.contact .eyebrow{ color:var(--red); }
.contact > .container > p{ color:var(--steel-soft); }
.contact__grid{
  display:flex;
  justify-content:center;
  gap:48px;
  flex-wrap:wrap;
  margin:32px 0 40px;
  text-align:left;
}
.contact__item{ display:flex; flex-direction:column; gap:6px; }
.contact__label{
  font-family:var(--font-head);
  color:var(--red);
  font-size:.78rem;
  letter-spacing:.08em;
}
.contact__item a{ font-size:1.05rem; }
.contact__item a:hover{ color:var(--red); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background:var(--graphite); color:var(--steel-soft); padding-top:64px; }
.footer__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid var(--panel-2);
}
.footer__brand .brand__main{ color:var(--white); }
.footer__brand p{ color:var(--steel); margin-top:10px; }
.footer__col h4{
  font-size:.82rem;
  letter-spacing:.06em;
  color:var(--white);
  margin-bottom:.8em;
}
.footer__col p{ color:var(--steel); font-size:.92rem; }
.footer__col a:hover{ color:var(--red); }
.footer__bottom{ padding:22px 24px; text-align:center; font-size:.82rem; color:var(--steel); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.fab-whats{
  position:fixed;
  right:20px; bottom:20px;
  width:58px; height:58px;
  background:#22c35e;
  color:var(--white);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.3);
  z-index:400;
  transition:transform .2s var(--ease);
}
.fab-whats:hover{ transform:scale(1.08); }
.fab-whats .icon{ width:28px; height:28px; fill:currentColor; stroke:none; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox{
  position:fixed; inset:0;
  background:rgba(10,10,10,.94);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:900;
  padding:24px;
}
.lightbox.open{ display:flex; }
.lightbox__img{
  max-width:90vw;
  max-height:82vh;
  object-fit:contain;
  border-radius:2px;
}
.lightbox__close{
  position:absolute; top:20px; right:24px;
  background:transparent; border:none; color:var(--white);
  font-size:2.2rem; line-height:1; cursor:pointer;
}
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.1); border:none; color:var(--white);
  width:48px; height:48px; border-radius:50%;
  font-size:1.2rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease);
}
.lightbox__nav:hover{ background:rgba(255,255,255,.22); }
.lightbox__nav--prev{ left:20px; }
.lightbox__nav--next{ right:20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .about__grid, .parts__grid, .insta__inner, .location__grid{ grid-template-columns:1fr; }
  .about__media{ order:-1; }
  .about__media img{ height:300px; }
  .diff__grid{ grid-template-columns:repeat(3,1fr); }
  .services__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:860px){
  .nav{
    position:fixed;
    top:76px; left:0; right:0;
    background:var(--black);
    max-height:0;
    overflow:hidden;
    transition:max-height .3s var(--ease);
    border-bottom:3px solid var(--red);
  }
  .nav.open{ max-height:400px; }
  .nav__list{
    flex-direction:column;
    padding:10px 24px 24px;
    gap:0;
  }
  .nav__list a{ display:block; padding:14px 0; border-bottom:1px solid var(--panel-2); }
  .header__whats span{ display:none; }
  .header__whats{ padding:11px; }
  .hamburger{ display:flex; }
  .diff__grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px){
  section{ padding:60px 0; }
  .container{ padding:0 18px; }
  .hero{ min-height:640px; }
  .hero__content{ padding-top:100px; padding-bottom:48px; }
  .hero__title{ font-size:clamp(1.8rem,7vw,2.4rem); border-left-width:4px; padding-left:14px; }
  .services__grid{ grid-template-columns:1fr; }
  .diff__grid{ grid-template-columns:1fr 1fr; }
  .gallery__grid{ grid-template-columns:1fr 1fr; }
  .contact__grid{ gap:28px; }
  .footer__grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .rating__inner{ flex-direction:column; align-items:flex-start; }
  .lightbox__nav{ width:40px; height:40px; }
}

@media (max-width:400px){
  .gallery__grid{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns:1fr; }
  .diff__grid{ grid-template-columns:1fr; }
}
