/*
Theme Name: Gigante Theme Filho
Theme URI: https://gigante.com.br
Description: Tema personalizado para Gigante Produtos Médicos
Author: Gigante
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gigante
*/

/* ========================================
   RESET E BASE
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d3436;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   VARIÁVEIS DE CORES
======================================== */
:root {
  --primary: #00b894;
  --primary-dark: #00a383;
  --secondary: #2d3436;
  --text: #636e72;
  --light-gray: #f5f6fa;
  --border: #dfe6e9;
  --white: #ffffff;
}

/* ========================================
   TOP BAR
======================================== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
}

.top-bar-left a:hover {
  opacity: 0.8;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag-icon {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s;
}

.flag-icon:hover {
  transform: scale(1.1);
}

/* ========================================
   HEADER
======================================== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Menu Principal */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  font-weight: 500;
  color: var(--secondary);
  padding: 10px 0;
  display: block;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Dropdown */
.main-nav li:hover .sub-menu {
  display: block;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  min-width: 250px;
  padding: 10px 0;
}

.sub-menu li {
  padding: 0;
}

.sub-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 14px;
}

.sub-menu a:hover {
  background: var(--light-gray);
  color: var(--primary);
}

/* Menu Mobile */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--secondary);
}

/* ========================================
   HERO SLIDER
======================================== */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 80px 50px;
  max-width: 600px;
}

.slide-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.slide-features {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.slide-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-arrow:hover {
  background: var(--primary);
}

/* ========================================
   BOTÕES
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,184,148,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--light-gray);
}

/* ========================================
   SEÇÕES
======================================== */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text);
  max-width: 600px;
}

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

.text-center .section-subtitle {
  margin: 0 auto 40px;
}

/* ========================================
   DIFERENCIAIS
======================================== */
.diferenciais {
  background: var(--secondary);
  padding: 40px 0;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.diferencial-item {
  text-align: center;
  color: var(--white);
}

.diferencial-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

.diferencial-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.diferencial-item p {
  font-size: 14px;
  opacity: 0.7;
}

/* ========================================
   QUEM SOMOS (Home)
======================================== */
.about-section {
  background: var(--light-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content h2 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ========================================
   LINHAS DE PRODUTOS
======================================== */
.product-line {
  padding: 80px 0;
}

.product-line:nth-child(even) {
  background: var(--light-gray);
}

.product-line-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-line:nth-child(even) .product-line-grid {
  direction: rtl;
}

.product-line:nth-child(even) .product-line-grid > * {
  direction: ltr;
}

.product-line-content h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-line-content p {
  color: var(--text);
  margin-bottom: 25px;
  line-height: 1.8;
}

.product-line-image img {
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ========================================
   BANNER WHATSAPP
======================================== */
.whatsapp-banner {
  background: var(--primary);
  padding: 50px 0;
  text-align: center;
  color: var(--white);
}

.whatsapp-banner h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.whatsapp-banner p {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* ========================================
   PRODUTOS EM DESTAQUE
======================================== */
.featured-products {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-card-header {
  background: var(--light-gray);
  padding: 15px;
  text-align: center;
}

.product-card-header h4 {
  font-size: 14px;
  color: var(--secondary);
  margin: 0;
}

.product-card-image {
  padding: 20px;
  text-align: center;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  max-height: 160px;
  object-fit: contain;
}

.product-card-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.product-card-footer a {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.product-card-footer a:hover {
  color: var(--primary-dark);
}

/* ========================================
   CTA ORÇAMENTO
======================================== */
.cta-orcamento {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e272e 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta-orcamento h3 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-orcamento p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* ========================================
   PAGE BANNER (Páginas Internas)
======================================== */
.page-banner {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ========================================
   PÁGINA QUEM SOMOS
======================================== */
.quem-somos-content {
  padding: 80px 0;
}

.quem-somos-content h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 30px;
}

.quem-somos-content p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.valor-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.valor-card h4 {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 15px;
}

.valor-card p {
  color: var(--text);
  font-size: 14px;
}

/* ========================================
   PÁGINA CONTATO
======================================== */
.contato-section {
  padding: 80px 0;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contato-form .form-group {
  margin-bottom: 20px;
}

.contato-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--secondary);
}

.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contato-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contato-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contato-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contato-info-item i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 3px;
}

.contato-mapa {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
}

.contato-mapa iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ========================================
   PÁGINA PRODUTOS
======================================== */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 80px 0;
}

.linha-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.linha-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.linha-card-image {
  height: 200px;
  overflow: hidden;
}

.linha-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.linha-card:hover .linha-card-image img {
  transform: scale(1.1);
}

.linha-card-content {
  padding: 20px;
  text-align: center;
}

.linha-card-content h3 {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.linha-card-content p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 15px;
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 1024px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid,
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
  }
  
  .sub-menu {
    position: static;
    box-shadow: none;
    background: var(--light-gray);
  }
  
  .hero-slider {
    height: 400px;
  }
  
  .slide-content {
    padding: 40px 20px;
  }
  
  .slide-content h1 {
    font-size: 28px;
  }
  
  .slide-features {
    flex-wrap: wrap;
  }
  
  .about-grid,
  .product-line-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-line:nth-child(even) .product-line-grid {
    direction: ltr;
  }
  
  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .products-grid,
  .produtos-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .valores-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .diferenciais-grid,
  .products-grid,
  .produtos-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-slider {
    height: 350px;
  }
  
  .slide-content h1 {
    font-size: 24px;
  }
  
  section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 26px;
  }
}
