/* ==========================================================================
   DESIGN SYSTEM : REHAB RANCH PREMIUM (WESTERN & MONTAGNE)
   ========================================================================== */

:root {
    --forest-green: #1b2d27;   
    --sunset-orange: #b45229;  
    
    /* Le fond redevient ultra-fluide et lumineux */
    --cream-soft: #FBFBFA;     
    
    /* TA COULEUR : On la stocke ici pour l'utiliser sur les détails ! */
    --clay-beige: #CDBBA7;     
    
    --leather-brown: #3d2b1f;  
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #64748b;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', Helvetica, sans-serif;
}

/* ON REMET DE LA LÉGÈRETÉ PARTOUT */
body {
    background-color: var(--cream-soft) !important;
}

section, .section-padding {
    background-color: var(--cream-soft) !important;
}

/* ON UTILISE TON BEIGE POUR LES ENCADRÉS DES EFFETS PRO */
.container {
    background-color: transparent !important; /* On enlève le gros bloc de couleur */
}

/* On applique ton beige de caractère uniquement sur les bordures et détails */
hr, .separator-line {
    border: 0;
    height: 1px;
    background: var(--clay-beige) !important;
    margin: 20px 0;
}

/* Les photos respirent mais se détachent grâce à un fin contour de ta couleur */
img {
    border: 3px solid var(--clay-beige);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
/* Navigation Premium */
.navbar {
    background-color: var(--forest-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--sunset-orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
    font-family: var(--font-heading);
    color: var(--cream-soft);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--cream-soft);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--sunset-orange);
}

/* Bannière Hero */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    background: rgba(27, 45, 39, 0.65);
    padding: 50px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Boutons */
.btn-main {
    display: inline-block;
    background-color: var(--sunset-orange);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background-color: #96411f;
    transform: translateY(-2px);
}

/* Structure des Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--white);
}

.center-title {
    text-align: center;
    margin-bottom: 60px;
}

.center-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 15px;
}

.subtitle {
    color: var(--sunset-orange);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

/* Grilles Modernes */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Bloc Image Premium Adapté (Évite les coupures) */
.img-premium {
    width: 100%;
    height: 450px;
    object-fit: cover; /* Parfait pour les paysages */
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(27, 45, 39, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Classe spéciale pour le montage photo vertical pour ne JAMAIS le couper */
.img-contain {
    object-fit: contain !important;
    background-color: transparent;
}

.text-block h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--forest-green);
    margin-bottom: 20px;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Barre des partenaires institutionnels */
.labels-bar {
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.label-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--forest-green);
    font-weight: 700;
}

.badges-grid {
    display: flex;
    gap: 40px;
}

.badge-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--leather-brown);
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-item i {
    color: var(--sunset-orange);
}

/* Vidéos */
.video-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-top: 40px;
    border-left: 4px solid var(--forest-green);
}

.video-container h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--forest-green);
}

.video-fluid {
    width: 100%;
    max-height: 400px;
    border-radius: 6px;
    background: var(--leather-brown);
}

/* Tableaux de Tarifs */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: var(--forest-green);
    color: var(--white);
    padding: 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

td {
    padding: 20px;
    border-bottom: 1px solid #edf2f7;
    font-size: 1.1rem;
}

tr:last-child td {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--sunset-orange);
    font-size: 1.3rem;
}

/* Pied de page (Footer) */
.footer-section {
    background-color: var(--forest-green);
    color: var(--cream-soft);
    padding: 60px 0 30px 0;
    margin-top: 80px;
    border-top: 5px solid var(--sunset-orange);
}

.footer-section h3 {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sunset-orange);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.legal-link {
    color: rgba(249, 245, 240, 0.4);
    text-decoration: underline;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
}
/* Section Principale avec l'image du coucher de soleil */
.hero-sunset {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Intégration de l'image en fond */
    background: url('rehab-ranch-usson-en-forez-loire.jpeg') no-repeat center center/cover;
    overflow: hidden;
}

/* Le fondu (Overlay) pour donner de la douceur et lire le texte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fondu dégradé : plus sombre au centre pour le texte, plus coloré sur les côtés */
    background: radial-gradient(circle, rgba(43, 58, 46, 0.75) 0%, rgba(19, 26, 20, 0.4) 100%);
    z-index: 1;
}

