/* ==========================================================================
   Debinc Seguros - Global Stylesheet
   Color Palette:
   - Primary (Cyan/Blue): #008BC5
   - Accent/Warm (Coral/Red): #F3595B
   - Highlight (Gold/Yellow): #FBB022
   - Light Neutral: #F8FAFC
   - Dark Neutral: #0F172A
   ========================================================================== */

:root {
  --primary: #0097D7;
  --primary-hover: #0082b9;
  --primary-light: #e6f5fc;
  --secondary: #F85A5E;
  --secondary-hover: #e04448;
  --accent-orange: #FFB81C;
  --warning: #FFB81C;
  --dark: #0F172A;
  --dark-muted: #334155;
  --light: #EBEBEB;
  --light-soft: #F8FAFC;
  --white: #FFFFFF;
  --border: #D9D9D9;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 139, 197, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark-muted);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* Evita layout e pintura antecipados das seções fora da tela no mobile. */
.section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 780px;
}

.section-light {
  background-color: var(--white);
}

.section-bg {
  background-color: var(--light);
}

.section-primary {
  background: linear-gradient(135deg, #0097D7 0%, #006b99 100%);
  color: var(--white);
}

.section-primary h1,
.section-primary h2,
.section-primary h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-header .badge, .badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(0, 151, 215, 0.12) !important;
  color: var(--primary) !important;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.badge-coral,
.section-header .badge-coral {
  background-color: rgba(255, 184, 28, 0.2) !important;
  color: #9A6200 !important;
}

.badge-orange,
.section-header .badge-orange {
  background-color: rgba(255, 184, 28, 0.2) !important;
  color: #9A6200 !important;
}

.section-primary .badge {
  background-color: rgba(255, 184, 28, 0.2) !important;
  color: var(--accent-orange) !important;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: #64748B;
}

.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 24px;
}

.top-bar-info span, .top-bar-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.top-bar-info a:hover {
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 151, 215, 0.25);
  transition: var(--transition);
  border-bottom: 3px solid var(--accent-orange);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  min-height: 85px;
}

.logo img {
  height: 78px;
  max-height: 78px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: #1E293B;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  color: #CBD5E1;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: rgba(255, 184, 28, 0.15);
  color: var(--accent-orange);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 139, 197, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 139, 197, 0.45);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 90px 0 100px 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #E6F4FB 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.top-bar {
  background-color: var(--dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-orange)) 1;
}

.top-bar-info span, .top-bar-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
}

