/* Variables globales */
:root {
    --primary-color: #7ab51d; /* Vert FlexiDesk */
    --secondary-color: #333333; /* Gris foncé */
    --light-color: #f5f5f5; /* Gris clair */
    --text-color: #333333;
    --white-color: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-color);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #689b19;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    max-width: 100%;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    font-weight: 500;
    position: relative;
}

.menu li a:hover {
    color: var(--primary-color);
}

.menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.menu li a:hover:after {
    width: 100%;
}

.menu-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding-left: 10px;
}

/* Section Hero */
#hero {
    height: 100vh;
    background-image: url('../images/flexidesk-nimes-bureaux-coworking-location-header-optimise.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-proof {
  margin-top: 15px;
  font-size: 0.95rem;
  opacity: 0.9;
  color: #fff;
}

/* Section Nos Espaces */
.espaces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

@media (max-width: 576px) {
    .espaces-grid {
        grid-template-columns: 1fr;
    }
}

.espace-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.espace-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.espace-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.espace-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.espace-card p {
    padding: 0 20px 20px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Section Pourquoi FlexiDesk */
.pourquoi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }
}

.avantages-list li {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.avantages-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
}

.pourquoi-map {
    position: relative;
}

.adresse {
    background-color: var(--white-color);
    padding: 15px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-top: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.adresse i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Section Galerie Photos */
.galerie-filtres {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filtre-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filtre-btn:hover, .filtre-btn.active {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galerie-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
    position: relative;
    cursor: pointer;
}

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

.galerie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.25) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 18px 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.galerie-overlay h3 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

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

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

.galerie-item.hide {
    display: none;
}

/* Section Tarifs & Formules */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.tarif-card .tarif-pack{
  display: inline-block;
  margin-top: 4px;
}

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

@media (max-width: 768px) {
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
}

.tarif-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 550px; /* Hauteur augmentée pour uniformiser les encarts */
}

.tarif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tarif-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.tarif-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.tarif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.tarif-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    margin-top: 10px;
}

.tarif-description {
    margin-bottom: 10px;
    color: #777;
}

.tarif-a-partir {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
    font-weight: normal;
}

.tarif-prix{
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  margin-top: 0;
  line-height: 1.2;
}

.tarifs-grid .tarif-card:first-child .tarif-prix{
  margin-bottom: 0;
  line-height: 1.15;
}

.tarifs-grid .tarif-card:first-child .tarif-alt{
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.25;
}

.tarif-prix span {
    font-size: 1rem;
    font-weight: 400;
}

.tarif-features {
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
}

.tarif-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tarif-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.tarif-card .btn {
    margin-top: auto;
    width: 150px;
    align-self: center;
    margin-bottom: 20px;
}

.tarifs-details {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.tarifs-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: center;
}

.tarifs-details p {
    text-align: center;
    margin-bottom: 30px;
}

