/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - DISTRIBUIDORA GRAMADENSE
   ========================================================================== */
:root {
  --primary-orange: #D55C1C;
  --primary-orange-hover: #b84a14;
  --accent-green: #1ADA34;
  --accent-green-hover: #17c42e;
  --bg-blue: #262fe4;
  --bg-blue-gradient: linear-gradient(135deg, #262fe4 0%, #1a23b3 100%);
  --bg-light: #F0EDEC;
  --bg-light-alt: #f7f9fa;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --text-white: #ffffff;
  --text-black: #000000;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --border-radius: 12px;
  --font-title: 'Roboto Slab', serif;
  --font-body: 'Roboto', sans-serif;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-black);
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--accent-green);
  color: var(--text-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md), 0 0 15px rgba(26, 218, 52, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(26, 218, 52, 0.5);
}

.btn-whatsapp:active {
  transform: translateY(-1px);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Wave Dividers */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  direction: ltr;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background-color: var(--primary-orange);
  color: var(--text-white);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  background-color: var(--text-black);
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #222;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.header-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-green);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background-color: var(--primary-orange);
  color: var(--text-white);
  position: relative;
  padding: 80px 0 100px 0;
  text-align: center;
}

.hero-title {
  font-size: 2.75rem;
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 25px;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 35px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-label {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

.hero-divider svg {
  fill: var(--bg-light);
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.products-section {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-orange);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.brands-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: -30px;
  margin-bottom: 50px;
  font-family: var(--font-body);
}

.brands-subtitle span {
  color: var(--primary-orange);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-image {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-black);
}

.product-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Water Section Specifics */
.water-section {
  margin-top: 80px;
}

.water-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text-black);
}

.water-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.water-grid .product-image-container {
  height: 200px;
}

/* ==========================================================================
   DIFFERENTIALS SECTION
   ========================================================================== */
.differentials-section {
  background-color: var(--bg-white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.diff-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  transition: transform var(--transition-normal);
}

.diff-card:hover {
  transform: translateY(-5px);
}

.diff-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(213, 92, 28, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  color: var(--primary-orange);
}

.diff-icon svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.diff-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-black);
}

.diff-description {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.reviews-section {
  background-color: var(--bg-light-alt);
  position: relative;
}

.reviews-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.reviews-summary {
  width: 30%;
  min-width: 220px;
  text-align: center;
  background-color: var(--bg-white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
}

.reviews-summary h3 {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.stars-rating {
  color: #F8B808;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.reviews-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.google-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-logo-box svg {
  height: 35px;
}

/* Slider */
.reviews-slider-container {
  width: 70%;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.reviews-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.review-card {
  min-width: calc(50% - 10px);
  max-width: calc(50% - 10px);
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 200px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.user-name-date {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-black);
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.google-review-badge svg {
  width: 18px;
  height: 18px;
}

.review-stars {
  color: #F8B808;
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.verified-badge {
  display: inline-flex;
  color: #1A73E8;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  cursor: pointer;
  z-index: 10;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.slider-nav:hover {
  background-color: var(--primary-orange);
  color: var(--text-white);
}

.slider-nav-prev {
  left: -20px;
}

.slider-nav-next {
  right: -20px;
}

.slider-nav svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   BLUE CTA SECTION
   ========================================================================== */
.blue-cta-section {
  background: var(--bg-blue-gradient);
  color: var(--text-white);
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.blue-cta-title {
  font-size: 2.25rem;
  color: var(--text-white);
  margin-bottom: 30px;
  font-weight: 700;
}

.blue-cta-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.blue-cta-divider svg {
  fill: var(--bg-light-alt);
}

/* ==========================================================================
   ABOUT US SECTION (SOBRE NÓS)
   ========================================================================== */
.about-section {
  background-color: var(--bg-white);
  position: relative;
  padding-bottom: 80px;
}

.about-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.about-divider-top svg {
  fill: var(--bg-blue);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 60px; /* offset for top wave */
}

.about-image-box {
  width: 40%;
  display: flex;
  justify-content: center;
}

.about-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.about-logo:hover {
  transform: scale(1.02);
}

.about-content {
  width: 60%;
}

.about-title {
  font-size: 2.25rem;
  margin-bottom: 25px;
  color: var(--text-black);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* ==========================================================================
   MAP SECTION (ONDE ESTAMOS!)
   ========================================================================== */
.map-section {
  background-color: var(--bg-blue);
  color: var(--text-white);
  padding: 80px 0;
}

.map-title {
  font-size: 2.25rem;
  color: var(--text-white);
  margin-bottom: 40px;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.bottom-cta-area {
  margin-top: 60px;
  text-align: center;
}

.bottom-cta-title {
  font-size: 1.75rem;
  color: var(--text-white);
  margin-bottom: 20px;
  font-weight: 700;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--bg-white);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--bg-light);
  font-size: 0.95rem;
}

.footer-copy {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-policy {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-policy:hover {
  color: var(--primary-orange);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .reviews-layout {
    flex-direction: column;
    gap: 30px;
  }
  
  .reviews-summary {
    width: 100%;
  }
  
  .reviews-slider-container {
    width: 100%;
  }
  
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .about-image-box, .about-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .hero {
    padding: 60px 0 80px 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .review-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .slider-nav-prev {
    left: 5px;
  }
  
  .slider-nav-next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .btn-whatsapp {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 24px;
  }
}
