.elementor-4217 .elementor-element.elementor-element-3f0f9c2{--display:flex;--padding-top:-1px;--padding-bottom:-1px;--padding-left:-1px;--padding-right:-1px;}.elementor-4217 .elementor-element.elementor-element-4e7d779{--box-background-color:#ECE7F7;--box-border-color:#4D21B5;box-shadow:0px 0px 10px 0px rgba(0,0,0,0.5);--header-color:#4D21B5;--item-text-color:var( --e-global-color-2cfcb87 );--item-text-hover-color:#4D21B5;--item-text-hover-decoration:underline;}.elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__spinner{color:#4D21B5;fill:#4D21B5;}.elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__header-title{text-align:start;}.elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__header{flex-direction:row;}@media(max-width:767px){.elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__header, .elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__header-title{font-size:1rem;}.elementor-4217 .elementor-element.elementor-element-4e7d779 .elementor-toc__list-item{font-size:0.8em;}}/* Start custom CSS for text-editor, class: .elementor-element-f1fe6df *//* --- CONFIGURATION GLOBALE --- */
/* --- STYLE DES IMAGES DANS L'ARTICLE --- */
.article-image {
    margin: 30px 0;
    text-align: center;
    background: #fff;
    padding: 10px; /* Petit cadre blanc style polaroid */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block; /* Évite les petits espaces blancs en dessous */
    margin: 0 auto; /* Centre l'image */
}

.article-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    font-family: 'Georgia', serif; /* Police différente pour bien distinguer la légende */
}

.blog-article {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.8; /* Ligne un peu plus haute pour faciliter la lecture des longs textes */
    color: #000;
    font-size: 17px;
}

.blog-article h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #4d19bd;
}

.blog-article h2 {
    color: #4d19bd;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-article h3 {
    color: #000;
    margin-top: 30px;
    font-size: 1.3rem;
}

.blog-article a {
    color: #4d19bd;
    text-underline-offset: 3px;
    font-weight: 700;
}

