:root {
    --orange: #ff5e00;
    --orange-light: #ff8c4a;
    --light-blue: #3590cc;
    --dark-blue: #0839a3;
    --white: #ffffff;
    --light-gray: #f4f4f9;
    --dark-text: #333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient-orange: linear-gradient(45deg, var(--orange), var(--orange-light));
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}
body { background-color: var(--light-gray); color: var(--dark-text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- HEADER ---- */
header {
    background-color: var(--white); padding: 15px 0;
    position: fixed; width: 100%; top: 0; left: 0;
    z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 700; color: var(--dark-blue); text-decoration: none; }
.logo span { color: var(--orange); }

/* Logo no header */
.logo-img {
  height: 50px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.logo span {
  font-weight: bold;
  color: #25D366; /* verde do WhatsApp, opcional */
  font-size: 1.2em;
  margin-left: 8px;
}

/* Logo no footer */
.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
  display: block;
}

.nav-menu { list-style: none; display: flex; }
.nav-menu li { margin-left: 30px; }
.nav-menu a {
    text-decoration: none; color: var(--dark-text); font-weight: 600;
    position: relative; transition: color 0.3s ease;
}
.nav-menu a::after {
    content: ''; position: absolute; width: 0; height: 3px;
    bottom: -5px; left: 0; background: var(--gradient-orange);
    transition: width 0.3s ease; border-radius: 2px;
}
.nav-menu a:hover { color: var(--orange); }
.nav-menu a:hover::after { width: 100%; }
.btn-contato {
    background: var(--gradient-orange); color: var(--white);
    padding: 10px 20px; border-radius: 5px; text-decoration: none;
    font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(255, 94, 0, 0.3);
}
.btn-contato:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 94, 0, 0.4); }
.hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--dark-blue); cursor: pointer; }

/* ---- MAIN CONTENT ---- */
main { padding-top: 80px; }

