/* =====================================================
   IPP RENOVARE - Feuille de style principale
   Charte graphique : rouge #a50e17, polices Inter + Cormorant Garamond
   ===================================================== */

/* --- 1. Variables (couleurs et tailles utilisées partout) --- */
:root {
    --rouge: #a50e17;
    --rouge-fonce: #7a0810;
    --noir: #1a1a1a;
    --gris: #828282;
    --gris-clair: #e5e5e5;
    --gris-tres-clair: #f5f4f1;
    --fond: #faf9f7;
    --blanc: #ffffff;

    --police-corps: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --police-titres: 'Cormorant Garamond', Georgia, serif;

    --max-largeur: 1280px;
    --rayon: 4px;
    --transition: 0.3s ease;
    --ombre-douce: 0 4px 24px rgba(0, 0, 0, 0.06);
    --ombre-forte: 0 12px 48px rgba(0, 0, 0, 0.12);
}

/* --- 2. Reset (remet tous les éléments à zéro pour repartir propre) --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--police-corps);
    color: var(--noir);
    background-color: var(--fond);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* --- 3. Typographie (titres et textes) --- */
h1, h2, h3, h4 {
    font-family: var(--police-titres);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--noir);
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 1.5vw + 1rem, 1.75rem);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--gris);
    line-height: 1.7;
}

p.lead {
    font-size: 1.15rem;
    color: var(--noir);
    opacity: 0.85;
}

/* Suréleva (texte au-dessus des titres, en majuscules) */
.surtitre {
    font-family: var(--police-corps);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rouge);
    margin-bottom: 1rem;
    display: inline-block;
}

/* --- 4. Conteneurs et grille --- */
.container {
    width: 100%;
    max-width: var(--max-largeur);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-petite {
    padding: 4rem 0;
}

.section-claire {
    background-color: var(--blanc);
}

.section-foncee {
    background-color: var(--noir);
    color: var(--blanc);
}

.section-foncee h1, .section-foncee h2, .section-foncee h3 {
    color: var(--blanc);
}

.section-foncee p {
    color: rgba(255, 255, 255, 0.75);
}

.grille {
    display: grid;
    gap: 2rem;
}

.grille-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grille-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Grille services : exactement 3 colonnes sur desktop, 2 tablette, 1 mobile (toujours symétrique) */
.grille-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .grille-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grille-services { grid-template-columns: 1fr; }
}

.centre { text-align: center; }
.entete-section { text-align: center; max-width: 700px; margin: 0 auto 4rem; }

/* --- 5. Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    font-family: var(--police-corps);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--rayon);
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primaire {
    background-color: var(--rouge);
    color: var(--blanc);
}
.btn-primaire:hover {
    background-color: var(--rouge-fonce);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(165, 14, 23, 0.3);
}

.btn-secondaire {
    background-color: transparent;
    color: var(--noir);
    border-color: var(--noir);
}
.btn-secondaire:hover {
    background-color: var(--noir);
    color: var(--blanc);
}

.btn-clair {
    background-color: var(--blanc);
    color: var(--noir);
}
.btn-clair:hover {
    background-color: var(--rouge);
    color: var(--blanc);
}

.btn-fleche::after {
    content: "→";
    transition: transform var(--transition);
}
.btn-fleche:hover::after {
    transform: translateX(4px);
}

/* --- 6. Header (en-tête fixe en haut) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 249, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--gris-clair);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--max-largeur);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--police-titres);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--noir);
    letter-spacing: 0.02em;
}

.logo img {
    height: 44px;
    width: auto;
}

.logo .logo-sous {
    display: block;
    font-family: var(--police-corps);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--gris);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-liens {
    display: flex;
    gap: 2rem;
}

.nav-liens a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--noir);
    position: relative;
}

.nav-liens a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rouge);
    transition: width var(--transition);
}

.nav-liens a:hover::after,
.nav-liens a.actif::after {
    width: 100%;
}

.nav-liens a.actif {
    color: var(--rouge);
}

.menu-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
    /* réinitialisation du style bouton par défaut (élément <button>) */
    border: none;
    background: none;
    padding: 0;
}

.menu-burger span {
    height: 2px;
    width: 100%;
    background-color: var(--noir);
    transition: all var(--transition);
}

