:root {
  --primary: #1B3A5C;
  --primary-dark: #0F2440;
  --secondary: #E85D3A;
  --secondary-hover: #D14A2A;
  --accent-ice: #38BDF8;
  --bg-light: #F8FAFC;
  --text-dark: #1A2940;
  --text-light: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-light);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-hover));
  color: var(--text-light);
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(232,93,58,0.3);
  transition: var(--transition);
  font-size: 1rem;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(232,93,58,0.4);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-outline {
  border: 2px solid var(--text-light);
  background: transparent;
  color: var(--text-light);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ===== TÍTULOS ===== */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

/* ===== SEÇÕES ===== */
.section { padding: 80px 5%; }
.section-light { background: var(--text-light); }
.section-gray { background: #F1F5F9; }

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}
header.scrolled { background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

/* Logo: ícone + texto abaixo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  line-height: 1;
  text-decoration: none;
}
.logo img {
  mix-blend-mode: screen;
  height: 38px;
  width: auto;
}
.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--secondary); }

.header-social {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}
.header-social a { color: var(--text-light); font-size: 1.1rem; opacity: 0.8; }
.header-social a:hover { opacity: 1; color: var(--secondary); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== CARROSSEL HERO ===== */
.hero-carousel {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.carousel-slide.active { opacity: 1; }
.carousel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(27,58,92,0.88), rgba(15,36,64,0.82));
  z-index: 1;
}
.carousel-content {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 120px 20px 80px;
}
.carousel-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.carousel-content h1 .highlight { color: var(--accent-ice); }
.carousel-content > p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 650px;
  margin-bottom: 35px;
  opacity: 0.9;
  line-height: 1.7;
}
.carousel-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.carousel-whatsapp-small {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.carousel-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.carousel-categories span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.carousel-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dots button.active { background: var(--secondary); border-color: var(--secondary); }
.carousel-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.carousel-arrows button {
  pointer-events: auto;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}
.carousel-arrows button:hover { background: var(--secondary); }

/* ===== LOGO NO CARROSSEL ===== */
.hero-logo {
  margin-bottom: 5px;
  text-align: center;
}
.hero-logo img {
  height: 160px;
  width: auto;
  display: inline-block;
  mix-blend-mode: screen;
}
.hero-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 5px;
  margin-top: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ===== TRUST SECTION ===== */
.trust-section { padding: 60px 5%; background: var(--text-light); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
}
.trust-item .icon { color: var(--secondary); font-size: 1.2rem; min-width: 30px; padding-top: 2px; }
.trust-item p { color: var(--text-dark); font-size: 0.95rem; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.about-content h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; line-height: 1.8; color: #475569; }

/* ===== GRID / CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: var(--text-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; text-align: center; }
.card-body .card-icon { font-size: 2.2rem; color: var(--secondary); margin-bottom: 15px; }
.card-body h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.card-body p { color: #64748b; font-size: 0.92rem; line-height: 1.6; }
.card .card-link { color: var(--secondary); font-weight: 600; font-size: 0.85rem; display: inline-block; margin-top: 12px; }

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.diferencial-card { text-align: center; padding: 30px; }
.diferencial-card .icon {
  font-size: 2rem;
  color: var(--secondary);
  width: 80px; height: 80px;
  background: rgba(232,93,58,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.diferencial-card h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 12px; }
.diferencial-card p { color: #64748b; max-width: 280px; margin: 0 auto; }

/* ===== PROCESSO ===== */
.processo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.processo-step { text-align: center; padding: 20px; }
.processo-step .step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  opacity: 0.15;
  margin-bottom: -10px;
}
.processo-step .step-icon { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.processo-step h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.processo-step p { color: #64748b; max-width: 220px; margin: 0 auto; font-size: 0.9rem; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(232,93,58,0.08) 0%, transparent 50%);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-light);
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* ===== BANNER INTERNO ===== */
.banner-interno {
  background: var(--primary-dark);
  padding: 140px 5% 60px;
  text-align: center;
  color: var(--text-light);
}
.banner-interno h1 { font-size: 2.5rem; margin-bottom: 8px; }
.banner-interno .breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.banner-interno .breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.banner-interno .breadcrumb a:hover { color: var(--secondary); }
.banner-interno .breadcrumb span { color: var(--secondary); }

/* ===== CONTATO ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 60px;
  align-items: start;
}
.contato-form {
  background: var(--text-light);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contato-form h2 { margin-bottom: 24px; color: var(--primary); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background: var(--text-light);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contato-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.info-card h3 { margin-bottom: 20px; color: var(--primary); }
.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.info-item:last-child { border-bottom: none; }
.info-item .icon { font-size: 1.5rem; color: var(--secondary); width: 40px; text-align: center; }
.info-item .text h4 { font-size: 0.9rem; color: #64748b; margin-bottom: 2px; }
.info-item .text p { font-weight: 500; color: var(--text-dark); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--text-light);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.whatsapp-float .tooltip {
  position: absolute;
  right: 72px;
  background: #1e293b;
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ===== FOOTER ===== */
footer { background: var(--primary-dark); color: var(--text-light); }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 5% 40px;
}
.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
  color: var(--text-light);
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px; height: 2px;
  background: var(--secondary);
}
.footer-col p, .footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 2.2; }
.footer-col a:hover { color: var(--secondary); }
.footer-logo { margin-bottom: 15px; }
.footer-logo img { height: 44px; width: auto; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}
.footer-social a:hover { background: var(--secondary); border-color: var(--secondary); color: var(--text-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease-out; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: all 0.8s ease-out; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ===== UTILITÁRIOS ===== */
.text-center { text-align: center; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-carousel, .carousel-content { min-height: 70vh; }
  .carousel-content { padding: 100px 20px 60px; }
  .carousel-content h1 { font-size: 2rem; }
  .carousel-content p { font-size: 1rem; }
  .hero-logo img { height: 120px; }
  .hero-logo-text { font-size: 2rem; letter-spacing: 3px; }
  .grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .processo-grid { grid-template-columns: 1fr 1fr; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--primary);
    padding: 20px;
    text-align: center;
    gap: 16px;
  }
  .header-social { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 20px; }
  .banner-interno { padding: 120px 20px 40px; }
  .section-title { font-size: 1.8rem; }
  .contato-form { padding: 24px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-carousel, .carousel-content { min-height: 60vh; }
  .carousel-content h1 { font-size: 1.6rem; }
  .hero-logo img { height: 100px; }
  .hero-logo-text { font-size: 1.5rem; letter-spacing: 2px; }
  .btn-primary { padding: 12px 24px; font-size: 0.9rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 16px; right: 16px; }
  .footer-main { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .processo-grid { grid-template-columns: 1fr; }
  .carousel-categories { gap: 8px; }
  .carousel-categories span { font-size: 0.78rem; padding: 6px 14px; }
  .carousel-arrows button { width: 36px; height: 36px; font-size: 1rem; }
}

/* TÍTULO DO CARROSSEL TODO EM AZUL */
.carousel-content h1 {
  color: var(--accent-ice);
}