:root{--green:#00e95b;--green-dark:#00bd49;--ink:#101417;--dark:#172027;--muted:#667078;--line:#e5e9ec;--bg:#f7f9fa;--white:#fff;--radius:14px;--shadow:0 10px 30px rgba(15,25,30,.08)}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg)
}

a{
  text-decoration:none;
  color:inherit
}

.topbar{
  height:36px;
  background:#11191e;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 5.5%;
  font-size:12px
}

.topbar-links{
  display:flex;
  gap:28px;
  color:#dbe1e4
}


/* ================================
   CABEÇALHO FUTURO MOTOS
================================ */

/* ================================
   CABEÇALHO FUTURO MOTOS
================================ */
.header{
  min-height:220px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  grid-template-rows:180px 70px;
  gap:0 25px;
  align-items:center;
  padding:0 5.5%;
  border-bottom:1px solid var(--line)
}

.brand{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  width:111.235955%;
  height:230px;
  margin-left:-5.6179775%;
  overflow:hidden
}

.brand img{
  width:100% !important;
  max-width:none !important;
 height:180px !important;
  object-fit:contain !important;
  object-position:center;
  display:block;
}

.brand-main{
  font-weight:900;
  font-style:italic;
  font-size:30px;
  letter-spacing:-1.5px
}

.brand-main b{
  color:var(--green-dark)
}

.brand-sub{
  font-size:10px;
  font-weight:800;
  letter-spacing:2px;
  margin-top:6px;
  text-align:center;
  max-width:330px
}

.search-box{
  grid-column:1;
  display:flex;
  border:1px solid #cfd6da;
  border-radius:12px;
  overflow:hidden;
  height:48px
}

.search-box input{
  flex:1;
  border:0;
  outline:0;
  padding:0 16px;
  font-size:14px
}

.search-box button{
  width:60px;
  border:0;
  background:var(--green);
  font-size:24px
}

.header-actions{
  grid-column:2;
  display:flex;
  justify-content:flex-end;
  gap:24px;
  align-items:center;
  font-weight:700;
  font-size:13px
}

.header-actions a{
  position:relative
}

.cart small{
  position:absolute;
  top:-12px;
  right:-12px;
  background:var(--green);
  border-radius:50%;
  padding:3px 6px;
  font-size:10px
}



/* ================================
   NAVEGAÇÃO
================================ */

.nav {
  height: 56px;
  background: #172027;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 5.5%;
  gap: 6px;
}