.menu-burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-burger.ouvert span:nth-child(2) { opacity: 0; }
.menu-burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 7. Hero (grande bannière d'accueil) --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--blanc);
    padding-top: 80px;
    /* Fond de secours : dégradé rouge + noir, visible même sans image chargée */
    background: linear-gradient(135deg, #1a1a1a 0%, #2a0608 50%, #a50e17 100%);
}

/* Motif décoratif subtil sur le hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Bandeau rouge oblique décoratif */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--fond);
    clip-path: polygon(0 100%, 100% 30%, 100% 100%);
    z-index: 1;
}

.hero-fond {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fond::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(26,26,26,0.55) 50%, rgba(165,14,23,0.55) 100%);
}

.hero-contenu {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: var(--max-largeur);
}

/* Petit bloc rouge décoratif à côté du titre */
.hero-contenu::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--rouge);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(165, 14, 23, 0.6);
}

.hero h1 {
    color: var(--blanc);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero h1 em {
    font-style: italic;
    color: var(--rouge);
    background: linear-gradient(120deg, var(--rouge), #d83a45);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--rouge);
}

.hero-sous {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-boutons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-surtitre {
    color: var(--rouge);
    margin-bottom: 1.5rem;
}

.hero-surtitre::before {
    content: '— ';
}

/* --- 8. Bandeau de confiance --- */
.confiance {
    background: linear-gradient(135deg, var(--noir) 0%, #2a1010 100%);
    padding: 4rem 0;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.confiance::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(165, 14, 23, 0.35) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.confiance-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

.confiance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.confiance-item:last-child {
    border-right: none;
}

.confiance-chiffre {
    font-family: var(--police-titres);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--rouge);
    line-height: 1;
    text-shadow: 0 0 30px rgba(165, 14, 23, 0.4);
}

.confiance-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .confiance-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .confiance-item:last-child { border-bottom: none; }
}

/* --- 9. Cartes de service --- */
.service-carte {
    background-color: var(--blanc);
    padding: 2.5rem 2rem;
    border-radius: var(--rayon);
    transition: all var(--transition);
    border: 1px solid var(--gris-clair);
    position: relative;
    overflow: hidden;
}

.service-carte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rouge), var(--rouge-fonce));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-carte::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(165, 14, 23, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
}

.service-carte:hover {
    transform: translateY(-8px);
    box-shadow: var(--ombre-forte);
    border-color: transparent;
}

.service-carte:hover::before {
    transform: scaleX(1);
}

.service-carte:hover::after {
    background: radial-gradient(circle, rgba(165, 14, 23, 0.15) 0%, transparent 70%);
    transform: scale(1.4);
}

.service-icone {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rouge) 0%, var(--rouge-fonce) 100%);
    border-radius: var(--rayon);
    color: var(--blanc);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(165, 14, 23, 0.25);
    position: relative;
    z-index: 1;
}

.service-icone svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.service-carte h3 {
    margin-bottom: 0.75rem;
}

.service-carte p {
    font-size: 0.95rem;
    color: var(--gris);
    margin-bottom: 1.25rem;
}

.service-carte a {
    color: var(--rouge);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-carte a:hover {
    gap: 0.7rem;
}

/* --- 10. Section À propos en bref --- */
.apropos-bref {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.apropos-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--rayon);
}

.apropos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apropos-image {
    background: linear-gradient(135deg, var(--rouge) 0%, var(--noir) 100%);
}

.apropos-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--rouge);
    border-radius: var(--rayon);
    z-index: -1;
}

.apropos-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    background: var(--rouge);
    z-index: -2;
    opacity: 0.1;
}

.apropos-points {
    margin: 2rem 0;
}

.apropos-points li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--noir);
}

.apropos-points li::before {
    content: '✓';
    color: var(--rouge);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- 11. Galerie de réalisations --- */
.galerie-grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galerie-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--rayon);
    cursor: pointer;
    background: linear-gradient(135deg, var(--noir) 0%, var(--rouge) 100%);
    box-shadow: var(--ombre-douce);
}

/* Placeholder galerie : carte visuelle quand pas encore de photo */
.galerie-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a0a0e 50%, #a50e17 100%);
    transition: all var(--transition);
}

.galerie-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.galerie-placeholder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.galerie-placeholder-contenu {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 1;
}

.galerie-placeholder .galerie-categorie {
    color: var(--blanc);
    background: var(--rouge);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 0.6rem;
    letter-spacing: 0.08em;
}

