/* Flat design — KOSY SOLUTIONS */
:root {
    --primary-color: #155176;
    --primary-light: #1a6b94;
    --primary-dark: #0f3d56;
    --primary-ultra-light: #e8f2f7;
    --white: #ffffff;
    --light-blue: #f0f7fa;
    --medium-blue: #d4e4ec;
    --dark-gray: #2c3e50;
    --text-light: #5a6c7d;
    --accent: #f39c12;

    /* Ombres plates (peu de flou, décalage net) */
    --shadow-sm: 0 1px 0 rgba(21, 81, 118, 0.08);
    --shadow: 0 2px 0 rgba(21, 81, 118, 0.06), 0 6px 16px rgba(21, 81, 118, 0.08);
    --shadow-lg: 0 3px 0 rgba(21, 81, 118, 0.05), 0 10px 24px rgba(21, 81, 118, 0.1);
    --shadow-xl: 0 4px 0 rgba(21, 81, 118, 0.04), 0 16px 32px rgba(21, 81, 118, 0.12);
    --shadow-header: 0 2px 0 rgba(0, 0, 0, 0.08), 0 4px 12px rgba(15, 61, 86, 0.15);

    /* Bords peu arrondis — flat */
    --border-radius: 2px;
    --border-radius-lg: 2px;
    --border-radius-xl: 4px;

    --transition: all 0.22s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Header avec dominance bleue */
.header {
    background: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    overflow: visible;
}

.navbar {
    padding: 1rem 0;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Logo en blanc */
}

.brand-text {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0.35rem;
    position: relative;
    transition: var(--transition);
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    opacity: 1;
}

/* Soulignement uniquement sur la page active (pas au survol) */
.nav-link::after {
    display: none;
}

.nav-link.active {
    font-weight: 600;
}

.nav-link:hover:not(.active) {
    color: var(--accent);
}

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

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--light-blue);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-third {
    background: transparent;
    
    border: 2px solid var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-outline-price {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(31, 21, 21, 0.3);
}

.btn-outline-price:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--dark-gray);
}

/* Hero Section - Gradient bleu dominant */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 140px 0 72px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Section - Fond bleu clair */
.services {
    padding: 72px 0;
    background: var(--light-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--medium-blue);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: var(--primary-ultra-light);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.service-badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* Section Pourquoi nous choisir - Fond bleu */
.why-choose-us {
    padding: 72px 0;
    background: var(--primary-color);
    color: var(--white);
}

.why-choose-us .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.why-choose-us .section-title {
    color: var(--white);
}

.why-choose-us .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-features {
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Section Pourquoi nous choisir (suite) */
.why-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.why-info p {
    color: rgba(255, 255, 255, 0.8);
}

.why-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    max-width: 300px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.visual-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Contact Section - Fond bleu clair */
.contact {
    padding: 72px 0;
    background: var(--light-blue);
}

.contact .section-badge {
    background: var(--primary-color);
    color: var(--white);
}

.contact .section-title {
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--medium-blue);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-status.online {
    background: var(--primary-color);
    color: var(--white);
}

/* Formulaire de contact */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-blue);
}