.nav a {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav a.active {
  background: var(--green);
  color: #08120c;
}

.nav .whatsapp {
  margin-left: auto;
  background: var(--green);
  color: #06110a;
  border-radius: 8px;
  padding: 12px 22px;
}
/* CENTRALIZAR O LINK CONTATO */
.nav a:nth-last-child(2) {
  grid-column: 1 / -1;
  width: 50%;
  justify-self: center;
}
/* ================================
   HERO
================================ */

.hero{
  min-height:440px;
  background:linear-gradient(90deg,#fff 0%,#f2f5f5 53%,#dfe7e5 100%);
  display:grid;
  grid-template-columns:47% 53%;
  padding:55px 5.5% 0;
  overflow:hidden
}

.hero-copy{
  padding:20px 0 55px;
  z-index:2
}

.eyebrow{
  color:#00a83f;
  font-size:13px;
  font-weight:900;
  letter-spacing:2px
}

.hero h1{
  font-size:56px;
  line-height:.98;
  margin:18px 0 15px;
  max-width:650px;
  letter-spacing:-2px
}

.hero h1 strong{
  color:var(--green-dark)
}

.hero p{
  font-size:20px;
  line-height:1.45;
  max-width:600px;
  color:#3c474d
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:28px
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 26px;
  border-radius:9px;
  font-weight:900;
  text-transform:uppercase;
  font-size:13px
}

.btn.primary{
  background:var(--green)
}

.btn.secondary{
  border:1px solid #aab3b8;
  background:#fff
}

.hero-visual{
  display:flex;
  align-items:end;
  justify-content:center
}

.image-placeholder{
  width:100%;
  height:350px;
  border-radius:30px 30px 0 0;
  background:radial-gradient(circle at 50% 55%,#5d676b,#202a2e 46%,#11181c 75%);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:inset 0 0 70px rgba(0,0,0,.35)
}

.image-placeholder small{
  display:block;
  font-size:11px;
  font-weight:500;
  opacity:.7;
  margin-top:8px
}

.hero-visual img{
  width:auto;
  max-width:100%;
  max-height:500px;
  height:auto;
  object-fit:contain
}


/* ================================
   BENEFÍCIOS
================================ */

.benefits{
  background:#fff;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding:20px 5.5%;
  gap:18px
}

.benefits article{
  display:flex;
  gap:12px;
  align-items:center;
  border-right:1px solid var(--line);
  padding-right:15px
}

.benefits article:last-child{
  border:0
}

.benefits b{
  font-size:24px
}

.benefits strong,
.benefits span{
  display:block;
  font-size:12px
}

.benefits span{
  color:var(--muted);
  margin-top:4px
}


/* ================================
   CATEGORIAS
================================ */

.categories{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  padding:24px 5.5% 8px
}

.category{
  min-height:92px;
  background:linear-gradient(110deg,#182126,#2c383e);
  border-radius:12px;
  color:#fff;
  padding:22px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center
}

.category span{
  font-size:18px;
  font-weight:900
}

.category small{
  margin-top:6px;
  color:#d6dddf
}


/* ================================
   PRODUTOS
================================ */

.products-section{
  padding:18px 5.5% 55px
}

.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:20px
}

.section-heading h2{
  font-size:32px;
  margin:0;
  text-transform:uppercase;
  letter-spacing:-1px
}

.section-heading h2 strong{
  color:var(--green-dark)
}

.section-heading a{
  color:#00a83f;
  font-weight:900;
  font-size:13px
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px;
  box-shadow:var(--shadow)
}

.product-image{
  height:190px;
  border-radius:10px;
  background:linear-gradient(145deg,#eef1f2,#fff);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa4a9;
  font-size:12px;
  font-weight:900;
  text-align:center
}

.badge{
  display:inline-block;
  background:var(--green);
  color:#05110a;
  padding:5px 9px;
  border-radius:6px;
  font-size:10px;
  font-weight:900;
  margin-bottom:7px
}

.product-card h3{
  margin:10px 0 4px;
  font-size:18px
}

.product-card p{
  margin:0 0 12px;
  color:#5e686e;
  font-size:13px
}

.specs{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  border-top:1px solid var(--line);
  padding-top:12px
}

.specs span{
  font-size:10px;
  color:var(--muted)
}

.specs strong{
  display:block;
  font-size:12px;
  margin-top:3px
}

.price{
  font-size:20px;
  font-weight:900;
  margin:14px 0
}

.price small{
  display:block;
  font-size:11px;
  color:var(--muted);
  font-weight:500
}

.product-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}

.product-actions button{
  height:40px;
  border-radius:7px;
  border:1px solid #1b252a;
  background:#fff;
  font-weight:900;
  cursor:pointer
}

.product-actions .buy{
  background:var(--green);
  border-color:var(--green)
}


/* ================================
   INFORMAÇÕES
================================ */

.info-section{
  margin:0 5.5% 50px;
  background:#172027;
  color:#fff;
  border-radius:18px;
  padding:42px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px
}

.info-section h2,
.store-section h2{
  font-size:36px;
  line-height:1.05;
  margin:12px 0
}

.info-section p{
  color:#c8d0d4;
  line-height:1.7
}

.store-section{
  margin:0 5.5% 60px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
  align-items:stretch
}

.store-section p{
  color:var(--muted);
  line-height:1.6
}

.store-placeholder{
  min-height:250px;
  border-radius:16px;
  background:#dfe5e7;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#69757b;
  font-weight:900
}

.store-section>div:first-child{
  background:#fff;
  border-radius:16px;
  padding:38px
}


/* ================================
   RODAPÉ
================================ */

footer{
  background:#10181d;
  color:#fff;
  padding:48px 5.5%;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px
}

footer div{
  display:flex;
  flex-direction:column;
  gap:10px;
  color:#bfc9ce;
  font-size:13px
}

footer strong{
  color:#fff;
  margin-bottom:5px
}

.footer-brand .brand-main{
  color:#fff
}

.footer-brand span:last-child{
  margin-top:8px
}


/* ================================
   ETAPA 2 — CATÁLOGO E PAINEL
================================ */

.catalog-page,
.admin-page{
  padding:48px 5.5% 70px
}

.catalog-head,
.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:30px
}

.catalog-head h1,
.admin-head h1{
  font-size:48px;
  margin:10px 0
}

.catalog-head h1 strong,
.admin-head h1 strong{
  color:var(--green-dark)
}

.catalog-head p,
.admin-head p{
  color:var(--muted);
  max-width:720px;
  line-height:1.6
}

.catalog-tools{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-bottom:22px
}

.filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}

.filter{
  border:1px solid #cbd3d7;
  background:#fff;
  border-radius:999px;
  padding:9px 15px;
  font-weight:800;
  cursor:pointer
}

.filter.selected{
  background:var(--green);
  border-color:var(--green)
}

#sortSelect{
  border:1px solid #cbd3d7;
  border-radius:8px;
  padding:10px 12px;
  background:#fff
}

