/* ===================================
   ICTUS TECH — DESIGN SYSTEM
   Cobalt Blue + Emerald Green
   =================================== */

:root {
    /* Cobalt Blue (primary) */
    --cobalt-950: #061735;
    --cobalt-900: #0A2540;
    --cobalt-800: #0A3D91;
    --cobalt-700: #0C4DC4;
    --cobalt-600: #0F5FE0;
    --cobalt-500: #1A6FF5;
    --cobalt-400: #4D8FF7;
    --cobalt-300: #7AACFA;
    --cobalt-200: #B3D1FC;
    --cobalt-100: #E0EDFE;
    --cobalt-50:  #F0F6FF;

    /* Emerald (accent) */
    --emerald-900: #064E3B;
    --emerald-800: #065F46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10B981;
    --emerald-400: #34D399;
    --emerald-300: #6EE7B7;
    --emerald-200: #A7F3D0;
    --emerald-100: #D1FAE5;
    --emerald-50:  #ECFDF5;

    /* Charcoal (neutral text) */
    --charcoal-950: #0F1419;
    --charcoal-900: #1A1F2E;
    --charcoal-800: #2D3344;
    --charcoal-700: #3D4557;
    --charcoal-600: #505A6E;
    --charcoal-500: #6B7688;
    --charcoal-400: #8B95A5;
    --charcoal-300: #A8B0BC;
    --charcoal-200: #C8CDD5;
    --charcoal-100: #E2E5EA;
    --charcoal-50:  #F3F4F7;

    --silver-100: #F8F9FB;
    --silver-200: #EEF0F4;

    --purple: #7C3AED;
    --purple-light: #EDE9FE;

    /* Spacing */
    --section-py: 100px;
    --container-max: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10,37,64,0.06), 0 1px 2px rgba(10,37,64,0.04);
    --shadow-md: 0 4px 16px rgba(10,37,64,0.08), 0 2px 4px rgba(10,37,64,0.04);
    --shadow-lg: 0 12px 40px rgba(10,37,64,0.12), 0 4px 8px rgba(10,37,64,0.06);
    --shadow-xl: 0 24px 64px rgba(10,37,64,0.16);
    --shadow-emerald: 0 10px 28px rgba(16,185,129,0.30);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--charcoal-900);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--cobalt-500), var(--emerald-500));
    z-index: 1100;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(16,185,129,0.5);
}

/* ===== TYPOGRAPHY ===== */
.section-header { text-align:center; max-width:680px; margin: 0 auto 60px; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--cobalt-700);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--cobalt-50);
    border: 1px solid var(--cobalt-100);
    border-radius: 99px;
}
.section-label::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--charcoal-950);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-title__accent {
    background: linear-gradient(135deg, var(--emerald-500), var(--cobalt-600));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc { font-size: 16px; color: var(--charcoal-500); line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}
.btn--primary {
    background: linear-gradient(135deg, var(--cobalt-600), var(--cobalt-700));
    color: #fff;
    box-shadow: 0 4px 16px rgba(15,95,224,0.3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15,95,224,0.42);
}
.btn--outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}
.btn--light {
    background: #fff;
    color: var(--cobalt-700);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.btn--emerald {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff;
    box-shadow: var(--shadow-emerald), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--emerald::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,0.45) 50%, transparent 75%);
    transform: translateX(-120%);
    transition: transform 0.9s var(--ease);
}
.btn--emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(16,185,129,0.40), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--emerald:hover::after { transform: translateX(120%); }
.btn--full { width: 100%; }
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 5px 0px 0px 0px;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(10,37,64,0.06);
    transition: all var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.95); }
.header__inner { display:flex; align-items:center; height:72px; gap:32px; }
.header__logo { display:flex; align-items:center; flex-shrink:0; }
.header__logo-img { height:75px; width:auto; display:block; }
.header__nav { display:flex; align-items:center; gap:4px; margin-left:auto; }
.header__link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-700);
    border-radius: 8px;
    transition: all var(--transition);
}
.header__link:hover { color: var(--cobalt-600); background: var(--cobalt-50); }
.header__link--cta {
    background: linear-gradient(135deg, var(--cobalt-600), var(--cobalt-700));
    color: #fff !important;
    margin-left: 8px;
    border-radius: 50px;
    padding: 9px 22px;
    box-shadow: 0 4px 14px rgba(15,95,224,0.28);
}
.header__link--cta:hover { transform: translateY(-1px); }

.header__search {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--charcoal-50);
    border-radius: 50px;
    padding: 8px 16px;
    gap: 8px;
    width: 220px;
    transition: all var(--transition);
}
.header__search:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px var(--emerald-300);
    width: 280px;
}
.header__search-icon { color: var(--charcoal-400); flex-shrink: 0; }
.header__search-input {
    border: none; outline: none; background: transparent;
    font-size: 14px; color: var(--charcoal-900); width: 100%;
}
.header__search-input::placeholder { color: var(--charcoal-400); }

.search-results {
    position: absolute;
    top: 44px; left: 0; right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
}
.search-results.active { display: block; }
.search-result-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--charcoal-700);
    border-bottom: 1px solid var(--charcoal-50);
    transition: background var(--transition);
}
.search-result-item:hover { background: var(--emerald-50); color: var(--emerald-700); }
.search-result-item strong { display:block; color: var(--charcoal-900); margin-bottom:2px; }

.header__hamburger { display:none; flex-direction:column; gap:5px; padding:8px; }
.header__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--charcoal-800);
    border-radius: 2px;
    transition: all var(--transition);
}
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--charcoal-100);
}
.mobile-nav.active { display: flex; }
.mobile-nav__link {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--charcoal-700);
    border-bottom: 1px solid var(--charcoal-50);
}
.mobile-nav__link--cta {
    color: #fff;
    background: var(--cobalt-600);
    border-radius: 50px;
    text-align: center;
    padding: 14px;
    margin-top: 12px;
    border: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(26,111,245,0.32), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(16,185,129,0.22), transparent 60%),
        linear-gradient(135deg, #061735 0%, var(--cobalt-900) 35%, #0a2a5e 70%, #061021 100%);
}
.hero__glow {
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    will-change: transform;
}
.hero__glow--1 {
    background: radial-gradient(circle, rgba(26,111,245,0.55), transparent 65%);
    top: -120px; right: -120px;
    animation: floatGlow 14s ease-in-out infinite;
}
.hero__glow--2 {
    background: radial-gradient(circle, rgba(16,185,129,0.45), transparent 65%);
    bottom: -160px; left: -100px;
    animation: floatGlow 18s ease-in-out infinite reverse;
}
.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 80%);
    opacity: 0.6;
}
.hero__particles { position: absolute; inset: 0; opacity: 0.5; }