.galerie-placeholder .galerie-titre {
    color: var(--blanc);
    font-family: var(--police-titres);
    font-size: 1.4rem;
    line-height: 1.3;
}

.galerie-placeholder:hover {
    transform: translateY(-6px);
    box-shadow: var(--ombre-forte);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galerie-item:hover img {
    transform: scale(1.06);
}

.galerie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.galerie-item:hover .galerie-overlay {
    opacity: 1;
}

.galerie-titre {
    color: var(--blanc);
    font-family: var(--police-titres);
    font-size: 1.5rem;
}

.galerie-categorie {
    color: var(--rouge);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

/* Filtres galerie */
.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filtre-btn {
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--gris-clair);
    background-color: var(--blanc);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gris);
    transition: all var(--transition);
}

.filtre-btn:hover {
    border-color: var(--noir);
    color: var(--noir);
}

.filtre-btn.actif {
    background-color: var(--rouge);
    border-color: var(--rouge);
    color: var(--blanc);
}

/* --- 12. Témoignages --- */
.temoignage-carte {
    background-color: var(--blanc);
    padding: 2.5rem 2rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-clair);
    position: relative;
    transition: all var(--transition);
    box-shadow: var(--ombre-douce);
}

.temoignage-carte::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: var(--police-titres);
    font-size: 6rem;
    color: var(--rouge);
    line-height: 1;
    opacity: 0.15;
    font-weight: 700;
}

.temoignage-carte:hover {
    transform: translateY(-4px);
    border-color: var(--rouge);
    box-shadow: var(--ombre-forte);
}

.temoignage-etoiles {
    color: #f5b301;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.temoignage-texte {
    font-family: var(--police-titres);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--noir);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.temoignage-auteur {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--gris-clair);
    padding-top: 1rem;
}

.temoignage-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--rouge);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.temoignage-nom {
    font-weight: 600;
    color: var(--noir);
}

.temoignage-source {
    font-size: 0.8rem;
    color: var(--gris);
}

/* --- 13. Section CTA finale --- */
.cta-final {
    background: linear-gradient(135deg, var(--noir) 0%, #2a1010 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(165, 14, 23, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-final h2 {
    color: var(--blanc);
    max-width: 700px;
    margin: 0 auto 1rem;
    position: relative;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    position: relative;
}

.cta-final .btn {
    position: relative;
}

/* --- 14. Footer --- */
.footer {
    background-color: var(--noir);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grille {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: var(--blanc);
    font-family: var(--police-corps);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blanc);
    font-family: var(--police-titres);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.footer-liens li {
    margin-bottom: 0.6rem;
}

.footer-liens a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-liens a:hover {
    color: var(--rouge);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--rouge);
}

.footer-bas {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- 15. Page bannière (pages internes) --- */
.banniere {
    background-color: var(--noir);
    color: var(--blanc);
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banniere::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(165, 14, 23, 0.25) 0%, transparent 50%);
}

.banniere h1 {
    color: var(--blanc);
    margin-bottom: 1rem;
    position: relative;
}

.banniere p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* --- 16. Formulaire (page contact) --- */
.formulaire {
    display: grid;
    gap: 1.25rem;
}

.formulaire .ligne-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.champ {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.champ label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.champ label .obligatoire {
    color: var(--rouge);
}

.champ input,
.champ textarea,
.champ select {
    padding: 0.85rem 1rem;
    border: 1px solid var(--gris-clair);
    border-radius: var(--rayon);
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--blanc);
    color: var(--noir);
    transition: all var(--transition);
}

.champ input:focus,
.champ textarea:focus,
.champ select:focus {
    outline: none;
    border-color: var(--rouge);
    box-shadow: 0 0 0 3px rgba(165, 14, 23, 0.1);
}

.champ textarea {
    min-height: 140px;
    resize: vertical;
}

.formulaire-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--gris);
    line-height: 1.5;
}

.formulaire-rgpd input {
    margin-top: 4px;
    flex-shrink: 0;
}

.formulaire-message {
    padding: 1rem;
    border-radius: var(--rayon);
    font-size: 0.95rem;
    display: none;
}

.formulaire-message.succes {
    background-color: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #66bb6a;
    display: block;
}

.formulaire-message.erreur {
    background-color: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef5350;
    display: block;
}

/* --- 17. Cartes contact (téléphone, email, adresse) --- */
.contact-grille {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-bloc {
    background-color: var(--blanc);
    padding: 2rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-clair);
    margin-bottom: 1rem;
    transition: all var(--transition);
}