.catalog-image{
  height:220px;
  border-radius:10px;
  background:linear-gradient(145deg,#eef1f2,#fff);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden
}

.catalog-image img,
.detail-image img{
  width:100%;
  height:100%;
  object-fit:contain
}

.product-image-placeholder{
  color:#8b969b;
  font-weight:900;
  text-align:center;
  font-size:12px
}

.product-image-placeholder small{
  font-weight:500
}

.product-link{
  height:40px;
  border:1px solid #1b252a;
  border-radius:7px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:12px
}

.muted-badge{
  background:#e9edef;
  color:#4b565c
}

.empty-state{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:60px;
  text-align:center;
  color:var(--muted)
}

.simple-header{
  min-height:90px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5.5%
}

.product-detail{
  max-width:1180px;
  margin:50px auto 80px;
  padding:0 25px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:50px;
  align-items:start
}

.detail-image{
  height:520px;
  border-radius:20px;
  background:linear-gradient(145deg,#eef1f2,#fff);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center
}

.product-detail-placeholder{
  color:#8b969b;
  font-weight:900;
  text-align:center
}

.detail-copy h1{
  font-size:48px;
  margin:10px 0
}

.detail-desc{
  font-size:18px;
  color:var(--muted);
  line-height:1.6
}

.detail-price{
  font-size:34px;
  font-weight:900;
  margin:25px 0
}

.detail-price small{
  display:block;
  font-size:13px;
  color:var(--muted);
  font-weight:500;
  margin-top:5px
}

.detail-specs{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin:25px 0
}

.detail-specs div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:15px
}

.detail-specs b,
.detail-specs span{
  display:block
}

.detail-specs b{
  font-size:12px;
  color:var(--muted)
}

.detail-specs span{
  font-weight:900;
  margin-top:6px
}

.admin-body{
  background:#f4f7f8
}

.admin-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:25px
}

.admin-form,
.admin-list,
.form-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px
}

.admin-form{
  padding:25px
}

.form-section{
  padding:20px;
  margin-bottom:15px
}

.form-section h2,
.admin-list h2{
  font-size:18px;
  margin:0 0 18px
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px
}

.form-grid label{
  font-size:12px;
  font-weight:900;
  color:#435057
}

.form-grid input,
.form-grid select,
.form-grid textarea{
  display:block;
  width:100%;
  margin-top:6px;
  border:1px solid #ccd4d8;
  border-radius:8px;
  padding:12px;
  font:inherit;
  font-size:14px;
  resize:vertical
}

.form-grid .wide{
  grid-column:1/-1
}

.publish{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:800;
  margin:18px 0
}

.form-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px
}

.admin-list{
  padding:20px
}

.list-head{
  display:flex;
  justify-content:space-between;
  align-items:center
}

