/* refonte.css : surcouche de design commune (chargée après le style en ligne de chaque page).
   Blocs : 1) socle  2) accueil  — les landing pages et articles ajoutent leurs blocs ci-dessous. */
:root {
    --ink: #14294a;
    --ink-deep: #0d1c36;
    --gold-text: #7d6a3e;
    --paper: #faf8f4;
    --line: #e6e1d6;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Lexend', 'Segoe UI', Tahoma, sans-serif;
}
body { font-family: var(--sans); color: #26364d; line-height: 1.7; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--pepite-gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .avis-track { animation: none !important; } }

/* ===== NAVIGATION (correctif : Lexend est plus large que Segoe UI) ===== */
.main-nav { box-shadow: none; border-bottom: 1px solid var(--line); }
.nav-links { gap: clamp(14px, 1.8vw, 30px); }
.nav-links a { font-weight: 500; font-size: 0.84em; letter-spacing: 0; white-space: nowrap; }
.nav-cta { background: var(--ink) !important; color: #fff !important; border-radius: 10px; box-shadow: none; padding: 10px 20px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.nav-cta:hover { background: var(--pepite-blue) !important; transform: none; box-shadow: none; }
@media (max-width: 900px) { .nav-links a { font-size: 1em; } }

/* ===== TITRES ===== */
.hero-section h1, .section-title h2, .presentation-text h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.02em; font-weight: 600; }
.section-title .subtitle { color: #56627a; font-weight: 300; }

/* ===== HERO : asymétrique, texte à gauche, portrait en arche à droite ===== */
.hero-section { text-align: left; background: radial-gradient(1100px 620px at 88% 10%, rgba(196,170,117,0.22), transparent 62%), linear-gradient(160deg, var(--ink-deep) 0%, var(--pepite-blue) 78%); padding: clamp(64px, 8vw, 112px) 5% clamp(96px, 11vw, 150px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); }
.hero-section::before { display: block; top: auto; bottom: 8%; left: -6%; right: auto; width: 46vw; max-width: 620px; height: 1px; border-radius: 0; background: linear-gradient(90deg, transparent, rgba(196,170,117,0.5)); }
.hero-section::after { display: none; }
.hero-section .hero-inner { max-width: 1260px; position: relative; padding-right: min(38%, 470px); min-height: 520px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
        .hero-section h1 { font-size: clamp(2.3em, 5.6vw, 4.6em); line-height: 1.04; margin-bottom: 28px; }
.hero-action { font-family: var(--sans); font-weight: 500; font-size: 0.32em; letter-spacing: 0.32em; color: var(--pepite-gold-light); display: inline-block; vertical-align: middle; margin-bottom: 0.9em; }
.hero-highlight { color: var(--pepite-gold-light); font-style: italic; font-weight: 500; }
.hero-section h2 { font-family: var(--sans); font-weight: 400 !important; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8em !important; opacity: 0.75 !important; margin-top: 0 !important; padding-left: 18px; border-left: 2px solid var(--pepite-gold); }
.hero-section .lead { margin: 6px 0 0; max-width: 560px; font-weight: 300; opacity: 1; color: rgba(255,255,255,0.9); font-size: 1.15em; }
.hero-buttons { justify-content: flex-start; margin-top: 34px; gap: 14px; }
.btn-primary, .btn-secondary { border-radius: 12px; text-transform: none; font-weight: 600; letter-spacing: 0; padding: 17px 34px; }
.btn-primary { background: var(--pepite-gold-light); color: var(--ink); box-shadow: 0 12px 34px rgba(0,0,0,0.35); }
.btn-primary:hover { background: #d3bc8a; }
.btn-secondary { background: transparent; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-section .hero-rating.coordonnees { justify-content: flex-start; margin-top: 34px; }
.hero-rating.coordonnees a { background: rgba(255,255,255,0.97); box-shadow: 0 10px 30px rgba(0,0,0,0.28); }

.hero-portrait { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: min(30%, 340px); }
.hero-portrait::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--pepite-gold-light); border-radius: 999px 999px 28px 28px; opacity: 0.85; }
.hero-portrait img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% center; border-radius: 999px 999px 28px 28px; box-shadow: 0 34px 80px rgba(0,0,0,0.5); }
@media (max-width: 960px) {
    .hero-section .hero-inner { padding-right: 0; min-height: 0; }
    .hero-portrait { display: none; }
    .hero-section { clip-path: none; padding-bottom: 72px; }
}
@media (max-width: 768px) { .hero-buttons { align-items: stretch; } .btn-primary, .btn-secondary { max-width: none; } }

/* ===== SECTIONS : titres alignés à gauche, filet or ===== */
.presentation-section, .video-section, .avis-section, .faq-section { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.presentation-section .section-title { text-align: left; max-width: 760px; }
.presentation-section .section-title .subtitle { margin: 0; max-width: 560px; }
.section-title h2 { color: var(--ink); font-size: clamp(1.9em, 4vw, 3em); line-height: 1.1; }
.presentation-section .section-title h2::before { content: ''; display: block; width: 56px; height: 3px; background: var(--pepite-gold); margin-bottom: 22px; }
.presentation-text h3 { color: var(--ink); font-size: clamp(1.6em, 3vw, 2.1em); }
.presentation-text p { font-weight: 300; color: #3b4960; }
.presentation-text p strong { font-weight: 600; color: var(--ink); }
.presentation-text blockquote { background: var(--paper); border-left: 3px solid var(--pepite-gold); font-family: var(--serif); font-size: 1.2em; font-weight: 500; }
.video-presentation-wrapper { border-radius: 14px; box-shadow: 16px 16px 0 var(--pepite-gold-light), 0 30px 70px rgba(20,41,74,0.25); }

/* Section vidéo : bloc marine plein écran, très contrasté */
.video-section { background: radial-gradient(900px 400px at 15% 0%, rgba(196,170,117,0.16), transparent 60%), var(--ink-deep); }
.video-section .section-title h2 { color: #fff; }
.video-section .section-title .subtitle, .video-section .video-container > div > .subtitle { color: rgba(255,255,255,0.8); }
.video-wrapper { border-radius: 14px; box-shadow: 0 40px 90px rgba(0,0,0,0.5); }

/* Avis : dimensions des cartes inchangées (l'animation du slider en dépend) */
.avis-section { background: var(--paper); }
.un_avis { box-shadow: none; border: 1px solid var(--line); border-radius: 14px; }
.un_avis:hover { box-shadow: 0 14px 34px rgba(20,41,74,0.12); }
.avis-avatar { background: var(--ink); }
.two_lines h2 { color: var(--ink); font-weight: 600; }
.two_lines p { color: var(--gold-text); }
.avis_body p { font-weight: 300; color: #3b4960; }
.avis_foot p { color: #6b7688; }
.avis-see-all a { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-section { background: #fff; }
.faq-item { background: transparent; border-bottom: 1px solid var(--line); }
.faq-q { color: var(--ink); font-weight: 500; font-family: var(--serif); font-size: 1.2em; }
.faq-q i { color: var(--gold-text); }
.faq-a p { font-weight: 300; }
.faq-a p a { color: var(--gold-text); }

/* ===== LANDING PAGES (/deuxieme-avis et pages au gabarit .page-hero / .section-head) ===== */
/* Titres : serif éditorial, plus de capitales lourdes */
.page-hero h1, .section-head h2, .exemple h3, .offer-form h3, .honnete h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; }
.page-hero h1 .gold, .section-head h2 .gold { font-style: italic; font-weight: 500; }
.section-head h2 { color: var(--ink); font-size: clamp(1.7em, 3.4vw, 2.4em); }
.section-head h2 .gold { color: var(--gold-text); }
.offer .section-head h2 .gold { color: var(--pepite-gold-light); }
.section-head p { color: #56627a; font-weight: 300; font-size: 1.04em; }

/* Hero */
.page-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(196,170,117,0.16), transparent 60%), linear-gradient(160deg, #10233f 0%, var(--pepite-blue) 70%); padding: clamp(64px, 9vw, 110px) 20px clamp(56px, 8vw, 96px); }
.page-hero::before { display: none; }
.hero-badge { background: transparent; border: 0; border-bottom: 1px solid rgba(196,170,117,0.55); border-radius: 0; padding: 0 0 8px; font-size: 0.78em; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pepite-gold-light); margin-bottom: 26px; }
.page-hero h1 { font-size: clamp(2.6em, 6.5vw, 4.4em); line-height: 1.05; margin-bottom: 22px; }
.page-hero .lead { font-weight: 300; font-size: 1.12em; opacity: 1; color: rgba(255,255,255,0.88); }
.hero-note { opacity: 0.72; font-weight: 300; }

/* Sections */
section.block { padding: clamp(60px, 8vw, 104px) 20px; }
section.block.alt { background: var(--paper); }

/* Étapes : chiffres éditoriaux, plus de cartes à bordure épaisse */
.steps { gap: 0; counter-reset: s; }
.step { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 30px 28px 8px 0; background: transparent; }
.step .n { width: auto; height: auto; background: none; color: var(--gold-text); font-family: var(--serif); font-size: 2.6em; font-weight: 500; line-height: 1; justify-content: flex-start; margin-bottom: 12px; }
.step h3 { font-size: 1.08em; font-weight: 600; color: var(--ink); }
.step p { color: #56627a; font-weight: 300; }

/* Callout simulateur */
.callout { border: 1px solid var(--line); background: var(--paper); border-radius: 14px; }
.callout i.fa-calculator { color: var(--gold-text); }
.callout a.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); border-radius: 10px; font-weight: 600; }
.callout a.btn-outline:hover { background: var(--ink); color: #fff; }

/* Cas */
.exemple { border: 1px solid var(--line); box-shadow: none; border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.exemple-num { color: var(--gold-text); letter-spacing: 0.16em; font-weight: 600; }
.exemple h3 { font-size: clamp(1.25em, 2.4vw, 1.6em); color: var(--ink); }
.exemple-meta { color: #6b7688; }
.pt { border-left: 2px solid var(--pepite-gold); }
.pt-label { font-weight: 600; letter-spacing: 0.1em; color: var(--ink); }
.pt-label i { color: var(--gold-text); }
.pt p { color: #3b4960; font-weight: 300; }
.honnete { background: var(--ink); border-radius: 14px; }
.honnete h3 { text-transform: none; font-size: 1.3em; }
.honnete p { font-weight: 300; }

/* Formulaire */
.offer { background: radial-gradient(900px 420px at 10% 0%, rgba(196,170,117,0.12), transparent 60%), linear-gradient(160deg, #10233f 0%, var(--pepite-blue) 75%); }
.offer-text p { font-weight: 300; color: rgba(255,255,255,0.9); }
.offer-form { border-radius: 16px; padding: clamp(24px, 3.5vw, 36px); box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.offer-form h3 { text-transform: none; font-size: 1.5em; color: var(--ink); }
.field label { font-weight: 500; color: var(--ink); }
.field input, .field textarea { border: 1.5px solid #d9dde3; border-radius: 10px; padding: 13px 14px; font-weight: 400; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196,170,117,0.35); }
.submit-btn { background: var(--ink); color: #fff; border-radius: 12px; text-transform: none; font-weight: 600; letter-spacing: 0; box-shadow: 0 10px 24px rgba(20,41,74,0.3); }
.submit-btn:hover { background: var(--pepite-blue); }
.form-legal { color: #6b7688; }

/* Bouton téléphone flottant : texte lisible sur l'or */
.sticky-phone-btn { background: var(--pepite-gold-light); color: var(--ink); }
.sticky-phone-btn .phone-text { color: var(--ink); }
.sticky-phone-btn:hover { background: #d3bc8a; }
    

/* ===== /regard-acheteur (compléments au gabarit landing pages) ===== */
.exemple-annonce { font-weight: 300; color: #3b4960; }
.exemple-mot { border-top: 1px solid var(--line); color: var(--ink); font-family: var(--serif); }
.partout { background: var(--ink); border-radius: 14px; }
.partout h3 { font-family: var(--serif); text-transform: none; font-size: 1.3em; font-weight: 600; }
.partout li { font-weight: 300; }
.apres p { font-weight: 300; color: #3b4960; }

/* ===== /invitation (compléments au gabarit landing pages ; le hero garde le style du courrier papier) ===== */
.step-num { color: var(--gold-text); font-weight: 600; letter-spacing: 0.16em; }
.offer .step-num { color: var(--pepite-gold-light); }
.more-link a { color: var(--ink); font-weight: 600; }
.more-link a:hover { color: var(--gold-text); }
.annonce_encart, .article-card, .tool { border: 1px solid var(--line); box-shadow: none; }
.annonce_encart { border-radius: 14px; }
.annonce_encart:hover, .article-card:hover { border-color: var(--pepite-gold); box-shadow: 0 14px 34px rgba(20,41,74,0.1); }
.annonce_right_content h2, .article-card h3, .compare-item h3 { font-family: var(--serif); text-transform: none; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.compare-item h3 { font-size: 1.5em; }
.compare-item h3 .gold { color: var(--gold-text); font-style: italic; font-weight: 500; }
.apercu_prix { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.nom_ville, .article-card .card-theme { color: var(--gold-text); font-weight: 600; letter-spacing: 0.14em; }
.annonce_right_content .button { background: var(--ink); border-radius: 10px; text-transform: none; font-weight: 600; letter-spacing: 0; }
.annonce_right_content .button:hover { background: var(--pepite-blue); box-shadow: none; transform: none; }
.tool h4 { color: var(--ink); font-weight: 600; }
.tool i, .tool p a { color: var(--gold-text); }
.slider-label { font-weight: 600; }
.lp-footer { background: var(--ink-deep); }
.lp-footer .who { font-family: var(--serif); font-weight: 600; font-size: 1.15em; }

/* ===== LP_Ads_Estimation (page pub d'un écran, sans menu commun) ===== */
:root { --pepite-gold: #ab9765; --pepite-gold-light: #c4aa75; }
.hero-text h1, .form-title { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.hero-text h1 .line-accent { font-weight: 500; }

/* ===== LP_Estimation_Bavaisis ===== */
.hero h1, .final-cta h2, .benefit-card h3, .form-header h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; }
.hero h1 em { font-weight: 500; }
.pepite-button { font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }

/* ===== /services ===== */
.page-header h1, .accroche-inner h2, .vr-intro h2, .service-compact h3, .step-body h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; }
.page-header h1 { font-size: clamp(2.2em, 5.2vw, 3.6em); line-height: 1.1; }
.page-header h1 .gold { font-style: italic; font-weight: 500; }
.page-header .subtitle { font-weight: 300; }
.accroche-inner h2 { color: var(--ink); }
.vr-intro h2 { color: var(--ink); font-size: clamp(1.8em, 4vw, 2.5em); }
.service-compact { border: 1px solid var(--line); background: var(--paper); }
.service-compact h3, .step-body h3 { color: var(--ink); }
.service-compact-icon, .vr-arg .vr-arg-num { color: var(--gold-text); }
.stat-number { font-family: var(--serif); font-weight: 600; }
.vr-arg .vr-arg-num { font-weight: 600; letter-spacing: 0.14em; }

/* ===== /agence ===== */
.page-header h1, .intro-text h3, .equipe-text h3, .service-compact h3, .video-card-header h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; }
.page-header h1 { font-size: clamp(2.2em, 5.2vw, 3.6em); line-height: 1.1; }
.page-header h1 .gold { font-style: italic; font-weight: 500; }
.intro-text h3, .equipe-text h3, .service-compact h3 { color: var(--ink); }
.service-compact { border: 1px solid var(--line); background: var(--paper); }
.service-compact-icon { color: var(--gold-text); }

/* ===== /saisie_criteres_recherche (formulaire en étapes) ===== */
.title__content { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }

/* ===== ebook (page de téléchargement) ===== */
.title__subtitle { color: var(--gold-text); font-weight: 600; letter-spacing: 0.16em; }
.ebook_intro { font-weight: 300; color: #3b4960; }
.ebook_list li { border-bottom-color: var(--line); }
.ebook_list strong { color: var(--ink); font-weight: 600; }
.fusion_form_container { background: var(--paper); border-color: var(--line); border-radius: 14px; }
.fusion_form_container h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4em; color: var(--ink); }
#requestForm input { font-family: var(--sans); border: 1.5px solid #d9dde3; border-radius: 10px; }
#requestForm input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196,170,117,0.35); }
#submitBtn { background: var(--ink); border-radius: 12px; font-family: var(--sans); font-weight: 600; box-shadow: 0 10px 24px rgba(20,41,74,0.25); }
#submitBtn:hover { background: var(--pepite-blue); }
#pop_merci { border-radius: 14px; color: var(--ink); }

/* ===== /merci ===== */
.card h1 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-weight: 600; color: var(--ink); }
.card .subtitle { font-weight: 300; }
.btn-home { background: var(--ink); color: #fff; border-radius: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; box-shadow: 0 10px 24px rgba(20,41,74,0.3); }
.btn-home:hover { background: var(--pepite-blue); }

/* ===== ARTICLES (gabarit commun à tous les articles du blog) ===== */
.article-hero { background: radial-gradient(1000px 420px at 85% -10%, rgba(196,170,117,0.16), transparent 60%), linear-gradient(160deg, #10233f 0%, var(--pepite-blue) 72%); }
.article-hero::before, .article-hero::after { display: none; }
.article-hero h1 { font-family: var(--serif); text-transform: none; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; font-size: clamp(1.9em, 4.4vw, 2.9em); }
.article-hero .hero-highlight { color: var(--pepite-gold-light); font-style: italic; font-weight: 500; }
.article-hero .lead { font-weight: 300; opacity: 1; color: rgba(255,255,255,0.9); }
.breadcrumb a { color: var(--gold-text); }
.article-content h2 { font-family: var(--serif); text-transform: none; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); font-size: clamp(1.45em, 3vw, 1.85em); line-height: 1.2; }
.article-content h2::after { width: 44px; height: 2px; }
.article-content h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
.article-content p, .article-content ul, .article-content ol { font-weight: 300; color: #2f3e55; }
.article-content strong { font-weight: 500; color: var(--ink); }
.article-content em { color: var(--gold-text); }
.article-content li::marker { color: var(--gold-text); }
.article-content a { color: var(--gold-text); }
.article-content a:hover { color: var(--ink); }
.article-content blockquote { font-family: var(--serif); font-size: 1.12em; font-weight: 500; background: var(--paper); border-left-color: var(--pepite-gold); }
.encart-important { background: var(--ink); border-radius: 14px; }
.encart-important strong { color: var(--pepite-gold-light); }
.author-card { border-color: var(--line); }
.author-card h3 { font-family: var(--serif); text-transform: none; font-weight: 600; font-size: 1.25em; letter-spacing: 0; color: var(--ink); }
.author-card .role { color: var(--gold-text); font-weight: 600; letter-spacing: 0.14em; }
.cta-primary { background: var(--ink); color: #fff; border-radius: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; box-shadow: 0 10px 24px rgba(20,41,74,0.3); }
.cta-primary:hover { background: var(--pepite-blue); box-shadow: 0 10px 24px rgba(20,41,74,0.3); transform: none; }
.final-cta { background: radial-gradient(900px 420px at 10% 0%, rgba(196,170,117,0.12), transparent 60%), linear-gradient(160deg, #10233f 0%, var(--pepite-blue) 75%); }
.final-cta h2 { font-family: var(--serif); text-transform: none; font-weight: 600; letter-spacing: -0.01em; }
.final-cta .cta-primary { background: var(--pepite-gold-light); color: var(--ink); box-shadow: none; }
.final-cta .cta-primary:hover { background: #d3bc8a; }
.related-section { background: var(--paper); }
.related-section .article-card h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }

/* ===== /404 ===== */
body:has(> .error-container) { overflow-x: hidden; }
.error-container .error-title { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.error-container .error-code { font-family: var(--serif); font-weight: 500; color: var(--pepite-gold-light); }
.error-container .error-message, .error-container .footer-note { font-weight: 300; }

/* ===== /mentions-legales ===== */
.legal-content h2 { font-family: var(--serif); text-transform: none; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.legal-content .info-box { border-radius: 12px; }
.legal-content p, .legal-content li { font-weight: 300; }
.legal-content strong { font-weight: 600; }
