/* Deldongo — feuille de style principale */

:root {
    --ink: #10233a;          /* nuit de Fort-de-France */
    --ink-soft: #465a6e;
    --lagon: #0e7c7b;
    --lagon-deep: #0a5b5a;
    --lagon-pale: #e3f2f1;
    --balisier: #d63a20;     /* rouge du balisier, réservé aux actions */
    --balisier-deep: #b02c15;
    --soleil: #f2b33d;
    --ecume: #f3f7f7;
    --line: #d7e3e3;
    --white: #fff;

    --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 35, 58, .06), 0 12px 32px -12px rgba(16, 35, 58, .18);
    --wrap: 1160px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagon-deep); text-underline-offset: 3px; }
a:hover { color: var(--lagon); }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 800px; }
.section { padding: var(--section) 0; }
.section-tint { background: var(--ecume); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lagon);
    margin-bottom: .9em;
}
.eyebrow-light { color: var(--soleil); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: 600 1rem/1.2 var(--font-body);
    padding: .9em 1.4em;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--balisier); color: #fff; }
.btn-cta:hover { background: var(--balisier-deep); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--lagon-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Listes à coches */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.checks li { padding-left: 1.7em; position: relative; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .35em;
    width: 1.05em; height: 1.05em; border-radius: 50%;
    background: var(--lagon-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a5b5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.checks-light li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f2b33d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* En-tête */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand {
    display: inline-flex; align-items: center; gap: .45em;
    font: 800 1.35rem/1 var(--font-display);
    letter-spacing: -0.03em;
    color: var(--ink); text-decoration: none;
}
.brand-mark {
    display: inline-grid; place-items: center;
    width: 1.5em; height: 1.5em; border-radius: 9px;
    background: var(--lagon); color: #fff; font-size: .85em;
}
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
    display: block; padding: .45em .75em; border-radius: 999px;
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem;
}
.nav ul a:hover { background: var(--ecume); color: var(--ink); }
.nav ul a[aria-current="page"] { background: var(--lagon-pale); color: var(--lagon-deep); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex; font: 600 .95rem var(--font-body);
        background: var(--ecume); border: 1px solid var(--line); color: var(--ink);
        padding: .5em 1em; border-radius: 999px; cursor: pointer;
    }
    .nav {
        position: absolute; left: 0; right: 0; top: 68px;
        flex-direction: column; align-items: stretch; gap: 12px;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px var(--gutter) 20px;
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav ul { flex-direction: column; }
    .nav ul a { padding: .75em .5em; border-radius: var(--radius-sm); }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--ecume) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); margin-bottom: .35em; }
.hero h1 .kicker {
    display: block;
    font: 600 clamp(.95rem, 1.4vw, 1.1rem)/1.3 var(--font-mono);
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--lagon); margin-bottom: .9em;
}
.hero h1 em { font-style: normal; color: var(--lagon); }
.hero .lead { margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 1.8em; }
.hero-note { font-size: .92rem; color: var(--ink-soft); }
.hero .checks { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); font-size: .97rem; }
.hero-simple { padding-bottom: clamp(40px, 6vw, 72px); }
.hero-simple h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 22ch; }
.hero-simple .lead { max-width: 68ch; }

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
}

/* Signature : la page de résultats Google */
.serp {
    --row: 62px;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px 18px 14px;
    max-width: 480px;
    margin-left: auto;
    width: 100%;
}
.serp-bar {
    display: flex; align-items: center; gap: 10px;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 10px 16px; margin-bottom: 14px;
    font-size: .95rem;
}
.serp-bar svg { flex: none; }
.serp-query::after { content: "|"; margin-left: 1px; color: var(--lagon); animation: blink 1s steps(1) infinite; }
.serp-list { position: relative; height: calc(var(--row) * 7); list-style: none; margin: 0; padding: 0; }
.serp-item {
    position: absolute; left: 0; right: 0; height: var(--row);
    top: calc(var(--row) * var(--i));
    padding: 8px 10px;
    border-radius: 10px;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.serp-item .u { display: block; height: 8px; width: 38%; border-radius: 4px; background: var(--line); margin-bottom: 9px; }
.serp-item .t { display: block; height: 12px; width: 78%; border-radius: 4px; background: #c7d7e6; }
.serp-item:nth-child(2) .t { width: 64%; }
.serp-item:nth-child(3) .t { width: 86%; }
.serp-item:nth-child(4) .t { width: 58%; }
.serp-divider {
    position: absolute; left: 0; right: 0;
    top: calc(var(--row) * 5); height: var(--row);
    display: flex; align-items: center; gap: 10px;
    font: 600 .72rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
    transition: opacity .5s;
}
.serp-divider::before, .serp-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.serp-you {
    background: var(--lagon-pale);
    box-shadow: inset 3px 0 0 var(--lagon);
    display: flex; flex-direction: column; justify-content: center;
}
.serp-you .url { font: .78rem/1.2 var(--font-mono); color: var(--lagon-deep); }
.serp-you .title { font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-pos {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font: 700 .8rem/1 var(--font-mono);
    background: #fff; color: var(--ink); border: 1px solid var(--line);
    padding: 6px 8px; border-radius: 999px;
}
.serp-pos .p2 { display: inline; }
.serp-pos .p1 { display: none; }
.serp-caption { font-size: .85rem; color: var(--ink-soft); margin: 12px 4px 0; }

/* État final : votre site monte en tête */
.serp.is-up .serp-item:not(.serp-you) { transform: translateY(var(--row)); }
.serp.is-up .serp-you { transform: translateY(calc(var(--row) * -6)); }
.serp.is-up .serp-divider { transform: translateY(var(--row)); }
.serp.is-up .serp-pos { background: var(--soleil); border-color: var(--soleil); }
.serp.is-up .serp-pos .p2 { display: none; }
.serp.is-up .serp-pos .p1 { display: inline; }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 880px) {
    .serp { margin: 0 auto; }
}

/* Cartes problèmes */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 2em 0; }
.pain {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 24px; background: #fff;
}
.pain h3 { font-size: 1.12rem; margin-bottom: .4em; }
.pain p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } }

/* Bandeau objectifs (fond nuit) */
.band { background: var(--ink); color: #dce6ee; }
.band h2 { color: #fff; }
.band .lead { color: #b8c7d4; }
.outcomes { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.8em 0; padding: 0; list-style: none; }
.outcomes li {
    font: 700 clamp(1.05rem, 2vw, 1.35rem)/1 var(--font-display);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .7em 1em; border-radius: 999px;
}
.outcomes li span { color: var(--soleil); margin-right: .15em; }
.outcomes-light li { color: var(--ink); border-color: var(--line); background: var(--ecume); font-size: clamp(1rem, 1.6vw, 1.15rem); }

/* Méthode : étapes numérotées (vraie séquence) */
.steps { list-style: none; margin: 2.2em 0 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.step {
    counter-increment: step;
    display: grid; grid-template-columns: 72px 1fr; gap: 20px;
    padding: 26px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
    content: counter(step, decimal-leading-zero);
    font: 800 2.1rem/1 var(--font-display);
    color: var(--lagon);
    letter-spacing: -0.04em;
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--ink-soft); max-width: 68ch; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 6px; } }

/* Deux colonnes texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-wide { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 880px) { .split, .split-wide { grid-template-columns: 1fr; } }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 1em 0 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35em .85em; font-size: .92rem; }

.note {
    border-left: 3px solid var(--soleil);
    background: #fff8e8;
    padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1rem;
}
.note p:last-child { margin: 0; }

/* Grille de services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2em; }
.card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; color: var(--ink); text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { border-color: var(--lagon); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; flex: 1; }
.card .more { margin-top: 1em; font-weight: 600; color: var(--lagon-deep); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ecume); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

/* Études de cas */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 2em; }
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.case figure { margin: 0; background: var(--ecume); border-bottom: 1px solid var(--line); }
.case-body { padding: 22px 24px; }
.case-sector { font: .8rem var(--font-mono); color: var(--lagon); text-transform: uppercase; letter-spacing: .06em; }
.case-figures { display: flex; gap: 24px; margin: 1em 0; }
.case-figures strong { display: block; font: 800 2rem/1 var(--font-display); color: var(--lagon-deep); }
.case-figures span { font-size: .88rem; color: var(--ink-soft); }
.case-actions { padding-left: 1.1em; margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    padding: 20px 44px 20px 0; position: relative;
    font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 6px; top: 50%;
    width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid var(--lagon); border-bottom: 2px solid var(--lagon);
    transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 0 20px; color: var(--ink-soft); max-width: 70ch; }
.faq-a p { margin: 0; }

/* Formulaire */
.audit { background: var(--ink); color: #dce6ee; padding: var(--section) 0; }
.audit-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.audit h2 { color: #fff; }
.audit-pitch p { color: #b8c7d4; font-size: 1.1rem; }
.audit-pitch .checks { margin-top: 1.4em; color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: 10px;
    padding: .75em .9em; background: #fff; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lagon); box-shadow: 0 0 0 3px var(--lagon-pale); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .84rem; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.form-alert { background: #fdecea; border: 1px solid #f3b8ae; color: #7a1d0e; border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; font-size: .95rem; }
.form-alert ul { margin: .3em 0 0; padding-left: 1.2em; }
.form-alert p { margin: 0; }
@media (max-width: 880px) { .audit-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: #0a1827; color: #9fb1c2; padding: 64px 0 24px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-lead { max-width: 42ch; margin: 1em 0 1.4em; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.site-footer a:not(.btn) { color: #cfdae4; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 20px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Bouton fixe mobile */
.sticky-cta { display: none; }
@media (max-width: 720px) {
    .sticky-cta {
        display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
        background: var(--balisier); color: #fff; text-align: center; text-decoration: none;
        font-weight: 700; padding: 15px; border-radius: 999px;
        box-shadow: 0 10px 30px -8px rgba(214, 58, 32, .6);
        transition: transform .25s, opacity .25s;
    }
    .sticky-cta:hover { color: #fff; }
    .sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
    .site-footer { padding-bottom: 90px; }
}

/* Bandeau cookies */
.consent {
    position: fixed; z-index: 60; left: 16px; bottom: 16px; max-width: 420px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 18px 20px; font-size: .92rem;
}
.consent p { margin: 0 0 12px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 720px) { .consent { right: 12px; left: 12px; bottom: 12px; max-width: none; } }

/* Page légale / merci */
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