.list-head span{
  font-size:12px;
  color:var(--muted)
}

.admin-product{
  border-top:1px solid var(--line);
  padding:15px 0;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center
}

.admin-product>div:first-child{
  display:flex;
  flex-direction:column;
  gap:5px
}

.admin-product span{
  font-size:11px;
  color:var(--muted)
}

.admin-product-actions{
  display:flex;
  gap:7px
}

.admin-product-actions button{
  border:1px solid #ccd4d8;
  background:#fff;
  border-radius:7px;
  padding:8px 10px;
  font-weight:800;
  cursor:pointer
}

.admin-product-actions .danger{
  color:#a52323
}

.admin-page .btn{
  cursor:pointer
}


/* ================================
   RESPONSIVIDADE
================================ */

@media(max-width:1000px){

  .header{
    min-height:auto;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    gap:12px;
    padding:0 5.5% 18px
  }

  .brand{
    grid-column:1;
    width:100%;
    height:auto;
    overflow:hidden
  }

  .brand img{
    width:100% !important;
    max-width:none;
    height:auto !important;
    max-height:none;
    object-fit:contain !important
  }

  .search-box{
    grid-column:1
  }

  .header-actions{
    grid-column:1;
    justify-content:flex-start
  }

  .topbar-links{
    display:none
  }

  .nav{
    overflow:auto
  }

  .nav a{
    white-space:nowrap
  }

  .hero{
    grid-template-columns:1fr;
    padding-top:35px
  }

  .hero-visual{
    margin-top:10px
  }

  .benefits{
    grid-template-columns:repeat(2,1fr)
  }

  .product-grid{
    grid-template-columns:repeat(2,1fr)
  }

  .categories{
    grid-template-columns:repeat(2,1fr)
  }

  .info-section,
  .store-section,
  footer{
    grid-template-columns:1fr
  }

  .catalog-head,
  .admin-head{
    align-items:start;
    flex-direction:column
  }

  .catalog-tools{
    align-items:stretch;
    flex-direction:column
  }

  .admin-layout,
  .product-detail{
    grid-template-columns:1fr
  }

  .detail-image{
    height:360px
  }

  .form-grid{
    grid-template-columns:1fr
  }

  .form-grid .wide{
    grid-column:auto
  }

  .admin-product{
    align-items:start;
    flex-direction:column
  }

  .admin-product-actions{
    width:100%
  }

  .admin-product-actions button{
    flex:1
  }

  .catalog-head h1,
  .admin-head h1{
    font-size:38px
  }
}


/* ================================
   ETAPA 3 — CARRINHO
================================ */

.cart-page{
  padding:48px 5.5% 70px
}

.cart-layout{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr);
  gap:25px;
  align-items:start
}

.cart-items{
  min-width:0
}

.cart-items-list{
  display:flex;
  flex-direction:column;
  gap:14px
}

.cart-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  display:grid;
  grid-template-columns:120px minmax(180px,1fr) auto auto;
  gap:20px;
  align-items:center;
  box-shadow:var(--shadow)
}

.cart-item-image{
  width:120px;
  height:100px;
  border-radius:10px;
  background:linear-gradient(145deg,#eef1f2,#fff);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center
}

.cart-item-image img{
  width:100%;
  height:100%;
  object-fit:contain
}

.cart-image-placeholder{
  color:#8b969b;
  font-size:11px;
  font-weight:900;
  text-align:center
}

.cart-item-info h2{
  margin:0 0 7px;
  font-size:20px
}

.cart-item-info span{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-bottom:12px
}

.cart-item-price{
  font-size:17px
}

.cart-item-controls{
  display:flex;
  align-items:center;
  gap:10px
}

.quantity-button{
  width:36px;
  height:36px;
  border:1px solid #ccd4d8;
  background:#fff;
  border-radius:8px;
  font-size:20px;
  font-weight:900;
  cursor:pointer
}

.quantity-button:hover{
  border-color:var(--green-dark)
}

.quantity{
  min-width:25px;
  text-align:center;
  font-weight:900
}

.cart-item-subtotal{
  min-width:125px;
  text-align:right
}

.cart-item-subtotal strong{
  display:block;
  font-size:17px;
  margin-bottom:8px
}

.remove-cart-item{
  border:0;
  background:transparent;
  color:#a52323;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  padding:0
}

.remove-cart-item:hover{
  text-decoration:underline
}

.cart-summary{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
  position:sticky;
  top:20px
}

.cart-summary h2{
  margin:0 0 22px;
  font-size:22px
}

.cart-summary-line{
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:14px
}

.cart-summary-line span{
  color:var(--muted)
}

.cart-summary-line strong{
  text-align:right
}

.cart-summary-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:20px 0;
  font-size:18px
}

