:root {
    --red: #c41230;
    --red-dark: #a00e28;
    --red-glow: rgba(196, 18, 48, 0.1);
    --dark: #1a1a1a;
    --dark-soft: #2a2a2a;
    --bg: #fafafa;
    --bg-warm: #f5f3f0;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-mid: #555;
    --text-light: #888;
    --border: #e5e5e5;
    --green: #16a34a;
    --green-bg: #f0fdf4;
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Outfit', system-ui, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font); color: var(--text);
    background: var(--bg); line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* NAV */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand {
    font-family: var(--font-display); font-size: 1.05rem;
    font-weight: 700; color: var(--dark);
}
.nav-brand span { color: var(--red); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: 0.86rem; font-weight: 600; color: var(--text-mid); transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta {
    background: var(--red) !important; color: #fff !important;
    padding: 10px 22px; border-radius: var(--radius-sm);
    font-weight: 700 !important; transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

/* HERO */
.hero {
    padding: 130px 0 70px;
    background: linear-gradient(135deg, #fff 0%, #fef7f7 50%, #fdf0f0 100%);
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
    border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-bg); border: 1px solid rgba(22,163,74,0.2);
    padding: 6px 14px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700; color: var(--green);
    margin-bottom: 18px;
}
.hero-tag::before {
    content: ''; width: 7px; height: 7px;
    background: var(--green); border-radius: 50%;
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 700;
    line-height: 1.1; letter-spacing: -0.03em;
    color: var(--dark); margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--red); }

.hero-sub {
    font-size: 1.05rem; color: var(--text-mid);
    margin-bottom: 28px; line-height: 1.7; max-width: 460px;
}

.hero-price {
    display: inline-flex; align-items: baseline; gap: 6px;
    background: var(--white); border: 2px solid var(--red);
    padding: 12px 24px; border-radius: var(--radius-sm);
    margin-bottom: 24px;
}
.hero-price .amount {
    font-family: var(--font-display); font-size: 2rem;
    font-weight: 700; color: var(--red);
}
.hero-price .unit { font-size: 1rem; color: var(--text-mid); font-weight: 600; }

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

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 0.95rem; font-weight: 700;
    cursor: pointer; border: none; transition: all 0.25s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,18,48,0.25); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-soft); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--dark); background: var(--dark); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost-light:hover { background: #fff; color: var(--dark); border-color: #fff; }

.hero-visual { position: relative; z-index: 1; }
.hero-img-wrap {
    background: var(--white); border-radius: var(--radius);
    padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}
.hero-img-wrap img { border-radius: 10px; width: 100%; height: auto; }
.hero-img-badge {
    position: absolute; bottom: -12px; right: -12px;
    background: var(--red); color: #fff;
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(196,18,48,0.3);
}

/* SECTIONS */
section { padding: 72px 0; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--red); margin-bottom: 10px;
}
.section-tag::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.section-title {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    color: var(--dark); margin-bottom: 12px; letter-spacing: -0.02em;
}
.section-desc { font-size: 0.95rem; color: var(--text-mid); max-width: 560px; line-height: 1.7; }

/* TARIFS */
.tarifs { background: var(--white); }
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.tarif-card {
    background: var(--bg); border-radius: var(--radius);
    padding: 32px 24px; border: 2px solid var(--border);
    text-align: center; transition: all 0.3s;
}
.tarif-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.tarif-card.popular { border-color: var(--red); background: #fef7f7; position: relative; }
.tarif-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--red); color: #fff; padding: 4px 16px;
    border-radius: 50px; font-size: 0.75rem; font-weight: 700;
    white-space: nowrap;
}
.tarif-duration {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 700; color: var(--dark); margin-bottom: 8px;
}
.tarif-price {
    font-family: var(--font-display); font-size: 2.6rem;
    font-weight: 700; color: var(--red); line-height: 1;
}
.tarif-price small { font-size: 0.5em; color: var(--text-light); }
.tarif-detail { font-size: 0.85rem; color: var(--text-mid); margin-top: 12px; line-height: 1.6; }
.tarif-detail strong { color: var(--green); }

