:root{
  --blue-950:#031839;
  --blue-900:#062b67;
  --blue-800:#0b3c8c;
  --blue-600:#1e73e8;
  --red:#e30613;
  --yellow:#ffc400;
  --green:#00c853;
  --white:#ffffff;
  --muted:#c9dbff;
  --card:#0a347a;
  --shadow:0 18px 45px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial, Helvetica, sans-serif;background:var(--blue-950);color:var(--white)}
a{color:inherit}.container{width:min(1160px,92%);margin:0 auto}.topbar{position:sticky;top:0;z-index:99;display:flex;align-items:center;gap:24px;justify-content:space-between;padding:12px 4%;background:rgba(3,24,57,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}.brand img{height:58px;max-width:220px;object-fit:contain}.nav{display:flex;gap:24px;align-items:center}.nav a{text-decoration:none;color:#eaf2ff;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.nav a:hover{color:var(--yellow)}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:14px;padding:15px 22px;font-weight:900;text-transform:uppercase;text-decoration:none;letter-spacing:.03em;cursor:pointer;transition:.25s ease}.btn-primary{background:linear-gradient(135deg,var(--red),#ff3b2f);box-shadow:0 12px 25px rgba(227,6,19,.35)}.btn-primary:hover{transform:translateY(-2px)}.btn-whats{background:var(--green);box-shadow:0 12px 25px rgba(0,200,83,.25)}.btn-outline{border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.05)}.menu-toggle{display:none;background:transparent;color:#fff;border:0;font-size:32px}.hero{position:relative;overflow:hidden;min-height:620px;display:flex;align-items:center}.hero-bg{position:absolute;inset:0;background:radial-gradient(circle at 80% 20%, rgba(30,115,232,.65), transparent 30%),radial-gradient(circle at 10% 80%, rgba(227,6,19,.42), transparent 25%),linear-gradient(135deg,#061d46 0%,#0b3c8c 55%,#072c67 100%)}.hero-bg:after{content:"";position:absolute;inset:-60px;background:linear-gradient(115deg,transparent 0 22%,rgba(255,255,255,.07) 22% 24%,transparent 24% 44%,rgba(255,196,0,.10) 44% 46%,transparent 46% 100%);transform:skewY(-7deg)}.hero-inner{position:relative;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:34px;padding:70px 0}.badge,.eyebrow{display:inline-block;background:var(--red);color:#fff;font-weight:900;text-transform:uppercase;border-radius:999px;padding:9px 14px;letter-spacing:.05em}.hero h1{font-size:clamp(42px,6vw,78px);line-height:.92;margin:20px 0 16px;text-transform:uppercase;text-shadow:0 8px 0 rgba(0,0,0,.2)}.hero p{font-size:21px;color:#e3eeff;max-width:600px}.hero-price{display:flex;flex-direction:column;margin:25px 0}.hero-price span{font-size:clamp(58px,7vw,92px);color:var(--yellow);font-weight:1000;line-height:.95;text-shadow:0 6px 0 rgba(0,0,0,.25)}.hero-price small{font-size:25px;font-weight:900}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-art{position:relative}.hero-art img{width:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 26px 34px rgba(0,0,0,.45))}.strip{background:linear-gradient(90deg,var(--red),#9b0008);border-block:3px solid rgba(255,196,0,.9)}.strip-inner{display:flex;gap:20px;justify-content:space-around;flex-wrap:wrap;padding:14px 0;text-transform:uppercase;color:#fff}.section{padding:75px 0;background:linear-gradient(180deg,var(--blue-950),#041e49)}.section-alt{background:linear-gradient(180deg,#062b67,#031839)}.section-head{text-align:center;margin-bottom:35px}.section h2{font-size:clamp(32px,4vw,52px);text-transform:uppercase;margin:12px 0}.section p{color:var(--muted);font-size:18px}.offers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:24px}.offer-card{position:relative;overflow:hidden;background:linear-gradient(180deg,#0e49a7,#082b67);border-radius:22px;padding:22px;border:2px solid rgba(255,255,255,.09);box-shadow:var(--shadow);transition:.25s ease}.offer-card:hover{transform:translateY(-7px)}.offer-card:before{content:"";position:absolute;top:-70px;right:-70px;width:160px;height:160px;background:rgba(255,196,0,.14);border-radius:50%}.offer-card .selo{position:absolute;top:14px;left:14px;background:var(--red);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;text-transform:uppercase}.offer-card img{width:100%;height:210px;object-fit:contain;margin:22px 0 12px;filter:drop-shadow(0 15px 18px rgba(0,0,0,.35))}.offer-card h3{font-size:24px;margin:8px 0 12px;min-height:58px}.offer-card ul{list-style:none;margin:0 0 18px;padding:0}.offer-card li{color:#dbe8ff;margin:8px 0}.price{font-size:42px;color:var(--yellow);font-weight:1000;line-height:1}.installments{font-size:17px;font-weight:800;margin:5px 0 18px}.whatsapp-btn{width:100%;background:var(--green);border-radius:14px;color:#fff;padding:15px 14px;text-decoration:none;font-weight:1000;text-align:center;display:block;text-transform:uppercase}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.category-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:28px;font-size:38px;box-shadow:var(--shadow)}.category-card strong{display:block;font-size:24px;margin:12px 0 7px}.category-card span{display:block;color:var(--muted);font-size:16px}.service-wrap{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}.service-list{display:grid;gap:15px}.service-list div,.contact-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:22px;font-weight:900}.contact-grid{display:grid;grid-template-columns:1fr .75fr;gap:28px;align-items:center}.floating-whats{position:fixed;right:20px;bottom:20px;width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--green);font-size:32px;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.35);z-index:100}.footer{background:#020f25;border-top:1px solid rgba(255,255,255,.08);padding:24px 0}.footer-inner{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.footer img{height:44px;object-fit:contain}
@media(max-width:800px){.nav,.header-btn{display:none}.menu-toggle{display:block}.topbar.open .nav{position:absolute;top:82px;left:0;right:0;display:grid;background:#031839;padding:20px 4%;border-bottom:1px solid rgba(255,255,255,.1)}.hero-inner,.service-wrap,.contact-grid{grid-template-columns:1fr}.hero{min-height:auto}.hero-inner{padding:48px 0}.hero-copy{text-align:left}.hero-art{order:-1}.hero h1{font-size:44px}.hero-price span{font-size:62px}.brand img{height:52px}.btn{width:100%}.floating-whats{width:58px;height:58px}.offer-card img{height:190px}}


/* =====================================================
   CARROSSEL HERO — padrão oficial AMERICA INFORMATICA
   Ocupa toda a área HERO, preservando o layout visual.
   ===================================================== */
.hero-carousel{
  min-height:680px;
  padding:0;
}
.hero-slider{
  position:relative;
  z-index:2;
  width:100%;
  min-height:680px;
}
.hero-slide{
  position:absolute;
  inset:0;
  width:min(1160px,92%);
  left:50%;
  transform:translate(-50%, 24px);
  opacity:0;
  pointer-events:none;
  transition:opacity .55s ease, transform .55s ease;
}
.hero-slide.active{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%, 0);
}
.hero-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:52px;
  height:52px;
  border:0;
  border-radius:50%;
  background:rgba(255,196,0,.95);
  color:var(--blue-950);
  font-size:42px;
  line-height:1;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.28);
}
.hero-prev{left:22px}
.hero-next{right:22px}
.hero-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  z-index:6;
  display:flex;
  justify-content:center;
  gap:9px;
}
.hero-dots button{
  width:13px;
  height:13px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:.25s ease;
}
.hero-dots button.active{
  width:40px;
  background:var(--yellow);
}
@media(max-width:800px){
  .hero-carousel,
  .hero-slider{
    min-height:760px;
  }
  .hero-slide{
    position:absolute;
    padding-bottom:70px;
  }
  .hero-prev,
  .hero-next{
    width:44px;
    height:44px;
    font-size:34px;
    top:auto;
    bottom:22px;
    transform:none;
  }
  .hero-prev{left:18px}
  .hero-next{right:18px}
  .hero-dots{bottom:34px}
}