/* ---- HERO SECTION ---- */
.hero {
    position: relative; height: 70vh;
    background: url('../img/hero-background.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, rgba(8, 57, 163, 0.85), rgba(255, 94, 0, 0.7));
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 4rem; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero h2 { font-size: 1.5rem; font-weight: 400; margin-top: -10px; }
.hero .slogan {
    font-size: 1.8rem; font-weight: 600; color: var(--dark-blue);
    background-color: var(--white); padding: 10px 25px;
    border-radius: 50px; display: inline-block; margin: 25px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2); border-left: 5px solid var(--orange);
}
.btn-principal {
    background: var(--gradient-orange); color: var(--white);
    padding: 15px 30px; font-size: 1.1rem; border-radius: 5px;
    text-decoration: none; font-weight: 600; transition: all 0.3s ease;
    border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-principal:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ---- PRODUCT SECTION ---- */
.product-section { padding: 80px 0; text-align: center; }
.product-section h2 { font-size: 2.5rem; color: var(--dark-blue); margin-bottom: 10px; }
.product-section p { font-size: 1.1rem; color: #666; margin-bottom: 40px; }
.filter-buttons { margin-bottom: 40px; }
.filter-btn {
    background: var(--white); border: 2px solid var(--light-blue); color: var(--light-blue);
    padding: 10px 20px; margin: 5px; border-radius: 25px;
    cursor: pointer; font-weight: 600; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background: var(--light-blue); color: var(--white); transform: translateY(-2px); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card {
    background: var(--white); border-radius: 10px; box-shadow: var(--shadow);
    text-align: center; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
    border-bottom: 4px solid transparent;
    justify-content: space-between;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-bottom-color: var(--orange);
}
.product-image-container { height: 220px; display: flex; align-items: center; justify-content: center; background-color: #f0f0f0; padding: 10px; }
.product-card img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card h3 { font-size: 1.2rem; color: var(--dark-blue); margin: 15px 10px 10px 10px; }
.product-card .price { font-size: 1.4rem; font-weight: 700; color: var(--orange); margin-bottom: 20px; }
.btn-comprar {
    background: var(--dark-blue); color: var(--white);
    padding: 12px 20px; text-decoration: none; font-weight: 600;
    transition: background-color 0.3s ease; margin: 0 20px 20px 20px; border-radius: 5px;
}
.btn-comprar i { margin-right: 8px; }
.btn-comprar:hover { background-color: var(--light-blue); }

/* ---- ASSISTÊNCIA SECTION ---- */
.assistencia-section {
    background: var(--dark-blue) url('https://www.transparenttextures.com/patterns/cubes.png');
    color: var(--white); padding: 80px 0; text-align: center;
}
.assistencia-section .icon-assistencia { font-size: 4rem; color: var(--orange); margin-bottom: 20px; }
.assistencia-section h2 { font-size: 2.5rem; margin-bottom: 20px; }
.assistencia-section p { font-size: 1.1rem; line-height: 1.7; max-width: 700px; margin: 0 auto 30px auto; }

/* ---- FOOTER ---- */
footer { background-color: #1a1a1a; color: #ccc; padding: 60px 0 20px 0; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3, .footer-col h4 { color: var(--white); }
.footer-col h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }
.footer-col h3 span { color: var(--orange); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 50px; height: 3px; background: var(--gradient-orange); border-radius: 2px;
}
.footer-col p { margin-bottom: 10px; line-height: 1.6; }
.footer-col a {text-decoration: none; color: var(--white);}
.footer-col p i { color: var(--light-blue); margin-right: 10px; width: 20px; text-align: center; }
.social-links a {
    display: inline-block; width: 40px; height: 40px; line-height: 40px;
    background-color: #333; color: var(--white); text-align: center;
    border-radius: 50%; margin-right: 10px; transition: all 0.3s ease;
}
.social-links a:hover { background: var(--gradient-orange); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #444; }
.dev-credit { margin-top: 10px; font-size: 0.9rem; color: #888; }
.dev-credit a { color: var(--light-blue); text-decoration: none; transition: color 0.3s; }
.dev-credit a:hover { color: var(--orange); }

/* ---- WHATSAPP FLOAT BUTTON ---- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-orange);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 94, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

/* ---- RESPONSIVIDADE ---- */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; left: -100%; top: 78px;
        flex-direction: column; background-color: var(--white);
        width: 100%; height: 100vh; text-align: center;
        transition: 0.3s; padding-top: 50px;
    }
    .logo-img {
        height: 40px;
    }
    .footer-logo {
        height: 50px;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 20px 0; }
    .hamburger { display: block; }
    .btn-contato { display: none; }
    .hero h1 { font-size: 3rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero .slogan { font-size: 1.3rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links, .dev-credit { text-align: center; }
}

/* --- Estilo do modal WhatsApp --- */
.whatsapp-modal {
  display: none; /* escondido inicialmente */
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.whatsapp-modal-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.whatsapp-modal h2 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.whatsapp-modal p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.whatsapp-modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-cancel, .btn-confirm {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  background: #eee;
  color: #333;
}

.btn-confirm {
  background: #25D366; /* cor do WhatsApp */
  color: white;
}

.btn-cancel:hover {
  background: #ddd;
}

.btn-confirm:hover {
  background: #20ba5b;
}

/* Animações suaves */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}



.google-reviews-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 5%;
  background: #fff;
  color: #222;
  flex-wrap: wrap;
}

/* --- Google Info --- */
.google-header {
  flex: 1 1 250px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.google-header strong {
  font-size: 1.3rem;
  color: #222;
}

.google-header .stars img {
  width: 22px;
  vertical-align: middle;
}

.google-header .logo img {
  width: 120px;
  margin-top: 10px;
}

/* --- Carousel --- */
.carousel-container {
  flex: 3 1 600px;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-item {
  min-width: calc(100% / 3);
  box-sizing: border-box;
  padding: 15px;
}

.review {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.review-header .profile {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
}

.review .name {
  font-weight: bold;
  color: #222;
}

.review .date {
  font-size: 0.8rem;
  color: #777;
}

.review .stars img {
  width: 16px;
}

.review p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #444;
}

/* --- Buttons --- */
.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #333;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.prev { left: 5px; }
.next { right: 5px; }

.carousel-btn:hover {
  background: #f1f1f1;
}