.contact-info-bloc:hover {
    border-color: var(--rouge);
    transform: translateX(4px);
}

.contact-info-bloc h4 {
    font-family: var(--police-corps);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--rouge);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-bloc p {
    color: var(--noir);
    font-weight: 500;
    margin: 0;
}

/* --- 18. Comparateur avant/après --- */
.comparateur {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--rayon);
    user-select: none;
    cursor: ew-resize;
}

.comparateur img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparateur-apres {
    clip-path: inset(0 0 0 50%);
}

.comparateur-poignee {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--blanc);
    transform: translateX(-50%);
    pointer-events: none;
}

.comparateur-poignee::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background-color: var(--blanc);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.comparateur-poignee::after {
    content: '⇆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--noir);
    font-weight: 700;
    z-index: 2;
}

.comparateur-label {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.9rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--blanc);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-radius: var(--rayon);
}

.comparateur-label.avant { left: 1rem; }
.comparateur-label.apres { right: 1rem; }

/* --- 19. Animations au scroll --- */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out,
                transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 20. Responsive (mobile et tablette) --- */
@media (max-width: 968px) {
    .section { padding: 4rem 0; }

    /* Menu mobile : ancré sous le header (s'adapte automatiquement
       à la hauteur du header + bandeau téléphone, plus de chevauchement) */
    .nav-liens {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--blanc);
        padding: 1.5rem;
        border-bottom: 1px solid var(--gris-clair);
        box-shadow: var(--ombre-douce);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
        gap: 0.25rem;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }

    .nav-liens.ouvert {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    /* Liens du menu mobile : grandes zones de tac, faciles au pouce */
    .nav-liens a {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 1.05rem;
    }

    .menu-burger {
        display: flex;
        width: 48px;
        padding: 10px;
        box-sizing: border-box;
        justify-content: center;
    }

    .nav .btn {
        display: none;
    }

    .apropos-bref {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grille {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grille {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .formulaire .ligne-2 {
        grid-template-columns: 1fr;
    }

    .hero-boutons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-boutons .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-grille {
        grid-template-columns: 1fr;
    }

    .footer-bas {
        flex-direction: column;
        text-align: center;
    }
}

/* --- 22. Pages services : timeline méthodologie --- */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: etape;
}

.timeline-etape {
    background-color: var(--blanc);
    padding: 2rem 1.75rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-clair);
    position: relative;
    counter-increment: etape;
    transition: all var(--transition);
}

.timeline-etape::before {
    content: counter(etape, decimal-leading-zero);
    position: absolute;
    top: -20px;
    left: 1.75rem;
    background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
    color: var(--blanc);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--police-titres);
    font-size: 1.15rem;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(165, 14, 23, 0.3);
}

.timeline-etape:hover {
    transform: translateY(-4px);
    border-color: var(--rouge);
    box-shadow: var(--ombre-douce);
}

.timeline-etape h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: var(--police-titres);
    font-size: 1.4rem;
    color: var(--noir);
}

.timeline-etape p {
    font-size: 0.95rem;
    margin: 0;
}

/* --- 23. Pages services : matériaux (cartes mini) --- */
.materiaux {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.materiau-carte {
    background-color: var(--blanc);
    padding: 1.75rem 1.5rem;
    border-radius: var(--rayon);
    border-left: 4px solid var(--rouge);
    transition: all var(--transition);
}

.materiau-carte:hover {
    transform: translateX(4px);
    box-shadow: var(--ombre-douce);
}

.materiau-carte h4 {
    color: var(--rouge);
    font-family: var(--police-corps);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.materiau-carte p {
    font-size: 0.92rem;
    margin: 0;
}

/* --- 24. Pages services : tarifs --- */
.tarifs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tarif-carte {
    background-color: var(--blanc);
    padding: 2rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-clair);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tarif-carte:hover {
    transform: translateY(-4px);
    border-color: var(--rouge);
    box-shadow: var(--ombre-forte);
}

.tarif-titre {
    font-family: var(--police-corps);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gris);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tarif-prix {
    font-family: var(--police-titres);
    font-size: 2.5rem;
    color: var(--rouge);
    line-height: 1;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.tarif-prix small {
    font-size: 1rem;
    color: var(--gris);
    font-weight: 400;
}

.tarif-mention {
    font-size: 0.85rem;
    color: var(--gris);
    margin-top: 0.75rem;
}

/* --- 25. Pages services : section bénéfices (icônes en grille) --- */
.benefices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.benefice {
    text-align: center;
    padding: 1.5rem 1rem;
}

.benefice-icone {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rouge) 0%, var(--rouge-fonce) 100%);
    border-radius: 50%;
    color: var(--blanc);
    box-shadow: 0 8px 24px rgba(165, 14, 23, 0.25);
}

.benefice-icone svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.benefice h4 {
    font-family: var(--police-titres);
    font-size: 1.25rem;
    color: var(--noir);
    margin-bottom: 0.5rem;
}

.benefice p {
    font-size: 0.92rem;
    margin: 0;
}

/* --- 26. Page service : navigation autres services --- */
.autres-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.autre-service {
    background-color: var(--blanc);
    padding: 1.25rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-clair);
    text-align: center;
    transition: all var(--transition);
    color: var(--noir);
    font-weight: 500;
}

