/* ================================================================
   MOTRO — css/garantie.css (29/10/2026, chantier C)
   Page Garantie SEULE (garantie.html). Sélecteurs préfixés par l'identifiant propre à la page.
   Tous les sélecteurs commencent par #garantie-page (le <main> de garantie.html, absent
   d'index.html) : rien ne fuit vers les autres pages, et un identifiant prime sur les
   classes de style.css / prime.css SANS les modifier. Les classes partagées avec l'accueil
   (.faq-*, .garantie-stats-grille) ne sont pas redéfinies ici.
   Même direction que css/accueil.css : noir #111, texte secondaire #55555b (7:1 sur blanc),
   filets #E8E8ED, fond gris #F5F5F7, jaune #FFCC00 en accent rare. Manrope, graisses ≤ 800.
   Aucune animation, aucun dégradé, aucun @keyframes.
   ================================================================ */


/* ── 0. SOCLE — page claire, composants communs ────────────────────────────── */
#garantie-page {
    display: block;
    background: #ffffff;
    color: #111111;
}

/* Petits caractères (précisions légales) : lisibles, jamais cachés. */
#garantie-page .mention {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.55;
    color: #55555b;
    max-width: 68ch;
    margin: 18px 0 0;
}
#garantie-page .mention a,
#garantie-page .gp-etape-texte a,
#garantie-page .gp-cgv a {
    color: #111111;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #FFCC00;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
#garantie-page .mention a:hover,
#garantie-page .gp-etape-texte a:hover,
#garantie-page .gp-cgv a:hover {
    text-decoration-color: #111111;
}

#garantie-page .gp-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #55555b;
    margin-bottom: 14px;
}

/* L'accent jaune : un surlignage bas, une fois par bloc. */
#garantie-page .gp-accent {
    box-shadow: inset 0 -0.28em 0 #FFCC00;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Boutons : noir plein (action principale) ou clair à filet. */
#garantie-page .gp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
#garantie-page .gp-bouton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border: 1px solid #111111;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
#garantie-page .gp-bouton:hover {
    background: #2C2C30;
    border-color: #2C2C30;
}
#garantie-page .gp-bouton--clair {
    background: #ffffff;
    color: #111111;
    border-color: #D2D2D7;
}
#garantie-page .gp-bouton--clair:hover {
    background: #F5F5F7;
    border-color: #111111;
}
#garantie-page .gp-bouton:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}

/* Sections : fond blanc, séparées par un filet. */
#garantie-page .gp-section {
    background: #ffffff;
    padding: 88px 0;
    border-top: 1px solid #E8E8ED;
}
/* Mise en page 40/60 : l'en-tête à gauche, le contenu à droite. */
#garantie-page .gp-layout {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    gap: 64px;
    align-items: start;
}
#garantie-page .gp-section-titre {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #111111;
    margin: 0 0 18px;
}
#garantie-page .gp-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #55555b;
    max-width: 46ch;
    margin: 0;
}
#garantie-page .gp-entete--large {
    margin-bottom: 40px;
}
#garantie-page .gp-entete--large .gp-desc {
    max-width: 62ch;
}
#garantie-page .gp-entete--centre {
    text-align: center;
    margin-bottom: 40px;
}


/* ── 1. HERO — la promesse, 60/40 ──────────────────────────────────────────── */
#garantie-page .gp-hero {
    background: #ffffff;
    padding: 136px 0 88px;   /* l'en-tête est fixe : place réservée au-dessus */
}
#garantie-page .gp-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
    gap: 64px;
    align-items: center;
}
#garantie-page .gp-titre {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #111111;
    margin: 0 0 20px;
}
#garantie-page .gp-chapo {
    font-size: 17px;
    line-height: 1.7;
    color: #55555b;
    max-width: 52ch;
    margin: 0;
}
/* Repère « 24 » : un aplat gris, le chiffre porte le poids (comme #garantie à l'accueil). */
#garantie-page .gp-hero-visuel {
    display: flex;
    justify-content: center;
}
#garantie-page .gp-chiffre-bloc {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #F5F5F7;
    border: 1px solid #E8E8ED;
    border-radius: 28px;
}
#garantie-page .gp-jusqu-a,
#garantie-page .gp-unite {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #55555b;
    margin: 0;
}
#garantie-page .gp-chiffre {
    font-size: clamp(88px, 10vw, 128px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #111111;
    margin: 10px 0 16px;
}
#garantie-page .gp-unite {
    padding-top: 14px;
    border-top: 3px solid #FFCC00;
}