.hero__layout {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--emerald-200);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    animation: fadeInDown 0.8s var(--ease);
}
.hero__badge-dot {
    width: 8px; height: 8px;
    background: var(--emerald-400);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
}
.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s var(--ease) 0.1s both;
    letter-spacing: -1px;
}
.hero__title--accent {
    background: linear-gradient(135deg, var(--emerald-300), var(--emerald-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__lead {
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--emerald-300);
    font-weight: 500;
    margin-bottom: 18px;
    animation: fadeInUp 0.9s var(--ease) 0.2s both;
}
.hero__subtitle {
    font-size: 15.5px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 36px;
    animation: fadeInUp 0.9s var(--ease) 0.3s both;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeInUp 0.9s var(--ease) 0.4s both;
}
.hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeInUp 0.9s var(--ease) 0.5s both;
}
.hero__stat { text-align: left; }
.hero__stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.hero__stat-label {
    display: block;
    font-size: 12.5px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
    letter-spacing: 0.4px;
}

/* Hero device mockup (live) */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    animation: heroFloat 7s ease-in-out infinite;
}
.hero__device {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(160deg, rgba(255,255,255,0.97), rgba(244,247,255,0.93));
    border-radius: 28px;
    padding: 26px;
    box-shadow:
        0 40px 90px -20px rgba(0,0,0,0.55),
        0 12px 30px rgba(8,20,48,0.35),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
    animation: deviceIn 1s var(--ease) 0.3s both;
    overflow: hidden;
    transition: transform 0.4s var(--ease);
}
.hero__device-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.55) 50%, transparent 60%);
    transform: translateX(-100%);
    pointer-events: none;
    animation: glareSweep 6s ease-in-out infinite;
}
.hero__device-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 18px;
}
.hero__device-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald-500), var(--cobalt-600));
    box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.hero__device-greeting { flex: 1; line-height: 1.2; }
.hero__device-hello { display: block; font-size: 11.5px; color: var(--charcoal-500); }
.hero__device-greeting strong { font-size: 14.5px; color: var(--charcoal-950); font-weight: 700; }
.hero__device-bell {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    position: relative;
}
.hero__device-bell::after {
    content: '';
    position: absolute;
    top: 6px; right: 6px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    border: 2px solid #fff;
    animation: pulse-dot 2s infinite;
}
.hero__device-stat {
    background: linear-gradient(135deg, var(--cobalt-900), var(--cobalt-700));
    color: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.hero__device-stat::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.45), transparent 70%);
    top: -80px; right: -60px;
}
.hero__device-stat-label {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 6px;
}
.hero__device-stat-value {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    display: inline-flex;
    align-items: baseline;
    position: relative;
}
.hero__device-stat-unit { font-size: 18px; font-weight: 600; margin-left: 2px; opacity: 0.8; }
.hero__device-bar {
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 99px;
    margin-top: 10px;
    overflow: hidden;
}
.hero__device-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-300));
    border-radius: 99px;
    animation: barGrow 1.4s var(--ease) 0.6s both;
    transform-origin: left;
}
.hero__device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.hero__device-tile {
    background: #fff;
    border: 1px solid var(--charcoal-100);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--charcoal-700);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__device-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(10,37,64,0.12);
    border-color: var(--emerald-200);
}
.hero__device-tile-icon {
    width: 36px; height: 36px;
    margin: 0 auto 6px;
    border-radius: 10px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center;
}
.hero__device-pulse {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600;
    color: var(--charcoal-700);
    background: #fff;
    border: 1px solid var(--charcoal-100);
    border-radius: 99px;
    padding: 8px 14px;
    width: fit-content;
    margin: 0 auto;
}
.hero__device-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
    animation: pulse-dot 2s infinite;
}

.hero__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--cobalt-900);
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 99px;
    box-shadow: 0 18px 38px rgba(0,0,0,0.3);
    z-index: 2;
}
.hero__chip svg {
    color: #fff;
    background: var(--emerald-500);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
}
.hero__chip--1 {
    top: -18px; left: -34px;
    animation: chipFloat 5s ease-in-out infinite, fadeInDown 0.8s var(--ease) 0.7s both;
}
.hero__chip--2 {
    bottom: -18px; right: -34px;
    animation: chipFloat 6s ease-in-out infinite reverse, fadeInUp 0.8s var(--ease) 0.9s both;
}

.hero__scroll-cue {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 14px;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    transition: border-color var(--transition);
}
.hero__scroll-cue:hover { border-color: var(--emerald-400); }
.hero__scroll-cue span {
    width: 4px; height: 8px;
    background: var(--emerald-400);
    border-radius: 99px;
    animation: scrollCue 1.8s ease-in-out infinite;
}

/* ===== INTEGRATIONS / TRUST RIBBON ===== */
.trust-ribbon {
    background: var(--charcoal-950);
    color: rgba(255,255,255,0.5);
    padding: 28px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-ribbon__label {
    text-align: center;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--charcoal-400);
    margin-bottom: 20px;
}
.trust-marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.trust-marquee__track {
    display: flex;
    gap: 56px;
    flex-shrink: 0;
    animation: marquee 32s linear infinite;
    padding-right: 56px;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
    transition: color var(--transition);
}
.trust-item:hover { color: var(--emerald-400); }
.trust-item__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--emerald-500);
    box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

/* ===== FEATURES ===== */
.features { padding: var(--section-py) 0; background: var(--silver-100); }
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    border: 1px solid var(--charcoal-100);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cobalt-500), var(--emerald-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--cobalt-50);
    color: var(--cobalt-600);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: transform var(--transition);
}
.feature-card:hover .feature-card__icon { transform: scale(1.08) rotate(-4deg); }
.feature-card__icon--emerald { background: var(--emerald-50); color: var(--emerald-600); }
.feature-card__icon--purple { background: var(--purple-light); color: var(--purple); }
.feature-card__title {
    font-size: 18px; font-weight: 700;
    color: var(--charcoal-950);
    margin-bottom: 10px;
}
.feature-card__desc { font-size: 14px; color: var(--charcoal-500); line-height: 1.7; }

/* ===== ECOSYSTEM (Architecture) ===== */
.ecosystem {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, #fff 0%, var(--silver-100) 100%);
    position: relative;
}
.ecosystem__diagram {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ecosystem__layer {
    background: #fff;
    border: 1px solid var(--charcoal-100);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: center;
    transition: all var(--transition);
    position: relative;
}
.ecosystem__layer:hover {
    transform: translateX(4px);
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-md);
}
.ecosystem__layer-head {
    display: flex; align-items: center; gap: 12px;
}
.ecosystem__layer-num {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cobalt-600), var(--cobalt-700));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.ecosystem__layer--accent .ecosystem__layer-num {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
}
.ecosystem__layer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal-950);
    letter-spacing: -0.2px;
}
.ecosystem__layer-title small {
    display: block;
    font-size: 11.5px;
    color: var(--charcoal-500);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.ecosystem__chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ecosystem__chip {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--charcoal-700);
    background: var(--charcoal-50);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid var(--charcoal-100);
    transition: all 0.2s var(--ease);
}
.ecosystem__chip:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
    border-color: var(--emerald-200);
    transform: translateY(-2px);
}
.ecosystem__connector {
    width: 2px; height: 18px;
    background: linear-gradient(180deg, var(--cobalt-300), var(--emerald-300));
    margin: -8px auto;
    border-radius: 2px;
}

