/**
 * Calculateur Diagnostic Algues — AquaLowtech
 * Fichier : assets/css/calculateur-diagnostic.css
 * Version : 2.0.0
 */

/* ── Variables couleurs site ────────────────── */
:root {
    --vert-fonce: #1a4d2e;
    --vert-moyen: #2d6a4f;
    --vert-clair: #52b788;
    --vert-pale:  #d8f3dc;
    --orange:     #e76f51;
    --gris-bg:    #f8f9fa;
    --gris-bord:  #dee2e6;
    --texte:      #2c3e50;
    --texte-sec:  #6c757d;
    --blanc:      #ffffff;
    --ombre:      0 2px 12px rgba(0,0,0,.08);
}


/* ═══════════════════════════════════════════════
   BREADCRUMB — Amélioré
   ═══════════════════════════════════════════════ */
.diag-breadcrumb {
    background: var(--gris-bg);
    border-bottom: 1px solid #e8ede8;
    padding: 0;
}
.diag-breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: .5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: .7rem 1.5rem;
    font-size: .8rem;
    color: var(--texte-sec);
}
.diag-breadcrumb a {
    color: var(--vert-moyen);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}
.diag-breadcrumb a:hover {
    color: var(--vert-fonce);
}
.diag-breadcrumb__sep {
    display: flex;
    align-items: center;
}
.diag-breadcrumb__sep svg {
    width: 14px;
    height: 14px;
    color: var(--gris-bord);
}
.diag-breadcrumb__current {
    font-weight: 600;
    color: var(--vert-fonce);
}


/* ═══════════════════════════════════════════════
   HERO — Amélioré (gradient enrichi + bulles + CTA)
   ═══════════════════════════════════════════════ */
.diag-hero {
    background: linear-gradient(150deg, var(--vert-fonce) 0%, #2d6a4f 60%, #40916c 100%);
    color: var(--blanc);
    padding: 4rem 1.5rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.diag-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(116,198,157,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(82,183,136,0.10) 0%, transparent 40%);
    pointer-events: none;
}

/* Bulles décoratives */
.diag-hero__bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(116,198,157,0.08);
    animation: diag-float 6s ease-in-out infinite;
}
.diag-hero__bubble:nth-child(1) { width: 180px; height: 180px; top: -40px; left: -40px; animation-delay: 0s; }
.diag-hero__bubble:nth-child(2) { width: 120px; height: 120px; bottom: -20px; right: 10%; animation-delay: 2s; }
.diag-hero__bubble:nth-child(3) { width: 80px; height: 80px; top: 30%; right: -20px; animation-delay: 4s; }

@keyframes diag-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.diag-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: .4rem 1.2rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
}
.diag-hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--blanc);
    position: relative;
    z-index: 1;
}
.diag-hero h1 em {
    font-style: normal;
    color: #a8e6cf;
}
.diag-hero__accent {
    color: #a8e6cf;
}
.diag-hero__lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}
.diag-hero__stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}
.diag-hero__stat {
    text-align: center;
}
.diag-hero__stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #a8e6cf;
    line-height: 1;
}
.diag-hero__stat span {
    font-size: .78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* Séparateurs entre les stats */
.diag-hero__stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* Bouton CTA dans le Hero */
.diag-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--blanc);
    color: var(--vert-fonce);
    font-size: .95rem;
    font-weight: 700;
    padding: .9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all .25s ease;
}
.diag-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    background: #a8e6cf;
    color: var(--vert-fonce);
}


/* ═══════════════════════════════════════════════
   SECTION INTRO — Améliorée (eyebrow + grid + proof)
   ═══════════════════════════════════════════════ */
.diag-intro {
    padding: 3.5rem 1.5rem 2.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.diag-intro__container {
    max-width: 100%;
}

/* Eyebrow centré */
.diag-intro__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.diag-intro__line {
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vert-clair));
    border-radius: 2px;
}
.diag-intro__line:last-child {
    background: linear-gradient(90deg, var(--vert-clair), transparent);
}
.diag-intro__tag {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--vert-moyen);
}

.diag-intro h2 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    color: var(--vert-fonce);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    text-align: center;
}

/* Accroche box — améliorée avec icône */
.accroche-diag {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(82,183,136,0.08), rgba(116,198,157,0.12));
    border-left: 5px solid var(--vert-clair);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
    font-size: .95rem;
    color: var(--texte);
    line-height: 1.65;
}
.accroche-diag__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.accroche-diag strong {
    color: var(--vert-fonce);
    font-weight: 700;
}