/* ── 2. L'ESSENTIEL — une ligne à filets (même composant que #faits) ────────── */
#garantie-page .gp-essentiel {
    background: #ffffff;
    padding: 0 0 64px;
}
#garantie-page .gp-essentiel-titre {
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #55555b;
    margin: 0 0 18px;
}
#garantie-page .gp-essentiel-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-essentiel-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 18px 4px;
    border-left: 1px solid #E8E8ED;
}
#garantie-page .gp-essentiel-item:first-child {
    border-left: 0;
    padding-left: 0;
}
#garantie-page .gp-essentiel-valeur {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #111111;
}
#garantie-page .gp-essentiel-unite {
    font-size: 0.875rem;
    font-weight: 700;
}
#garantie-page .gp-essentiel-libelle {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: #55555b;
}


/* ── 3. COUVERTURE — Moteur Nu / Moteur Complet, puis les deux listes ───────── */
#garantie-page .gp-perimetres {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-perimetre {
    padding: 20px 24px 20px 0;
}
#garantie-page .gp-perimetre + .gp-perimetre {
    padding: 20px 0 20px 24px;
    border-left: 1px solid #E8E8ED;
}
#garantie-page .gp-perimetre-titre {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111111;
    margin: 0 0 8px;
}
#garantie-page .gp-perimetre-texte {
    font-size: 15px;
    line-height: 1.65;
    color: #333338;
    margin: 0;
}
#garantie-page .gp-listes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: 40px;
}
#garantie-page .gp-liste-titre {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #55555b;
    margin: 0 0 10px;
}
#garantie-page .gp-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-liste li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #E8E8ED;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #111111;
}
#garantie-page .gp-liste svg {
    flex: none;
    margin-top: 3px;
}
#garantie-page .gp-liste--ok svg {
    color: #111111;
}
#garantie-page .gp-liste--non li {
    font-weight: 500;
    color: #55555b;
}
#garantie-page .gp-liste--non svg {
    color: #8A8A90;   /* pictogramme seul, décoratif (aria-hidden) */
}


/* ── 4. DURÉES ET TARIFS — un tableau à filets (pas de cartes identiques) ──── */
#garantie-page .gp-tarifs {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
#garantie-page .gp-tarifs th,
#garantie-page .gp-tarifs td {
    padding: 16px 12px;
    border-bottom: 1px solid #E8E8ED;
    text-align: left;
    vertical-align: baseline;
}
#garantie-page .gp-tarifs th:first-child,
#garantie-page .gp-tarifs td:first-child {
    padding-left: 0;
}
#garantie-page .gp-tarifs thead th {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #55555b;
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-tarifs tbody th {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111111;
    white-space: nowrap;
}
#garantie-page .gp-tarifs td {
    color: #111111;
    font-weight: 600;
}
#garantie-page .gp-taux {
    font-size: 1.125rem;
    font-weight: 800;
    white-space: nowrap;
}
#garantie-page .gp-taux-base {
    font-size: 0.875rem;
    font-weight: 500;
    color: #55555b;
}
/* Palier le plus long : un filet jaune à gauche, seul accent du tableau. */
#garantie-page .gp-tarifs .gp-tarif--phare th:first-child {   /* plus précis que th:first-child ci-dessus */
    box-shadow: inset 3px 0 0 #FFCC00;
    padding-left: 14px;
}
#garantie-page .gp-exemple {
    font-size: 15px;
    line-height: 1.7;
    color: #55555b;
    margin: 24px 0 0;
    max-width: 68ch;
}
#garantie-page .gp-exemple strong {
    color: #111111;
    font-weight: 700;
}


/* ── 5. CONTRÔLE QUALITÉ — 4 étapes en ligne, filets verticaux ──────────────── */
#garantie-page .gp-process-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-process-etape {
    padding: 24px 22px 8px;
    border-left: 1px solid #E8E8ED;
}
#garantie-page .gp-process-etape:first-child {
    border-left: 0;
    padding-left: 0;
}
#garantie-page .gp-process-num {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #55555b;
    margin-bottom: 12px;
}
#garantie-page .gp-process-titre {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.3;
    color: #111111;
    margin: 0 0 8px;
}
#garantie-page .gp-process-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #55555b;
    margin: 0;
}