.contact-form {
    width: 100%;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--medium-blue);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(21, 81, 118, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer - Bleu foncé */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section i {
    color: var(--accent);
    margin-right: 0.5rem;
}

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

/* Menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Messages d'alerte avec couleurs bleues */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(21, 81, 118, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--accent);
    color: #92400e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Menu mobile : voir css/mobile-nav.css */

@media (max-width: 768px) {
    .lang-select {
        min-width: 110px;
        max-width: 130px;
        font-size: 0.8rem;
        padding-right: 1.75rem;
    }

    .nav-extras {
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .nav-brand {
        flex: 1;
        min-width: 0;
    }

    /* Boutons : retour à la ligne sur petits écrans (évite le débordement) */
    .btn:not(.btn-nav) {
        white-space: normal;
        line-height: 1.35;
        max-width: 100%;
    }

    .cta-actions .btn,
    .cta-actions .btn-large,
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service-pricing .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 120px 0 56px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }

    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 1.5rem;
        margin-bottom: 1.15rem;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.15rem;
    }

    .footer-logo {
        margin-bottom: 0.5rem;
        max-width: 130px;
    }

    .footer-brand > p {
        margin: 0 auto;
        max-width: 26rem;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .footer-social {
        justify-content: center;
        margin-top: 0.65rem;
        gap: 0.5rem;
    }

    .footer-social:empty {
        display: none;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
    }

    .footer-section h3,
    .footer-section h4 {
        margin-bottom: 0.55rem;
        font-size: 0.92rem;
        letter-spacing: 0.02em;
    }

    .footer-section p,
    .footer-section li {
        margin-bottom: 0.25rem;
        font-size: 0.84rem;
        line-height: 1.35;
    }

    .footer-section ul {
        margin: 0;
        padding: 0;
    }

    .footer-bottom {
        padding-top: 0.9rem;
    }

    .footer-bottom p {
        margin: 0.2rem 0;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .footer-stats {
        margin-bottom: 0.4rem;
    }

    .footer-stats-link {
        justify-content: center;
        font-size: 0.72rem;
        gap: 0.25rem 0.35rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .services,
    .why-choose-us,
    .contact {
        padding: 48px 0;
    }

    /* Logo responsive */
    .logo {
        width: 130px;
    }

    .header {
        padding: 0;
    }

    .header-bar {
        padding: 0.65rem 0;
    }

    /* Contenu visible sans attendre l'animation scroll */
    .reveal,
    .service-section,
    .feature-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .service-section.animate,
    .feature-item.animate {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 44px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .why-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
        white-space: nowrap;
    }
    
    .stat {
        padding: 1rem;
    }

    .logo {
        width: 120px;
    }
    
    .navbar {
        padding: 0.7rem 0;
    }
    
    .nav-extras {
        gap: 0.5rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Animation du logo au hover */
.logo {
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

/* Ajustement de la hauteur du header pour le logo plus grand */
.navbar {
    padding: 0.8rem 0;
}

/* Compensation header fixe (une seule fois, pas en plus du padding hero-* ) */
.hero:not([class*="hero-"]) {
    padding-top: 100px;
}

@media (max-width: 768px) {
    .hero:not([class*="hero-"]) {
        padding-top: 88px;
    }

    .hero[class*="hero-"] {
        padding-top: 88px;
    }
}

@media (max-width: 480px) {
    .hero:not([class*="hero-"]) {
        padding-top: 80px;
    }

    .hero[class*="hero-"] {
        padding-top: 80px;
    }
}

/* Animations avec couleurs bleues */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Effet de scroll sur le header */
.header.scrolled {
    background: var(--primary-dark);
    box-shadow: var(--shadow-xl);
}

/* Utilitaires avec couleurs bleues */
.text-primary { color: var(--primary-color); }
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }

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

.border-primary { border-color: var(--primary-color); }
.border-light { border-color: var(--medium-blue); }

/* Boutons supplémentaires avec dominance bleue */
.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

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

.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* === PAGE SERVICES === */

/* Hero Services */
.hero-services {
    padding: 120px 0 48px;
    min-height: auto;
}

/* Services Detail Section */
.services-detail {
    padding: 48px 0 64px;
    background: var(--white);
}

.services-detail .section-header {
    margin-bottom: 2rem;
}

.service-section {
    margin-bottom: 120px;
    padding: 60px 0 60px 60px;
    border-radius: var(--border-radius-xl);
    background: var(--light-blue);
}

.service-section:last-child {
    margin-bottom: 0;
}

.service-section.reverse {
    background: var(--primary-ultra-light);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-section.reverse .service-content {
    grid-template-columns: 1fr 1fr;
}

.service-header-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-meta {
    flex: 1;
}

.service-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-meta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Features Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--medium-blue);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Service Pricing */
.service-pricing {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Service Visual */
.service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card-large {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.visual-card-large::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.visual-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.visual-stats .stat-item {
    text-align: center;
    min-width: 0;
    padding: 0 0.35rem;
}

.visual-stats .stat-item .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.35rem;
    line-height: 1.1;
}

.visual-stats .stat-item .stat-label {
    display: block;
    font-size: 0.85rem;
    line-height: 1.35;
    opacity: 0.9;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.visual-icon-large {
    font-size: 4rem;
    opacity: 0.8;
}

/* Process Section */
.process-section {
    padding: 72px 0;
    background: var(--primary-color);
    color: var(--white);
}

.process-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.process-section .section-title {
    color: var(--white);
}

.process-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent);
    backdrop-filter: blur(10px);
}

.step-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.cta-section .btn-third {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--white);
}

.cta-section .btn-third:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.cta-section {
    padding: 56px 0;
    background: var(--light-blue);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Responsive Services */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-section.reverse .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-pricing {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-services {
        padding: 88px 0 40px;
        min-height: auto;
    }

    .services-detail {
        padding: 32px 0 48px;
    }

    .services-detail .section-header {
        margin-bottom: 1.5rem;
    }
    
    .service-section {
        margin-bottom: 48px;
        padding: 24px 16px;
    }

    /* Texte avant la carte visuelle sur mobile */
    .service-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .service-section .service-info {
        order: 1;
    }

    .service-section .service-visual {
        order: 2;
    }

    .service-visual .visual-card-large {
        min-height: auto;
        padding: 1.5rem;
    }

    .visual-card-large .visual-stats {
        gap: 0.75rem 1.25rem;
    }

    .visual-card-large .visual-stats .stat-item .stat-label {
        font-size: 0.8rem;
        padding: 0 0.25rem;
    }
    
    .service-header-detail {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-meta h3 {
        font-size: 1.5rem;
    }
    
    .service-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .visual-icon-large {
        font-size: 3rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .service-section {
        padding: 30px 15px;
        margin-bottom: 60px;
    }
    
    .service-features-grid {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .visual-card-large {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Animations page services — visible par défaut (évite écrans vides) */
.service-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* === PAGE TARIFS === */

/* Hero Tarifs */
.hero-tarifs {
    padding: 120px 0 48px;
    min-height: auto;
}

/* Section Pricing */
.pricing-section {
    padding: 72px 0;
    background: var(--light-blue);
}

.service-pricing-section {
    margin-bottom: 80px;
}

.service-pricing-section:last-child {
    margin-bottom: 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
}

.pricing-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Grille de prix */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.pricing-card-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: var(--primary-ultra-light);
}

.pricing-card-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.pricing-card-footer .btn {
    width: 100%;
}

/* Maintenance Pricing */
.maintenance-pricing {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.maintenance-pricing h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.maintenance-pricing h4 i {
    margin-right: 0.5rem;
}

.maintenance-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.maintenance-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--medium-blue);
    transition: var(--transition);
}

.maintenance-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.maintenance-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.maintenance-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.maintenance-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

/* Section Avantages */
.benefits-section {
    padding: 72px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--medium-blue);
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Tarifs */
.pricing-faq {
    padding: 72px 0;
    background: var(--primary-color);
    color: var(--white);
}

.pricing-faq .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.pricing-faq .section-title {
    color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section .btn-third {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--white);
}

.cta-section .btn-third:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.cta-section {
    padding: 56px 0;
    background: var(--light-blue);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Formulaire de devis */
.pricing-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pricing-form .form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23155176' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Responsive Tarifs */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-tarifs {
        padding: 88px 0 40px;
        min-height: auto;
    }
    
    .pricing-section,
    .benefits-section,
    .pricing-faq {
        padding: 48px 0;
    }
    
    .service-pricing-section {
        margin-bottom: 60px;
    }
    
    .pricing-header {
        padding: 1.5rem;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .pricing-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .pricing-card-body {
        padding: 1.5rem;
    }
    
    .maintenance-options {
        grid-template-columns: 1fr;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card-header,
    .pricing-card-body {
        padding: 1rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Animations pour la page tarifs */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.benefit-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.faq-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.faq-item.animate {
    opacity: 1;
    transform: translateX(0);
}

/* === PAGE À PROPOS === */

/* Hero About */
.hero-about {
    padding: 120px 0 48px;
    min-height: auto;
}

/* Section Notre Histoire */
.our-story {
    padding: 72px 0;
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Timeline */
.story-timeline {
    position: relative;
    padding-left: 2rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Story Visual */
.story-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.story-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.story-stats .stat-item {
    text-align: center;
}

.story-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.story-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.story-icon {
    font-size: 3rem;
    opacity: 0.8;
    color: var(--accent);
}

/* Section Nos Valeurs */
.our-values {
    padding: 72px 0;
    background: var(--light-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--medium-blue);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Notre Équipe */
.our-team {
    padding: 72px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--light-blue);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--medium-blue);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.member-photo {
    height: 200px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.member-info {
    padding: 2rem;
}

.member-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    display: block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section Notre Approche */
.our-approach {
    padding: 72px 0;
    background: var(--primary-color);
    color: var(--white);
}

.our-approach .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.approach-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.approach-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.approach-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.point-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.point-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Approach Visual */
.approach-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.approach-circle {
    width: 250px;
    height: 250px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 20s linear infinite;
}

.approach-circle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: rotate 10s linear infinite reverse;
}

.circle-content {
    text-align: center;
}

.circle-content h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.circle-content p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section Témoignages */
.testimonials {
    padding: 72px 0;
    background: var(--light-blue);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--medium-blue);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 1rem;
}

.testimonial-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Section Nos Engagements */
.our-commitments {
    padding: 72px 0;
    background: var(--white);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--medium-blue);
}

.commitment-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.commitment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.commitment-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive About */
@media (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-about {
        padding: 88px 0 40px;
        min-height: auto;
    }
    
    .our-story,
    .our-values,
    .our-team,
    .our-approach,
    .testimonials,
    .our-commitments {
        padding: 48px 0;
    }
    
    .story-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .story-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .member-photo {
        height: 150px;
    }
    
    .photo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .approach-circle {
        width: 200px;
        height: 200px;
    }
    
    .circle-content h3 {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .commitments-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .commitment-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .story-intro {
        font-size: 1rem;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .story-stats {
        gap: 1rem;
    }
    
    .story-stats .stat-number {
        font-size: 2rem;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .approach-content > p {
        font-size: 1rem;
    }
    
    .approach-points {
        gap: 1rem;
    }
    
    .approach-point {
        flex-direction: column;
        text-align: center;
    }
    
    .approach-circle {
        width: 180px;
        height: 180px;
    }
    
    .circle-content h3 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .commitment-card {
        padding: 1.5rem;
    }
}

/* Animations pour la page à propos */
.value-card,
.team-member,
.testimonial-card,
.commitment-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.value-card.animate,
.team-member.animate,
.testimonial-card.animate,
.commitment-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.approach-point {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.approach-point.animate {
    opacity: 1;
    transform: translateX(0);
}

/* === PAGE FAQ === */

/* Hero FAQ */
.hero-faq {
    padding: 120px 0 48px;
    min-height: auto;
}

/* Section FAQ */
.faq-section {
    padding: 72px 0;
    background: var(--light-blue);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid var(--medium-blue);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-ultra-light);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 1rem;
}

.faq-question i {
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.4s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Augmentez si les réponses sont longues */
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    border-top: 1px solid var(--medium-blue);
    padding-top: 1.5rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .hero-faq {
        padding: 88px 0 40px;
        min-height: auto;
    }
    
    .faq-section {
        padding: 48px 0;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
}

/* Animations pour la page FAQ */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.faq-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* === Accessibilité & utilitaires === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    z-index: 10001;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

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

.btn-accent:hover {
    background: #e08e0b;
    border-color: #e08e0b;
    color: var(--white);
}

.btn-nav {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-brand {
    text-decoration: none;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === Footer enrichi === */
.footer-logo {
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
    max-width: 160px;
    height: auto;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social:empty {
    display: none;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--white);
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-cta {
    font-weight: 600;
    color: var(--accent) !important;
}

.footer-url a {
    color: rgba(255, 255, 255, 0.6);
}

/* Produits / solutions KOSY */
.kosy-products {
    padding: 56px 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem;
    background: var(--light-blue);
    border: 2px solid var(--medium-blue);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-ultra-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.25rem;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin: 0;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.product-card:hover .product-card-link {
    color: var(--primary-color);
}

/* Projets clients + avis Google */
.client-projects {
    padding: 56px 0 48px;
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(21, 81, 118, 0.08), transparent 55%),
        linear-gradient(180deg, var(--light-blue) 0%, var(--white) 70%);
}

.projects-carousel {
    position: relative;
    margin: 0 auto 2.25rem;
    max-width: 920px;
}

.projects-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.35rem 0.25rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.projects-carousel-track::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 min(72vw, 240px);
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 240px;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border: 1px solid rgba(21, 81, 118, 0.14);
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover,
.project-card:focus-visible {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 61, 86, 0.12);
    text-decoration: none;
    color: inherit;
    outline: none;
}

.project-card-media {
    position: relative;
    width: 100%;
    height: 118px;
    background: linear-gradient(145deg, #f4f8fb 0%, #e7eef3 100%);
    overflow: hidden;
}

.project-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 1rem 1.15rem;
    box-sizing: border-box;
    display: block;
    transition: transform 0.35s ease;
}

.project-card:hover .project-card-media img {
    transform: scale(1.04);
}

.project-card-media--empty {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark, #0f3d56));
}

.project-card-media--empty .project-card-fallback,
.project-card-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.project-card-body {
    padding: 0.85rem 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px solid rgba(21, 81, 118, 0.08);
}

.project-card-body h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.3;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
}

.project-card:hover .project-card-link {
    gap: 0.55rem;
    text-decoration: none;
}

.projects-carousel-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(21, 81, 118, 0.18);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.projects-carousel-nav.prev { left: -6px; }
.projects-carousel-nav.next { right: -6px; }

.projects-carousel-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.projects-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.projects-carousel-dot {
    width: 7px;
    height: 7px;
    border: 0;
    padding: 0;
    border-radius: 0;
    background: rgba(21, 81, 118, 0.22);
    cursor: pointer;
}

.projects-carousel-dot.is-active {
    background: var(--accent);
    width: 18px;
}

.projects-empty {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.projects-reviews {
    border-top: 1px solid rgba(21, 81, 118, 0.12);
    padding-top: 1.75rem;
}

.projects-reviews-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.projects-reviews-head h3 {
    margin: 0 0 0.35rem;
    color: var(--primary-color);
}

.projects-reviews-head p {
    margin: 0;
    color: var(--text-light);
    max-width: 40rem;
}

.projects-reviews-score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    color: var(--primary-color);
}

.projects-reviews-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.projects-reviews-empty-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: var(--white);
    border: 1px dashed var(--medium-blue);
}

.projects-reviews-empty-box p {
    margin: 0;
    color: var(--text-light);
    max-width: 36rem;
}

.projects-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-review-card {
    background: var(--white);
    border: 1px solid var(--medium-blue);
    padding: 1.1rem 1.15rem;
}

.project-review-card p {
    margin: 0.5rem 0 0.85rem;
    color: var(--text-color);
    line-height: 1.55;
}

.project-review-card footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.project-review-card footer strong {
    color: var(--primary-color);
}

.project-review-card footer span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.dash-projects-panel {
    margin-bottom: 1.5rem;
}

.dash-projects-grid .dash-cat-actions {
    padding: 0 0.75rem 0.75rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dash-reviews-panel {
    margin-bottom: 1.5rem;
}

.dash-reviews-panel form .form-row {
    grid-template-columns: 1.2fr 0.6fr 1fr;
}

.dash-reviews-meta {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--medium-blue);
}

.dash-reviews-panel form.dash-reviews-meta .form-row {
    grid-template-columns: 1fr 1fr;
}

.dash-reviews-panel textarea,
.dash-reviews-panel select {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--medium-blue);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--text-color);
}

.dash-reviews-panel textarea {
    resize: vertical;
    margin-bottom: 0.4rem;
}

.dash-reviews-panel .dash-cat-edit select {
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .dash-reviews-panel form .form-row,
    .dash-reviews-panel form.dash-reviews-meta .form-row {
        grid-template-columns: 1fr;
    }
}

.dash-media-card--editing {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.dash-project-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .products-grid,
    .projects-reviews-grid {
        grid-template-columns: 1fr;
    }

    .projects-carousel {
        max-width: 100%;
    }

    .projects-carousel-nav.prev { left: 0; }
    .projects-carousel-nav.next { right: 0; }

    .project-card {
        flex-basis: min(78vw, 220px);
        max-width: 220px;
    }

    .project-card-media {
        height: 104px;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {
    .projects-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Bandeau CTA accueil */
.quick-cta {
    padding: 3rem 0;
    background: linear-gradient(90deg, var(--primary-ultra-light), var(--light-blue));
}

.quick-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--medium-blue);
}

.quick-cta h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.quick-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === Kosy PICS === */
.hero-pics {
    padding: 120px 0 48px;
    min-height: auto;
}

.pics-services {
    padding: 48px 0;
    background: var(--white);
}

.pics-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pics-service-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-blue);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--medium-blue);
    transition: var(--transition);
}

.pics-service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pics-service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.social-banner {
    padding: 56px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
}

.social-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.social-banner .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.social-banner h2 {
    color: var(--white);
    margin: 1rem 0;
    font-size: 2rem;
}

.social-banner p {
    opacity: 0.9;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.social-link-card i:first-child {
    font-size: 1.5rem;
    width: 32px;
    text-align: center;
}

.social-link-card .social-external {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.6;
}

.social-link-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(6px);
    color: var(--white);
}

.gallery-section {
    padding: 64px 0;
    background: var(--light-blue);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.gallery-filter {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--medium-blue);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--primary-dark);
    aspect-ratio: 4/3;
}

.gallery-item-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-trigger:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(21, 81, 118, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-item-trigger:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(15, 61, 86, 0.9));
    color: var(--white);
    font-weight: 600;
    text-align: left;
}

.gallery-item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.gallery-note {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.gallery-note code {
    background: var(--white);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox[hidden] {
    display: none !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 61, 86, 0.92);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.lightbox-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.lightbox-media img {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
}

.lightbox-media iframe,
.lightbox-media video {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: var(--border-radius-lg);
}

.lightbox-media video {
    background: #000;
    max-height: 75vh;
}

/* === Page Devis === */
.hero-devis {
    padding: 120px 0 48px;
    min-height: auto;
}

.devis-benefits {
    padding: 48px 0;
    background: var(--white);
}

.devis-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.devis-benefit {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--medium-blue);
}

.devis-benefit i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.devis-benefit a {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .social-banner-inner {
        grid-template-columns: 1fr;
    }
    .pics-services-grid,
    .devis-benefits-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Flat — cartes & champs (coins quasi droits) */
.service-card,
.pricing-card,
.contact-card,
.visual-card,
.visual-card-large,
.faq-item,
.value-card,
.testimonial-card,
.commitment-card,
.quick-cta-inner,
.gallery-item-trigger,
.pics-service-card,
.devis-benefit,
.story-card,
.contact-form-container,
.maintenance-option,
.social-link-card,
.lang-btn,
.btn,
.alert,
.form-group input,
.form-group select,
.form-group textarea,
.section-badge,
.service-badge,
.pricing-badge,
.gallery-item-badge,
.skip-link {
    border-radius: var(--border-radius) !important;
}

.pricing-card.featured,
.service-card.featured {
    box-shadow: var(--shadow-lg);
}

/* Témoignages Google + sélecteur langue */
.testimonial-stars i.empty {
    color: var(--medium-blue);
    opacity: 0.35;
}

.testimonial-card--google {
    border-left: 3px solid #4285f4;
}

.testimonial-source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4285f4;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.google-rating-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--medium-blue);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.google-rating-banner--link-only {
    justify-content: center;
    text-align: center;
}

.google-rating-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.google-rating-score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.google-rating-score strong {
    font-size: 1.75rem;
}

.google-rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.btn-google {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--medium-blue);
    box-shadow: var(--shadow-sm);
}

.btn-google:hover {
    border-color: #4285f4;
    color: #4285f4;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lang-select-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-select-label {
    color: var(--white);
    display: flex;
    align-items: center;
    margin: 0;
}

.lang-select {
    appearance: none;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.45rem 2rem 0.45rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    min-width: 130px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
}

.lang-select:hover,
.lang-select:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.lang-select option {
    color: var(--primary-color);
    background: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Statistiques de visite */
.footer-stats {
    margin-bottom: 0.75rem;
}

.footer-stats-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.8rem;
    cursor: default;
}

.footer-stats-link i {
    color: var(--accent);
    margin-right: 0.15rem;
}

.footer-stats-link strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.footer-stats-sep {
    opacity: 0.4;
}

.stats-page {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 70vh;
    background: var(--light-blue);
}

.stats-hero .section-header {
    margin-bottom: 2rem;
}

.stats-login {
    max-width: 420px;
    margin: 0 auto;
    padding: 1.75rem;
    background: var(--white);
    border: 2px solid var(--medium-blue);
    box-shadow: var(--shadow);
}

.stats-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.stats-updated {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.stats-card {
    background: var(--white);
    border: 2px solid var(--medium-blue);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stats-card-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.stats-card-value {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-card-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.stats-total {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.stats-chart-wrap {
    background: var(--white);
    border: 2px solid var(--medium-blue);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.stats-chart-wrap h2 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.stats-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    height: 180px;
    padding-top: 1.5rem;
}

.stats-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
}

.stats-bar {
    width: 100%;
    max-width: 28px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
    min-height: 4px;
}

.stats-bar-label {
    margin-top: 0.4rem;
    font-size: 0.65rem;
    color: var(--text-light);
    white-space: nowrap;
}

.stats-bar-value {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
}

.stats-note {
    color: var(--text-light);
    font-size: 0.85rem;
    text-align: center;
}

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

    .stats-chart {
        height: 140px;
        overflow-x: auto;
    }

    .stats-bar-col {
        min-width: 28px;
    }
}

/* === Dashboard galerie === */
.dash-page {
    padding: 110px 0 70px;
    background: var(--light-blue);
    min-height: 80vh;
}

.dash-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Boutons lisibles sur fond clair (évite blanc sur blanc) */
.dash-toolbar .btn-secondary,
.dash-toolbar .btn-outline,
.dash-panel .btn-outline,
.stats-toolbar .btn-outline,
.stats-page .btn-outline {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.dash-toolbar .btn-secondary:hover,
.dash-toolbar .btn-outline:hover,
.dash-panel .btn-outline:hover,
.stats-toolbar .btn-outline:hover,
.stats-page .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.dash-panel .btn-primary,
.stats-login .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.dash-panel .btn-primary:hover,
.stats-login .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.dash-panel {
    background: var(--white);
    border: 2px solid var(--medium-blue);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.dash-panel h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.dash-form .form-group { margin-bottom: 0.85rem; }
.dash-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dash-hint {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.dash-cat-list {
    list-style: none;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-cat-item {
    border: 1px solid var(--medium-blue);
    padding: 0.85rem;
    background: var(--light-blue);
}

.dash-cat-edit input {
    width: 100%;
    margin-bottom: 0.4rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--medium-blue);
    font-family: inherit;
}

.dash-cat-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.dash-cat-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.dash-inline-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--medium-blue);
}

.dash-check {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-danger {
    background: #c0392b;
    color: #fff;
    border: none;
}

.btn-danger:hover { background: #a93226; color: #fff; }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.85rem; }

.dash-media-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.dash-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.dash-media-card {
    border: 1px solid var(--medium-blue);
    background: var(--light-blue);
    overflow: hidden;
}

.dash-media-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: #0f3d56;
}

.dash-media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-media-thumb i {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    color: #fff;
    font-size: 1.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.dash-media-meta {
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dash-media-meta strong {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.dash-media-meta span {
    color: var(--text-light);
    font-size: 0.75rem;
}

.dash-media-card form { padding: 0 0.75rem 0.75rem; }
.dash-empty { color: var(--text-light); }

@media (max-width: 900px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-form .form-row { grid-template-columns: 1fr; }
}

/* === Galerie showcase (publique) === */
.gallery-showcase { background: #0a2433; color: #fff; }
.gallery-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 60px;
    background:
        linear-gradient(120deg, rgba(15,61,86,.92), rgba(21,81,118,.55)),
        url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b9?w=1600&q=80') center/cover;
}

.gallery-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.gallery-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.gallery-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}
.gallery-hero p {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.gallery-featured { padding: 2rem 0 1rem; }
.showcase-carousel,
.theme-carousel {
    position: relative;
}

.carousel-track,
.theme-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 0.5rem 2.5rem;
}

.carousel-track::-webkit-scrollbar,
.theme-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb,
.theme-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); }

.carousel-slide {
    flex: 0 0 min(78vw, 520px);
    scroll-snap-align: start;
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.carousel-slide:hover img { transform: scale(1.04); }

.carousel-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
    font-weight: 600;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,61,86,.75);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }
.carousel-nav:hover { background: var(--accent); border-color: var(--accent); }

.gallery-themes { padding: 1rem 0 5rem; }
.theme-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.theme-pill em {
    font-style: normal;
    opacity: 0.55;
    font-size: 0.8rem;
}

.theme-pill:hover,
.theme-pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.theme-block { margin-bottom: 3rem; }
.theme-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 2.5rem;
}

.theme-head h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.theme-head p {
    color: rgba(255,255,255,.65);
    margin: 0;
}

.theme-count {
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.theme-card {
    flex: 0 0 min(70vw, 300px);
    scroll-snap-align: start;
    position: relative;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
    filter: saturate(1.05);
}

.theme-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.15);
}

.theme-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.8));
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
    color: #fff;
}

.theme-card-overlay span {
    font-size: 0.8rem;
    opacity: 0.75;
}

.gallery-empty {
    text-align: center;
    color: rgba(255,255,255,.7);
    padding: 3rem 1rem;
}

@media (max-width: 768px) {
    .theme-head { padding: 0 0.5rem; flex-direction: column; align-items: flex-start; }
    .carousel-track,
    .theme-track { padding: 0.5rem 1.75rem; }
}

/* === Rythme vertical : sections voisines de même fond ===
   Deux sections light-blue collées cumulaient leurs paddings (jusqu'à 200px
   de vide plat sans changement de couleur pour le justifier). */
.gallery-section + .cta-section,
.faq-section + .cta-section,
.cta-section + .contact {
    padding-top: 0;
}