/* ===== PRODUCTS ===== */
.products { padding: var(--section-py) 0; background: #fff; }
.product-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: var(--charcoal-50);
    border-radius: 50px;
    padding: 5px;
    margin: 0 auto 48px;
    max-width: 1120px;
    border: 1px solid var(--charcoal-100);
}
.product-toggle__btn {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal-600);
    border-radius: 50px;
    transition: all var(--transition);
    flex: 1;
    text-align: center;
    min-width: 0;
}
.product-toggle__btn:hover { color: var(--charcoal-900); }
.product-toggle__btn--active {
    background: linear-gradient(135deg, var(--cobalt-600), var(--cobalt-700));
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,95,224,0.3);
    font-weight: 600;
}

.product-detail { display: none; animation: fadeIn 0.5s var(--ease); }
.product-detail--active { display: block; }
.product-detail__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-detail__badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: var(--cobalt-50);
    color: var(--cobalt-700);
    margin-bottom: 16px;
}
.product-detail__badge--agenda { background: var(--emerald-50); color: var(--emerald-700); }
.product-detail__badge--care { background: #E0F2FE; color: #0C4A6E; }
.product-detail__badge--plantao { background: #FFF4E5; color: #B45309; }
.product-detail__badge--touch { background: var(--purple-light); color: #6D28D9; }
.product-detail__badge--voice { background: #E8F1FF; color: var(--cobalt-700); }
.product-detail__badge--resgate { background: #E6FFFB; color: #0F766E; }
.product-detail__badge--flow { background: #DBEAFE; color: #1E40AF; }
.product-detail__title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--charcoal-950);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.4px;
}
.product-detail__desc {
    font-size: 15px;
    color: var(--charcoal-500);
    line-height: 1.75;
    margin-bottom: 24px;
}
.product-detail__features { list-style: none; margin-bottom: 28px; }
.product-detail__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--charcoal-700);
    line-height: 1.5;
    border-bottom: 1px dashed var(--charcoal-100);
}
.product-detail__features li:last-child { border-bottom: none; }
.product-detail__features svg {
    color: var(--emerald-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.product-showcase {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--charcoal-100);
    background: #fff;
    transition: transform 0.4s var(--ease);
}
.product-showcase:hover { transform: translateY(-4px); }
.product-showcase__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}
.product-showcase--care {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.product-showcase--voice {
    background:
        radial-gradient(circle at top right, rgba(15,95,224,0.16), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.voice-preview {
    padding: 28px;
    display: grid;
    gap: 20px;
}

.voice-preview__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.voice-preview__eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--cobalt-600);
    margin-bottom: 6px;
}

.voice-preview__title {
    font-size: 22px;
    line-height: 1.2;
    color: var(--charcoal-950);
}

.voice-preview__status {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15,95,224,0.14);
    color: var(--cobalt-700);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.voice-preview__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.voice-preview__stat-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 16px;
    padding: 16px;
}

.voice-preview__stat-label {
    display: block;
    font-size: 11.5px;
    color: var(--charcoal-500);
    margin-bottom: 8px;
}

.voice-preview__stat-value {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: var(--charcoal-950);
    margin-bottom: 8px;
}

.voice-preview__stat-meta {
    font-size: 12px;
    color: var(--emerald-700);
    font-weight: 600;
}

.voice-preview__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 14px;
}

.voice-preview__panel {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(10,37,64,0.08);
    border-radius: 18px;
    padding: 18px;
}

.voice-preview__panel--insights {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.voice-preview__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.voice-preview__panel-head h4 {
    font-size: 14px;
    line-height: 1.3;
    color: var(--charcoal-950);
}

.voice-preview__panel-head span {
    font-size: 11.5px;
    color: var(--charcoal-500);
    white-space: nowrap;
}

.voice-preview__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.voice-preview__channel {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--cobalt-50);
    border: 1px solid var(--cobalt-100);
    color: var(--cobalt-700);
    font-size: 11.5px;
    font-weight: 600;
}

.voice-preview__bars {
    display: grid;
    gap: 10px;
}

.voice-preview__bar-row {
    display: grid;
    grid-template-columns: 74px 1fr 40px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--charcoal-700);
}

.voice-preview__bar-row strong {
    font-size: 12px;
    color: var(--charcoal-950);
    text-align: right;
}

.voice-preview__bar {
    height: 8px;
    background: #dde6f4;
    border-radius: 999px;
    overflow: hidden;
}

.voice-preview__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cobalt-500), var(--emerald-500));
}

.voice-preview__insights {
    list-style: none;
    display: grid;
    gap: 12px;
}

.voice-preview__insights li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(10,37,64,0.06);
}

.voice-preview__insights strong {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: var(--charcoal-950);
    margin-bottom: 4px;
}

.voice-preview__insights p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--charcoal-500);
}

.voice-preview__insight-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.voice-preview__insight-tag--critical {
    background: #fee2e2;
    color: #b91c1c;
}

.voice-preview__insight-tag--watch {
    background: #fef3c7;
    color: #b45309;
}

.voice-preview__insight-tag--positive {
    background: #dcfce7;
    color: #15803d;
}

.care-preview {
    padding: 24px;
    display: grid;
    gap: 18px;
}
.care-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.care-preview__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #163B68;
    font-size: 22px;
}
.care-preview__brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0F5FE0, #2BB9D6);
    box-shadow: 0 0 0 4px rgba(15,95,224,0.12);
}
.care-preview__tagline {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal-500);
    text-align: right;
}
.care-preview__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.care-preview__stat {
    background: #fff;
    border: 1px solid #D9E7F8;
    border-radius: 14px;
    padding: 16px;
}
.care-preview__stat strong {
    display: block;
    font-size: 24px;
    color: #163B68;
    line-height: 1.1;
    margin-bottom: 6px;
}
.care-preview__stat span {
    font-size: 12px;
    color: var(--charcoal-500);
}
.care-preview__body {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 14px;
}
.care-preview__panel,
.care-preview__aside {
    background: rgba(255,255,255,0.9);
    border: 1px solid #D9E7F8;
    border-radius: 18px;
    padding: 18px;
}
.care-preview__panel-title {
    font-size: 14px;
    font-weight: 700;
    color: #163B68;
    margin-bottom: 14px;
}
.care-preview__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.care-preview__chips span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
}
.care-preview__list {
    display: grid;
    gap: 10px;
}
.care-preview__list div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #E6EEF9;
}
.care-preview__list strong {
    font-size: 13px;
    color: var(--charcoal-900);
}
.care-preview__list span {
    font-size: 12px;
    color: var(--charcoal-500);
}
.care-preview__aside {
    display: grid;
    gap: 10px;
}
.care-preview__aside-item {
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #f8fbff);
    border: 1px solid #E1ECFA;
}
.care-preview__aside-item strong {
    display: block;
    font-size: 13px;
    color: #163B68;
    margin-bottom: 4px;
}
.care-preview__aside-item span {
    font-size: 12px;
    color: var(--charcoal-500);
    line-height: 1.5;
}