.top-bar-info a:hover {
  color: var(--accent-orange);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: rgba(0, 151, 215, 0.12);
  border: 1px solid rgba(0, 151, 215, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-feature-item i {
  color: var(--secondary);
}

.hero-title {
  font-size: 3.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.hero-feature-item i {
  color: #25D366;
  font-size: 1.2rem;
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 280px;
}

.hero-floating-card i {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-desc {
  color: #64748B;
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.card-link i {
  transition: var(--transition);
}

.card-link:hover i {
  transform: translateX(4px);
}

/* Operadoras Cards */
.operator-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.operator-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.operator-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.operator-logo img {
  width: 150px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto;
}

.page-operator-logo {
  width: min(210px, 55vw);
  height: 82px;
  object-fit: contain;
  margin: 0 auto 18px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.operator-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.operator-desc {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 16px;
}

/* Founders Section */
.founder-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 280px 1fr;
}

.founder-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.founder-info {
  padding: 40px;
}

.founder-name {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.founder-role {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: block;
}

.founder-bio {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Simulator Form Widget
   ========================================================================== */
.simulator-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control, .form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background-color: var(--light);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  color: #475569;
  display: none;
  font-size: 0.95rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Page Header (Subpages) */
.page-banner {
  padding: 70px 0;
  background: linear-gradient(135deg, #0F172A 0%, #008BC5 100%);
  color: var(--white);
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 14px;
}

.page-banner p {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 680px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: #94A3B8;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin: 16px 0 24px 0;
  font-size: 0.9rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid, .grid-3, .grid-2, .grid-4, .founder-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 20px;
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    display: none;
  }
  .has-dropdown.active .dropdown-menu {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar {
    display: none;
  }
}

/* 2026 visual and responsive refinement */
:root { --ink:#102a43; --muted:#52697d; --surface:#f4f9fc; --line:#dceaf2; }
body { background:var(--surface); color:var(--muted); }
body.menu-open { overflow:hidden; }
.header-container { min-height:78px; }
.nav-menu { gap:clamp(14px,1.7vw,28px); }
.nav-link,.header-cta .btn { white-space:nowrap; }
.mobile-toggle { width:44px; height:44px; border-radius:12px; background:var(--primary-light); }
.mobile-toggle:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid rgba(0,139,197,.35); outline-offset:3px; }
.hero::before { content:''; position:absolute; width:420px; height:420px; border-radius:50%; right:-170px; top:-180px; background:rgba(251,176,34,.14); }
.hero-title,.section-header h2,.page-banner h1 { text-wrap:balance; }
.hero-image-card img { aspect-ratio:4/3; height:auto; }
.card,.operator-card,.simulator-card,.founder-card { border-color:var(--line); }
.card { position:relative; overflow:hidden; }
.card::after { content:''; position:absolute; inset:auto 0 0; height:4px; background:linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-orange)); opacity:0.8; transition:opacity .25s ease, height .25s ease; }
.card:hover::after { opacity:1; height:6px; }
.page-banner { position:relative; overflow:hidden; padding:clamp(58px,8vw,90px) 0; }
.page-banner::after { content:''; position:absolute; width:280px; height:280px; border:1px solid rgba(255,255,255,.16); border-radius:50%; right:-80px; top:-150px; box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025); }
.section .grid-2>div>img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.whatsapp-float { width:58px; height:58px; font-size:29px; }
.whatsapp-float::after { content:'Fale conosco'; position:absolute; right:68px; white-space:nowrap; background:var(--dark); color:#fff; font:700 12px/1 var(--font-main); padding:9px 11px; border-radius:8px; opacity:0; transform:translateX(8px); transition:.2s ease; pointer-events:none; }
.whatsapp-float:hover::after { opacity:1; transform:none; }

@media (max-width:1280px) {
  .header-cta .btn { display:none; }
  .nav-menu { gap:18px; }
  .top-bar-info:first-child span:nth-child(2) { display:none; }
}
@media (max-width:992px) {
  .top-bar { display:none; }
  .header-container { min-height:85px; padding-block:8px; }
  .logo img { height:68px; max-height:68px; }
  .mobile-toggle { background: rgba(255, 255, 255, 0.2); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4); }
  .nav-menu {
    top:85px;
    height:calc(100dvh - 85px);
    padding:20px 24px max(32px, env(safe-area-inset-bottom));
    gap:2px;
    z-index:1100;
    background-color:var(--primary);
  }
  .nav-link {
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:50px;
    padding:11px 0;
    font-size:1rem;
    line-height:1.35;
    color:#FFFFFF;
  }
  .nav-link.active::after { bottom:4px; width:32px; }
  .has-dropdown { display:block; width:100%; }
  .has-dropdown > .nav-link i { margin-left:12px; }
  .dropdown-menu { width:100%; background:#1E293B; border-radius:12px; padding:8px 12px; border: 1px solid rgba(255,255,255,0.1); }
  .dropdown-item { padding:11px 12px; color: #CBD5E1; }
  .hero { padding:58px 0 72px; }
  .hero-grid { gap:42px; }
  .hero-media-wrapper { max-width:680px; width:100%; margin:0 auto; }
  .hero-floating-card { left:16px; bottom:-22px; }
  .section { padding:64px 0; }
  .grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .founder-card { grid-template-columns:220px 1fr; }
}
@media (max-width:680px) {
  .container { padding-inline:18px; }
  .section { padding:52px 0; }
  .section-header { margin-bottom:32px; }
  .section-header h2,.page-banner h1 { font-size:clamp(1.85rem,8vw,2.3rem); }
  .section-header p,.page-banner p { font-size:1rem; }
  .hero-title { font-size:clamp(2.15rem,10vw,2.8rem); }
  .hero-subtitle { font-size:1.05rem; }
  .hero-actions,.hero-features { flex-direction:column; align-items:stretch; }
  .hero-actions .btn { width:100%; }
  .hero-features { gap:12px; }
  .hero-floating-card { position:relative; left:auto; bottom:auto; margin:-18px 14px 0; }
  .grid-3,.grid-2,.grid-4,.footer-grid,.founder-card { grid-template-columns:minmax(0,1fr); }
  .card,.simulator-card { padding:26px 22px; }
  .founder-img { min-height:360px; }
  .founder-info { padding:28px 22px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; gap:12px; }
  .simulator-card form>div[style*='grid-template-columns'] { grid-template-columns:1fr !important; gap:0 !important; }
  .btn-lg { padding:14px 20px; font-size:.98rem; }
  .whatsapp-float { right:16px; bottom:16px; }
  .whatsapp-float::after { display:none; }
}

/* Gallery Carousel - Quem Somos */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(0, 139, 197, 0.25);
  border: 1px solid rgba(0, 139, 197, 0.15);
}

.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 20;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  box-shadow: 0 0 10px var(--warning);
  border-radius: 0 2px 2px 0;
}

.carousel-container:hover .carousel-progress-bar {
  animation-play-state: paused !important;
}

@keyframes carouselProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 45%, rgba(15,23,42,0.85) 100%);
  pointer-events: none;
}

.carousel-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 5;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.caption-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(0, 139, 197, 0.9);
  color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  backdrop-filter: blur(8px);
}

.carousel-caption p {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #F8FAFC;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 18px;
}

.carousel-btn.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 24px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--warning);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 680px) {
  .carousel-slide img {
    height: 350px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .carousel-caption {
    bottom: 34px;
    left: 16px;
    right: 16px;
  }
  .carousel-caption p {
    font-size: 0.95rem;
  }
  .carousel-dots {
    bottom: 12px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; } }