.autre-service:hover {
    background-color: var(--rouge);
    color: var(--blanc);
    border-color: var(--rouge);
    transform: translateY(-2px);
}

/* --- 27. Page service : breadcrumb (fil d'Ariane) --- */
.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--rouge);
}

.breadcrumb .sep {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- 28. Liste à puces stylée (détails service) --- */
.liste-cochee {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.liste-cochee li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.6rem 0;
    color: var(--noir);
    font-size: 1rem;
}

.liste-cochee li::before {
    content: '';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--rouge) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
    border-radius: 50%;
    margin-top: 2px;
}

/* --- 29. Bouton d'appel flottant (mobile) --- */
.bouton-appel-flottant {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--rouge) 0%, var(--rouge-fonce) 100%);
    color: var(--blanc);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(165, 14, 23, 0.5), 0 0 0 4px rgba(165, 14, 23, 0.15);
    transition: all 0.3s ease;
    animation: pulseAppel 2s ease-in-out infinite;
}

.bouton-appel-flottant:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(165, 14, 23, 0.6);
}

.bouton-appel-flottant svg {
    width: 22px;
    height: 22px;
}

@keyframes pulseAppel {
    0%, 100% { box-shadow: 0 8px 24px rgba(165, 14, 23, 0.5), 0 0 0 0 rgba(165, 14, 23, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(165, 14, 23, 0.5), 0 0 0 14px rgba(165, 14, 23, 0); }
}

/* Affiche le bouton d'appel uniquement sur mobile/tablette */
@media (max-width: 968px) {
    .bouton-appel-flottant { display: inline-flex; }
}

/* Sur mobile, ajouter de la marge en bas du body pour pas que le bouton cache du contenu */
@media (max-width: 968px) {
    .footer { padding-bottom: 6rem; }
}

/* --- 30. Bandeau téléphone mobile (sticky en haut, sous le header) --- */
.bandeau-tel-mobile {
    display: none;
    background: var(--rouge);
    color: var(--blanc);
    padding: 0.6rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bandeau-tel-mobile:hover {
    background: var(--rouge-fonce);
    color: var(--blanc);
}

.bandeau-tel-mobile svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .bandeau-tel-mobile { display: flex; }
    .header { top: 38px; }
    body { padding-top: 38px; }
    .hero { padding-top: 100px; }
}

/* --- 31. CTA mobile : afficher le bouton "Appeler" en priorité --- */
@media (min-width: 969px) {
    /* Sur desktop : on cache le bouton "Appeler" du hero (le bouton dans le header suffit) */
    .btn-appel-mobile { display: none; }
}

@media (max-width: 968px) {
    /* Sur mobile : on cache le bouton "Voir nos réalisations" pour mettre l'appel en avant */
    .btn-realisations-desktop { display: none; }
    .btn-appel-mobile { background: var(--blanc); color: var(--rouge); font-weight: 700; }
    .btn-appel-mobile:hover { background: var(--rouge); color: var(--blanc); }
}

/* --- 32. FAQ : questions/réponses dépliables (style accordéon) --- */
.faq-item {
    background: var(--blanc);
    border: 1px solid var(--gris-clair);
    border-radius: var(--rayon);
    margin-bottom: 1rem;
    transition: all var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--rouge);
    box-shadow: var(--ombre-douce);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--police-titres);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--noir);
    position: relative;
    padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--rouge);
    font-weight: 300;
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--gris-clair);
}