.cart-summary-total strong{
  font-size:24px
}

.cart-checkout{
  width:100%;
  border:0;
  cursor:pointer
}

.continue-shopping{
  display:block;
  text-align:center;
  margin-top:18px;
  color:#00a83f;
  font-size:13px;
  font-weight:900
}

.cart-page .empty-state{
  min-height:270px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center
}

.cart-page .empty-state h2{
  color:#566269;
  margin:0 0 8px
}

.cart-page .empty-state p{
  margin:0 0 20px
}

.cart-page .empty-state[hidden]{
  display:none
}


/* Responsividade do carrinho */

@media(max-width:900px){

  .cart-layout{
    grid-template-columns:1fr
  }

  .cart-summary{
    position:static
  }

  .cart-item{
    grid-template-columns:100px 1fr
  }

  .cart-item-image{
    width:100px;
    height:90px
  }

  .cart-item-controls{
    grid-column:2
  }

  .cart-item-subtotal{
    grid-column:2;
    text-align:left
  }

}


@media(max-width:620px){

  .topbar{
    padding:0 4%;
    font-size:10px
  }

  .header{
    padding:0 4% 16px
  }

  .brand-main{
    font-size:25px
  }

  .brand img{
    width:100% !important;
    height:auto !important;
    max-height:70px;
    object-fit:contain !important
  }

  .nav{
    padding:0 4%
  }

  .hero{
    padding:30px 4% 0
  }

  .hero h1{
    font-size:42px
  }

  .hero p{
    font-size:17px
  }

  .hero-actions{
    flex-direction:column
  }

  .benefits,
  .categories,
  .products-section{
    padding-left:4%;
    padding-right:4%
  }

  .benefits,
  .categories,
  .product-grid{
    grid-template-columns:1fr
  }

  .section-heading{
    align-items:start;
    gap:15px;
    flex-direction:column
  }

  .info-section,
  .store-section{
    margin-left:4%;
    margin-right:4%
  }

  footer{
    padding-left:4%;
    padding-right:4%
  }

  .cart-page{
    padding-left:4%;
    padding-right:4%
  }

  .cart-item{
    grid-template-columns:80px 1fr;
    gap:12px;
    padding:14px
  }

  .cart-item-image{
    width:80px;
    height:80px
  }

  .cart-item-info h2{
    font-size:17px
  }

  .cart-item-price{
    font-size:15px
  }

  .cart-item-controls{
    grid-column:1/-1
  }

  .cart-item-subtotal{
    grid-column:1/-1
  }

  .cart-summary{
    padding:20px
  }

}
/* AJUSTE DO CABEÇALHO DO PAINEL ADMINISTRATIVO */
.simple-header .brand {
  width: auto;
  height: auto;
  margin-left: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  line-height: 1;
}

.simple-header .brand-main {
  font-size: 30px;
  margin: 0;
}

.simple-header .brand-sub {
  font-size: 10px;
  margin: 0;
  letter-spacing: 2px;
  white-space: nowrap;
}
/* =========================================================
   CABEÇALHO COMPACTO — PÁGINA DO CARRINHO
   ========================================================= */

body:has(.cart-page) .header {
  min-height: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5%;
  gap: 30px;
}

body:has(.cart-page) .header .brand {
  width: auto;
  height: auto;
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  overflow: visible;
  line-height: 1;
}

body:has(.cart-page) .header .brand-main {
  font-size: 30px;
  white-space: nowrap;
}

