/* ================================================================
   CredFácil Água Boa – MT | Premium Landing Page Stylesheet
   Aesthetic Direction: Clean Premium Financial Tech
   ================================================================ */

/* ————————————————————————————————
   1. DESIGN TOKENS & VARIABLES
   ———————————————————————————————— */
:root {
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* CredFácil Brand */
  --green-900: #03361f;
  --green-800: #04532f;
  --green-700: #047244;
  --green-600: #058B54;
  --green-500: #10B981;
  --green-400: #34D399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  /* Accent – Orange (used sparingly) */
  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-400: #FB923C;
  --orange-100: #ffedd5;
  --orange-50:  #fff7ed;

  /* MedicFácil – Purple */
  --purple-700: #4c1d95;
  --purple-600: #6D28D9;
  --purple-500: #7C3AED;
  --purple-400: #A78BFA;
  --purple-100: #ede9fe;
  --purple-50:  #f5f3ff;

  /* Neutrals */
  --dark-950: #030706;
  --dark-900: #080D0B;
  --dark-800: #0f1a15;
  --dark-700: #162118;
  --dark-600: #1e2e24;

  --gray-900: #0F172A;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50:  #F8FAFC;

  --white: #FFFFFF;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl:  0 20px 48px rgba(0,0,0,.10), 0 8px 16px rgba(0,0,0,.06);
  --shadow-green: 0 8px 24px rgba(5,139,84,.18);
  --shadow-purple: 0 8px 24px rgba(124,58,237,.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   0.2s var(--ease-out);
  --t-normal: 0.4s var(--ease-out);
  --t-slow:   0.7s var(--ease-out);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --section-pad: clamp(72px, 10vw, 120px);
}

/* ————————————————————————————————
   2. RESET & GLOBALS
   ———————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.65;
  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; }
ul  { list-style: none; }
button { font-family: inherit; }

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}

/* Section Spacing */
.section-spacing {
  padding-block: var(--section-pad);
}

/* ————————————————————————————————
   3. TYPOGRAPHY SYSTEM
   ———————————————————————————————— */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow.green  { color: var(--green-600); }
.section-eyebrow.orange { color: var(--orange-500); }
.section-eyebrow.purple { color: var(--purple-500); }

.section-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--gray-600);
  max-width: 620px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header .section-subtitle {
  margin-inline: auto;
}

.section-divider {
  width: 48px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--orange-500));
  margin: 20px auto 0;
}

/* ————————————————————————————————
   4. BUTTON SYSTEM
   ———————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:active { transform: scale(0.97); }

/* Primary Green */
.btn-primary {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}
.btn-primary::after { background: linear-gradient(180deg, rgba(255,255,255,.12), transparent); }
.btn-primary:hover  { background: var(--green-700); border-color: var(--green-700); box-shadow: var(--shadow-green); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }

/* Secondary / Ghost on dark */
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

/* Secondary on light bg */
.btn-secondary {
  background: var(--white);
  color: var(--green-600);
  border-color: var(--gray-200);
}
.btn-secondary:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* Purple */
.btn-purple {
  background: var(--purple-500);
  color: var(--white);
  border-color: var(--purple-500);
}
.btn-purple:hover { background: var(--purple-600); border-color: var(--purple-600); box-shadow: var(--shadow-purple); transform: translateY(-2px); }

/* Outline on light */
.btn-outline {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--green-600); color: var(--green-600); transform: translateY(-2px); }

/* Outline on dark */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }

/* Sizes */
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Icon-only helper */
.btn svg { flex-shrink: 0; }

/* ————————————————————————————————
   5. FIXED HEADER
   ———————————————————————————————— */
#main-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--t-normal);
  background: rgba(1, 27, 14, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

#main-header.header-scrolled {
  background: rgba(1, 27, 14, 0.95);
  border-bottom-color: rgba(5,139,84,.15);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  height: 68px;
}

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

.header-logo {
  height: 100px;
  width: auto;
  transition: height var(--t-normal);
}