/* Le contenu textuel au-dessus du fond */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3rem;
    font-family: 'Georgia', serif; /* Ou la police de votre logo */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Bouton orange contrasté */
.btn-ranch {
    display: inline-block;
    padding: 15px 35px;
    background-color: #b85c37; /* Orange terre cuite du ranch */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-ranch:hover {
    background-color: #9c4a2a;
}
/* 1. FORCE LE BEIGE UNIQUEMENT SUR LES FONDS DE PAGE ET SECTIONS */
html, 
body,
section, 
.section-padding,
.main-content {
    background-color: #CDBBA7 !important;
}

/* 2. CORRECTION DE LA DEUXIÈME PHOTO (BANNÈRE ACCUEIL) */
/* On s'assure que le texte sur l'image reste blanc et ultra-lisible */
.hero-section,
.hero-section h1,
.hero-section p,
.hero-section .subtitle,
div[class*="hero"] h1,
div[class*="hero"] p {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Ajoute un petit relief */
}

/* 3. CORRECTION DE LA PREMIÈRE PHOTO (LES TARIFS CÔTE À CÔTE) */
/* CENTRAGE GLOBAL DE LA SECTION */
.pricing-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px !important;
}

/* LE CONTENEUR QUI RECADRE TOUT AU MILIEU */
.pricing-container {
    width: 100%;
    max-width: 1100px; /* Aligne le contenu sur la largeur standard du site */
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le titre ET les cartes */
}

/* CENTRAGE DU BLOC DE TITRE */
.center-title {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 800px; /* Évite que le texte d'intro soit trop étalé */
}

.center-title h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

/* LA GRILLE DES CARTES PARFAITEMENT CORRIGÉE */
.pricing-grid {
    display: flex !important;
    flex-direction: row !important; /* Reste en largeur */
    gap: 30px;
    justify-content: center;
    width: 100%;
}