body:has(.cart-page) .header .brand-sub {
  margin: 0;
  white-space: nowrap;
  font-size: 10px;
}

body:has(.cart-page) .header .header-actions {
  margin-left: auto;
  align-self: center;
}

/* MENU RESPONSIVO PARA CELULARES */
@media (max-width: 700px) {

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(44px, auto);
    height: auto;
    overflow: visible;
    padding: 5px 5.5%;
    gap: 4px 8px;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 36px;
    padding: 7px 4px;
    text-align: center;
    white-space: normal;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 500;
  }

  /* CONTATO CENTRALIZADO NA QUARTA LINHA */
  .nav a[href="#contato"] {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .nav a.active {
    background: var(--green);
    color: #08120c;
  }

  /* WHATSAPP EM LARGURA TOTAL */
  .nav .whatsapp {
    grid-column: 1 / -1;
    margin-left: 0;
    min-height: 38px;
    padding: 8px;
    background: var(--green);
    color: #06110a;
    border-radius: 8px;
    font-weight: 700;
  }

  /* ORDEM DO HERO NO CELULAR */
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    height: 300px;
    margin: 0 0 15px;
    justify-content: center;
    align-items: center;
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: contain;
  }

  .hero-copy {
    order: 0;
  }

}
/* =========================================================
   AJUSTE DEFINITIVO — CABEÇALHO, MENU E HERO (DESKTOP + MOBILE)
========================================================= */

/* 1. DESKTOP: Cabeçalho mais elegante e moto 100% inteira na primeira dobra */
.header {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-rows: 125px 58px;
  gap: 0 24px;
  padding: 6px 5.5% 10px;
}

.brand {
  width: 100%;
  height: 125px;
  margin-left: 0;
  overflow: hidden;
}

.brand img {
  width: 100% !important;
  max-width: 100% !important;
  height: 125px !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
}

.nav {
  height: 50px;
  gap: 4px;
}

.nav a {
  padding: 15px 16px;
  font-size: 13.5px;
  white-space: nowrap;
}

.nav a:nth-last-child(2) {
  grid-column: auto;
  width: auto;
  justify-self: auto;
}

.hero {
  min-height: calc(100vh - 270px);
  max-height: 540px;
  align-items: center;
  padding: 24px 5.5% 24px;
}

.hero-copy {
  padding: 10px 0;
}

.hero h1 {
  font-size: 50px;
  margin: 12px 0;
}

.hero p {
  font-size: 18px;
}

.hero-actions {
  margin-top: 22px;
}

.hero-visual {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 540px;
  max-height: 410px;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  display: block;
}

/* 2. TABLET E CELULAR: Alinhamento perfeito e moto inteira */
@media (max-width: 1000px) {
  .header {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 8px 4% 14px;
  }

  .brand {
    height: auto;
    margin-left: 0;
  }

  .brand img {
    height: auto !important;
    max-height: 95px !important;
  }

  .hero {
    min-height: auto;
    max-height: none;
    padding: 24px 4% 32px;
  }

  .hero-visual img {
    max-height: 340px;
  }
}

@media (max-width: 700px) {
  .topbar {
    justify-content: center;
    text-align: center;
    padding: 0 4%;
  }

  .brand img {
    max-height: 76px !important;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
    padding: 2px 4px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    padding: 8px 4%;
    gap: 6px;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 6px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav a.active {
    background: var(--green);
    color: #08120c;
  }

  .nav a[href="#contato"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav .whatsapp {
    grid-column: 1 / -1;
    margin-left: 0;
    min-height: 42px;
    background: var(--green);
    color: #06110a;
    font-weight: 800;
  }

  .hero {
    display: flex;
    flex-direction: column;
    padding: 20px 4% 32px;
    gap: 16px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .hero-visual img {
    width: 100%;
    max-width: 360px;
    max-height: 250px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }

  .hero-copy {
    text-align: center;
    padding: 0;
  }

  .eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 1.4px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.05;
    margin: 10px 0 12px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 15.5px;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
.footer-bottom {
  background-color: #090e17;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #10b981;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  opacity: 0.8;
  text-decoration: underline;
}