/* Product mockups */
.product-mockup {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--charcoal-50);
    transition: transform 0.4s var(--ease);
}
.product-mockup:hover { transform: translateY(-4px); }
.product-mockup__browser {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--charcoal-100);
    border-bottom: 1px solid var(--charcoal-200);
}
.product-mockup__dots { display: flex; gap: 6px; }
.product-mockup__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal-300); }
.product-mockup__dots span:first-child { background: #EF4444; }
.product-mockup__dots span:nth-child(2) { background: #F59E0B; }
.product-mockup__dots span:nth-child(3) { background: var(--emerald-500); }
.product-mockup__url {
    flex: 1; text-align: center;
    font-size: 12px; color: var(--charcoal-500);
    background: #fff; padding: 4px 16px; border-radius: 4px;
}
.product-mockup__screen { min-height: 360px; padding: 20px; }
.product-mockup__screen--touch  { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); }
.product-mockup__screen--agenda { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.product-mockup__screen--cc     { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.product-mockup__screen--flow   { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }

.mockup-content { padding: 8px; }
.mockup-header-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal-800);
    box-shadow: var(--shadow-sm);
}
.mockup-logo-small { width: 24px; height: 24px; border-radius: 6px; background: var(--cobalt-600); }
.mockup-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}
.mockup-card__title { font-size: 14px; font-weight: 700; color: var(--charcoal-900); margin-bottom: 14px; }
.mockup-form-row { margin-bottom: 10px; }
.mockup-select {
    background: var(--charcoal-50);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--charcoal-600);
}
.mockup-btn-mock {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff;
    padding: 9px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: 14px;
    box-shadow: var(--shadow-emerald);
}
.mockup-status-cards { display: flex; gap: 8px; }
.mockup-status {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.mockup-status--pending { background: #FEF3C7; color: #92400E; }
.mockup-status--done { background: var(--emerald-100); color: var(--emerald-800); }

.mockup-content--admin { display: flex; gap: 12px; }
.mockup-sidebar {
    width: 130px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
}
.mockup-sidebar__item {
    padding: 7px 10px;
    font-size: 11px;
    color: var(--charcoal-500);
    border-radius: 6px;
    margin-bottom: 4px;
}
.mockup-sidebar__item.active {
    background: var(--emerald-50);
    color: var(--emerald-700);
    font-weight: 600;
}
.mockup-main { flex: 1; }
.mockup-stats-row { display: flex; gap: 8px; margin-bottom: 12px; }
.mockup-stat-box {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    font-size: 10px;
    color: var(--charcoal-500);
}
.mockup-stat-box span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--cobalt-700);
    margin-bottom: 2px;
}
.mockup-stat-box--em span { color: var(--emerald-600); }
.mockup-calendar-mini {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}
.mockup-cal-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal-800);
    margin-bottom: 10px;
}
.mockup-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mockup-cal-day {
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-size: 11px;
    color: var(--charcoal-600);
    background: var(--charcoal-50);
}
.mockup-cal-day--busy { background: var(--emerald-100); color: var(--emerald-800); font-weight: 600; }
.mockup-cal-day--today {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff; font-weight: 700;
    box-shadow: var(--shadow-emerald);
}

.products__cta {
    text-align: center;
    margin-top: 56px;
    padding: 44px;
    background: linear-gradient(135deg, var(--emerald-50), var(--cobalt-50));
    border-radius: var(--radius-lg);
    border: 1px solid var(--emerald-100);
}
.products__cta-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal-800);
    margin-bottom: 20px;
}

/* ===== CASE STUDIES ===== */
.case-studies { padding: var(--section-py) 0; background: var(--silver-100); }
.case-studies__carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid var(--charcoal-100);
    position: relative;
    overflow: hidden;
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cobalt-500), var(--emerald-500));
    opacity: 0;
    transition: opacity var(--transition);
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.case-card:hover::before { opacity: 1; }
.case-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    margin-bottom: 16px;
}
.case-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal-950);
    margin-bottom: 12px;
    line-height: 1.4;
}
.case-card__excerpt {
    font-size: 14px;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 20px;
}
.case-card__btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald-700);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.case-card__btn:hover { color: var(--cobalt-700); }
.case-card__btn::after { content: '→'; transition: transform var(--transition); }
.case-card__btn:hover::after { transform: translateX(4px); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(10,37,64,0.6);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s var(--ease);
}
.modal-overlay.active { display: flex; }
.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 620px; width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: slideUp 0.4s var(--ease);
}
.modal__close {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 28px;
    color: var(--charcoal-400);
    transition: color var(--transition);
}
.modal__close:hover { color: var(--charcoal-900); }
.modal__body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--charcoal-950);
    margin-bottom: 16px;
}
.modal__body h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--emerald-700);
    margin-top: 22px;
    margin-bottom: 8px;
}
.modal__body p { font-size: 14px; color: var(--charcoal-600); line-height: 1.7; margin-bottom: 12px; }

/* ===== INSIGHTS ===== */
.insights { padding: var(--section-py) 0; background: #fff; }
.insights__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.insight-card {
    background: var(--silver-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-100);
    background: #fff;
}
.insight-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--emerald-100);
    color: var(--emerald-800);
    margin-bottom: 16px;
}
.insight-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--charcoal-950);
    margin-bottom: 10px;
    line-height: 1.4;
}
.insight-card__excerpt {
    font-size: 14px;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 16px;
}
.insight-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--charcoal-400);
}
.insight-card__author { font-weight: 500; color: var(--charcoal-600); }

/* ===== FAQ ===== */
.faq { padding: var(--section-py) 0; background: var(--silver-100); }
.faq__list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--charcoal-100);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item--open { border-color: var(--emerald-200); box-shadow: var(--shadow-md); }
.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--charcoal-900);
    text-align: left;
}
.faq__icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
    flex-shrink: 0;
    transition: transform var(--transition), background var(--transition);
}
.faq__item--open .faq__icon { transform: rotate(45deg); background: var(--emerald-500); color: #fff; }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.faq__answer-inner {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--charcoal-600);
    line-height: 1.75;
}