#main-header.header-scrolled .header-logo {
  height: 80px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.nav-item:hover, .nav-item:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.btn-header-cta {
  padding: 10px 22px;
  font-size: 0.84rem;
  margin-left: 8px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 1100;
  padding: 8px;
}

.mobile-toggle .bar {
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--t-fast);
  transform-origin: center;
}

.mobile-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ————————————————————————————————
   6. HERO SECTION (PREMIUM V2)
   ———————————————————————————————— */
.hero-section {
  background-color: #011b0e;
  background-image: 
    linear-gradient(90deg, rgba(1,27,14,0.85) 0%, rgba(1,27,14,0.6) 40%, rgba(1,27,14,0) 100%),
    url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100,500 C400,600 600,0 1200,200' stroke='rgba(255,255,255,0.08)' stroke-width='1' fill='none' /%3E%3Cpath d='M0,700 C500,400 800,900 1400,200' stroke='rgba(5,139,84,0.15)' stroke-width='1' fill='none' /%3E%3Cpath d='M200,-100 C400,300 800,200 1100,800' stroke='rgba(234,88,12,0.15)' stroke-width='1' fill='none' /%3E%3Ccircle cx='600' cy='280' r='1' fill='rgba(255,255,255,0.4)' /%3E%3Ccircle cx='900' cy='600' r='1' fill='rgba(255,255,255,0.3)' /%3E%3C/svg%3E"),
    linear-gradient(110deg, #02381e 0%, #03522c 40%, rgba(234,88,12,0.25) 75%, rgba(234,88,12,0) 100%),
    url('imagem de fundo sessao hero.png');
  background-size: cover, cover, cover, cover;
  background-position: center left, center, center, center right;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient glows */
.hero-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  top: -20%; right: -10%;
  background: radial-gradient(circle, rgba(234,88,12,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  bottom: -15%; left: -10%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid texture */
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 15%, transparent 70%);
}

/* Subtle decorative dots */
.hero-bg-dots {
  position: absolute;
  top: 15%; right: 5%;
  width: 120px; height: 200px;
  background-image: radial-gradient(circle, rgba(255,255,255,.2) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
  opacity: .25;
}

/* ── Hero Grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

/* ── Left Column ── */
.hero-content {
  max-width: 560px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(5,139,84,.1);
  border: 1px solid rgba(5,139,84,.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-400);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 14px; height: 14px;
  color: var(--green-400);
  flex-shrink: 0;
}

/* Headline */
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-title .text-highlight {
  font-style: normal;
  background: linear-gradient(135deg, var(--green-400), var(--orange-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Underline decoration on "inteligentes" */
.hero-title .text-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-400), var(--orange-400));
  opacity: .6;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-text-emphasis {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green-500);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* ── Hero Buttons (with icon circle + subtext) ── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px 12px 14px;
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--t-normal);
  text-decoration: none;
}

.hero-btn-primary {
  background: var(--green-600);
  border: 2px solid var(--green-600);
  color: var(--white);
}

.hero-btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 0 24px rgba(5,139,84,.35), var(--shadow-green);
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}

.hero-btn-icon-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-btn-icon-medic {
  background: rgba(124,58,237,.2);
}

.hero-btn-text {
  display: flex;
  flex-direction: column;
}

.hero-btn-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-btn-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-top: 1px;
}

.hero-btn-primary .hero-btn-sub { color: rgba(255,255,255,.7); }

/* ── Trust Strip ── */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
}

.hero-trust-item svg {
  width: 14px; height: 14px;
  color: var(--green-500);
  flex-shrink: 0;
}

/* ── Authority Metric Cards ── */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(5,139,84,.12);
  border-radius: var(--radius-lg);
  transition: all var(--t-normal);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.hero-metric:hover {
  border-color: rgba(5,139,84,.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.hero-metric-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(5,139,84,.12);
  color: var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-metric-icon svg { width: 20px; height: 20px; }

.hero-metric-icon-orange {
  background: rgba(249,115,22,.1);
  color: var(--orange-400);
}

.hero-metric-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2px;
}

.hero-metric-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
}

/* ═══════════════════════════════
   RIGHT COLUMN: Image + Panel
   ═══════════════════════════════ */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Floating Cards ── */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15,26,21,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 10;
  animation: float-subtle 5s ease-in-out infinite;
}

