:root {
    --logo-white: #fff;
    --logo-grey: #58595b;
    --logo-dark-grey: #3e3e3f;
    --logo-green: #25c62d;
    --logo-dark-green: #297e2e;
    --wp-brand: #54B435;
    --wp-brand-alt: #379237;
    --wp-heading: #0F172A;
    --wp-text: #2F3B40;
    --wp-bg-main: #fff;
    --wp-bg-secondary: #EDFBE2;
    --wp-border: #0C1406;
    --wp-bg-subtle: #D5EAD8;
    --wp-extra: #222222;
}
body {
    font-family: "Plus Jakarta Sans",sans-serif;
    background: var(--wp-bg-main);
    color: var(--wp-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6,.heading-color { color: var(--wp-heading); }
.navbar-custom { background: white; border-bottom: 1px solid var(--wp-bg-subtle); }
.lang-btn { border: 1px solid var(--wp-bg-subtle); color: var(--wp-text); background: white; font-weight: 600; font-size: .85rem; }
.lang-btn.active { background: var(--wp-brand); color: white; border-color: var(--wp-brand); }
.badge-voipocel { background: var(--wp-bg-secondary); color: var(--wp-brand-alt); border: 1px solid var(--wp-bg-subtle); font-weight: 600; white-space: normal; }
.story-card { background: var(--wp-bg-secondary); border-left: 4px solid var(--wp-brand); border-radius: 16px; padding: 1.35rem; }
.story-card p { line-height: 1.65; }
.pillar-box { background: #f9fbf9; border: 1px solid var(--wp-bg-subtle); border-radius: 14px; padding: 1rem; }
.form-indicator-banner { background: var(--wp-bg-secondary); border: 1.5px dashed var(--wp-brand); color: var(--wp-heading); border-radius: 14px; padding: .65rem 1rem; max-width: 580px; margin: 0 auto 14px; font-size: .88rem; font-weight: 600; }
.phone-chassis { background: linear-gradient(145deg,#fff,#f1f5f2); border: 3px solid var(--logo-dark-grey); border-radius: 38px; box-shadow: 0 25px 50px -12px rgba(15,23,42,.16),inset 0 0 0 2px white; max-width: 440px; margin: auto; transition: all .35s ease; }
.phone-top-bezel { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
.phone-camera { width: 12px; height: 12px; background: radial-gradient(circle at 35% 35%,#3b82f6 0%,#0f172a 60%,#000 100%); border: 2px solid var(--logo-grey); border-radius: 50%; }
.phone-speaker { width: 56px; height: 6px; background: var(--logo-dark-grey); border-radius: 10px; opacity: .55; }
.phone-screen { background: var(--wp-heading); color: white; border-radius: 22px; padding: 1.15rem; border: 2px solid var(--logo-dark-grey); min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.compact-mode .phone-screen { min-height: 105px; padding: .9rem 1.1rem; }
.call-ended .phone-screen { background: #1e293b; border-color: var(--wp-brand); }
.equalizer { display: flex; align-items: center; gap: 3px; height: 16px; }
.equalizer span { width: 3px; height: 4px; background: var(--logo-green); border-radius: 2px; }
.equalizer.speaking span { animation: eqAnim .6s infinite ease-in-out; }
.equalizer.speaking span:nth-child(2) { animation-delay: .15s; }
.equalizer.speaking span:nth-child(3) { animation-delay: .3s; }
.equalizer.speaking span:nth-child(4) { animation-delay: .45s; }
@keyframes eqAnim { 0%,100% { height: 4px; } 50% { height: 16px; } }
.btn-call-start { background: var(--logo-green); color: white; border: 0; font-weight: 700; animation: pulseGreen 2s infinite; }
.btn-call-start:hover { background: var(--logo-dark-green); color: white; }
.btn-hangup { background: #dc2626; color: white; border: 0; font-weight: 700; }
.btn-hangup:hover { background: #b91c1c; color: white; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(37,198,45,.6); } 70% { box-shadow: 0 0 0 10px rgba(37,198,45,0); } 100% { box-shadow: 0 0 0 0 rgba(37,198,45,0); } }
.keypad-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 12px; }
.key-btn { background: white; border: 1.5px solid var(--wp-bg-subtle); border-radius: 15px; padding: 8px 4px; text-align: center; transition: all .2s; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70px; }
.keypad-locked .key-btn { opacity: .42; cursor: not-allowed; background: #f1f5f9; border-color: #cbd5e1; }
.keypad-grid:not(.keypad-locked) .key-btn:hover,.key-btn.highlight-voice { background: var(--wp-bg-secondary); border-color: var(--wp-brand); transform: translateY(-2px); }
.key-btn.highlight-voice { box-shadow: 0 0 12px rgba(37,198,45,.35); }
.key-btn.selected { background: var(--wp-brand) !important; border-color: var(--logo-dark-green) !important; }
.key-btn.selected span { color: white !important; }
.inactive-key { background: #f8faf9; border-color: #e2e8f0; opacity: .72; }
.key-num { font-size: 1.25rem; font-weight: 800; color: var(--wp-heading); line-height: 1.1; }
.key-sub { font-size: .66rem; font-weight: 600; color: var(--logo-grey); line-height: 1.15; margin-top: 4px; }
.form-card { background: var(--wp-bg-secondary); border: 1.5px solid var(--wp-bg-subtle); border-radius: 26px; max-width: 580px; width: 100%; margin: 18px auto 0; }
.form-control,.form-select { background: white; border: 1.5px solid var(--wp-bg-subtle); color: var(--wp-text); border-radius: 10px; padding: .7rem .95rem; }
.form-control:focus,.form-select:focus { border-color: var(--wp-brand); box-shadow: 0 0 0 .2rem rgba(84,180,53,.2); }
.country-dropdown-menu { max-height: 220px; overflow: auto; border-radius: 12px; border: 1.5px solid var(--wp-brand); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.country-item { cursor: pointer; padding: 8px 14px; font-size: .9rem; }
.country-item:hover,.country-item:focus { background: var(--wp-bg-secondary); }
.btn-voipocel { background: var(--wp-brand); color: white; font-weight: 700; border: 0; border-radius: 12px; }
.btn-voipocel:hover { background: var(--wp-brand-alt); color: white; }
.footer-voipocel { background: var(--wp-heading); color: #cbd5e1; border-top: 3px solid var(--wp-brand); }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: white; text-decoration: none; font-size: 1.05rem; }
.social-link:hover { background: var(--logo-green); color: white; transform: translateY(-2px); }
.compliance-card { max-width: 580px; margin: 22px auto 0; padding: 16px; border-top: 1px solid var(--wp-bg-subtle); text-align: center; font-size: .8rem; color: var(--logo-grey); }
.compliance-card a { color: var(--logo-dark-green); text-underline-offset: 3px; }
.compliance-card .bi { color: var(--logo-dark-green); }
.form-check-input:checked { background-color: var(--wp-brand-alt); border-color: var(--wp-brand-alt); }
.privacy-policy-link { color: var(--logo-dark-green); }

/* Barre inférieure obligatoire pour les cookies */
.cookie-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--wp-heading);
    border-top: 3px solid var(--wp-brand);
    padding: 1.15rem 0;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.35);
}

/* Verrouille visuellement le téléphone tant que les cookies ne sont pas acceptés */
body.cookies-pending #phoneChassis,
body.cookies-pending #formContainer {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

body.cookies-pending {
    padding-bottom: 130px;
}

@media (max-width:575.98px) {
    .phone-chassis { border-radius: 30px; padding: 1rem !important; }
    .key-btn { min-height: 64px; }
    .form-card { padding: 1.25rem !important; border-radius: 20px; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation: none !important; transition: none !important; }
}