/* ===== INVESTORS ===== */
.investors { padding: var(--section-py) 0; background: #fff; }
.investors__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.investor-card {
    background: var(--silver-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
    border: 1px solid transparent;
}
.investor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
    background: #fff;
}
.investor-card__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cobalt-50), var(--emerald-50));
    color: var(--cobalt-700);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.investor-card__title { font-size: 17px; font-weight: 700; color: var(--charcoal-950); margin-bottom: 10px; }
.investor-card__desc { font-size: 14px; color: var(--charcoal-500); line-height: 1.7; margin-bottom: 20px; }
.investor-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald-700);
    transition: color var(--transition);
}
.investor-card__link:hover { color: var(--cobalt-700); }

/* ===== CONTACT ===== */
.contact {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--cobalt-900), var(--cobalt-800));
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.18), transparent 70%);
    top: -200px; right: -200px;
    pointer-events: none;
}
.section-header--light .section-label,
.section-label--light {
    color: var(--emerald-300);
    background: rgba(16,185,129,0.10);
    border-color: rgba(16,185,129,0.25);
}
.section-title--light { color: #fff; }
.section-desc--light { color: rgba(255,255,255,0.65); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.contact__item {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 28px;
}
.contact__item svg { color: var(--emerald-300); flex-shrink: 0; margin-top: 2px; }
.contact__item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.contact__item a, .contact__item span { color: rgba(255,255,255,0.7); font-size: 14px; }
.contact__item a:hover { color: var(--emerald-300); }
.contact__form { display: flex; flex-direction: column; gap: 14px; }
.contact__input {
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    outline: none;
    transition: all var(--transition);
}
.contact__input::placeholder { color: rgba(255,255,255,0.4); }
.contact__input:focus {
    border-color: var(--emerald-400);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.contact__input option { color: var(--charcoal-900); background: #fff; }
.contact__textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.footer { background: var(--charcoal-950); color: var(--charcoal-300); padding: 64px 0 32px; }
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer__logo { height: 56px; width: auto; margin-bottom: 16px; filter: brightness(2); }
.footer__desc { font-size: 14px; line-height: 1.7; color: var(--charcoal-400); margin-bottom: 16px; }
.footer__email {
    font-size: 14px;
    color: var(--emerald-400);
    transition: color var(--transition);
}
.footer__email:hover { color: var(--emerald-300); }
.footer__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal-200);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.footer__link {
    display: block;
    font-size: 14px;
    color: var(--charcoal-400);
    padding: 5px 0;
    transition: color var(--transition);
}
.footer__link:hover { color: var(--emerald-400); }
.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--charcoal-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--charcoal-500);
}
.footer__cnpj { font-size: 12px; color: var(--charcoal-500); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cobalt-600), var(--emerald-600));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(15,95,224,0.35);
    z-index: 900;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all var(--transition);
}
.back-to-top--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 36px rgba(15,95,224,0.5); }

/* ===== ANIMATIONS ===== */
@keyframes floatGlow { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes deviceIn {
    from { opacity: 0; transform: perspective(1400px) rotateY(-18deg) rotateX(8deg) translateY(40px); }
    to { opacity: 1; transform: perspective(1400px) rotateY(-9deg) rotateX(4deg) translateY(0); }
}
@keyframes glareSweep { 0%,100% { transform: translateX(-100%); } 55%,100% { transform: translateX(100%); } }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(-6px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
    70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   DUAL MODE SYSTEM — Tecnologia / Gestão Médica
   ============================================================ */

/* --- A11y utility --- */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* --- Visibility por modo (default: tech) --- */
[data-theme="tech"] .mode-med { display: none !important; }
[data-theme="med"] .mode-tech { display: none !important; }

/* --- Med tokens (paleta clínica premium) --- */
:root {
    --med-ivory: #FAF7F2;
    --med-ivory-2: #F2EDE4;
    --med-navy: #0A2540;
    --med-navy-2: #0F3258;
    --med-clinical: #5BA68A;
    --med-clinical-deep: #2F7A66;
    --med-gold: #B98A4D;
    --med-ink: #1A1F2E;
    --med-muted: #5C6678;
    --med-line: rgba(10, 37, 64, 0.10);
    --med-shadow-sm: 0 1px 2px rgba(10,37,64,0.04), 0 2px 8px rgba(10,37,64,0.04);
    --med-shadow-md: 0 4px 12px rgba(10,37,64,0.06), 0 12px 32px rgba(10,37,64,0.06);
    --med-shadow-lg: 0 24px 60px rgba(10,37,64,0.10);
    --med-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

/* ============================================================
   MODE SWITCH (segmented control)
   ============================================================ */
.mode-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    isolation: isolate;
    transition: background .35s var(--ease), border-color .35s var(--ease);
}
.mode-switch__indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    width: calc(50% - 4px);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.08);
    transition: transform .42s cubic-bezier(.4,.01,.2,1), background .35s var(--ease);
    z-index: 0;
    pointer-events: none;
}
.mode-switch__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    font: 500 13.5px/1 'Inter', sans-serif;
    letter-spacing: -0.01em;
    color: var(--charcoal-500);
    cursor: pointer;
    transition: color .3s var(--ease);
    white-space: nowrap;
}
.mode-switch__btn:hover { color: var(--charcoal-800); }
.mode-switch__btn--active { color: var(--cobalt-700); font-weight: 600; }
.mode-switch__icon { flex-shrink: 0; opacity: .9; }
.mode-switch__btn:focus-visible {
    outline: 2px solid var(--cobalt-500);
    outline-offset: 2px;
}
/* indicator position when "med" is active (second button) */
[data-theme="med"] .mode-switch__indicator {
    transform: translateX(100%);
}
[data-theme="med"] .mode-switch {
    background: rgba(10, 37, 64, 0.06);
    border-color: rgba(10, 37, 64, 0.12);
}
[data-theme="med"] .mode-switch__btn--active {
    color: var(--med-navy);
}