@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.hero-float-top-right {
  top: -24px;
  right: 24px;
  animation-delay: 0s;
}

.hero-float-center-left {
  top: 30%;
  left: -24px;
  animation-delay: 1.5s;
}

.hero-float-right {
  top: 60%;
  right: -32px;
  animation-delay: 3s;
}

.hero-float-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,.15);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon svg { width: 16px; height: 16px; }

.hero-float-icon-green {
  background: rgba(5,139,84,.15);
  color: var(--green-400);
}

.hero-float-sup {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1;
}

.hero-float-value {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.hero-float-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gray-500);
  line-height: 1.2;
}

/* ── Services Dashboard Panel ── */
.hero-panel {
  background: rgba(15,26,21,.6);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-2xl);
  padding: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero-panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}

.hero-panel-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(5,139,84,.15);
  color: var(--green-400);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-service-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  transition: all var(--t-normal);
  cursor: default;
}

.hero-service-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(5,139,84,.2);
  transform: translateY(-2px);
}

.hero-service-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(5,139,84,.12);
  color: var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-service-icon svg { width: 18px; height: 18px; }

.hero-service-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.hero-service-desc {
  font-size: 0.7rem;
  color: var(--gray-500);
  line-height: 1.35;
}

/* ── Bottom Compliance Bar ── */
.hero-compliance-bar {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: linear-gradient(90deg, rgba(1,27,14,0.9) 0%, rgba(2,56,30,0.8) 60%, rgba(154,52,18,0.5) 100%);
  border-top: 1px solid rgba(5,139,84,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 0;
}

.hero-compliance-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-compliance-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--white);
}

.hero-compliance-main svg {
  width: 20px; height: 20px;
  color: var(--green-400);
  flex-shrink: 0;
}

.hero-compliance-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
}

/* ————————————————————————————————
   7. SERVICES SECTION
   ———————————————————————————————— */
.services-section {
  background: var(--gray-50);
  padding-block: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--t-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-600);
}

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--t-normal);
}

.service-card-icon svg { width: 24px; height: 24px; }

.service-card:hover .service-card-icon {
  background: var(--green-600);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-600);
  transition: all var(--t-fast);
}

.service-card-cta svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service-card-cta:hover { color: var(--green-700); }
.service-card-cta:hover svg { transform: translateX(4px); }

.services-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 48px;
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--gray-600);
}

.services-disclaimer svg {
  width: 16px; height: 16px;
  color: var(--orange-500);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ————————————————————————————————
   8. WHY CHOOSE SECTION
   ———————————————————————————————— */
.why-choose-section {
  background: var(--white);
  padding-block: var(--section-pad);
}

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

.why-stats .section-subtitle {
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--orange-500);
  transition: all var(--t-normal);
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
}

.why-reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all var(--t-normal);
}

.reason-card:hover {
  border-color: var(--orange-500);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.reason-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--orange-50);
  color: var(--orange-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-icon svg { width: 22px; height: 22px; }

.reason-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.reason-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ————————————————————————————————
   9. MEDICFÁCIL SECTION
   ———————————————————————————————— */
.medicfacil-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--purple-50) 40%, var(--green-50) 100%);
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.medicfacil-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  bottom: -20%; left: -10%;
  background: radial-gradient(circle, rgba(124,58,237,.06) 0%, transparent 70%);
  pointer-events: none;
}

.medicfacil-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partnership-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 800;
}

.partnership-badge .credfacil { color: var(--green-600); }
.partnership-badge .sep       { color: var(--gray-400); font-weight: 400; }
.partnership-badge .medicfacil { color: var(--purple-500); }

.medicfacil-logo {
  height: 52px;
  width: auto;
  margin-bottom: 24px;
}

.medicfacil-section .section-title { color: var(--purple-700); }

.medicfacil-section .section-subtitle { color: var(--gray-600); margin-inline: auto; }

.medicfacil-section .section-divider {
  background: linear-gradient(90deg, var(--purple-500), var(--green-500));
}