/* STYLE DES CARTES RE-STABILISÉ */
.price-card {
    background-color: #ffffff !important;
    border-radius: 12px;
    padding: 35px;
    flex: 1; /* Distribue l'espace équitablement */
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    background-color: #1b2d27 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Force les listes à ne pas avoir de puces moches à l'intérieur */
.price-features {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style de la carte blanche (Pension Éco) */
.price-card {
    background-color: #ffffff !important;
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.price-card h3, .price-card li {
    color: #1b2d27 !important; /* Texte vert sapin sur fond blanc = parfait */
}

/* Style de la carte verte (Sur Devis) : ON FORCE LE TEXTE EN BLANC */
.price-card.featured {
    background-color: #1b2d27 !important; /* Fond vert sapin */
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* On force TOUT le texte à l'intérieur de la carte "Sur devis" à être blanc */
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured li,
.price-card.featured span {
    color: #ffffff !important; 
}

/* 4. LE TEXTE PAR DÉFAUT DU SITE */
body, p, li {
    color: #1b2d27;
}
/* CONFIGURATION DU CONTENEUR DE LA PAGE PENSIONS */
.pensions-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 20px !important;
    background-color: #CDBBA7 !important; /* Ton beige de canapé uni partout */
}

.pensions-content-container {
    width: 100%;
    max-width: 1100px; /* Aligne tout parfaitement au milieu */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* MISE EN PAGE DE L'IMAGE PREMIUM */
.pensions-hero-image {
    width: 100%;
    max-width: 900px;
    margin-bottom: 50px;
}
.pensions-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* LE NOUVEAU TABLEAU ULTRA MODERNE */
.modern-table-wrapper {
    width: 100%;
    max-width: 950px;
    background-color: #ffffff !important; /* Le tableau est blanc pour détacher le contenu du fond beige */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 60px;
}

.ranch-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #ffffff !important;
}

/* ENTÊTE DU TABLEAU (STYLE VERT SAPIN CHIC) */
.ranch-table th {
    background-color: #1b2d27 !important;
    color: #ffffff !important;
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* CELLULES DU TABLEAU */
.ranch-table td {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
    background-color: #ffffff !important;
}

/* NOM DES FORMULES */
.formula-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: bold;
    color: #1b2d27 !important;
    width: 25%;
}

/* STYLISATION DES LISTES DANS LE TABLEAU */
.table-features-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.table-features-list li {
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #333333 !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.table-features-list li:last-child {
    margin-bottom: 0;
}
.table-features-list i.fa-check {
    color: #b45229 !important; /* Orange terracotta pour les puces éco */
    margin-top: 3px;
}
.table-features-list i.fa-star {
    color: #1b2d27 !important; /* Vert sapin pour les étoiles premium */
    margin-top: 3px;
}

/* AFFICHAGE DES PRIX */
.formula-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b45229 !important; /* Terracotta pour le prix */
    text-align: right;
    width: 20%;
    white-space: nowrap;
}
.formula-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666666 !important;
}

/* MISE EN VALEUR DE LA LIGNE DE SOINS (LA DEUXIÈME) */
.ranch-table tr.featured-row td {
    background-color: #f4efe6 !important; /* Fond légèrement teinté pour détacher la formule clinique */
}
.special-devis {
    color: #1b2d27 !important; /* Vert sapin pour le texte "Sur devis", ultra-lisible ! */
    font-size: 1.4rem;
    font-weight: bold;
}

/* STYLE DE LA SECTION VIDÉO CENTRÉE */
.video-section-wrapper {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-top: 20px;
}
.video-section-wrapper h3 {
    font-family: var(--font-heading);
    color: #1b2d27 !important;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.video-frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.video-fluid {
    width: 100%;
    display: block;
}

/* ADAPTATION MOBILE POUR QUE LE TABLEAU NE BRISE PAS LE SITE */
@media (max-width: 768px) {
    .ranch-table th {
        display: none;
    }
    .ranch-table td {
        display: block;
        width: 100% !important;
        text-align: left !important;
        padding: 20px;
    }
    .formula-name {
        font-size: 1.4rem;
        border-bottom: none;
        padding-bottom: 5px;
    }
    .formula-price {
        font-size: 1.6rem;
        padding-top: 5px;
        border-bottom: 2px solid #1b2d27;
    }
}
/* PETITES TOUCHES DE DESIGNER POUR LE RENDU FINAL */

/* 1. Animation subtile quand on passe la souris sur les lignes du tableau */
.ranch-table tbody tr {
    transition: all 0.3s ease;
}
.ranch-table tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 10;
}

/* 2. Effet moderne sur le bouton "Découvrir le Ranch" de l'accueil */
.hero-section button, .hero-section .btn, div[class*="hero"] a {
    transition: all 0.3s ease !important;
}
.hero-section button:hover, .hero-section .btn:hover, div[class*="hero"] a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(180, 82, 41, 0.4) !important; /* Ombre de la couleur Terracotta */
}

/* 3. Lissage du défilement (Scroll) pour tout le site */
html {
    scroll-behavior: smooth;
}
.reviews{
padding:100px 0;
background:#faf8f5;
}

.reviews h2{
text-align:center;
font-size:42px;
margin-bottom:10px;
}

.subtitle{
text-align:center;
color:#777;
margin-bottom:50px;
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.review-card{
background:white;
padding:35px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.08);
transition:.3s;
}

.review-card:hover{
transform:translateY(-5px);
}

.review-card p{
line-height:1.8;
}

.review-card span{
display:block;
margin-top:20px;
font-weight:600;
}
.pricing{
padding:100px 5%;
display:flex;
justify-content:center;
gap:40px;
flex-wrap:wrap;
}

.card{
width:420px;
background:white;
border-radius:25px;
padding:45px;
box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.featured{
background:linear-gradient(
135deg,
#1d3b47,
#274c5a
);
color:white;
transform:scale(1.05);
}

.price{
font-size:55px;
font-weight:700;
margin:25px 0;
}

.price span{
font-size:18px;
}

.card ul{
list-style:none;
padding:0;
}

.card li{
margin-bottom:18px;
line-height:1.7;
}

.btn{
display:inline-block;
margin-top:25px;
padding:14px 28px;
border-radius:50px;
text-decoration:none;
background:#c68a52;
color:white;
}
#contact{
padding:100px 20px;
text-align:center;
background:#f8f8f8;
}

