/*
Theme Name: InfoStorm Store
Theme URI: https://infostorm.example
Author: InfoStorm
Description: Tema enxuto e responsivo para uma loja de eletrônicos com venda iniciada pelo WhatsApp e checkout WooCommerce.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: infostorm-store
*/

:root {
  --ink: #20243d;
  --paper: #fbf7f1;
  --muted: #6e7180;
  --line: #e8e1d8;
  --red: #ef3e2e;
  --orange: #ffad2f;
  --green: #16895b;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,247,241,.96);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { max-width: 1160px; margin: auto; padding: 16px 24px; display:flex; align-items:center; gap:28px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; font-size: 20px; margin-right:auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display:grid; place-items:center; color:white; background: linear-gradient(135deg,var(--red),var(--orange)); font-weight:900; }
.nav-links { display:flex; align-items:center; gap:24px; font-size:14px; font-weight:700; }
.button { display:inline-flex; align-items:center; justify-content:center; border:0; border-radius:10px; padding:13px 19px; font-weight:800; cursor:pointer; }
.button-primary { color:#fff; background:var(--green); box-shadow:0 4px 0 #0d6544; }
.button-dark { color:#fff; background:var(--ink); }
.button-light { color:var(--ink); background:#fff; border:1px solid var(--line); }
.hero { max-width:1160px; margin:auto; padding:82px 24px 76px; display:grid; grid-template-columns: .9fr 1.1fr; align-items:center; gap:60px; }
.eyebrow { color:var(--red); text-transform:uppercase; letter-spacing:.2em; font-size:11px; font-weight:800; }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing:-.07em; line-height:.95; margin:20px 0; }
h1 span { color:var(--red); }
.lead { color:var(--muted); max-width:540px; font-size:18px; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero-media { border-radius:22px; padding:18px; background:linear-gradient(135deg,#ffdfb0,#fff); box-shadow:0 20px 50px rgba(32,36,61,.16); transform:rotate(1deg); }
.hero-media img { border-radius:14px; width:100%; }
.trust-bar { background:var(--ink); color:#fff; }
.trust-wrap { max-width:1160px; margin:auto; padding:20px 24px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; font-size:13px; }
.trust-wrap strong { display:block; color:var(--orange); margin-bottom:3px; }
.section { max-width:1160px; margin:auto; padding:76px 24px; }
.section h2 { font-size:clamp(32px,4vw,54px); letter-spacing:-.06em; line-height:1; margin:12px 0 20px; }
.product-card, .checkout-box { background:#fff; border:1px solid var(--line); border-radius:18px; padding:28px; }
.product-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.featured-section { background:linear-gradient(135deg,#fff1d2,#fff); max-width:none; padding-left:max(24px,calc((100% - 1112px)/2)); padding-right:max(24px,calc((100% - 1112px)/2)); }
.testimonials-section { max-width:none; padding-left:max(24px,calc((100% - 1112px)/2)); padding-right:max(24px,calc((100% - 1112px)/2)); }
.testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:30px; }
.featured-products-wp { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:30px; }
.featured-product-wp { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.featured-product-wp > a { display:block; background:#fff5e7; }
.featured-product-wp > a img { width:100%; height:210px; object-fit:cover; }
.featured-product-wp-copy { padding:20px; }
.featured-product-wp h3 { font-size:21px; line-height:1.1; margin:0 0 12px; }
.featured-product-wp h3 a { color:var(--ink); }
.featured-product-wp-price { font-size:20px; font-weight:900; margin-bottom:16px; }
.featured-empty { padding:18px 20px; background:#fff; border:1px dashed var(--line); border-radius:12px; color:var(--muted); }
blockquote { margin:0; padding:24px; background:#fff; border:1px solid var(--line); border-radius:16px; }
blockquote p { font-size:17px; line-height:1.4; }
blockquote cite { color:var(--muted); font-size:12px; font-style:normal; }
.price { font-size:38px; font-weight:900; margin:20px 0; }
.specs { padding:0; list-style:none; display:grid; gap:10px; }
.specs li { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding:10px 0; }
.specs span { color:var(--muted); }
.woocommerce .site-main, .woocommerce-page .site-main { max-width:1160px; margin:auto; padding:60px 24px; }
.woocommerce form .form-row input, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding:13px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius:9px; background:var(--green); color:#fff; padding:13px 18px; }
.site-footer { border-top:1px solid var(--line); padding:34px 24px; color:var(--muted); text-align:center; font-size:13px; }
@media (max-width: 760px) {
  .nav-wrap { padding:12px 16px; }
  .nav-links { display:none; }
  .hero { padding:52px 16px; grid-template-columns:1fr; gap:30px; }
  h1 { font-size:52px; }
  .lead { font-size:16px; }
  .trust-wrap { padding:18px 16px; grid-template-columns:1fr 1fr; gap:16px; }
  .section { padding:52px 16px; }
  .product-layout { grid-template-columns:1fr; }
  .testimonial-grid { grid-template-columns:1fr; }
  .featured-products-wp { grid-template-columns:1fr; }
}