.medicfacil-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.medicfacil-card {
  background: var(--white);
  border: 1px solid rgba(124,58,237,.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--t-normal);
}

.medicfacil-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
  border-color: var(--purple-400);
}

.medic-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--purple-100);
  color: var(--purple-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--t-normal);
}

.medic-card-icon svg { width: 22px; height: 22px; }

.medicfacil-card:hover .medic-card-icon {
  background: var(--purple-500);
  color: var(--white);
}

.medicfacil-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.medicfacil-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  flex-grow: 1;
}

.medic-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--purple-600);
  margin-top: 16px;
  transition: all var(--t-fast);
}

.medic-card-cta svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.medic-card-cta:hover { color: var(--purple-700); }
.medic-card-cta:hover svg { transform: translateX(4px); }

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

.medicfacil-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 700px;
  margin: 24px auto 0;
  padding: 14px 18px;
  background: rgba(124,58,237,.04);
  border: 1px dashed rgba(124,58,237,.15);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--gray-600);
  text-align: left;
}

.medicfacil-disclaimer svg {
  width: 16px; height: 16px;
  color: var(--purple-500);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ————————————————————————————————
   10. FRANCHISE SECTION
   ———————————————————————————————— */
.franchise-section {
  background: var(--gray-50);
  padding-block: var(--section-pad);
}

.franchise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Connecting line between cards */
.franchise-grid::before {
  content: '';
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  transform: translate(-50%, -50%);
  height: 2px;
  border-top: 2px dashed var(--green-600);
  opacity: 0.25;
  z-index: 0;
}

.franchise-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 36px;
  transition: all var(--t-normal);
}

.franchise-card.active-card {
  border-color: var(--green-600);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}

.franchise-card.active-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.franchise-card.coming-card {
  border-style: dashed;
  background: rgba(248,250,252,.8);
}

.franchise-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.active-badge {
  background: var(--green-50);
  color: var(--green-600);
}

.active-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

.coming-badge {
  background: var(--orange-50);
  color: var(--orange-600);
}

.franchise-city {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.coming-card .franchise-city { color: var(--gray-500); }

.franchise-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.coming-card .franchise-desc { color: var(--gray-400); margin-bottom: 28px; }

.pap-badge {
  background: var(--purple-50);
  color: var(--purple-600);
}

.pap-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
}

.franchise-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 28px;
  line-height: 1.5;
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius-lg);
}

.franchise-address svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.pap-cities {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pap-cities li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-800);
}

.pap-cities li svg {
  width: 16px;
  height: 16px;
  color: var(--purple-500);
}

.franchise-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ————————————————————————————————
   11. ABOUT GROUP SECTION
   ———————————————————————————————— */
.group-section {
  background: var(--white);
  padding-block: var(--section-pad);
}

.group-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: flex-start;
}

.group-lead-text {
  font-size: 1.08rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}

.group-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Timeline bar */
.group-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}

.timeline-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-600);
}

.timeline-content h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ————————————————————————————————
   12. TRUST SECTION
   ———————————————————————————————— */
.trust-section {
  background: var(--gray-50);
  padding-block: var(--section-pad);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.trust-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--t-normal);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-600);
}

.trust-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--t-normal);
}

.trust-icon svg { width: 22px; height: 22px; }

.trust-item:hover .trust-icon {
  background: var(--green-600);
  color: var(--white);
}

.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ————————————————————————————————
   13. FAQ SECTION (PREMIUM ACCORDION)
   ———————————————————————————————— */
.faq-section {
  background: var(--white);
  padding-block: var(--section-pad);
}

.faq-container {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  transition: all var(--t-normal);
}

.faq-item:hover:not(.faq-active) {
  border-color: var(--gray-300);
}

.faq-item.faq-active {
  border-color: var(--green-600);
  box-shadow: 0 4px 16px rgba(5,139,84,.06);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  transition: color var(--t-fast);
}

.faq-trigger:hover { color: var(--green-600); }

.faq-active .faq-trigger { color: var(--green-600); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-normal);
}

.faq-icon svg {
  width: 14px; height: 14px;
  color: var(--gray-600);
  transition: transform var(--t-normal);
}