.contact-buttons{
margin-top:40px;
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

.contact-buttons a{
padding:15px 35px;
border-radius:50px;
text-decoration:none;
background:#1d3b47;
color:white;
transition:.3s;
}

.contact-buttons a:hover{
transform:translateY(-3px);
}
.featured h3{
color:#fff;
font-weight:700;
letter-spacing:0.5px;
}
.featured{
color:white;
}

.featured li{
color:rgba(255,255,255,0.95);
}

.featured span{
color:rgba(255,255,255,0.8);
}
.featured h3{
color:white;
position:relative;
padding-bottom:15px;
}

.featured h3::after{
content:"";
position:absolute;
bottom:0;
left:50%;
transform:translateX(-50%);
width:60px;
height:2px;
background:#d6a86a;
}

/* ==========================================================================
   🎯 CONFIGURATION MOBILE GLOBAL (POUR QUE TOUT SOIT BEAU SUR TÉLÉPHONE)
   ========================================================================== */

@media (max-width: 768px) {
    
    /* 1. LA BARRE DE NAVIGATION (NAVBAR) */
    .navbar {
        flex-direction: column !important; /* Aligne le logo et le menu l'un sous l'autre */
        padding: 15px 10px !important;
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column !important; /* Aligne les liens du menu verticalement */
        gap: 12px !important;
        margin-top: 15px !important;
        padding: 0 !important;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 1rem !important;
    }

    /* 2. LES TEXTES ET TITRES DE PAGES */
    .center-title {
        padding: 0 15px !important;
        margin-bottom: 30px !important;
    }
    
    .center-title h2 {
        font-size: 1.6rem !important; /* Réduit la taille des gros titres pour qu'ils ne coupent pas */
        line-height: 1.3 !important;
    }
    
    .intro-text, .center-title p {
        font-size: 0.95rem !important;
    }

    /* 3. L'IMAGE EN HAUT ET LES GRILLES (PAGE ACCUEIL & PENSIONS) */
    .pensions-hero-image {
        padding: 0 10px !important;
        margin-bottom: 30px !important;
    }
    
    /* Force les structures côte à côte à passer l'une sous l'autre */
    .grid-2, .grid-3, .pricing-grid, .pensions-content-container {
        display: flex !important;
        flex-direction: column !important; 
        gap: 20px !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    /* 4. LE TABLEAU DES TARIFS (TRANSFORMATION EN CARTES PROPRES) */
    .modern-table-wrapper {
        margin: 0 10px 40px 10px !important;
        background: transparent !important; /* Enlève le gros bloc blanc rigide */
        box-shadow: none !important;
    }

    .ranch-table {
        display: block !important;
        width: 100% !important;
    }

    .ranch-table thead {
        display: none !important; /* Cache les entêtes de colonnes (Formule, Prestations, Tarif) inutilisables sur mobile */
    }

    .ranch-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .ranch-table tr {
        display: flex !important;
        flex-direction: column !important;
        background-color: #ffffff !important; /* Recrée une jolie carte blanche par formule */
        border-radius: 12px !important;
        margin-bottom: 25px !important;
        padding: 20px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    }
    
    .ranch-table tr.featured-row {
        background-color: #f4efe6 !important; /* Garde la couleur distinctive pour la réhabilitation */
        border: 2px solid #1b2d27 !important;
    }

    .ranch-table td {
        display: block !important;
        width: 100% !important;
        padding: 10px 0 !important;
        border: none !important;
        text-align: left !important;
    }

    .formula-name {
        font-size: 1.4rem !important;
        font-weight: bold !important;
        color: #1b2d27 !important;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05) !important;
        padding-bottom: 10px !important;
    }

    .formula-price {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        text-align: left !important; /* Aligne le prix à gauche pour une lecture naturelle */
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px dashed rgba(0, 0, 0, 0.1) !important;
    }
    
    .special-devis {
        font-size: 1.4rem !important;
    }

    /* 5. LA VIDÉO */
    .video-section-wrapper {
        padding: 0 10px !important;
    }
    
    /* 6. LE FOOTER (BAS DE PAGE) */
    .footer-section .grid-3 {
        text-align: center !important; /* Centre tout le texte du footer sur mobile */
        gap: 30px !important;
    }
}