/* =====================================================
   RESPONSIVO — SMARTPHONES E TABLETS
   ===================================================== */
@media (max-width: 1024px){
  .container{width:min(100% - 32px, 940px)}
  .topbar{padding:10px 24px}
  .brand img{height:54px;max-width:210px}
  .hero-carousel,.hero-slider{min-height:640px}
  .hero-inner{grid-template-columns:1fr 1fr;gap:24px;padding:52px 0 76px}
  .hero h1{font-size:clamp(38px,5vw,58px)}
  .hero p{font-size:19px}
  .hero-price span{font-size:clamp(52px,7vw,78px)}
  .hero-art img{max-height:430px}
  .offers-grid,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 800px){
  body{overflow-x:hidden}
  .topbar{min-height:76px;padding:10px 16px}
  .brand img{height:48px;max-width:190px}
  .topbar.open .nav{top:76px;z-index:100}
  .topbar.open .nav a{padding:12px 0;font-size:15px}
  .hero-carousel,.hero-slider{min-height:760px}
  .hero-slide{width:min(100% - 28px, 620px)}
  .hero-inner{grid-template-columns:1fr;padding:32px 0 92px;gap:20px;align-content:start}
  .hero-copy{text-align:left}
  .hero-art{order:-1;display:flex;justify-content:center}
  .hero-art img{width:100%;max-height:300px;object-fit:contain}
  .badge,.eyebrow{font-size:12px;padding:8px 12px}
  .hero h1{font-size:clamp(32px,10vw,46px);line-height:1;margin:14px 0 10px;text-shadow:0 5px 0 rgba(0,0,0,.22)}
  .hero p{font-size:16px;line-height:1.45;margin:0}
  .hero-price{margin:16px 0}
  .hero-price span{font-size:clamp(48px,15vw,66px)}
  .hero-price small{font-size:20px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .btn{width:100%;min-height:50px;padding:14px 16px;font-size:14px}
  .hero-nav{top:auto;bottom:18px;transform:none;width:44px;height:44px;font-size:34px}
  .hero-prev{left:18px}.hero-next{right:18px}
  .hero-dots{bottom:32px;padding:0 68px}
  .strip-inner{display:grid;grid-template-columns:1fr;text-align:center;gap:8px;padding:12px 0;font-size:14px}
  .section{padding:52px 0}
  .section-head{margin-bottom:24px}
  .section h2{font-size:clamp(28px,8vw,40px);line-height:1.05}
  .section p{font-size:16px}
  .offers-grid,.category-grid,.service-wrap,.contact-grid{grid-template-columns:1fr}
  .offer-card{padding:20px}
  .offer-card img{height:190px}
  .offer-card h3{min-height:auto;font-size:22px}
  .price{font-size:38px}
  .category-card{font-size:34px;padding:22px}
  .contact-card{width:100%}
  .footer-inner{justify-content:center;text-align:center}
  .footer img{height:42px}
  .floating-whats{right:16px;bottom:16px;width:58px;height:58px;font-size:28px}
}
@media (max-width: 480px){
  .container{width:calc(100% - 24px)}
  .topbar{gap:10px}
  .brand img{height:42px;max-width:165px}
  .menu-toggle{font-size:30px}
  .hero-carousel,.hero-slider{min-height:735px}
  .hero-slide{width:calc(100% - 22px)}
  .hero-inner{padding-top:24px;padding-bottom:86px}
  .hero-art img{max-height:245px}
  .hero h1{font-size:34px}
  .hero-price span{font-size:54px}
  .hero-price small{font-size:18px}
  .hero p{font-size:15.5px}
  .hero-nav{width:40px;height:40px;font-size:31px;bottom:16px}
  .hero-dots{bottom:28px;gap:7px;padding:0 58px}
  .hero-dots button{width:10px;height:10px}
  .hero-dots button.active{width:30px}
  .offer-card img{height:170px}
  .offer-card .selo{font-size:11px}
  .price{font-size:34px}
  .installments{font-size:16px}
  .section{padding:44px 0}
  .contact-grid p{font-size:15px;word-break:break-word}
}
@media (max-width: 360px){
  .brand img{height:38px;max-width:145px}
  .hero-carousel,.hero-slider{min-height:760px}
  .hero h1{font-size:30px}
  .hero-price span{font-size:46px}
  .hero-art img{max-height:220px}
  .btn{font-size:12px;padding-inline:12px}
}


/* =====================================================
   PÁGINA POSTS PROMOCIONAIS
   ===================================================== */

.posts-page{
  background:
    radial-gradient(circle at top right, #1e73e8 0, #0b3c8c 28%, #061d46 70%);
}

.posts-hero{
  padding:90px 0 40px;
  text-align:center;
}

.posts-hero h1{
  margin:18px 0 10px;
  font-size:clamp(38px,6vw,72px);
  text-transform:uppercase;
  line-height:1;
}

.posts-hero p{
  color:var(--text);
  font-size:18px;
}

.posts-gallery-section{
  padding:20px 0 80px;
}

.posts-gallery{
  width:min(100%, 900px);
  margin:0 auto;
  display:grid;
  gap:26px;
}

.post-full{
  width:100%;
  border-radius:28px;
  overflow:hidden;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.post-full img{
  width:100%;
  display:block;
  object-fit:cover;
}

/* Smartphone */
@media(max-width:800px){

  .posts-hero{
    padding:80px 0 26px;
  }

  .posts-hero h1{
    font-size:42px;
  }

  .posts-hero p{
    font-size:16px;
  }

  .posts-gallery{
    width:100%;
    gap:18px;
  }

  .post-full{
    border-radius:18px;
  }

  .post-full img{
    width:100%;
    height:auto;
  }
}

/* Desktop widescreen */
@media(min-width:1400px){

  .posts-gallery{
    width:min(100%, 1100px);
  }
}


/* =====================================================
   CORREÇÃO DEFINITIVA — TAMANHO DOS POSTS NO CELULAR
   ESTA REGRA PRECISA FICAR NO FINAL DO styles.css
   ===================================================== */

.posts-page .posts-gallery-section{
  padding: 20px 12px 70px !important;
}

.posts-page .posts-gallery{
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 28px !important;
}

.posts-page .post-full{
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

.posts-page .post-full img{
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

@media (max-width: 600px){
  .posts-page .posts-gallery{
    max-width: 430px !important;
    gap: 22px !important;
  }

  .posts-page .post-full,
  .posts-page .post-full img{
    max-width: 390px !important;
  }
}

@media (max-width: 420px){
  .posts-page .post-full,
  .posts-page .post-full img{
    width: 92vw !important;
    max-width: 360px !important;
  }
}

@media (max-width: 360px){
  .posts-page .post-full,
  .posts-page .post-full img{
    width: 90vw !important;
    max-width: 320px !important;
  }
}