/* ── 6. ACTIVATION — étapes numérotées sur filets ───────────────────────────── */
#garantie-page .gp-etapes {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-etape {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #E8E8ED;
}
#garantie-page .gp-etape-num {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
}
#garantie-page .gp-etape-titre {
    font-size: 1.0625rem;
    font-weight: 800;
    line-height: 1.35;
    color: #111111;
    margin: 6px 0 6px;
}
#garantie-page .gp-etape-texte {
    font-size: 15px;
    line-height: 1.65;
    color: #55555b;
    margin: 0;
}


/* ── 7. GARANTIES LÉGALES — en complément, en petit ─────────────────────────── */
#garantie-page .gp-legales {
    background: #F5F5F7;
    padding: 36px 0 40px;
    border-top: 1px solid #E8E8ED;
}
#garantie-page .gp-legales-titre {
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #55555b;
    margin: 0;
}
#garantie-page .gp-legales .mention {
    max-width: 100ch;
    margin-top: 10px;
}


/* ── 8. FAQ — fond blanc ; .faq-* conservées telles quelles (style.css) ─────── */
#garantie-page .gp-faq {
    background: #ffffff;
}


/* ── 9. APPELS À L'ACTION + lien CGV ────────────────────────────────────────── */
#garantie-page .gp-cta {
    background: #ffffff;
    padding: 0 0 96px;
}
#garantie-page .gp-cta-bloc {
    padding: 48px 56px;
    background: #F5F5F7;
    border: 1px solid #E8E8ED;
    border-radius: 24px;
}
#garantie-page .gp-cta-titre {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111111;
    margin: 0 0 12px;
}
#garantie-page .gp-cta-texte {
    font-size: 16px;
    line-height: 1.7;
    color: #55555b;
    max-width: 60ch;
    margin: 0;
}
#garantie-page .gp-cgv {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #55555b;
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid #E1E1E6;
}


/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
    #garantie-page .gp-essentiel-liste,
    #garantie-page .gp-process-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #garantie-page .gp-essentiel-item:nth-child(2n+1),
    #garantie-page .gp-process-etape:nth-child(2n+1) { border-left: 0; padding-left: 0; }
    #garantie-page .gp-essentiel-item:nth-child(n+3),
    #garantie-page .gp-process-etape:nth-child(n+3) { border-top: 1px solid #E8E8ED; }
    #garantie-page .gp-essentiel-item { padding-bottom: 20px; }
    #garantie-page .gp-process-etape { padding-bottom: 24px; }
}
@media (max-width: 900px) {
    #garantie-page .gp-hero { padding: 112px 0 64px; }
    #garantie-page .gp-hero-layout,
    #garantie-page .gp-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    #garantie-page .gp-chiffre-bloc { max-width: 240px; }
    #garantie-page .gp-section { padding: 64px 0; }
    #garantie-page .gp-desc { max-width: 62ch; }
}
@media (max-width: 640px) {
    #garantie-page .gp-hero-visuel { display: none; }   /* repère décoratif : le titre dit déjà « 24 mois » */
    #garantie-page .gp-essentiel-liste,
    #garantie-page .gp-process-liste,
    #garantie-page .gp-perimetres,
    #garantie-page .gp-listes { grid-template-columns: minmax(0, 1fr); }
    #garantie-page .gp-essentiel-item,
    #garantie-page .gp-process-etape { border-left: 0; padding: 16px 0; }
    #garantie-page .gp-essentiel-item + .gp-essentiel-item,
    #garantie-page .gp-process-etape + .gp-process-etape { border-top: 1px solid #E8E8ED; }
    #garantie-page .gp-perimetre,
    #garantie-page .gp-perimetre + .gp-perimetre { padding: 18px 0; border-left: 0; }
    #garantie-page .gp-perimetre + .gp-perimetre { border-top: 1px solid #E8E8ED; }
    #garantie-page .gp-listes { gap: 28px; }
    #garantie-page .gp-tarifs th,
    #garantie-page .gp-tarifs td { padding: 14px 8px; }
    #garantie-page .gp-taux-base { display: block; }
    #garantie-page .gp-cta { padding-bottom: 64px; }
    #garantie-page .gp-cta-bloc { padding: 32px 22px; border-radius: 18px; }
    #garantie-page .gp-actions { flex-direction: column; align-items: stretch; }
    #garantie-page .gp-bouton { justify-content: center; }
}