.faq-reponse {
    padding: 1.5rem;
    color: var(--gris);
    line-height: 1.7;
}

.faq-reponse p:not(:last-child) {
    margin-bottom: 1rem;
}

.faq-reponse strong {
    color: var(--noir);
}

/* --- 33. BLOG : carte article (page hub) --- */
.blog-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) { .blog-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grille { grid-template-columns: 1fr; } }

.article-carte {
    background: var(--blanc);
    border-radius: var(--rayon);
    overflow: hidden;
    border: 1px solid var(--gris-clair);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.article-carte:hover {
    transform: translateY(-6px);
    box-shadow: var(--ombre-forte);
    border-color: transparent;
}

.article-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--noir) 0%, var(--rouge) 100%);
    position: relative;
    overflow: hidden;
}

.article-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}

.article-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.article-corps {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-categorie {
    display: inline-block;
    background: var(--rouge);
    color: var(--blanc);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--gris);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-titre {
    font-family: var(--police-titres);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--noir);
    margin-bottom: 0.75rem;
    flex-grow: 0;
}

.article-extrait {
    color: var(--gris);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.article-lien {
    color: var(--rouge);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}

.article-lien:hover { gap: 0.7rem; }

/* --- 34. PAGE ARTICLE INDIVIDUELLE --- */
.article-banniere {
    background: linear-gradient(135deg, var(--noir) 0%, #2a0608 50%, var(--rouge) 100%);
    color: var(--blanc);
    padding: 9rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.article-banniere::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.article-banniere-contenu {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-banniere h1 {
    color: var(--blanc);
    font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.article-banniere-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-banniere-meta strong { color: var(--blanc); }

.article-contenu {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--noir);
}

.article-contenu .lead-article {
    font-size: 1.2rem;
    color: var(--noir);
    line-height: 1.7;
    border-left: 4px solid var(--rouge);
    padding-left: 1.25rem;
    margin: 2rem 0;
    font-family: var(--police-titres);
    font-style: italic;
}

.article-contenu h2 {
    font-size: 1.85rem;
    margin: 3rem 0 1.25rem;
    color: var(--noir);
    line-height: 1.25;
}

.article-contenu h2::before {
    content: '— ';
    color: var(--rouge);
}

.article-contenu h3 {
    font-size: 1.4rem;
    margin: 2.25rem 0 1rem;
    color: var(--noir);
}

.article-contenu p {
    margin-bottom: 1.25rem;
    color: var(--noir);
}

.article-contenu ul, .article-contenu ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--noir);
}

.article-contenu li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-contenu strong {
    color: var(--rouge);
    font-weight: 700;
}

.article-contenu a {
    color: var(--rouge);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-contenu blockquote {
    border-left: 4px solid var(--rouge);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--gris-tres-clair);
    font-family: var(--police-titres);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--noir);
}

.article-contenu blockquote p { margin: 0; }

.article-encadre {
    background: linear-gradient(135deg, rgba(165,14,23,0.05), rgba(0,0,0,0.02));
    border: 1px solid rgba(165,14,23,0.2);
    border-radius: var(--rayon);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.article-encadre h4 {
    color: var(--rouge);
    font-family: var(--police-corps);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.article-encadre p:last-child { margin-bottom: 0; }

.article-tableau {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.article-tableau th {
    background: var(--noir);
    color: var(--blanc);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-tableau td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--gris-clair);
    color: var(--noir);
}

.article-tableau tr:nth-child(even) td {
    background: var(--gris-tres-clair);
}

.article-cta {
    background: linear-gradient(135deg, var(--noir), #2a0608);
    color: var(--blanc);
    padding: 2.5rem 2rem;
    border-radius: var(--rayon);
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(165,14,23,0.4), transparent 70%);
    border-radius: 50%;
}

.article-cta * { position: relative; }

.article-cta h3 {
    color: var(--blanc);
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
}

.article-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.article-tag {
    background: var(--gris-tres-clair);
    color: var(--noir);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sommaire (table des matières) */
.article-sommaire {
    background: var(--gris-tres-clair);
    border-left: 4px solid var(--rouge);
    padding: 1.5rem 2rem;
    margin: 2rem 0 3rem;
    border-radius: 0 var(--rayon) var(--rayon) 0;
}

.article-sommaire h4 {
    color: var(--rouge);
    font-family: var(--police-corps);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.article-sommaire ol {
    margin: 0 0 0 1.5rem;
    color: var(--noir);
}

.article-sommaire li {
    margin-bottom: 0.4rem;
}

.article-sommaire a {
    color: var(--noir);
    text-decoration: none;
}

.article-sommaire a:hover {
    color: var(--rouge);
}

/* Filtres blog */
.blog-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* --- 35. Bloc marque (remplace le placeholder photo personne) --- */
.apropos-image-marque {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a0608 50%, var(--rouge) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Quadrillage subtil sur le fond */
.apropos-image-marque::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 35px 35px;
    pointer-events: none;
}

/* Logo en grand au centre.
   Sélecteur ".apropos-image-marque img" volontairement aussi spécifique
   que ".apropos-image img" (qui impose height:100% + object-fit:cover
   pour les photos) : défini après, il gagne et le logo garde ses proportions. */
.apropos-image-marque img,
.apropos-logo {
    width: 55%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

/* Slogan en italique sous le logo */
.apropos-slogan {
    font-family: var(--police-titres);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--blanc);
    line-height: 1.35;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Signature/meta en bas */
.apropos-meta-marque {
    font-family: var(--police-corps);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- 36. Animations premium (sobres) --- */

/* Entrée du hero en cascade au chargement de la page */
@keyframes monteeDouce {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes traitDessine {
    to { transform: scaleX(1); }
}

.hero-contenu > * {
    opacity: 0;
    animation: monteeDouce 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-contenu > *:nth-child(1) { animation-delay: 0.20s; }
.hero-contenu > *:nth-child(2) { animation-delay: 0.35s; }
.hero-contenu > *:nth-child(3) { animation-delay: 0.50s; }
.hero-contenu > *:nth-child(4) { animation-delay: 0.65s; }

/* Le petit trait rouge du hero se dessine de gauche à droite */
.hero-contenu::before {
    transform: scaleX(0);
    transform-origin: left;
    animation: traitDessine 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Le quadrillage du hero dérive très lentement (effet vivant) */
@keyframes deriveGrille {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}
.hero::before {
    animation: deriveGrille 22s linear infinite;
}

/* Entrée en cascade des bannières internes (pages services, blog, etc.) */
.banniere .container > *,
.article-banniere-contenu > * {
    opacity: 0;
    animation: monteeDouce 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.banniere .container > *:nth-child(1),
.article-banniere-contenu > *:nth-child(1) { animation-delay: 0.10s; }
.banniere .container > *:nth-child(2),
.article-banniere-contenu > *:nth-child(2) { animation-delay: 0.22s; }
.banniere .container > *:nth-child(3),
.article-banniere-contenu > *:nth-child(3) { animation-delay: 0.34s; }
.banniere .container > *:nth-child(4),
.article-banniere-contenu > *:nth-child(4) { animation-delay: 0.46s; }

/* Reflet lumineux qui balaye les boutons rouges au survol */
.btn-primaire {
    position: relative;
    overflow: hidden;
}
.btn-primaire::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn-primaire:hover::before {
    left: 130%;
}

/* Trait rouge qui se dessine sous les titres de sections quand ils apparaissent */
.entete-section h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--rouge);
    margin: 1.1rem auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.7s 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.entete-section.visible h2::after {
    transform: scaleX(1);
}

/* Barre de progression de lecture (injectée par JS sur les articles) */
.progression-lecture {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--rouge), #d83a45);
    z-index: 200;
    transition: width 0.1s linear;
}

/* Accessibilité : on coupe tout pour ceux qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-contenu > *, .banniere .container > *, .article-banniere-contenu > * {
        opacity: 1;
    }
}

/* --- 37. Optimisations mobiles avancées --- */

/* Les liens d'ancre (sommaires d'articles, FAQ) s'arrêtent sous le header
   fixe au lieu de se cacher derrière */
html {
    scroll-padding-top: 140px;
    -webkit-text-size-adjust: 100%;
}

/* Hauteur du hero : 100svh = hauteur réellement visible sur mobile
   (sans la barre d'adresse du navigateur, qui fausse 100vh) */
@supports (min-height: 100svh) {
    .hero { min-height: 100svh; }
}

/* Tableaux des articles : défilement horizontal fluide si trop larges,
   au lieu de casser la mise en page */
.article-tableau {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Retour tactile : les boutons s'enfoncent légèrement quand on appuie */
.btn:active,
.filtre-btn:active,
.autre-service:active,
.bouton-appel-flottant:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
}

/* iPhone avec encoche : le bouton d'appel ne colle pas à la barre du bas */
@media (max-width: 968px) {
    .bouton-appel-flottant {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    /* Les boutons aux textes longs passent à la ligne au lieu de déborder */
    .btn {
        white-space: normal;
        max-width: 100%;
        text-align: center;
    }

    /* Boutons de filtre : zone de tac confortable au pouce */
    .filtre-btn {
        padding: 0.75rem 1.4rem;
        min-height: 44px;
    }

    /* Le comparateur avant/après laisse passer le défilement vertical,
       seul le glissement horizontal déplace la poignée */
    .comparateur {
        touch-action: pan-y;
    }

    /* Cartes contact : zone cliquable pleine largeur déjà en place,
       on espace un peu plus au doigt */
    .contact-info-bloc {
        padding: 1.75rem 1.5rem;
    }

    /* Les titres du hero ne provoquent jamais de débordement
       avec les mots longs du métier (ex : faux-plafonds) */
    .hero h1, .banniere h1, .article-banniere h1 {
        overflow-wrap: break-word;
    }
}

/* --- 38. ALBUM PHOTOS --- */
.album-sommaire {
    margin-top: 1.5rem !important;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}
.album-sommaire a {
    color: var(--blanc);
    border-bottom: 1px solid var(--rouge);
    padding-bottom: 2px;
    white-space: nowrap;
}
.album-sommaire a:hover { color: var(--rouge); }

/* Mini-tuto : étapes */
.album-tuto {
    background: var(--gris-tres-clair);
    border-radius: var(--rayon);
    padding: 2rem;
    margin: 0 auto 3rem;
    max-width: 1000px;
    border-left: 4px solid var(--rouge);
}
.section-claire .album-tuto { background: var(--fond); }
.album-etapes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}
.album-etape {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.album-etape-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--police-titres);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(165,14,23,0.3);
}
.album-etape h4 { font-family: var(--police-corps); font-size: 1rem; margin-bottom: 0.25rem; color: var(--noir); }
.album-etape p { font-size: 0.9rem; margin: 0; }

/* Grille masonry (gère portrait + paysage) */
.album-grille {
    columns: 3 300px;
    column-gap: 1rem;
}
.album-photo {
    break-inside: avoid;
    margin: 0 0 1rem;
    position: relative;
    border-radius: var(--rayon);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--ombre-douce);
    background: linear-gradient(135deg, var(--noir), var(--rouge));
}
.album-photo img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.album-photo:hover img { transform: scale(1.05); }
.album-photo figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.5rem 1rem 0.9rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--blanc);
    font-size: 0.88rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition);
}
.album-photo:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 600px) {
    .album-grille { columns: 2 150px; column-gap: 0.6rem; }
    .album-photo { margin-bottom: 0.6rem; }
    .album-photo figcaption { opacity: 1; transform: none; font-size: 0.78rem; padding: 1rem 0.7rem 0.6rem; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.ouvert { display: flex; }
.lightbox-contenu {
    max-width: 92vw;
    max-height: 88vh;
    margin: 0;
    text-align: center;
}
.lightbox-contenu img {
    max-width: 92vw;
    max-height: 80vh;
    border-radius: var(--rayon);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-contenu figcaption {
    color: var(--blanc);
    margin-top: 1rem;
    font-family: var(--police-titres);
    font-size: 1.15rem;
    font-style: italic;
}
.lightbox-fermer, .lightbox-prec, .lightbox-suiv {
    position: absolute;
    background: rgba(255,255,255,0.12);
    color: var(--blanc);
    border: none;
    cursor: pointer;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox-fermer:hover, .lightbox-prec:hover, .lightbox-suiv:hover { background: var(--rouge); }
.lightbox-fermer { top: 1.5rem; right: 1.5rem; }
.lightbox-prec { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-suiv { right: 1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lightbox-prec { left: 0.5rem; }
    .lightbox-suiv { right: 0.5rem; }
    .lightbox-fermer { top: 0.8rem; right: 0.8rem; }
}

/* --- 21. Utilitaires --- */
.tel-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--rouge);
    font-weight: 600;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background-color: rgba(165, 14, 23, 0.1);
    color: var(--rouge);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