/* Mobile switch */
.mobile-nav__switch {
    display: flex;
    gap: 6px;
    padding: 6px;
    margin-bottom: 18px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.mobile-nav__switch-btn {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font: 600 13px/1 'Inter', sans-serif;
    color: var(--charcoal-500);
    cursor: pointer;
    transition: var(--transition);
}
.mobile-nav__switch-btn--active {
    background: #fff;
    color: var(--cobalt-700);
    box-shadow: var(--shadow-sm);
}
[data-theme="med"] .mobile-nav__switch { background: rgba(10,37,64,0.06); border-color: rgba(10,37,64,0.12); }
[data-theme="med"] .mobile-nav__switch-btn--active { color: var(--med-navy); }

/* ============================================================
   MED MODE OVERRIDES — refina a estética em modo clínico
   ============================================================ */
[data-theme="med"] body {
    background: var(--med-ivory);
    color: var(--med-ink);
}
[data-theme="med"] .header {
    background: rgba(250, 247, 242, 0.85);
    border-bottom-color: var(--med-line);
}
[data-theme="med"] .header--scrolled {
    background: rgba(250, 247, 242, 0.95);
    box-shadow: 0 1px 0 var(--med-line), 0 4px 24px rgba(10,37,64,0.04);
}
[data-theme="med"] .header__link { color: var(--med-muted); }
[data-theme="med"] .header__link:hover { color: var(--med-navy); }
[data-theme="med"] .header__link--cta {
    background: var(--med-navy);
    color: #fff !important;
    border-color: var(--med-navy);
}
[data-theme="med"] .header__link--cta:hover {
    background: var(--med-navy-2);
}

/* Section titles em modo med — mais editoriais */
[data-theme="med"] .section-title {
    font-family: var(--med-serif);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.08;
    color: var(--med-navy);
}
[data-theme="med"] .section-title__accent {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--med-clinical-deep);
    font-style: italic;
    font-weight: 500;
}
[data-theme="med"] .section-desc { color: var(--med-muted); }
[data-theme="med"] .section-label,
.section-label--med {
    color: var(--med-clinical-deep);
    letter-spacing: 0.18em;
    font-weight: 600;
}

/* Hero med */
[data-theme="med"] .hero {
    background: linear-gradient(180deg, var(--med-ivory) 0%, #fff 100%);
}
[data-theme="med"] .hero__gradient { display: none; }
[data-theme="med"] .hero__particles { opacity: 0.35; }
.hero__copy--med .hero__title {
    font-family: var(--med-serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--med-navy);
}
.hero__copy--med .hero__title--accent {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--med-clinical-deep);
    font-style: italic;
}
.hero__copy--med .hero__lead { color: var(--med-ink); font-weight: 500; }
.hero__copy--med .hero__subtitle { color: var(--med-muted); }
.hero__badge--med {
    background: rgba(10, 37, 64, 0.05);
    color: var(--med-navy);
    border: 1px solid var(--med-line);
}
.hero__badge--med .hero__badge-dot { background: var(--med-clinical); }
.hero__stats--med .hero__stat-number { color: var(--med-navy); }
.hero__stats--med .hero__stat-label { color: var(--med-muted); }

