/* =================== RESET & VARIABLES =================== */
:root {
  --primary: #303c6c;
  --primary-dark: #1e2747;
  --accent: #F5D547;
  --accent-hover: #f0cc2e;
  --secondary: #64C3D9;
  --secondary-light: #a8dde8;
  
  --text-dark: #0f1222;
  --text-body: #4a5568;
  --text-muted: #718096;
  --text-white: #ffffff;
  
  --bg-main: #ffffff;
  --bg-light: #f7fafc;
  --bg-section: #eef3f8;
  
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

.section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }
}

.section-title {
  font-size: clamp(50px, 4vw, 42px);
  font-weight: 1000;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =================== BUTTON STYLES =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

@media (max-width: 767px) {
  .btn-mobile-full {
    width: 100%;
    max-width: 400px;
  }
}

/* botão pequeno usado nos cards */
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-full);
}

/* =================== HERO SECTION =================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 0;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-white);
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: clamp(18px, 2.5vw, 20px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile Hero Adjustments */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding: 20px 0;
  }
  .hero-logo { width: 100px; margin-bottom: 24px; }
  .hero-title { font-size: 28px; margin-bottom: 16px; }
  .hero-description { font-size: 16px; margin-bottom: 32px; padding: 0 20px; }
}



/* =================== PRODUCTS CAROUSEL =================== */
.products {
  background: var(--bg-section);
  text-align: center;
  overflow: hidden; /* evita corte nas bordas */
}

/* full-bleed wrapper */
.products .carousel-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 clamp(12px, 4vw, 48px);
}

.products .carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px clamp(12px, 4vw, 48px) 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.products .carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

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

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--bg-light);
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--secondary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
}

.product-actions {
  padding: 0 20px 20px;
  text-align: center;
}

/* Carousel Controls */
.carousel-controls { display: none; }

@media (min-width: 768px) {
  .carousel-controls { display: block; }
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
  }
  .carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
  }
  .products .carousel-btn.prev { left: clamp(8px, 2vw, 24px); }
  .products .carousel-btn.next { right: clamp(8px, 2vw, 24px); }
}

@media (max-width: 767px) {
  .products .carousel-track {
    gap: 16px;
    padding: 20px 20px 40px;
  }
  .product-card { flex: 0 0 240px; }
  .product-image { height: 240px; }
}

/* =================== TESTIMONIALS =================== */
.testimonials {
  background: var(--bg-main);
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 56px;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 600;
  font-size: 18px;
}

.author-info { text-align: left; }

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }
  .testimonial-card { padding: 24px; }
}

/* =================== CTA SECTION =================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-content { position: relative; z-index: 1; }

/* CTA — título maior e responsivo */
.cta-title{
  color: var(--text-white);
  font-weight: 1000;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 16px;
  /* cresce conforme a tela, sem estourar */
  font-size: clamp(36px, 6vw, 64px);
}
.cta-description {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* mobile: um pouco mais compacto para caber bem */
@media (max-width: 767px){
  .cta-title{
    font-size: clamp(28px, 8vw, 40px);
  }
}

/* =================== WHATSAPP FLOAT =================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  z-index: 1000;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float i {
  font-size: 32px;
  color: white;
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =================== FOOTER =================== */
footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  width: 80px;
  height: auto;
  opacity: 0.9;
}

.footer-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.social-links {
  display: flex;
  gap: 16px;
}

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

.social-link:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.social-link i { font-size: 18px; color: var(--text-white); }

.social-link:hover i { color: var(--primary-dark); }

@media (max-width: 767px) {
  footer { padding: 32px 0; }
}

/* === Mobile size tweak for hero CTA === */
@media (max-width: 480px) {
  .btn-lg {
    padding: 12px 16px;
    font-size: 15px;
  }
  .hero-cta .btn-lg { max-width: 80%; }
}

.products .carousel-btn { z-index: 10; pointer-events: auto; }
.carousel-btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
/* === Footer: logo maior e mais perto do texto === */
footer { padding: 32px 0 36px; }                 /* um pouco menos de respiro */
.footer-content { gap: 12px; }                   /* diminui o espaço entre os itens */
.footer-logo {                                   /* aumenta a logo de forma responsiva */
  width: clamp(100px, 10vw, 140px);
  height: auto;
  opacity: .95;
}

/* dá um respiro só antes dos ícones */
.social-links { margin-top: 10px; }

/* mobile: ajuste fino */
@media (max-width: 480px){
  .footer-logo { width: 110px; }                 /* um pouco maior no mobile também */
  .footer-content { gap: 10px; }
}


/* ===== Títulos de todas as seções (mesmo tamanho da CTA) ===== */
.section-title,
.cta-title{
  color:#0f1222;            /* ajuste a cor por seção se quiser */
  font-weight: 1000;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin-bottom: 16px;
  font-size: clamp(36px, 6vw, 64px);   /* igual ao da CTA */
}

/* Mobile: ligeiramente mais compacto */
@media (max-width: 767px){
  .section-title,
  .cta-title{
    font-size: clamp(28px, 8vw, 40px);
  }
}

/* CTA (duas variações que você usa: cta-section e closing--brand) */
.cta-section .cta-title,
.closing--brand .closing-title{
  color: var(--text-white) !important;
}

/* Produtos (cobre as duas nomenclaturas que você usou) */
.products .section-title,
.products-carousel .section-title{
  color: var(--text-dark) !important; /* #0f1222 */
}

/* Depoimentos */
.testimonials .section-title{
  color: var(--text-dark) !important; /* #0f1222 */
}