.faq-active .faq-icon {
  background: var(--green-600);
}

.faq-active .faq-icon svg {
  color: var(--white);
  transform: rotate(180deg);
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-normal);
}

.faq-panel-inner {
  padding: 0 24px 24px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

/* ————————————————————————————————
   14. FINAL CTA SECTION
   ———————————————————————————————— */
.final-cta-section {
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--green-700) 100%);
  color: var(--white);
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background: radial-gradient(circle at 70% 30%, rgba(249,115,22,.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--gray-300);
  margin-bottom: 32px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--orange-400);
  margin-bottom: 36px;
}

.cta-phone svg { width: 22px; height: 22px; color: var(--white); }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ————————————————————————————————
   15. FOOTER
   ———————————————————————————————— */
.main-footer {
  background-color: #011b0e;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-200,200 C300,300 600,-100 1200,100' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none' /%3E%3Cpath d='M0,400 C400,200 800,300 1400,50' stroke='rgba(234,88,12,0.08)' stroke-width='1.5' fill='none' /%3E%3C/svg%3E"),
    linear-gradient(135deg, #011b0e 0%, #02381e 60%, rgba(154,52,18,0.7) 100%);
  background-size: cover;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.85);
  padding: 72px 0 36px;
  border-top: 1px solid rgba(5,139,84,0.2);
}

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

.footer-logo {
  height: 100px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 380px;
  color: var(--gray-500);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--gray-400);
  transition: all var(--t-fast);
}

.footer-socials a:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-socials a svg { width: 18px; height: 18px; }

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--white); }

.footer-disclaimers {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 36px;
}

.disclaimer-block {
  margin-bottom: 16px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer-bottom {
  text-align: center;
  margin-top: 36px;
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ————————————————————————————————
   16. SCROLL REVEAL ANIMATIONS
   ———————————————————————————————— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children delays */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ————————————————————————————————
   17. RESPONSIVE MEDIA QUERIES
   ———————————————————————————————— */

/* ≥ 640px (Large phones / small tablets) */
@media (min-width: 640px) {
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .medicfacil-grid    { grid-template-columns: repeat(2, 1fr); }
  .trust-grid         { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 768px (Tablets) */
@media (min-width: 768px) {
  .hero-grid           { grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
  .hero-metrics        { grid-template-columns: repeat(4, 1fr); }
  .why-grid            { grid-template-columns: 1fr 1fr; gap: 48px; }
  .franchise-grid      { grid-template-columns: 1fr 1fr; }
  .franchise-grid::before { display: block; }
  .group-grid          { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-grid         { grid-template-columns: 2fr 1fr 1fr; }
}

/* ≥ 1024px (Desktop) */
@media (min-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(3, 1fr); }
  .medicfacil-grid     { grid-template-columns: repeat(2, 1fr); }
  .trust-grid          { grid-template-columns: repeat(3, 1fr); }
  .hero-grid           { gap: 48px; }
}

/* ≤ 767px (Mobile) */
@media (max-width: 767px) {
  .mobile-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--dark-900);
    border-left: 1px solid rgba(5,139,84,.15);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 28px 40px;
    gap: 8px;
    transition: right var(--t-normal);
    z-index: 1050;
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
    overflow-y: auto;
  }

  .nav-links.nav-open { right: 0; }

  .nav-item {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .btn-header-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
    justify-content: center;
  }

  /* Hero mobile */
  .hero-section { min-height: auto; padding: 110px 0 0; }
  .hero-services-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }

  .hero-actions { flex-direction: column; }
  .hero-btn-primary,
  .hero-btn-secondary { width: 100%; }

  /* Hide some floating cards on mobile */
  .hero-float-center-left,
  .hero-float-right { display: none; }
  .hero-float-top-right { top: -8px; right: 8px; }

  .hero-bg-dots { display: none; }

  /* Compliance bar stacks vertically */
  .hero-compliance-inner { flex-direction: column; gap: 10px; text-align: center; }
  .hero-compliance-main { justify-content: center; }
  .hero-compliance-sub { text-align: center; max-width: 100%; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
}