.tarifs-table-container {
    overflow-x: auto;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tarifs-table th, 
.tarifs-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.tarifs-table th, .table th {
    background-color: var(--primary-color);
    font-weight: 600;
    color: var(--white-color);
    padding: 12px 15px;
    text-align: center;
}

.tarifs-table tr:hover, .table tr:hover {
    background-color: #f5f5f5;
}

/* Styles pour le tableau des espaces disponibles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.table th, .table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.plan-tarifs {
    text-align: center;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
}

.plan-tarifs h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.plan-tarifs p {
    margin-bottom: 30px;
}

.plan-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-image {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.plan-container:hover .plan-overlay {
    opacity: 1;
}

.plan-container:hover .plan-image {
    transform: scale(1.05);
}

.tarifs-cta {
    text-align: center;
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.tarifs-cta h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.tarifs-cta p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Contact */
.contact-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.contact-intro{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Style pour la checkbox RGPD */
.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-container label {
    display: inline;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #222222; /* Couleur plus foncée pour un meilleur contraste avec le logo */
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

/* === CONTACT FOOTER : icône à gauche, texte à droite, et ligne 2 alignée sur le texte === */
.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;   /* évite que la 2e ligne passe sous l’icône */
    gap: 10px;
}

.footer-contact i {
    width: 18px;               /* colonne d’icônes alignée */
    flex: 0 0 18px;
    margin-top: 2px;
    color: var(--primary-color);
}

/* Conteneur texte (utilisé UNIQUEMENT pour le téléphone si tu ajoutes <span class="footer-text">...) */
.footer-contact .footer-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.footer-contact .phone-number {
    font-weight: 600;
}

.footer-contact .footer-hours {
    font-size: 0.85rem;
    opacity: 0.85;
}

footer .footer-contact a,
footer .footer-contact p a {
    color: var(--white-color) !important;
    text-decoration: none;
}

footer .footer-contact a:hover,
footer .footer-contact p a:hover {
    color: var(--primary-color) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Styles pour les filtres */
.filter-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filter-group {
    width: 100%;
}

.filter-group h4 {
    margin-bottom: 5px;
    color: #555;
    font-size: 16px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.filter-btn {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #7ab51d;
    color: #fff;
    border-color: #7ab51d;
}

/* Styles pour les cartes responsives */
.bureaux-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.bureau-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
    display: none; /* Caché par défaut, affiché via JS */
    height: 100%;
}

@media (max-width: 992px) {
    .bureaux-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bureaux-cards {
        grid-template-columns: 1fr;
    }
}

.bureau-card.visible {
    display: block;
}

.bureau-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bureau-card h4 {
    margin-top: 0;
    color: #7ab51d;
    font-size: 18px;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 10px;
}

.bureau-info {
    margin: 10px 0;
}

.bureau-info p {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    padding-bottom: 5px;
    border-bottom: 1px dashed #f0f0f0;
}

.bureau-info p:last-child {
    border-bottom: none;
}

.bureau-info span:first-child {
    font-weight: 600;
    color: #555;
}

.bureau-info span:last-child {
    color: #333;
}

.bureau-price {
    font-size: 18px;
    font-weight: 700;
    color: #7ab51d;
    text-align: center;
    margin-top: 15px;
}

/* Styles pour la pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 15px 0;
}

#page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #f0f0f0;
}

.page-btn.active {
    background-color: #7ab51d;
    color: #fff;
    border-color: #7ab51d;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Styles pour le compteur de résultats */
.results-counter {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

/* Media queries pour les appareils mobiles */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
    }
    
    .filter-group {
        flex: 1 1 100%;
    }
    
    .bureau-card {
        flex: 1 1 100%;
        padding: 15px;
    }
    
    /* Vue compacte pour mobile */
    .compact-view .bureau-card {
        padding: 10px;
    }
    
    .compact-view .bureau-card h4 {
        font-size: 16px;
        padding-bottom: 5px;
    }
    
    .compact-view .bureau-info p {
        margin: 5px 0;
        padding-bottom: 5px;
    }
    
    .compact-view .bureau-price {
        font-size: 16px;
        margin-top: 10px;
    }
    
    /* Bouton pour basculer entre vue normale et compacte */
    .view-toggle {
        display: block;
        width: 100%;
        padding: 10px;
        background-color: #f0f0f0;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-align: center;
        margin-bottom: 15px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .view-toggle:hover {
        background-color: #e0e0e0;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px 0;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 0;
        padding: 15px 20px;
        text-align: center;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Section SEO */
.seo-section {
    padding: 60px 0;
    margin-top: 30px;
}

.seo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.seo-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.seo-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Pages légales */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 150px 20px 40px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.legal-content p, .legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #666;
    text-align: justify;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ol {
    padding-left: 20px;
    list-style-type: decimal;
}

.legal-content ul li, .legal-content ol li {
    margin-bottom: 10px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    min-width: fit-content;
}

.cookie-btn {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    border: none;
    white-space: nowrap;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 576px) {
    .cookie-consent {
        flex-direction: column;
        padding: 15px;
    }
    
    .cookie-text {
        padding-right: 0;
        padding-bottom: 15px;
        text-align: center;
    }
 
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
/* ===== LIGHTBOX GALERIE ===== */
.galerie-zoom-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    flex-shrink: 0;
}

.galerie-item:hover .galerie-zoom-icon {
    opacity: 1;
    transform: scale(1);
    background: rgba(122, 181, 29, 0.9);
    border-color: transparent;
}

.galerie-zoom-icon i {
    font-size: 13px;
    color: #fff;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    user-select: none;
}

.lightbox-caption {
    color: #fff;
    margin-top: 14px;
    font-size: 1rem;
    text-align: center;
    opacity: 0.85;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: fixed;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s, transform 0.15s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(122, 181, 29, 0.75);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 576px) {
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 10px; right: 10px; }
}

/* ═══════════════════════════════════════
   FAQ SECTION
═══════════════════════════════════════ */
#faq {
  padding: 50px 0;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-question i {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.faq-answer.open {
  max-height: 400px;
  padding-bottom: 18px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 0.97rem;
  text-align: justify;
}

/* ═══════════════════════════════════════
   RESPONSIVE MOBILE — COMPLÉMENTS
═══════════════════════════════════════ */

/* ── Tablette (768px) */
@media (max-width: 768px) {
    /* Tarif card : hauteur fixe supprimée */
    .tarif-card {
        height: auto;
        min-height: unset;
    }

    /* Featured card : scale désactivé (déborde en colonne) */
    .tarif-card.featured {
        transform: none;
    }
    .tarif-card.featured:hover {
        transform: translateY(-5px);
    }

    /* Tarifs détails : padding réduit */
    .tarifs-details {
        padding: 24px 18px;
    }

    /* Pourquoi FlexiDesk : gap réduit */
    .pourquoi-grid {
        gap: 28px;
    }

    /* Avantages list : taille réduite */
    .avantages-list li {
        font-size: 1rem;
    }

    /* Galerie grid : 1 colonne sur petits écrans */
    .galerie-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* ── Mobile (576px) */
@media (max-width: 576px) {
    /* FAQ */
    #faq {
        padding: 36px 0;
    }

    .faq-question {
        font-size: 0.92rem;
        padding: 16px 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* Galerie : 1 colonne forcée */
    .galerie-grid {
        grid-template-columns: 1fr;
    }

    /* SEO text : taille réduite */
    .seo-content p {
        font-size: 1rem;
    }

    /* Tarif card : padding réduit */
    .tarif-card {
        padding: 22px 18px;
    }

    /* Tarif prix : taille réduite */
    .tarif-prix {
        font-size: 2rem;
    }

    /* Avantages list */
    .avantages-list li {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    /* Section SEO padding */
    .seo-section {
        padding: 36px 0;
    }
}

/* ── Galerie : bouton voir plus mobile */
.galerie-voir-plus-wrap {
    display: none;
    text-align: center;
    margin-top: 24px;
}

@media (max-width: 576px) {
    .galerie-voir-plus-wrap {
        display: block;
    }

    .galerie-item.galerie-hidden-mobile {
        display: none;
    }

    .galerie-item.galerie-hidden-mobile.galerie-revealed {
        display: block;
    }
}
