/* =============================================
   VARIABLES & RESET
============================================= */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.3);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-card-bg: rgba(255, 255, 255, 0.03);
    --color-card-hover: rgba(255, 255, 255, 0.06);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease-out;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   3D BACKGROUND
============================================= */
.spline-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: auto;
    background-color: #000;
    overflow: hidden;
}

#canvas3d {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0;
    outline: none;
    transform: scale(1.15);
    opacity: 0;
    transition: transform 2s var(--ease-smooth), opacity 1.5s ease-out;
}

#canvas3d.spline-loaded {
    transform: scale(1);
    opacity: 1;
}

/* Overlay qui couvre la 3D au scroll */
.scroll-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s linear;
}

/* =============================================
   CONTENT LAYER
============================================= */
.content-overlay {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/* Réactiver les pointer-events sur tout ce qui doit être cliquable */
.navbar *,
.hero-action *,
.scroll-indicator,
.stats-section *,
.page-section *,
.ticker-wrapper,
.site-footer * {
    pointer-events: auto;
}

/* =============================================
   NAVIGATION
============================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.5s ease, padding 0.4s var(--ease-smooth), border-color 0.5s ease;
    border-bottom: 1px solid transparent;
    animation: fadeDown 1s var(--ease-smooth) both;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.5rem 4rem;
    border-bottom-color: var(--color-border);
}

.logo a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.logo a:hover { opacity: 0.75; }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.nav-links a:hover { color: var(--color-text); }

.nav-right { display: flex; align-items: center; }

.nav-cta-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-bg);
    background: var(--color-text);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav-cta-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* =============================================
   HERO
============================================= */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    position: relative;
}

.hero-text-content {
    max-width: 680px;
    animation: fadeRight 1s 0.2s var(--ease-smooth) both;
}

.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 88%;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-action {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s 0.4s var(--ease-smooth) both;
}

.cta-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cta-link:hover { color: var(--color-text); }

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: flex-start;
    animation: fadeInUp 1s 1s var(--ease-smooth) both;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* =============================================
   BOUTON CTA (partagé)
============================================= */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.cta-text { position: relative; z-index: 2; }

.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 130%; height: 130%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, transparent 65%);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-smooth);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.cta-button:hover .cta-glow { opacity: 0.25; }

.cta-button:active { transform: translateY(1px); }

/* =============================================
   STATS SECTION
============================================= */
.stats-section {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    pointer-events: auto;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.stat-item { text-align: center; flex: 1; }

.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
    flex-shrink: 0;
}

/* =============================================
   PAGE SECTIONS
============================================= */
.page-section {
    position: relative;
    z-index: 10;
    background: #000;
    padding: 10rem 4rem;
    pointer-events: auto;
}

.section-alt { background: #050505; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    max-width: 720px;
    margin-bottom: 5.5rem;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 580px;
}

.section-cta {
    margin-top: 5rem;
    display: flex;
    justify-content: flex-start;
}

/* =============================================
   VOICE DEMO — GRILLE
============================================= */
.voice-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: start;
}

/* =============================================
   PHONE MOCKUP
============================================= */
.phone-demo {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 290px;
    background: #0c0c0c;
    border-radius: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.1rem;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-notch {
    width: 90px;
    height: 5px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    margin: 0 auto 1.25rem;
}

.phone-screen {
    background: #111;
    border-radius: 30px;
    padding: 1.25rem;
    min-height: 440px;
    display: flex;
    flex-direction: column;
}

/* Header appel */
.call-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.call-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #000;
    flex-shrink: 0;
}

.call-info { flex: 1; min-width: 0; }

.call-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.call-status {
    font-size: 0.68rem;
    color: rgba(80, 220, 110, 0.9);
    margin-top: 2px;
}

.call-duration {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

/* Waveform */
.waveform-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 36px;
    margin-bottom: 1.25rem;
}

.wave-bar {
    width: 3px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    animation: waveAnim 1.4s ease-in-out infinite;
    transform-origin: center;
}

.wave-bar:nth-child(1)  { height: 8px;  animation-delay: 0.00s; }
.wave-bar:nth-child(2)  { height: 16px; animation-delay: 0.10s; }
.wave-bar:nth-child(3)  { height: 24px; animation-delay: 0.20s; }
.wave-bar:nth-child(4)  { height: 30px; animation-delay: 0.30s; }
.wave-bar:nth-child(5)  { height: 20px; animation-delay: 0.40s; }
.wave-bar:nth-child(6)  { height: 28px; animation-delay: 0.50s; }
.wave-bar:nth-child(7)  { height: 20px; animation-delay: 0.40s; }
.wave-bar:nth-child(8)  { height: 30px; animation-delay: 0.30s; }
.wave-bar:nth-child(9)  { height: 24px; animation-delay: 0.20s; }
.wave-bar:nth-child(10) { height: 14px; animation-delay: 0.10s; }
.wave-bar:nth-child(11) { height: 20px; animation-delay: 0.05s; }
.wave-bar:nth-child(12) { height: 8px;  animation-delay: 0.15s; }

/* Waveform muet (client parle) */
.waveform-container.paused .wave-bar {
    animation-play-state: paused;
    height: 4px !important;
    opacity: 0.3;
    transition: height 0.3s ease, opacity 0.3s ease;
}

@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
    50%       { transform: scaleY(1);    opacity: 1; }
}

/* Bulles de conversation */
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow: hidden;
}

.chat-bubble {
    max-width: 82%;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    font-size: 0.76rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease-smooth);
}