/* Botões clínicos */
.btn--clinical {
    background: var(--med-navy);
    color: #fff;
    border: 1px solid var(--med-navy);
    box-shadow: 0 8px 22px rgba(10,37,64,0.18);
}
.btn--clinical:hover {
    background: var(--med-navy-2);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(10,37,64,0.24);
}
.btn--ghost-clinical {
    background: transparent;
    color: var(--med-navy);
    border: 1px solid rgba(10,37,64,0.18);
}
.btn--ghost-clinical:hover {
    background: rgba(10,37,64,0.04);
    border-color: var(--med-navy);
}
.btn--clinical-outline {
    background: transparent;
    color: var(--med-navy);
    border: 1.5px solid var(--med-navy);
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn--clinical-outline:hover { background: var(--med-navy); color: #fff; }

/* Hero visual med */
.hero__visual--med {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.med-hero-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid var(--med-line);
    border-radius: 18px;
    padding: 28px 28px 24px;
    box-shadow: var(--med-shadow-lg);
    position: relative;
    animation: medCardFloat 7s ease-in-out infinite, fadeInUp 0.9s var(--ease) 0.2s both;
}
.med-hero-card::before {
    content: '';
    position: absolute;
    inset: -28px;
    border-radius: 32px;
    background: radial-gradient(closest-side, rgba(91,166,138,0.18), transparent 70%);
    z-index: -1;
    filter: blur(8px);
    animation: medGlowPulse 5s ease-in-out infinite;
}
.med-hero-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--med-clinical-deep), transparent);
    border-radius: 18px 18px 0 0;
    animation: medScanLine 3.5s ease-in-out infinite;
    opacity: 0.55;
}
.med-hero-card__ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--med-clinical-deep);
    background: rgba(91, 166, 138, 0.10);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.med-hero-card__ribbon-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--med-clinical);
    animation: medPulse 1.6s ease-in-out infinite;
}
.med-hero-card__title {
    font-family: var(--med-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--med-navy);
    line-height: 1.15;
}
.med-hero-card__sub {
    font-size: 13px;
    color: var(--med-muted);
    margin-top: 4px;
    margin-bottom: 18px;
}
.med-hero-card__heartbeat {
    width: 100%;
    height: 56px;
    margin: 0 -8px 18px;
}
.med-hero-card__heartbeat-path {
    stroke: var(--med-clinical-deep);
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: heartbeatTrace 1s linear infinite;
}
.med-hero-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--med-line);
}
.med-hero-card__metric { display: flex; flex-direction: column; gap: 2px; }
.med-hero-card__metric-value {
    font-family: var(--med-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--med-navy);
    line-height: 1;
}
.med-hero-card__metric-value small { font-size: 13px; color: var(--med-muted); margin-left: 2px; }
.med-hero-card__metric-label {
    font-size: 11px;
    color: var(--med-muted);
    line-height: 1.3;
}
.med-hero-card__team {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--med-line);
}
.med-hero-card__avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    margin-left: -6px;
}
.med-hero-card__avatar:first-child { margin-left: 0; }
.med-hero-card__avatar--c1 { background: #5BA68A; }
.med-hero-card__avatar--c2 { background: #0A2540; }
.med-hero-card__avatar--c3 { background: #B98A4D; }
.med-hero-card__avatar--c4 { background: #2F7A66; }
.med-hero-card__team-label {
    font-size: 11px;
    color: var(--med-muted);
    margin-left: 8px;
}
.med-hero-stamp {
    position: absolute;
    bottom: -14px;
    right: 24px;
    background: var(--med-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 12px 28px rgba(10,37,64,0.22);
    animation: chipFloat 6s ease-in-out infinite reverse, fadeInUp 0.8s var(--ease) 0.9s both;
}
.med-hero-stamp--top {
    bottom: auto;
    right: auto;
    top: -16px;
    left: 18px;
    background: #fff;
    color: var(--med-navy);
    border: 1px solid var(--med-line);
    box-shadow: 0 14px 30px rgba(10,37,64,0.14);
    animation: chipFloat 5s ease-in-out infinite, fadeInDown 0.8s var(--ease) 0.7s both;
}
.med-hero-stamp--top svg { color: var(--med-clinical-deep); }

@keyframes medPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91,166,138,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(91,166,138,0); }
}
@keyframes heartbeatTrace {
    0% { stroke-dashoffset: 800; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -800; }
}
@keyframes medCardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-0.15deg); }
}
@keyframes medGlowPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.03); }
}
@keyframes medScanLine {
    0%, 100% { opacity: 0.25; transform: scaleX(0.6); }
    50% { opacity: 0.85; transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .med-hero-card { animation: none; }
    .med-hero-card::before,
    .med-hero-card::after { animation: none; }
    .med-hero-stamp, .med-hero-stamp--top { animation: none; }
    .med-hero-card__heartbeat-path { animation: none; stroke-dashoffset: 0; }
    .med-hero-card__ribbon-dot { animation: none; }
    .mode-switch__indicator { transition: none; }
}

/* ============================================================
   ÁREAS MÉDICAS
   ============================================================ */
.areas-medicas { padding: var(--section-py) 0; }
.areas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.area-card {
    grid-column: span 2;
    background: #fff;
    border: 1px solid var(--med-line);
    border-radius: 14px;
    padding: 28px 26px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.area-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10,37,64,0.18);
    box-shadow: var(--med-shadow-md);
}
.area-card--lg { grid-column: span 3; }
.area-card__icon-wrap {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(91,166,138,0.10);
    color: var(--med-clinical-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.area-card__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--med-muted);
    margin-bottom: 8px;
}
.area-card__title {
    font-family: var(--med-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--med-navy);
    margin-bottom: 12px;
    line-height: 1.18;
}
.area-card__desc {
    font-size: 14.5px;
    color: var(--med-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}
.area-card__points {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.area-card__points li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--med-ink);
    line-height: 1.5;
}
.area-card__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--med-clinical);
}
.area-card--link {
    background: linear-gradient(135deg, var(--med-navy) 0%, var(--med-navy-2) 100%);
    color: #fff;
    border-color: transparent;
}
.area-card--link .area-card__eyebrow { color: rgba(255,255,255,0.7); }
.area-card--link .area-card__title { color: #fff; }
.area-card--link .area-card__desc { color: rgba(255,255,255,0.78); }
.area-card__icon-wrap--link {
    background: rgba(255,255,255,0.10);
    color: #fff;
}
.area-card__crosslink {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
    transition: gap .25s var(--ease);
}
.area-card__crosslink:hover { gap: 10px; }

/* ============================================================
   METODOLOGIA MÉDICA — TIMELINE
   ============================================================ */
.metodologia-medica {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, #fff 0%, var(--med-ivory) 100%);
}
.timeline-med {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    counter-reset: stepcounter;
}
.timeline-med::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--med-line) 0 6px, transparent 6px 12px);
    z-index: 0;
}
.timeline-med__step {
    position: relative;
    padding: 0 18px;
    text-align: center;
    z-index: 1;
}
.timeline-med__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: #fff;
    border: 1px solid var(--med-line);
    border-radius: 50%;
    font-family: var(--med-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--med-clinical-deep);
    margin-bottom: 18px;
    box-shadow: var(--med-shadow-sm);
}
.timeline-med__title {
    font-family: var(--med-serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--med-navy);
    margin-bottom: 8px;
}
.timeline-med__desc {
    font-size: 13.5px;
    color: var(--med-muted);
    line-height: 1.55;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================================
   CORPO CLÍNICO
   ============================================================ */
.corpo-clinico { padding: var(--section-py) 0; }
.corpo-clinico__layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}
.corpo-clinico__title { margin: 16px 0 24px; font-size: clamp(32px, 4vw, 48px); }
.corpo-clinico__lead {
    font-size: 17px;
    color: var(--med-ink);
    line-height: 1.65;
    margin-bottom: 28px;
}
.corpo-clinico__lead strong { color: var(--med-navy); font-weight: 600; }
.corpo-clinico__pillars {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.corpo-clinico__pillars li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--med-muted);
    line-height: 1.55;
}
.corpo-clinico__pillars li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 10px; height: 1px;
    background: var(--med-clinical);
}
.corpo-clinico__pillars strong { color: var(--med-navy); font-weight: 600; }
.corpo-clinico__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--med-line);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}
.clin-stat {
    padding: 36px 28px;
    border-right: 1px solid var(--med-line);
    border-bottom: 1px solid var(--med-line);
}
.clin-stat:nth-child(2n) { border-right: 0; }
.clin-stat:nth-child(n+3) { border-bottom: 0; }
.clin-stat__num {
    display: block;
    font-family: var(--med-serif);
    font-size: 48px;
    font-weight: 500;
    color: var(--med-navy);
    line-height: 1;
    margin-bottom: 8px;
}
.clin-stat__num small { font-size: 24px; color: var(--med-muted); margin-left: 2px; }
.clin-stat__label {
    font-size: 12.5px;
    color: var(--med-muted);
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ============================================================
   DIFERENCIAIS MÉDICOS — 3 PILARES
   ============================================================ */
.diferenciais-med {
    padding: var(--section-py) 0;
    background: linear-gradient(180deg, var(--med-ivory) 0%, #fff 100%);
}
.pillars-med {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.pillar-med {
    padding: 36px 32px;
    background: #fff;
    border: 1px solid var(--med-line);
    border-radius: 14px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar-med:hover { transform: translateY(-3px); box-shadow: var(--med-shadow-md); }
.pillar-med__num {
    font-family: var(--med-serif);
    font-size: 36px;
    font-style: italic;
    font-weight: 500;
    color: var(--med-clinical-deep);
    margin-bottom: 14px;
    line-height: 1;
}
.pillar-med__title {
    font-family: var(--med-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--med-navy);
    margin-bottom: 12px;
    line-height: 1.2;
}
.pillar-med__desc {
    font-size: 14.5px;
    color: var(--med-muted);
    line-height: 1.65;
}
.pillar-med--accent {
    background: var(--med-navy);
    border-color: transparent;
    position: relative;
}
.pillar-med--accent .pillar-med__num { color: var(--med-clinical); }
.pillar-med--accent .pillar-med__title { color: #fff; }
.pillar-med--accent .pillar-med__desc { color: rgba(255,255,255,0.78); }
.pillar-med__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--med-clinical);
    text-decoration: none;
    transition: gap .25s var(--ease);
}
.pillar-med__link:hover { gap: 10px; color: #fff; }

/* ============================================================
   CROSSLINK BANNER
   ============================================================ */
.crosslink-banner {
    padding: 56px 0;
    background: var(--med-ivory-2);
    border-top: 1px solid var(--med-line);
    border-bottom: 1px solid var(--med-line);
}
.crosslink-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.crosslink-banner__copy { flex: 1 1 460px; }
.crosslink-banner__eyebrow {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--med-clinical-deep);
    margin-bottom: 10px;
}
.crosslink-banner__title {
    font-family: var(--med-serif);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 500;
    color: var(--med-navy);
    line-height: 1.2;
    margin: 0;
    max-width: 640px;
}

/* ============================================================
   FAQ + FOOTER + outras superfícies em modo med
   ============================================================ */
[data-theme="med"] .faq { background: #fff; }
[data-theme="med"] .faq__item {
    border-bottom-color: var(--med-line);
    background: transparent;
}
[data-theme="med"] .faq__question { color: var(--med-navy); }
[data-theme="med"] .faq__answer-inner { color: var(--med-muted); }

[data-theme="med"] .footer { background: var(--med-navy); color: rgba(255,255,255,0.78); }
[data-theme="med"] .footer__title { color: #fff; }
[data-theme="med"] .footer__link:hover { color: var(--med-clinical); }

[data-theme="med"] .contact { background: var(--med-ivory); }
[data-theme="med"] .contact .section-label--light {
    color: var(--med-clinical-deep);
    background: rgba(91,166,138,0.10);
    border-color: rgba(91,166,138,0.22);
}
[data-theme="med"] .contact .section-title--light { color: var(--med-navy); }
[data-theme="med"] .contact .section-desc--light { color: var(--med-muted); }
[data-theme="med"] .contact__item svg { color: var(--med-clinical-deep); }
[data-theme="med"] .contact__item strong { color: var(--med-navy); }
[data-theme="med"] .contact__item a,
[data-theme="med"] .contact__item span { color: var(--med-muted); }
[data-theme="med"] .contact__item a:hover { color: var(--med-clinical-deep); }
[data-theme="med"] .contact__input {
    border-color: var(--med-line);
    background: #fff;
    color: var(--med-ink);
}
[data-theme="med"] .contact__input::placeholder { color: var(--med-muted); }
[data-theme="med"] .contact__input option { color: var(--med-ink); background: #fff; }
[data-theme="med"] .contact__input:focus {
    border-color: var(--med-clinical-deep);
    box-shadow: 0 0 0 3px rgba(91,166,138,0.15);
}
[data-theme="med"] .contact .btn--light {
    background: var(--med-navy);
    color: #fff;
    box-shadow: 0 8px 22px rgba(10,37,64,0.22);
}
[data-theme="med"] .contact .btn--light:hover {
    background: var(--med-navy-2);
}

[data-theme="med"] .back-to-top {
    background: var(--med-navy);
    color: #fff;
}

[data-theme="med"] .scroll-progress {
    background: linear-gradient(90deg, var(--med-clinical) 0%, var(--med-clinical-deep) 100%);
}

/* ============================================================
   RESPONSIVE — Med
   ============================================================ */
@media (max-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(4, 1fr); }
    .area-card { grid-column: span 2; }
    .area-card--lg { grid-column: span 2; }
    .timeline-med { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
    .timeline-med::before { display: none; }
    .corpo-clinico__layout { grid-template-columns: 1fr; gap: 48px; }
    .pillars-med { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .mode-switch__btn span { display: none; }
    .mode-switch__btn { padding: 8px 12px; }
    .areas-grid { grid-template-columns: 1fr; }
    .area-card, .area-card--lg { grid-column: span 1; }
    .timeline-med { grid-template-columns: 1fr; gap: 28px; }
    .corpo-clinico__stats { grid-template-columns: 1fr; }
    .clin-stat { border-right: 0; }
    .clin-stat:not(:last-child) { border-bottom: 1px solid var(--med-line); }
    .crosslink-banner__inner { flex-direction: column; align-items: flex-start; }
    .med-hero-card__metrics { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 540px) {
    .mode-switch { padding: 3px; }
    .mode-switch__btn { padding: 7px 10px; font-size: 12px; }
    .mode-switch__icon { width: 13px; height: 13px; }
}
@keyframes float-particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    pointer-events: none;
    animation: float-particle linear infinite;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
    .header__inner { gap: 20px; }
    .header__link { padding: 8px 12px; font-size: 13.5px; }
    .header__search { width: 180px; }
    .header__search:focus-within { width: 220px; }
    .header__logo-img { height: 60px; }
}

/* Colapsa o nav para hamburger antes que os itens cortem */
@media (max-width: 1200px) {
    .header__nav,
    .header__search { display: none; }
    .header__hamburger { display: flex; }
    .header__inner { gap: 16px; height: 68px; }
    .header__logo-img { height: 56px; }
}

@media (max-width: 1024px) {
    .features__grid,
    .case-studies__carousel,
    .investors__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .product-detail__content { grid-template-columns: 1fr; gap: 40px; }
    .ecosystem__layer { grid-template-columns: 1fr; gap: 16px; }
    .hero__layout { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero__copy { max-width: 720px; margin: 0 auto; }
    .hero__badge, .hero__actions, .hero__stats { justify-content: center; }
    .hero__stat { text-align: center; }
    .hero__device { transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
    .hero__chip--1 { left: 4%; top: -16px; }
    .hero__chip--2 { right: 4%; bottom: -16px; }
    .care-preview__body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 60px; }
    .header__inner { gap: 12px; height: 64px; }
    .header__logo-img { height: 48px; }
    .features__grid,
    .case-studies__carousel,
    .investors__grid,
    .insights__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
    .hero { padding: 110px 0 80px; }
    .hero__stats { flex-direction: column; gap: 20px; align-items: center; }
    .product-toggle { flex-wrap: wrap; border-radius: var(--radius); }
    .product-toggle__btn { flex: 1 1 45%; }
    .hero__actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; }
    .hero__device { transform: none; padding: 20px; max-width: 360px; }
    .hero__device-stat-value { font-size: 32px; }
    .hero__chip, .hero__scroll-cue { display: none; }
    .back-to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
    .care-preview { padding: 18px; }
    .care-preview__header { flex-direction: column; align-items: flex-start; }
    .care-preview__tagline { text-align: left; }
    .care-preview__stats { grid-template-columns: 1fr; }
    .voice-preview { padding: 20px; }
    .voice-preview__stats,
    .voice-preview__grid { grid-template-columns: 1fr; }
    .voice-preview__bar-row { grid-template-columns: 68px 1fr 36px; }
    .voice-preview__header,
    .voice-preview__panel-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header__inner { gap: 8px; height: 60px; }
    .header__logo-img { height: 42px; }
    .mode-switch__btn { padding: 6px 8px; }
    .mobile-nav { padding: 12px 16px 20px; }
    .hero { padding: 96px 0 64px; }
    h1, .hero__title { font-size: clamp(28px, 8vw, 40px); line-height: 1.15; }
    h2 { font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
    .btn { font-size: 14px; padding: 12px 18px; }
    .section-header { margin-bottom: 40px; }
    img, video, iframe { max-width: 100%; height: auto; }
}

/* Garante que nada estoure horizontalmente em nenhum dispositivo */
@media (max-width: 1200px) {
    html, body { overflow-x: hidden; }
}