/* --- CONTAINERS --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ece3ff;
}

/* Container gris pour casser la monotonie */
.container2 {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Container sombre pour la conclusion */
.container3 {
    background-color: #4d19bd;
    color: #fff;
    padding: 60px 20px;
    margin-top: 60px;
}

/* --- COMPOSANTS SPECIFIQUES --- */

/* Tag en haut */
.category-tag {
    background-color: #4d19bd;
    color: white;
    padding: 4px 10px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Intro Box */
.intro-box {
    font-size: 1.15rem;
    color: #000;
    margin-bottom: 25px;
}

/* Disclaimer Médical (Important) */
.medical-disclaimer {
    background-color: #ece3ff;
    border-left: 5px solid #4d19bd;
    padding: 15px;
    margin: 30px 0;
    font-size: 0.9rem;
    color: #4d19bd;
    border-radius: 4px;
}

/* Citation */
blockquote {
    border-left: 4px solid #4d19bd;
    margin: 30px 0;
    padding: 10px 20px;
    background-color: #fff;
    font-style: italic;
    font-size: 1rem;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Listes */
.styled-list li {
    margin-bottom: 8px;
    padding-left: 5px;
}

/* --- DIAGNOSTIC BOX (Le look "Expert") --- */
.diagnostic-box {
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 30px auto;
    overflow: hidden;
    max-width: 600px;
}

.diag-header {
    background:#4d19bd;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.diag-content {
    padding: 20px;
}

.diag-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.diag-row:last-child {
    border-bottom: none;
}

.diag-label {
    color: #7f8c8d;
    font-weight: 500;
}

.diag-value {
    font-weight: 700;
    color: #2c3e50;
    text-align: right;
}

/* --- STYLE GÉNÉRAL DU TABLEAU (DESKTOP) --- */
.tableau-responsive-wrapper {
    margin: 30px 0;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden; /* Évite le scroll horizontal indésirable */
}

.comparatif-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comparatif-table th {
    background-color: #4d19bd; /* Couleur foncée pro */
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparatif-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* Mise en valeur de la colonne différence */
.comparatif-table .highlight {
    color: #4d19bd; /* Rouge pour montrer la différence de prix */
    font-weight: 500;
}

.comparatif-table .highlight-strong {
    color: #4d19bd;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

/* Style spécifique pour la dernière ligne (Coût moyen) */
.row-total {
    background-color: #f0f4f8; /* Fond légèrement bleuté */
    border-top: 2px solid #3498db;
}

 .custom-table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 16px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    /* L'en-tête (Violet foncé) */
    .custom-table thead tr {
        background-color: #4d19bd;
        color: #ffffff;
        text-align: left;
        font-weight: bold;
    }

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
    }

    /* Les lignes du corps */
    .custom-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

    /* Effet zébré (Lavande clair) */
    .custom-table tbody tr:nth-of-type(even) {
        background-color: #ece3ff;
    }

    /* Couleur de fond par défaut */
    .custom-table tbody tr:nth-of-type(odd) {
        background-color: #ffffff;
    }
    
    .hairgen-cta-tech {
    background: linear-gradient(135deg, #4826b5 0%, #2a1668 100%);
    border-radius: 16px;
    padding: 35px;
    margin: 40px auto;
    color: #ebe3fe;
    box-shadow: 0 10px 30px rgba(72, 38, 181, 0.25);
    display: flex;
    flex-wrap: wrap; /* Permet le responsive */
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 900px;
    border: 1px solid rgba(235, 227, 254, 0.15);
    position: relative;
    overflow: hidden;
}

/* Petit effet de brillance discret en arrière-plan */
.hairgen-cta-tech::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hairgen-cta-content {
    flex: 2 1 300px; /* Prend de la place mais passe à la ligne si écran < 300px */
    z-index: 1;
}

.hairgen-cta-title {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Helvetica', 'Arial', sans-serif; /* Ou la police de tes titres */
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hairgen-cta-text {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hairgen-cta-action {
    flex: 1 1 200px;
    text-align: center;
    z-index: 1;
}

.hairgen-cta-button {
    display: inline-block;
    width: 100%;
    max-width: 280px;
    background-color: #ebe3fe;
    color: #4826b5;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Effet au survol de la souris */
.hairgen-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    background-color: #ffffff;
    color: #2a1668;
}

.hairgen-cta-subtext {
    margin: 12px 0 0 0;
    font-size: 0.75rem;
    opacity: 0.7;
    font-style: italic;
}



/* --- LE SECRET DU RESPONSIVE (MOBILE) --- */
@media screen and (max-width: 768px) {
    
    .comparatif-table, 
    .comparatif-table tbody, 
    .comparatif-table tr, 
    .comparatif-table td {
        display: block; /* Transforme les cellules en blocs empilés */
        width: 100%;
    }

    /* On cache l'en-tête classique car on va le répéter dans chaque carte */
    .comparatif-table thead {
        display: none; 
    }

    .comparatif-table tr {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        background: #fff;
        overflow: hidden;
    }

    .comparatif-table td {
        padding-left: 50%; /* Laisse de la place pour le label */
        text-align: right; /* Aligne le prix à droite */
        position: relative;
        border-bottom: 1px solid #f1f1f1;
    }

    /* Le titre de la ligne (Technique) prend toute la largeur */
    .comparatif-table td[data-label="Technique"] {
        background-color: #4d19bd;
        color: white;
        text-align: center;
        padding: 12px;
        font-size: 1.1em;
        padding-left: 12px;
    }

    /* Pour la première cellule, on n'affiche pas le label "Technique" via CSS car c'est le titre */
    .comparatif-table td[data-label="Technique"]::before {
        content: none;
    }

    /* Pour les autres cellules, on insère le titre de la colonne via data-label */
    .comparatif-table td::before {
        content: attr(data-label); /* Récupère le texte du HTML */
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #7f8c8d;
    }
}

  .custom-table {
        width: 100%;
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 16px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    /* L'en-tête (Violet foncé) */
    .custom-table thead tr {
        background-color: #4d19bd;
        color: #ffffff;
        text-align: left;
        font-weight: bold;
    }

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
    }

    /* Les lignes du corps */
    .custom-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

    /* Effet zébré (Lavande clair) */
    .custom-table tbody tr:nth-of-type(even) {
        background-color: #ece3ff;
    }

    /* Couleur de fond par défaut */
    .custom-table tbody tr:nth-of-type(odd) {
        background-color: #ffffff;
    }

/* --- CONCLUSION FOOTER --- */
.conclusion-header h2 {
    color: #fff;
    border-bottom: 2px solid #ece3ff;
    display: inline-block;
    padding-bottom: 10px;
    margin-top: 0;
}

.conclusion-text ul {
    list-style-type: none;
    padding: 0;
}

.conclusion-text li {
    background: #fff;
    color: #4d19bd;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #4d19bd;
}

.conclusion-text h3 {
    color: #ece3ff; /* Mettez ici le code couleur de votre choix */
}

 
  .faq-section {
        max-width: 800px;
        margin: 40px auto;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        padding: 0 20px;
    }

    /* Titre de la section */
    .faq-section h3 {
        text-align: center;
        color: #ece3ff; /* Bleu foncé professionnel */
        font-size: 1.8rem;
        margin-bottom: 40px;
        position: relative;
    }

    /* Petit trait décoratif sous le titre */
    .faq-section h3::after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: #3498db; /* Bleu médical/confiance */
        margin: 15px auto 0;
        border-radius: 2px;
    }

    /* Style de chaque item (Question/Réponse) */
    .faq-item {
        background: #ffffff;
        border: 1px solid #e1e8ed;
        border-radius: 8px;
        margin-bottom: 15px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: #3498db;
    }

    /* La Question (Bouton cliquable) */
    .faq-item summary {
        padding: 20px;
        cursor: pointer;
        font-weight: 600;
        color: #34495e;
        font-size: 1rem;
        list-style: none; /* Cache la flèche par défaut */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hack pour cacher la flèche par défaut sur certains navigateurs */
    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    /* Icône personnalisée (+) */
    .faq-item summary::after {
        content: '+';
        font-size: 0.8rem;
        color: #3498db;
        font-weight: bold;
        transition: transform 0.3s ease;
    }
    
    .faq-item h4 {
        font-size : 1.2rem;
    }

    /* Animation quand c'est ouvert */
    .faq-item[open] summary::after {
        transform: rotate(45deg); /* Le + devient une croix */
        color: #e74c3c;
    }

    .faq-item[open] summary {
        border-bottom: 1px solid #f0f2f5;
        background-color: #f9fbfd;
        color: #2c3e50;
    }

    /* La Réponse */
    .faq-content {
        padding: 20px;
        color: #555;
        line-height: 1.6;
        font-size: 1rem;
        background-color: #fff;
    }
    
       .faq-content strong {
        color: #2c3e50;
    }
/* =========================================================
   PATCH RESPONSIVE ULTRA PROPRE
   À COLLER TOUT EN BAS DU CSS
   ========================================================= */

/* --- Base de sécurité responsive --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    width: 100%;
}

.blog-article,
.container,
.container2,
.container3,
.faq-section,
.diagnostic-box,
.tableau-responsive-wrapper,
.hairgen-cta-tech {
    width: 100%;
    max-width: 100%;
}

.blog-article p,
.blog-article li,
.blog-article blockquote,
.blog-article td,
.blog-article th,
.blog-article figcaption,
.blog-article summary {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* =========================================================
   LARGE DESKTOP / PETITS LAPTOPS
   ========================================================= */
@media (max-width: 1200px) {
    .container {
        max-width: 860px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .container2,
    .faq-section {
        max-width: 920px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hairgen-cta-tech {
        padding: 30px;
        gap: 24px;
    }
}

/* =========================================================
   TABLETTES PAYSAGE / LAPTOP COMPACT
   ========================================================= */
@media (max-width: 992px) {
    .blog-article {
        font-size: 16.5px;
        line-height: 1.75;
    }

    .blog-article h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .blog-article h2 {
        font-size: 1.65rem;
        margin-top: 34px;
        margin-bottom: 16px;
    }

    .blog-article h3 {
        font-size: 1.2rem;
        margin-top: 24px;
    }

    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .container2 {
        margin: 32px auto;
        padding: 32px 22px;
    }

    .container3 {
        padding: 48px 22px;
        margin-top: 48px;
    }

    .diagnostic-box {
        max-width: 100%;
    }

    .diag-header {
        padding: 12px 16px;
    }

    .diag-content {
        padding: 18px;
    }

    .custom-table th,
    .custom-table td,
    .comparatif-table th,
    .comparatif-table td {
        padding: 12px;
    }

    .hairgen-cta-tech {
        padding: 28px 24px;
        gap: 20px;
    }

    .hairgen-cta-title {
        font-size: 1.4rem;
    }

    .hairgen-cta-text {
        font-size: 1rem;
    }

    .faq-section h3 {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .faq-item summary {
        padding: 18px;
        font-size: 0.98rem;
    }

    .faq-content {
        padding: 18px;
    }
}

/* =========================================================
   TABLETTES / GROS MOBILES
   ========================================================= */
@media (max-width: 768px) {
    .blog-article {
        font-size: 16px;
        line-height: 1.72;
    }

    .blog-article h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .blog-article h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .blog-article h3 {
        font-size: 1.1rem;
        line-height: 1.35;
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .container2 {
        margin: 28px auto;
        padding: 26px 16px;
        border-radius: 6px;
    }

    .container3 {
        padding: 40px 16px;
        margin-top: 40px;
    }

    .article-image {
        margin: 24px 0;
        padding: 8px;
        border-radius: 8px;
    }

    .article-image figcaption {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .medical-disclaimer {
        padding: 14px;
        font-size: 0.9rem;
        margin: 24px 0;
    }

    blockquote {
        margin: 24px 0;
        padding: 14px 16px;
        font-size: 0.96rem;
        line-height: 1.65;
    }

    .styled-list {
        padding-left: 18px;
    }

    .styled-list li {
        margin-bottom: 10px;
        font-size: 0.96rem;
    }

    .diag-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .diag-label,
    .diag-value {
        width: 100%;
        text-align: left;
    }

    .diag-value {
        margin-top: 2px;
    }

    .hairgen-cta-tech {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 24px 18px;
        margin: 32px auto;
        border-radius: 14px;
    }

    .hairgen-cta-content,
    .hairgen-cta-action {
        flex: 1 1 100%;
        width: 100%;
    }

    .hairgen-cta-title {
        font-size: 1.25rem;
        line-height: 1.25;
    }

    .hairgen-cta-text {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .hairgen-cta-button {
        max-width: 100%;
        font-size: 0.92rem;
        padding: 14px 20px;
    }

    .hairgen-cta-subtext {
        font-size: 0.78rem;
    }

    .faq-section {
        margin: 32px auto;
        padding: 0 16px;
    }

    .faq-section h3 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 28px;
    }

    .faq-item summary {
        padding: 16px;
        font-size: 0.95rem;
        align-items: flex-start;
        gap: 12px;
    }

    .faq-item summary::after {
        flex-shrink: 0;
        margin-left: 10px;
    }

    .faq-item h4 {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0;
    }

    .faq-content {
        padding: 16px;
        font-size: 0.95rem;
    }

    .conclusion-header h2 {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .conclusion-text li {
        padding: 14px;
        font-size: 0.96rem;
    }

    /* ---------- TABLEAU COMPARATIF EN MODE CARTE ---------- */
    .tableau-responsive-wrapper {
        overflow: visible;
        margin: 24px 0;
    }

    .comparatif-table,
    .comparatif-table thead,
    .comparatif-table tbody,
    .comparatif-table th,
    .comparatif-table tr,
    .comparatif-table td {
        display: block;
        width: 100%;
    }

    .comparatif-table thead {
        display: none;
    }

    .comparatif-table tr {
        margin-bottom: 18px;
        border: 1px solid #ddd;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    }

    .comparatif-table td {
        position: relative;
        padding: 14px 14px 14px 46%;
        text-align: right;
        border-bottom: 1px solid #f1f1f1;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .comparatif-table td:last-child {
        border-bottom: none;
    }

    .comparatif-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 40%;
        text-align: left;
        font-weight: 700;
        color: #4d19bd;
        line-height: 1.35;
        white-space: normal;
    }

    .comparatif-table td[data-label="Technique"] {
        background-color: #4d19bd;
        color: #fff;
        text-align: center;
        justify-content: center;
        padding: 14px;
        font-size: 1rem;
        font-weight: 700;
    }

    .comparatif-table td[data-label="Technique"]::before {
        content: none;
    }

    /* ---------- CUSTOM TABLE EN MODE CARTE ---------- */
    .custom-table,
    .custom-table thead,
    .custom-table tbody,
    .custom-table th,
    .custom-table tr,
    .custom-table td {
        display: block;
        width: 100%;
    }

    .custom-table thead {
        display: none;
    }

    .custom-table tr {
        margin-bottom: 16px;
        border: 1px solid #ece3ff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        background: #fff;
    }

    .custom-table td {
        position: relative;
        padding: 14px 14px 14px 46%;
        text-align: right;
        border-bottom: 1px solid #ece3ff;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .custom-table td:last-child {
        border-bottom: none;
    }

    .custom-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 40%;
        text-align: left;
        font-weight: 700;
        color: #4d19bd;
        line-height: 1.35;
        white-space: normal;
    }

    /* ---------- IMAGE VIEWER ---------- */
    #image-viewer {
        display: none;
        position: fixed;
        z-index: 9999;
        inset: 0;
        padding: 20px;
        background-color: rgba(0,0,0,0.92);
        overflow: auto;
    }

    #image-viewer-content {
        margin: auto;
        display: block;
        width: 100%;
        max-width: 92vw;
        max-height: 82vh;
        object-fit: contain;
        animation: zoom 0.3s ease;
    }
}

/* =========================================================
   MOBILES
   ========================================================= */
@media (max-width: 600px) {
    .blog-article {
        font-size: 15.5px;
        line-height: 1.68;
    }

    .blog-article h1 {
        font-size: 1.6rem;
    }

    .blog-article h2 {
        font-size: 1.25rem;
        line-height: 1.32;
        margin-top: 26px;
        margin-bottom: 12px;
    }

    .blog-article h3 {
        font-size: 1rem;
        line-height: 1.35;
        margin-top: 20px;
        margin-bottom: 10px;
        text-align: left;
    }

    .intro-box,
    .intro-box p,
    p,
    .styled-list li {
        font-size: 0.95rem;
    }

    .category-tag {
        font-size: 0.68rem;
        padding: 4px 8px;
        margin-bottom: 12px;
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .container2 {
        padding: 22px 14px;
        margin: 24px auto;
    }

    .container3 {
        padding: 34px 14px;
        margin-top: 34px;
    }

    .article-image {
        padding: 6px;
        margin: 20px 0;
    }

    .article-image figcaption {
        font-size: 0.72rem;
        margin-top: 8px;
    }

    .medical-disclaimer {
        padding: 12px;
        font-size: 0.84rem;
    }

    blockquote {
        padding: 12px 14px;
        font-size: 0.92rem;
    }

    .diag-header {
        font-size: 0.82rem;
        padding: 11px 14px;
    }

    .diag-content {
        padding: 14px;
    }

    .diag-row {
        padding: 8px 0;
    }

    .diag-label,
    .diag-value {
        font-size: 0.92rem;
    }

    .faq-section h3 {
        font-size: 1.25rem;
    }

    .faq-item summary {
        padding: 14px;
        font-size: 0.92rem;
    }

    .faq-item h4 {
        font-size: 0.98rem;
    }

    .faq-content {
        padding: 14px;
        font-size: 0.9rem;
    }

    .hairgen-cta-tech {
        padding: 20px 14px;
        gap: 16px;
    }

    .hairgen-cta-title {
        font-size: 1.12rem;
    }

    .hairgen-cta-text {
        font-size: 0.92rem;
    }

    .hairgen-cta-button {
        font-size: 0.82rem;
        padding: 13px 16px;
        border-radius: 40px;
    }

    .hairgen-cta-subtext {
        font-size: 0.72rem;
    }

    .comparatif-table td,
    .custom-table td {
        padding-left: 44%;
        font-size: 0.92rem;
    }

    .comparatif-table td::before,
    .custom-table td::before {
        width: 36%;
        font-size: 0.82rem;
    }

    .conclusion-text li {
        padding: 12px;
        font-size: 0.92rem;
    }
}

/* =========================================================
   PETITS MOBILES
   ========================================================= */
@media (max-width: 480px) {
    .blog-article {
        font-size: 15px;
    }

    .blog-article h1 {
        font-size: 1.45rem;
    }

    .blog-article h2 {
        font-size: 1.15rem;
    }

    .blog-article h3 {
        font-size: 0.98rem;
    }

    .container,
    .faq-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .container2,
    .container3 {
        padding-left: 12px;
        padding-right: 12px;
    }

    .comparatif-table td,
    .custom-table td {
        padding: 12px 12px 12px 12px;
        text-align: left;
        justify-content: flex-start;
        min-height: auto;
        display: block;
    }

    .comparatif-table td::before,
    .custom-table td::before {
        position: static;
        transform: none;
        display: block;
        width: 100%;
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .faq-item summary {
        padding: 13px 12px;
    }

    .faq-content {
        padding: 12px;
    }

    .hairgen-cta-button {
        font-size: 0.78rem;
        letter-spacing: 0.3px;
    }

    #image-viewer-content {
        max-width: 100%;
        max-height: 76vh;
    }
}

/* =========================================================
   MICRO MOBILES
   ========================================================= */
@media (max-width: 360px) {
    .blog-article {
        font-size: 14.5px;
    }

    .blog-article h1 {
        font-size: 1.3rem;
    }

    .blog-article h2 {
        font-size: 1.05rem;
    }

    .blog-article h3 {
        font-size: 0.94rem;
    }

    .category-tag {
        font-size: 0.64rem;
    }

    .hairgen-cta-title {
        font-size: 1rem;
    }

    .hairgen-cta-text,
    .faq-content,
    p,
    .styled-list li,
    blockquote {
        font-size: 0.88rem;
    }

    .comparatif-table td,
    .custom-table td {
        font-size: 0.88rem;
    }
}

/* =========================================================
   EFFETS TACTILES / APPAREILS SANS HOVER
   ========================================================= */
@media (hover: none) and (pointer: coarse) {
    .hairgen-cta-button:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        background-color: #ebe3fe;
        color: #4826b5;
    }

    .faq-item:hover {
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        border-color: #e1e8ed;
    }
}

/* =========================================================
   ANIMATION IMAGE VIEWER
   ========================================================= */
@keyframes zoom {
    from { transform: scale(0.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}/* End custom CSS */