.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-bubble.bot {
    background: rgba(255, 255, 255, 0.09);
    color: var(--color-text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-bubble.user {
    background: rgba(255, 255, 255, 0.88);
    color: #000;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    font-weight: 500;
}

.demo-replay {
    margin-top: auto;
    padding-top: 1rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-family: var(--font-primary);
    padding: 0.45rem 1rem;
    border-radius: 100px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    display: none;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.demo-replay.visible { display: block; }

.demo-replay:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--color-text);
}

/* =============================================
   FEATURE CARDS (Voice)
============================================= */
.voice-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.4rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card-bg);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease-smooth);
}

.feature-card:hover {
    background: var(--color-card-hover);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateX(5px);
}

.feature-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.feature-card h3 {
    font-size: 0.93rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =============================================
   TICKER
============================================= */
.ticker-wrapper {
    position: relative;
    z-index: 10;
    background: #050505;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    padding: 1.1rem 0;
    pointer-events: none;
}

.ticker-track { display: flex; }

.ticker-inner {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.ticker-dot { color: rgba(255, 255, 255, 0.2); }

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================
   BROWSER MOCKUP
============================================= */
.browser-wrapper {
    margin-bottom: 4rem;
}

.browser-mockup {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: #0c0c0c;
    max-width: 860px;
}

.browser-bar {
    background: #141414;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.browser-buttons { display: flex; gap: 6px; flex-shrink: 0; }

.browser-buttons span {
    width: 11px; height: 11px;
    border-radius: 50%;
}

.bb-red    { background: #ff5f57; }
.bb-yellow { background: #febc2e; }
.bb-green  { background: #28c840; }

.browser-url-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    min-width: 180px;
}

.url-lock { color: rgba(100, 220, 100, 0.7); display: flex; }

/* Tabs de type de site */
.browser-tabs {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.tab-btn {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.02em;
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-text);
}

/* Contenu mockup navigateur */
.browser-content {
    padding: 1.25rem;
    background: #0d0d0d;
    min-height: 260px;
    position: relative;
}

.mock-site {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInSite 0.3s ease;
}

.mock-site.active { display: flex; }

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

.mock-hero-bar {
    height: 75px;
    background: var(--mock-color, rgba(255,255,255,0.07));
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.mock-hero-bar::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

.mock-hero-text {
    height: 10px;
    width: 50%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.mock-hero-sub {
    height: 7px;
    width: 32%;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
}

.mock-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mock-right-col { display: flex; flex-direction: column; gap: 1rem; }

.mock-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.card-tall  { height: 130px; }
.card-short { height: 55px; }

.mock-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    animation: shimmer 3.5s ease-in-out infinite;
}

.mock-card:nth-child(2)::after { animation-delay: 0.5s; }
.mock-card:nth-child(3)::after { animation-delay: 1s; }

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mock-grid .mock-card { height: 65px; }

@keyframes shimmer {
    from { left: -100%; }
    to   { left: 150%; }
}

/* =============================================
   WEB FEATURES GRID
============================================= */
.web-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.web-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-card-bg);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease-smooth);
}

.web-feature-item:hover {
    background: var(--color-card-hover);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.wfi-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.web-feature-item h3 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.web-feature-item p {
    font-size: 0.81rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* =============================================
   CONTACT SECTION
============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail { display: flex; flex-direction: column; gap: 0.3rem; }

.cd-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-text-subtle);
    font-weight: 600;
}

.cd-value {
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.cd-value:hover { opacity: 0.65; }

.contact-promise {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-card-bg);
    margin-top: 0.5rem;
}

.promise-icon {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-promise p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1rem;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.87rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

/* Label flottant */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.55rem;
    left: 0.75rem;
    font-size: 0.7rem;
    background: #000;
    padding: 0 0.3rem;
    color: var(--color-text-subtle);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: var(--color-text-muted);
}

.form-group select:focus { color: var(--color-text); }

.form-group select option {
    background: #111;
    color: #fff;
}

.form-full { grid-column: 1 / -1; }

.form-submit-btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
    position: relative;
    z-index: 10;
    background: #000;
    border-top: 1px solid var(--color-border);
    padding: 5rem 4rem 3rem;
    pointer-events: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-text-subtle);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--color-text); }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    font-size: 0.78rem;
    color: var(--color-text-subtle);
}

/* =============================================
   SCROLL REVEAL
============================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
    .web-features-grid { grid-template-columns: repeat(2, 1fr); }
    .voice-demo-grid   { grid-template-columns: 1fr; gap: 3.5rem; }
    .phone-demo        { order: -1; }
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .browser-tabs { display: none; }
}

@media (max-width: 768px) {
    .navbar          { padding: 1.5rem 1.5rem; }
    .navbar.scrolled { padding: 1.25rem 1.5rem; }
    .nav-links       { display: none; }
    .nav-right       { display: none; }

    .hero-section      { padding: 0 1.5rem; min-height: 100vh; height: auto; padding-top: 7rem; padding-bottom: 5rem; }
    .hero-subtitle     { max-width: 100%; }
    .scroll-indicator  { left: 1.5rem; }

    .stats-inner   { flex-direction: column; padding: 3rem 1.5rem; gap: 1.5rem; }
    .stat-divider  { width: 50px; height: 1px; }
    .stat-number   { font-size: 2.5rem; }

    .page-section  { padding: 6rem 1.5rem; }
    .section-title { font-size: clamp(2rem, 8vw, 3rem); }

    .voice-features   { padding-top: 0; }
    .web-features-grid { grid-template-columns: 1fr; }
    .form-row         { grid-template-columns: 1fr; }

    .footer-inner        { grid-template-columns: 1fr; gap: 2.5rem; }
    .site-footer         { padding: 4rem 1.5rem 2rem; }
    .browser-url-bar     { min-width: 120px; }
}