/* BANDEAU LIVRAISON */
.livraison-banner {
    margin: 32px auto 0;
    background: linear-gradient(135deg, #fef7f7 0%, #fdf0f0 100%);
    border: 2px dashed var(--red);
    border-radius: var(--radius);
    padding: 20px 28px;
    display: flex; align-items: center; gap: 16px;
    max-width: 720px;
}
.livraison-banner-ico { font-size: 1.8rem; flex-shrink: 0; }
.livraison-banner-text { flex: 1; }
.livraison-banner-text strong {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--dark); display: block; margin-bottom: 2px;
}
.livraison-banner-text span { font-size: 0.88rem; color: var(--text-mid); }
.livraison-banner-price {
    font-family: var(--font-display); font-size: 1.6rem;
    font-weight: 700; color: var(--red); flex-shrink: 0;
}

/* COMMENT CA MARCHE */
.how { background: var(--bg-warm); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step {
    background: var(--white); border-radius: var(--radius);
    padding: 28px 22px; border: 1px solid var(--border); text-align: center;
}
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700;
    font-size: 1.1rem; margin: 0 auto 16px;
}
.step h3 { font-family: var(--font-display); font-size: 1rem; color: var(--dark); margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* USAGES */
.usages { background: var(--white); }
.usages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.usage {
    background: var(--bg); border-radius: var(--radius-sm);
    padding: 22px 16px; text-align: center;
    border: 1px solid var(--border); transition: all 0.2s;
}
.usage:hover { border-color: var(--red); transform: translateY(-2px); }
.usage-ico { font-size: 1.8rem; margin-bottom: 10px; }
.usage h3 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.usage p { font-size: 0.78rem; color: var(--text-light); }

/* ZONES */
.zones { background: var(--bg-warm); }
.zones-flex { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.zone {
    background: var(--white); border: 1px solid var(--border);
    padding: 8px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; color: var(--text);
    transition: all 0.2s; display: inline-block;
}
.zone:hover, .zone.active { background: var(--dark); color: #fff; border-color: var(--dark); }
a.zone:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* CARTES VILLES */
.villes-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-top: 36px;
}
.ville-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 20px;
    transition: all 0.25s; display: block;
}
.ville-card:hover {
    border-color: var(--red); transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.ville-card h3 {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--dark); margin-bottom: 4px;
}
.ville-card .ville-cp { font-size: 0.78rem; color: var(--text-light); display: block; margin-bottom: 8px; }
.ville-card p { font-size: 0.83rem; color: var(--text-mid); line-height: 1.55; }
.ville-card .ville-link {
    display: inline-block; margin-top: 12px;
    font-size: 0.83rem; font-weight: 700; color: var(--red);
}

/* INFO / CAUTION */
.info { background: var(--white); }
.info-box {
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: var(--radius); padding: 28px;
    margin-top: 28px; max-width: 700px;
}
.info-box h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; }
.info-box p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* TEXTE SEO */
.texte-seo { background: var(--white); }
.texte-seo-content { max-width: 720px; margin-top: 28px; }
.texte-seo-content h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    color: var(--dark); margin: 28px 0 10px;
}
.texte-seo-content h3:first-child { margin-top: 0; }
.texte-seo-content p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }
.texte-seo-content a { color: var(--red); font-weight: 600; }
.texte-seo-content a:hover { text-decoration: underline; }

/* FORMULAIRE */
.form-section { background: linear-gradient(135deg, #fafafa 0%, #fef7f7 100%); }
.form-wrap {
    max-width: 720px; margin: 40px auto 0;
    background: var(--white); border-radius: var(--radius);
    padding: 40px; border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
    font-size: 0.85rem; font-weight: 700; color: var(--dark);
    margin-bottom: 6px;
}
.form-field label .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font); font-size: 0.95rem;
    padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); background: var(--white);
    color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-glow);
}
.form-field textarea { resize: vertical; min-height: 90px; }

.radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-option { position: relative; cursor: pointer; }
.radio-option input { position: absolute; opacity: 0; pointer-events: none; }
.radio-option .radio-card {
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 14px 16px; transition: all 0.2s;
    display: flex; align-items: center; gap: 10px;
}
.radio-option .radio-ico { font-size: 1.4rem; }
.radio-option .radio-label { font-size: 0.9rem; font-weight: 700; color: var(--dark); display: block; }
.radio-option .radio-sub { font-size: 0.78rem; color: var(--text-light); display: block; }
.radio-option input:checked + .radio-card {
    border-color: var(--red); background: #fef7f7;
    box-shadow: 0 0 0 3px var(--red-glow);
}
.radio-option input:focus-visible + .radio-card { outline: 3px solid var(--red); outline-offset: 2px; }

.form-submit {
    grid-column: 1 / -1; margin-top: 8px;
    display: flex; gap: 12px; flex-wrap: wrap;
}
.form-submit .btn { flex: 1; min-width: 200px; justify-content: center; }
.form-info {
    grid-column: 1 / -1;
    font-size: 0.8rem; color: var(--text-light);
    text-align: center; margin-top: 4px;
}

/* CTA */
.cta {
    background: var(--dark); padding: 64px 0; text-align: center;
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 65%);
    border-radius: 50%;
}
.cta .container { position: relative; z-index: 1; }
.cta .section-title { color: #fff; }
.cta .section-desc { color: rgba(255,255,255,0.65); margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
    margin-top: 24px; font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700;
}
.cta-phone a { color: var(--red); transition: color 0.2s; }
.cta-phone a:hover { color: #fff; }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; font-family: var(--font);
    font-size: 1rem; font-weight: 700; color: var(--dark);
    text-align: left; line-height: 1.4; gap: 16px;
}
.faq-q:hover { color: var(--red); }
.faq-icon {
    flex-shrink: 0; width: 28px; height: 28px;
    border-radius: 50%; background: var(--bg-warm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--text-mid);
    transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 420px; padding-bottom: 20px; }
.faq-a p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.75; }

/* FIL D'ARIANE */
.breadcrumb {
    padding: 100px 0 0; background: var(--white);
    font-size: 0.82rem; color: var(--text-light);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--dark); font-weight: 600; }
.breadcrumb + .hero { padding-top: 40px; }

/* FOOTER */
footer {
    background: #111; color: rgba(255,255,255,0.5);
    padding: 44px 0 24px; font-size: 0.82rem;
}
.foot-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px; text-align: left; margin-bottom: 32px;
}
.foot-brand {
    font-family: var(--font-display); font-size: 1rem;
    font-weight: 700; color: #fff; margin-bottom: 8px;
}
.foot-brand span { color: var(--red); }
.foot-col h4 {
    font-family: var(--font-display); font-size: 0.88rem;
    color: #fff; margin-bottom: 12px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 7px; }
footer a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
footer a:hover { color: var(--red); }
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px; text-align: center; font-size: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 2.2rem; }
    .tarifs-grid, .how-grid { grid-template-columns: 1fr 1fr; }
    .usages-grid { grid-template-columns: 1fr 1fr; }
    .villes-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: flex-start;
        position: absolute; top: 100%; left: 0; right: 0; background: #fff;
        padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 14px;
    }
    .hero { padding: 110px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .tarifs-grid, .how-grid { grid-template-columns: 1fr; }
    .usages-grid, .villes-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 52px 0; }
    .section-title { font-size: 1.6rem; }
    .form-wrap { padding: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .radio-group { grid-template-columns: 1fr; }
    .livraison-banner { flex-direction: column; text-align: center; }
    .foot-grid { grid-template-columns: 1fr; }
    .breadcrumb { padding-top: 88px; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.55s ease-out both; }
.hero-content > *:nth-child(2) { animation-delay: 0.07s; }
.hero-content > *:nth-child(3) { animation-delay: 0.14s; }
.hero-content > *:nth-child(4) { animation-delay: 0.21s; }
.hero-content > *:nth-child(5) { animation-delay: 0.28s; }
.hero-visual { animation: fadeUp 0.65s ease-out 0.2s both; }

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