/* Grille texte + encart proof */
.diag-intro__grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.diag-intro__text p {
    color: var(--texte);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.diag-intro__text p:last-child { margin-bottom: 0; }
.diag-intro__text strong { color: var(--vert-fonce); }

/* Encart "Basé sur la science" */
.diag-intro__proof {
    background: var(--blanc);
    border: 1px solid #e0ede7;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(26, 77, 46, 0.06);
    position: relative;
}
.diag-intro__proof::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--vert-clair), var(--vert-moyen));
    border-radius: 0 0 3px 3px;
}
.diag-intro__proof-badge {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: block;
}
.diag-intro__proof p {
    margin: 0;
    font-size: .95rem;
    color: var(--vert-fonce);
    font-weight: 700;
    line-height: 1.4;
}
.diag-intro__proof-text {
    font-weight: 400 !important;
    color: var(--texte-sec) !important;
    font-size: .88rem !important;
    margin-top: .5rem !important;
    line-height: 1.55 !important;
    font-style: italic;
}


/* ── Container ──────────────────────────────── */
.diag-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* ═══════════════════════════════════════════════
   CALCULATEUR — INCHANGÉ
   ═══════════════════════════════════════════════ */
.diag-calc-section {
    padding: 0 1.5rem 4rem;
    max-width: 860px;
    margin: 0 auto;
}
.diag-anchor-label {
    text-align: center;
    margin-bottom: 2rem;
}
.diag-anchor-label h2 {
    font-size: 1.5rem;
    color: var(--vert-fonce);
    margin-bottom: .5rem;
}
.diag-anchor-label p {
    color: var(--texte-sec);
    font-size: .95rem;
}
.diag-verified-badge {
    display: inline-block;
    background: var(--vert-pale);
    color: var(--vert-fonce);
    border: 1px solid var(--vert-clair);
    border-radius: 20px;
    padding: .35rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.diag-card {
    background: var(--blanc);
    border-radius: 16px;
    box-shadow: var(--ombre);
    overflow: hidden;
    border: 1px solid var(--gris-bord);
}
.diag-card-header {
    background: var(--vert-fonce);
    color: var(--blanc);
    padding: 1.25rem 1.5rem;
}
.diag-card-header h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .2rem; color: var(--blanc); }
.diag-card-header p { font-size: .85rem; opacity: .8; color: var(--blanc); }
.diag-steps-wrap { padding: 2rem 1.5rem; }
.progress-bar-wrap { margin-bottom: 2rem; }
.progress-bar-track { height: 6px; background: var(--gris-bord); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--vert-clair); border-radius: 3px; transition: width .4s ease; }
.progress-label { font-size: .8rem; color: var(--texte-sec); margin-top: .4rem; text-align: right; }
.diag-step { display: none; }
.diag-step.active { display: block; }
.step-question { font-size: 1.15rem; font-weight: 600; color: var(--vert-fonce); margin-bottom: .4rem; line-height: 1.4; }
.step-question-sub { font-size: .9rem; color: var(--texte-sec); margin-bottom: 1.5rem; }
.options-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.75rem; }
.option-btn { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--gris-bord); border-radius: 10px; cursor: pointer; background: var(--blanc); text-align: left; transition: border-color .15s, background .15s, transform .1s; width: 100%; }
.option-btn:hover { border-color: var(--vert-clair); background: #f0faf4; transform: translateX(3px); }
.option-btn.selected { border-color: var(--vert-fonce); background: var(--vert-pale); }
.option-letter { width: 30px; height: 30px; min-width: 30px; border-radius: 50%; background: var(--gris-bg); border: 1.5px solid var(--gris-bord); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; color: var(--texte-sec); transition: background .15s, color .15s; }
.option-btn.selected .option-letter { background: var(--vert-fonce); color: var(--blanc); border-color: var(--vert-fonce); }
.option-text { font-size: .95rem; color: var(--texte); line-height: 1.5; padding-top: 4px; }
.btn-suivant { width: 100%; padding: 14px; background: var(--vert-fonce); color: var(--blanc); border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; opacity: .4; transition: opacity .2s, background .2s; pointer-events: none; }
.btn-suivant.pret { opacity: 1; pointer-events: auto; }
.btn-suivant.pret:hover { background: var(--vert-moyen); }
.algue-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.75rem; }
.algue-card { border: 2px solid var(--gris-bord); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--blanc); transition: border-color .15s, box-shadow .15s, transform .1s; text-align: left; padding: 0; width: 100%; display: flex; flex-direction: column; -webkit-tap-highlight-color: transparent; }
.algue-card:hover { border-color: var(--vert-clair); box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.algue-card.selected { border-color: var(--vert-fonce); box-shadow: 0 0 0 3px var(--vert-pale); }
.algue-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--gris-bg); }
.algue-card__img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--gris-bg); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.algue-card__body { padding: .75rem .9rem 1rem; flex: 1; }
.algue-card__titre { font-size: .92rem; font-weight: 700; color: var(--vert-fonce); margin-bottom: .3rem; line-height: 1.3; }
.algue-card__desc { font-size: .8rem; color: var(--texte-sec); line-height: 1.5; }
.algue-card.selected .algue-card__body { background: var(--vert-pale); }
.verdict-box { background: var(--vert-pale); border-left: 5px solid var(--vert-fonce); border-radius: 0 10px 10px 0; padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.verdict-profil { font-size: .75rem; font-weight: 700; color: var(--vert-moyen); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.verdict-titre { font-size: 1.05rem; font-weight: 700; color: var(--vert-fonce); margin-bottom: .6rem; }
.verdict-texte { font-size: .95rem; color: var(--texte); line-height: 1.65; }
.capture-titre { font-size: 1.1rem; font-weight: 700; color: var(--vert-fonce); margin-bottom: .4rem; }
.capture-sous { font-size: .9rem; color: var(--texte-sec); margin-bottom: 1.25rem; line-height: 1.6; }
.form-row { margin-bottom: 12px; }
.form-row input { width: 100%; padding: 12px 14px; font-size: .95rem; border: 1.5px solid var(--gris-bord); border-radius: 8px; background: var(--blanc); color: var(--texte); transition: border-color .15s; }
.form-row input:focus { outline: none; border-color: var(--vert-clair); }
.btn-soumettre { width: 100%; padding: 15px; background: var(--orange); color: var(--blanc); border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: background .2s; margin-top: 4px; }
.btn-soumettre:hover { background: #cf6244; }
.btn-soumettre:disabled { opacity: .6; cursor: not-allowed; }
.form-disclaimer { font-size: .78rem; color: var(--texte-sec); margin-top: 10px; text-align: center; line-height: 1.5; }
.form-error { background: #fff5f5; border: 1px solid #feb2b2; color: #c53030; border-radius: 8px; padding: .75rem 1rem; font-size: .85rem; margin-bottom: 1rem; display: none; }
.diag-succes { text-align: center; padding: 3rem 1.5rem; }
.succes-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--vert-pale); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.8rem; }
.succes-titre { font-size: 1.3rem; font-weight: 700; color: var(--vert-fonce); margin-bottom: .5rem; }
.succes-sous { font-size: .95rem; color: var(--texte-sec); line-height: 1.65; max-width: 400px; margin: 0 auto; }


/* ═══════════════════════════════════════════════
   HUB ALGUES SEO — Header amélioré
   ═══════════════════════════════════════════════ */
.hub-algues {
    padding: 4rem 1.5rem;
    background: var(--gris-bg);
}
.hub-algues__header {
    text-align: center;
    margin-bottom: 3rem;
}
.hub-algues__label {
    display: inline-block;
    background: var(--vert-pale);
    color: var(--vert-fonce);
    border-radius: 20px;
    padding: .35rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
}
.hub-algues__header h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--vert-fonce);
    margin-bottom: .75rem;
    line-height: 1.3;
}

