/* GFRIO — style.css */
:root {
  --dark: #0a2540;
  --blue: #0066cc;
  --blue-light: #4da6ff;
  --bg: #f8fafd;
  --bg-alt: #eef3fa;
  --white: #ffffff;
  --text: #1a2a3a;
  --muted: #5a6a7a;
  --border: #dce8f5;
  --green: #25d366;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,102,204,0.10);
  --shadow-lg: 0 8px 32px rgba(0,40,100,0.15);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────── */
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin-bottom: 0; }

/* ── Layout ─────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-label { display: inline-block; color: var(--blue); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { color: var(--dark); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; line-height: 1.7; margin-bottom: 36px; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 700; border: none; cursor: pointer; transition: filter 0.2s, transform 0.15s; text-decoration: none; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-wa { background: var(--green); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ── Navigation ─────────────────────────── */
.site-nav { background: var(--dark); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { color: var(--white); font-size: 1.4rem; font-weight: 900; letter-spacing: -0.5px; text-decoration: none; }
.nav-logo span { color: var(--blue-light); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: rgba(255,255,255,0.80); font-size: 0.88rem; font-weight: 500; padding: 6px 12px; border-radius: 4px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links .nav-cta { background: var(--blue); color: var(--white) !important; padding: 8px 16px; margin-left: 8px; }
.nav-links .nav-cta:hover { background: #0052a3; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }

/* ── Hero ────────────────────────────────── */
.hero { background: linear-gradient(135deg, #071c30 0%, var(--dark) 50%, #0d3a6e 100%); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(77,166,255,0.12); border: 1px solid rgba(77,166,255,0.3); color: var(--blue-light); padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 20px; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--blue-light); font-style: normal; }
.hero-sub { color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.7; margin-bottom: 24px; max-width: 480px; }
.hero-checks { display: flex; flex-direction: column; gap: 8px; }
.hero-checks li { color: rgba(255,255,255,0.85); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.hero-checks li::before { content: ''; width: 18px; height: 18px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

/* ── Form Card ───────────────────────────── */
.form-card { background: var(--white); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-lg); }
.form-card-title { color: var(--dark); font-size: 1.05rem; font-weight: 800; text-align: center; margin-bottom: 4px; }
.form-card-sub { color: var(--muted); font-size: 0.82rem; text-align: center; margin-bottom: 20px; }
.form-group { margin-bottom: 10px; }
.form-control { width: 100%; background: var(--bg); border: 1.5px solid var(--border); border-radius: 6px; padding: 11px 14px; font-size: 0.92rem; color: var(--text); font-family: inherit; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form-control::placeholder { color: #9aafbf; }
.form-divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: 0.78rem; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-note { color: #9aafbf; font-size: 0.75rem; text-align: center; margin-top: 10px; }

/* ── Stats Bar ───────────────────────────── */
.stats-bar { background: var(--blue); padding: 20px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 4px 0; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { color: var(--white); font-size: 1.6rem; font-weight: 900; line-height: 1; }
.stat-label { color: rgba(255,255,255,0.72); font-size: 0.78rem; margin-top: 4px; }

/* ── Product Cards ───────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-img { height: 120px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.product-card-body { padding: 18px; }
.product-card-body h3 { color: var(--dark); margin-bottom: 6px; font-size: 1rem; }
.product-card-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 12px; }
.link-arrow { color: var(--blue); font-size: 0.85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.link-arrow::after { content: '→'; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── Segments ────────────────────────────── */
.segments-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.seg-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--dark); padding: 9px 18px; border-radius: 24px; font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.seg-pill:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-1px); }

/* ── Testimonials ────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: var(--radius); padding: 22px; }
.testi-stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 2px; }
.testi-text { color: #444; font-size: 0.92rem; line-height: 1.65; font-style: italic; margin-bottom: 14px; }
.testi-name { color: var(--dark); font-size: 0.88rem; font-weight: 700; }
.testi-biz { color: var(--muted); font-size: 0.78rem; }

/* ── FAQ ─────────────────────────────────── */
.faq-list { max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; background: none; border: none; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; gap: 16px; }
.faq-btn span { color: var(--dark); font-size: 0.95rem; font-weight: 600; font-family: inherit; }
.faq-icon { color: var(--blue); font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { color: var(--muted); font-size: 0.92rem; line-height: 1.7; padding-bottom: 16px; display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ── CTA Banner ──────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--dark), var(--blue)); padding: 56px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 1rem; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { background: var(--white); color: var(--blue); }

/* ── Footer ──────────────────────────────── */
.site-footer { background: var(--dark); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { color: var(--white); font-size: 1.3rem; font-weight: 900; margin-bottom: 14px; display: block; }
.footer-logo span { color: var(--blue-light); }
.footer-about { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.75; }
.footer-about li { margin-bottom: 4px; }
.footer-col h4 { color: var(--white); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { color: rgba(255,255,255,0.50); font-size: 0.85rem; display: block; margin-bottom: 6px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.social-links { display: flex; gap: 12px; }
.social-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; transition: color 0.2s; }
.social-links a:hover { color: var(--blue-light); }

/* ── Google Reviews cards ───────────────── */
.google-review-card { position: relative; }
.gr-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gr-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.gr-time { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.gr-logo { margin-left: auto; flex-shrink: 0; opacity: 0.85; }

/* ── Google Rating badge ────────────────── */
.google-rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 50px; padding: 8px 20px; margin-top: 16px; font-size: 0.95rem; color: var(--text); box-shadow: var(--shadow); }
.google-rating .g-stars { color: #f9a825; font-size: 1.1rem; letter-spacing: 1px; }
.google-rating strong { font-size: 1.1rem; color: var(--dark); }
.google-rating .g-sep { color: var(--muted); }
.google-rating .g-count { color: var(--muted); font-size: 0.88rem; }

/* ── Reels / Instagram embed grid ───────── */
.reel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; justify-items: center; margin: 0 auto; max-width: 900px; }
.reel-wrap { width: 100%; max-width: 420px; }
.reel-wrap .instagram-media { margin: 0 auto !important; }

/* ── WhatsApp Float ──────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; align-items: center; gap: 10px; background: var(--green); color: var(--white); padding: 12px 18px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.2s, box-shadow 0.2s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.55); color: var(--white); }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ── Images ──────────────────────────────── */
.content-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; display: block; }
.img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.img-grid img { width: 100%; border-radius: var(--radius); object-fit: cover; height: 200px; box-shadow: var(--shadow); }
.product-card-img { overflow: hidden; position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.hero-img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); display: block; }

/* Page hero with optional background image */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--hero-bg, url('/camaras-frigorificas.jpg')); background-size: cover; background-position: center; opacity: 0.10; z-index: 0; pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }

/* ── Inner Page Layout ───────────────────── */
.page-hero { background: linear-gradient(135deg, #071c30, var(--dark)); padding: 48px 0 40px; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 560px; }
.breadcrumb { display: flex; gap: 6px; align-items: center; color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--blue-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-content { padding: 56px 0; }
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar-form { position: sticky; top: 80px; }
.content-section { margin-bottom: 40px; }
.content-section h2 { color: var(--dark); margin-bottom: 12px; font-size: 1.3rem; }
.content-section p, .content-section li { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }
.content-section ul { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.content-section li { padding-left: 20px; position: relative; }
.content-section li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.spec-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.spec-card strong { display: block; color: var(--dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.spec-card span { color: var(--blue); font-size: 1.1rem; font-weight: 700; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a { background: var(--bg-alt); border: 1px solid var(--border); color: var(--dark); padding: 7px 14px; border-radius: 20px; font-size: 0.85rem; transition: all 0.2s; }
.related-links a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Sobre / Contato ─────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img-placeholder { background: var(--bg-alt); border-radius: 12px; height: 340px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.value-card { background: var(--bg); border-radius: var(--radius); padding: 18px; border-left: 3px solid var(--blue); }
.value-card h4 { color: var(--dark); margin-bottom: 4px; }
.value-card p { color: var(--muted); font-size: 0.88rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--dark); font-size: 0.85rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 0.9rem; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sub, .hero-checks { max-width: 100%; }
  .form-card { margin-top: 32px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar-form { position: static; }
  .faq-2col { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.2); border-right: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.2); }
}
@media (max-width: 620px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--dark); padding: 16px 5%; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
  .site-nav { position: relative; }
  .nav-toggle { display: block; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}