/* Filet décoratif sous le H2 — cohérent avec la FAQ */
.hub-algues__underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vert-clair), transparent);
    border-radius: 2px;
    margin: 0 auto .75rem;
}

.hub-algues__sub {
    font-size: .95rem;
    color: var(--texte-sec);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
    font-style: italic;
}


/* ═══════════════════════════════════════════════
   FICHE ALGUE — Design "Carte Identité" (INCHANGÉ)
   ═══════════════════════════════════════════════ */
.algue-fiche { background: var(--blanc); border-radius: 18px; border: 1px solid var(--gris-bord); margin-bottom: 2rem; overflow: hidden; box-shadow: 0 4px 20px rgba(26,77,46,0.06); transition: box-shadow .3s ease, transform .3s ease; }
.algue-fiche:hover { box-shadow: 0 8px 32px rgba(26,77,46,0.10); transform: translateY(-2px); }
.algue-fiche__header { display: flex; align-items: center; gap: 1.25rem; padding: 1.75rem 1.75rem 1.5rem; background: linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-moyen) 100%); color: var(--blanc); position: relative; overflow: hidden; }
.algue-fiche__header::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.algue-fiche--cyanos .algue-fiche__header { background: linear-gradient(135deg, #1e4d5c 0%, #2d7a8c 100%); }
.algue-fiche--bba .algue-fiche__header { background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%); }
.algue-fiche--diatomees .algue-fiche__header { background: linear-gradient(135deg, #6b4423 0%, #8b6b3d 100%); }
.algue-fiche__icon-wrap { width: 64px; height: 64px; background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.algue-fiche__icon { width: 36px; height: 36px; color: #a8e6cf; }
.algue-fiche--cyanos .algue-fiche__icon { color: #7dd3fc; }
.algue-fiche--bba .algue-fiche__icon { color: #d4d4d4; }
.algue-fiche--diatomees .algue-fiche__icon { color: #e8b88a; }
.algue-fiche__titles { position: relative; z-index: 1; flex: 1; }
.algue-fiche__kicker { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #a8e6cf; margin-bottom: .3rem; opacity: .9; }
.algue-fiche--cyanos .algue-fiche__kicker { color: #7dd3fc; }
.algue-fiche--bba .algue-fiche__kicker { color: #d4d4d4; }
.algue-fiche--diatomees .algue-fiche__kicker { color: #e8b88a; }
.algue-fiche__titre { font-size: 1.4rem; font-weight: 700; color: var(--blanc); margin: 0 0 .3rem; line-height: 1.2; }
.algue-fiche__latin { font-size: .82rem; font-style: italic; color: var(--blanc); opacity: .75; margin: 0; }
.algue-fiche__meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--gris-bord); padding: 0; border-bottom: 1px solid var(--gris-bord); }
.algue-fiche__meta-item { background: #fafbfa; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
.algue-fiche__meta-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-sec); }
.algue-fiche__meta-value { font-size: .88rem; font-weight: 600; color: var(--vert-fonce); display: flex; align-items: center; gap: .4rem; }
.dot-level { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vert-clair); }
.dot-level--off { background: var(--gris-bord); }
.algue-fiche__blocks { padding: 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }
.algue-bloc { border-left: 3px solid var(--gris-bord); padding-left: 1.25rem; transition: border-color .3s ease; }
.algue-bloc--identify { border-left-color: #94a3b8; }
.algue-bloc--cause { border-left-color: #e76f51; }
.algue-bloc--solution { border-left-color: var(--vert-clair); }
.algue-bloc__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-weight: 700; color: var(--vert-fonce); font-size: .95rem; }
.algue-bloc__head svg { width: 20px; height: 20px; flex-shrink: 0; }
.algue-bloc--identify .algue-bloc__head svg { color: #64748b; }
.algue-bloc--cause .algue-bloc__head svg { color: #e76f51; }
.algue-bloc--solution .algue-bloc__head svg { color: var(--vert-moyen); }
.algue-bloc p { font-size: .95rem; color: var(--texte); line-height: 1.7; margin: 0; }
.algue-bloc strong { color: var(--vert-fonce); font-weight: 600; }
.algue-bloc em { color: var(--texte-sec); font-style: italic; }
.algue-bloc__list { margin: .5rem 0 .75rem; padding-left: 1.1rem; }
.algue-bloc__list li { font-size: .93rem; color: var(--texte); line-height: 1.7; margin-bottom: .35rem; }
.algue-bloc__list li::marker { color: var(--vert-clair); }
.algue-bloc__zero { display: inline-block; background: rgba(82,183,136,0.12); color: var(--vert-moyen); font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 6px; margin-top: .3rem; }
.algue-fiche__walstad { background: linear-gradient(135deg, #f4f8f4 0%, #eef7ef 100%); border-top: 1px solid var(--gris-bord); padding: 1.25rem 1.75rem; }
.algue-fiche__walstad-label { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--vert-moyen); margin-bottom: .5rem; }
.algue-fiche__walstad p { font-size: .88rem; color: var(--texte); line-height: 1.65; margin: 0; font-style: italic; }
.algue-fiche__walstad em { color: var(--vert-fonce); font-weight: 600; }
.algue-fiche__alerte { display: flex; align-items: flex-start; gap: .85rem; margin: 0 1.75rem 0; padding: 1rem 1.1rem; background: linear-gradient(135deg, #fff3f0 0%, #ffe8e3 100%); border-left: 4px solid var(--orange); border-radius: 8px; margin-top: 1.5rem; margin-bottom: -.25rem; font-size: .9rem; color: var(--texte); line-height: 1.6; }
.algue-fiche__alerte-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.algue-fiche__alerte strong { color: #c2410c; }
.algue-fiche__note-pro { display: flex; align-items: flex-start; gap: .85rem; margin: 1.5rem 1.75rem -.25rem; padding: 1rem 1.1rem; background: linear-gradient(135deg, #f0faf4 0%, #e0f5e9 100%); border-left: 4px solid var(--vert-clair); border-radius: 8px; font-size: .9rem; color: var(--texte); line-height: 1.6; }
.algue-fiche__note-pro-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.algue-fiche__note-pro strong { color: var(--vert-fonce); }
.algue-fiche__cta-zone { padding: 1.25rem 1.75rem 1.5rem; background: var(--blanc); border-top: 1px solid var(--gris-bord); text-align: center; }
.algue-fiche__cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--vert-fonce); color: var(--blanc); font-weight: 700; font-size: .95rem; padding: .85rem 1.75rem; border-radius: 10px; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 2px 8px rgba(26,77,46,0.2); }
.algue-fiche__cta:hover { background: var(--vert-moyen); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(26,77,46,0.3); }
.algue-fiche__cta-soon { display: inline-block; font-size: .85rem; color: var(--texte-sec); font-style: italic; padding: .6rem 1rem; background: var(--gris-bg); border-radius: 8px; border: 1px dashed var(--gris-bord); }


/* ═══════════════════════════════════════════════
   FAQ SEO — Accordéon (INCHANGÉ)
   ═══════════════════════════════════════════════ */
.diag-faq { padding: 4rem 1.5rem; background: var(--blanc); }
.diag-faq__header { text-align: center; margin-bottom: 3rem; }
.diag-faq__label { display: inline-block; background: var(--vert-pale); color: var(--vert-fonce); border-radius: 20px; padding: .35rem 1rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.diag-faq__header h2 { font-size: clamp(1.4rem,3vw,1.8rem); color: var(--vert-fonce); margin-bottom: .75rem; position: relative; display: inline-block; padding-bottom: .75rem; }
.diag-faq__header h2::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(90deg, transparent, var(--vert-clair), transparent); border-radius: 2px; }
.diag-faq__sub { font-size: .95rem; color: var(--texte-sec); max-width: 620px; margin: 0 auto; line-height: 1.6; font-style: italic; }
.diag-faq__list { max-width: 820px; margin: 0 auto; }
.diag-faq__item { background: var(--blanc); border: 1px solid var(--gris-bord); border-left: 4px solid var(--vert-clair); border-radius: 10px; margin-bottom: .9rem; box-shadow: 0 2px 6px rgba(26,77,46,0.04); transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease; overflow: hidden; }
.diag-faq__item:hover { box-shadow: 0 4px 14px rgba(26,77,46,0.08); transform: translateY(-1px); }
.diag-faq__item[open] { border-left-color: var(--vert-fonce); box-shadow: 0 4px 18px rgba(26,77,46,0.10); }
.diag-faq__q { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--vert-fonce); font-size: 1.02rem; line-height: 1.4; user-select: none; margin: 0; }
.diag-faq__q::-webkit-details-marker { display: none; }
.diag-faq__num { flex-shrink: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 700; color: var(--vert-clair); min-width: 34px; font-style: italic; }
.diag-faq__label-q { flex: 1; }
.diag-faq__icon { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform .3s ease; }
.diag-faq__icon::before, .diag-faq__icon::after { content: ""; position: absolute; background: var(--vert-clair); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.diag-faq__icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.diag-faq__icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.diag-faq__item[open] .diag-faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.diag-faq__item[open] .diag-faq__icon::before { background: var(--vert-fonce); }
.diag-faq__a { padding: 0.75rem 1.4rem calc(1.4rem + 34px + 1rem); color: var(--texte); line-height: 1.7; font-size: .95rem; animation: faqSlideDown .35s ease; }
.diag-faq__a p { margin: 0 0 .8rem; }
.diag-faq__a p:last-child { margin-bottom: 0; }
.diag-faq__a strong { color: var(--vert-fonce); }
.diag-faq__list-items { margin: .6rem 0 1rem; padding-left: 1.2rem; }
.diag-faq__list-items li { margin-bottom: .5rem; line-height: 1.65; }
.diag-faq__list-items li::marker { color: var(--vert-clair); }
.diag-faq__walstad { background: linear-gradient(135deg, var(--vert-pale) 0%, #eef7ef 100%); border-left: 3px solid var(--vert-clair); padding: .9rem 1.1rem; border-radius: 6px; margin-top: 1rem; font-size: .9rem; color: var(--texte); line-height: 1.6; }
.diag-faq__walstad strong { color: var(--vert-fonce); }
.diag-faq__result { background: rgba(82,183,136,0.10); border-radius: 6px; padding: .75rem 1rem; margin-top: .8rem; font-size: .93rem; color: var(--texte); }
.diag-faq__result strong { color: var(--vert-fonce); }
@keyframes faqSlideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════════════
   CTA RETOUR HUB (INCHANGÉ)
   ═══════════════════════════════════════════════ */
.cta-hub {
    background: linear-gradient(135deg, var(--vert-fonce) 0%, #143823 100%);
    color: var(--blanc);
    text-align: center;
    padding: 3.5rem 1.5rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}
.cta-hub::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.cta-hub > * { position: relative; z-index: 1; }
.cta-hub h3 { font-size: 1.5rem; margin-bottom: .6rem; color: var(--blanc); font-weight: 700; }
.cta-hub p { opacity: .88; margin-bottom: 1.75rem; font-size: 1rem; color: var(--blanc); max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.btn-cta-blanc { display: inline-flex; align-items: center; gap: .6rem; background: var(--blanc); color: var(--vert-fonce); font-weight: 700; padding: .95rem 2rem; border-radius: 10px; text-decoration: none; font-size: 1rem; transition: all .25s ease; box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.btn-cta-blanc::after { content: "→"; display: inline-block; font-size: 1.15rem; transition: transform .25s ease; }
.btn-cta-blanc:hover { background: #a8e6cf; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.btn-cta-blanc:hover::after { transform: translateX(4px); }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 700px) {
    /* Intro grid empilée */
    .diag-intro__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .diag-intro__proof { order: -1; }

    /* Fiches algues */
    .algue-fiche__header { padding: 1.5rem 1.25rem 1.25rem; gap: 1rem; }
    .algue-fiche__icon-wrap { width: 52px; height: 52px; }
    .algue-fiche__icon { width: 30px; height: 30px; }
    .algue-fiche__titre { font-size: 1.2rem; }
    .algue-fiche__meta { grid-template-columns: 1fr; }
    .algue-fiche__blocks { padding: 1.5rem 1.25rem; }
    .algue-fiche__walstad { padding: 1.1rem 1.25rem; }
    .algue-fiche__cta-zone { padding: 1.1rem 1.25rem 1.25rem; }
    .algue-fiche__cta { width: 100%; justify-content: center; }
    .algue-fiche__alerte { margin-left: 1.25rem; margin-right: 1.25rem; padding: .85rem 1rem; font-size: .88rem; }
    .algue-fiche__note-pro { margin-left: 1.25rem; margin-right: 1.25rem; padding: .85rem 1rem; font-size: .88rem; }

    /* Hero stats séparateurs masqués */
    .diag-hero__stat-sep { display: none; }
}

@media (max-width: 600px) {
    .diag-hero { padding: 2.5rem 1rem 3.5rem; }
    .diag-hero h1 { font-size: 1.5rem; }
    .diag-hero__stats { gap: 1.25rem; }
    .diag-hero__cta { width: 100%; justify-content: center; margin-top: 2rem; padding: 1rem; font-size: .9rem; }
    .diag-steps-wrap { padding: 1.5rem 1rem; }
    .step-question { font-size: 1rem; }
    .algue-cards-grid { gap: 8px; }
    .algue-card__body { padding: .6rem .75rem .75rem; }
    .algue-card__titre { font-size: .85rem; }
    .algue-card__desc { font-size: .75rem; }
    .diag-intro { padding: 2.5rem 1rem 2rem; }
    .diag-intro__eyebrow { margin-bottom: .75rem; }
    .accroche-diag { flex-direction: column; gap: .5rem; padding: 1rem 1.1rem; }
    .diag-faq { padding: 3rem 1rem; }
    .diag-faq__q { padding: 1rem; font-size: .95rem; gap: .7rem; }
    .diag-faq__num { font-size: 1.25rem; min-width: 26px; }
    .diag-faq__a { padding: 0 1rem 1.2rem 1rem; font-size: .92rem; }
}

/* Colle le footer au CTA hub */
.cta-hub + .site-footer,
.cta-hub ~ .site-footer {
    margin-top: 0 !important;
}