/* =============================================
   CLEANSOLUCE - FEUILLE DE STYLE PRINCIPALE
   ============================================= */

/* ========== VARIABLES CSS ========== */
:root {
    /* Couleurs principales */
    --primary-color: #3AA8F7;
    --primary-dark: #2996E5;
    --primary-light: #5CB8FF;
    --secondary-color: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --border-color: #dee2e6;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    
    /* Breakpoints */
    --mobile: 576px;
    --tablet: 768px;
    --desktop: 992px;
    --wide: 1200px;
}

/* ========== GOUTTES D'EAU DESIGN ========== */
.water-drops-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.water-drop {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.15;
    animation: fall linear infinite;
}

.water-drop::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.9) 0%, 
        #3AA8F7 30%, 
        #3AA8F7 60%, 
        #2996E5 100%
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: inset -2px -2px 4px rgba(0, 0, 0, 0.2),
                inset 2px 2px 4px rgba(255, 255, 255, 0.8),
                0 2px 4px rgba(58, 168, 247, 0.3);
}

.water-drop::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    border-radius: 50%;
}

/* Tailles variées */
.water-drop.small {
    width: 12px;
    height: 12px;
}

.water-drop.small::after {
    width: 4px;
    height: 4px;
    top: 3px;
    left: 3px;
}

.water-drop.large {
    width: 35px;
    height: 35px;
    opacity: 0.2;
}

.water-drop.large::after {
    width: 9px;
    height: 9px;
    top: 8px;
    left: 8px;
}

/* Animation de chute */
@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* Gouttes statiques décoratives */
.static-drop {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.15;
}

.static-drop::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(58, 168, 247, 0.4) 30%, 
        rgba(58, 168, 247, 0.6) 60%, 
        rgba(41, 150, 229, 0.7) 100%
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(-45deg);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-width: 320px;
}

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

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

ul {
    list-style: none;
}

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

/* ========== UTILITIES ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px rgba(58, 168, 247, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 168, 247, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-gray);
    transform: translateY(-2px);
}

/* Error state */
input.error,
select.error,
textarea.error {
    border-color: #dc3545 !important;
}

/* Skip to content pour accessibilité */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    min-height: 70px;
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
    font-family: 'Inter', 'Helvetica Neue', 'Arial Black', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    transform: rotate(-3deg);
    display: inline-block;
}

/* Alternative EFFET 2: Effet eau/brillant pour SOLUCE */
.logo-text-water {
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
    font-family: 'Inter', 'Helvetica Neue', 'Arial Black', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    transform: rotate(-3deg);
    display: inline-block;
}

.logo-clean-water {
    color: var(--text-dark);
}

.logo-soluce-water {
    background: linear-gradient(45deg, #3AA8F7 0%, #5bc0eb 50%, #3AA8F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Alternative EFFET 3: Effet lustré simple */
.logo-text-shine {
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
    font-family: 'Inter', 'Helvetica Neue', 'Arial Black', sans-serif;
    text-transform: uppercase;
    font-style: italic;
    transform: rotate(-3deg);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    filter: drop-shadow(0 0 5px rgba(58, 168, 247, 0.3));
}

.logo-clean {
    color: var(--text-dark);
}

/* EFFET 2 : Ombre portée profonde (classe: logo-clean-shadow) */
.logo-clean-shadow {
    color: #000;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4), 1px 1px 0px rgba(255,255,255,0.1);
}

/* EFFET 3 : Brillance chrome (classe: logo-clean-chrome) */
.logo-clean-chrome {
    background: linear-gradient(45deg, #e8e8e8 0%, #fff 25%, #e8e8e8 50%, #c0c0c0 75%, #a8a8a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* EFFET 4 : Noir mat avec contour fin (classe: logo-clean-matte) */
.logo-clean-matte {
    color: #1a1a1a;
    text-shadow: 0 0 1px rgba(0,0,0,0.8), 1px 1px 2px rgba(255,255,255,0.1);
}

/* EFFET 5 : Dégradé noir vers gris foncé (classe: logo-clean-fade) */
.logo-clean-fade {
    background: linear-gradient(to bottom, #000 0%, #2d2d2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-soluce {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
    border-radius: 2px;
}

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

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

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

/* ========== FOOTER ========== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

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

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

.footer-section p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-section i {
    margin-right: var(--spacing-xs);
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition-fast);
    font-size: 1.8rem;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-lg) 0;
        gap: var(--spacing-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes d'animation */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(58, 168, 247, 0.2) 100%
    );
    z-index: 1;
}

/* Image de secours pour la bannière */
.hero-fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.77vh; /* 16:9 aspect ratio */
    height: 56.25vw; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* Iframe YouTube spécifique */
iframe.hero-video {
    border: none;
}

/* Vidéo en arrière-plan optimisée */
video.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--spacing-xl) 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-primary {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.btn-secondary:hover {
    background-color: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xxl);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-feature i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    display: inline-block;
    padding: 10px;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    transition: var(--transition-fast);
}

.scroll-down:hover {
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========== VIDEO SECTION ========== */
.video-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

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

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

/* Responsive pour la section vidéo */
@media (max-width: 768px) {
    .video-section {
        padding: var(--spacing-xl) 0;
        position: relative;
        z-index: 1;
    }
    
    .video-container {
        padding: 0 var(--spacing-sm);
        position: relative;
        z-index: 1;
    }
    
    .video-wrapper {
        border-radius: 8px;
        box-shadow: var(--shadow-md);
        max-width: 100%;
        position: relative;
    }
    
    .video-wrapper iframe {
        pointer-events: none;
    }
    
    .video-wrapper:hover iframe,
    .video-wrapper:focus-within iframe {
        pointer-events: auto;
    }
}

/* Très petits écrans (mobiles < 480px) */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .video-container {
        padding: 0 var(--spacing-xs);
        max-width: 100%;
        overflow: hidden;
    }
    
    .video-wrapper {
        max-height: 250px;
    }
    
    /* Empêche la vidéo de bloquer le scroll */
    .video-section {
        overflow: hidden;
        position: relative;
    }
}

/* Optimisations iOS */
@supports (-webkit-touch-callout: none) {
    .hero-video {
        -webkit-transform: translate3d(-50%, -50%, 0);
        transform: translate3d(-50%, -50%, 0);
        -webkit-playsinline: true;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Forcer la vidéo à ne pas être en plein écran sur iOS */
    video::-webkit-media-controls-fullscreen-button {
        display: none;
    }
}

/* Mode économie de batterie / données réduites */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/hero-bg.svg');
        background-size: cover;
        background-position: center;
        z-index: 0;
    }
}

/* ========== RESPONSIVE HERO ========== */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    /* Optimisation vidéo mobile */
    .hero-video,
    video.hero-video {
        object-position: center center;
        transform: translate(-50%, -50%) scale(1.2); /* Zoom léger pour éviter les bords noirs */
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        padding: 0 var(--spacing-sm);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .btn-lg {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .hero-features {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-feature {
        font-size: 0.9rem;
        flex: 0 1 auto;
        min-width: 100px;
    }
}

/* ========== OFFERS SECTION ========== */
.offers-section {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(58, 168, 247, 0.25);
    border-color: var(--primary-color);
}

.offer-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(58, 168, 247, 0.05) 0%, rgba(255, 255, 255, 1) 50%);
    transform: scale(1.05);
}


@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.offer-header {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.offer-price {
    text-align: right;
}

.price-from {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(58, 168, 247, 0.1);
}

.offer-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.95);
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(58, 168, 247, 0.4);
    animation: pulse 2s infinite;
    z-index: 3;
}

.offer-badge.premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.offer-content {
    padding: var(--spacing-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,249,250,0.5) 100%);
}

.offer-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.offer-features {
    margin-bottom: var(--spacing-lg);
    list-style: none;
    padding: 0;
}

.offer-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.offer-features i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.125rem;
    background: rgba(58, 168, 247, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-details {
    margin-top: auto;
}

.details-toggle {
    width: 100%;
    padding: var(--spacing-sm);
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.details-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.details-toggle i {
    transition: var(--transition-fast);
}

.details-toggle.active i {
    transform: rotate(180deg);
}

.details-content {
    display: none;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-md);
}

.details-content.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.details-content h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.details-content ul {
    margin-bottom: var(--spacing-sm);
}

.details-content li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.offer-duration {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: var(--spacing-sm);
}

.offer-bonus {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
}

.offer-footer {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(58,168,247,0.05) 100%);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-block:hover::before {
    left: 100%;
}

.offers-note {
    margin-top: var(--spacing-xl);
}

.offers-note p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.offers-note i {
    color: var(--primary-color);
    margin-right: var(--spacing-xs);
}

/* ========== RESPONSIVE OFFERS ========== */
@media (max-width: 992px) {
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-header {
        padding: var(--spacing-md);
    }
    
    .offer-title {
        font-size: 1.25rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .offer-content {
        padding: var(--spacing-md);
    }
}

/* ========== ADVANTAGES SECTION ========== */
.advantages-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.advantage-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

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

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

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.advantage-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    transition: none !important;
}

.gallery-item:hover {
    transform: none !important;
}

/* Désactiver tous les effets de zoom sur le slider */
.before-after-wrapper img {
    transition: none !important;
    transform: none !important;
}

.before-after-wrapper:hover img {
    transform: none !important;
}

.gallery-item:hover .before-after-wrapper img {
    transform: none !important;
}

/* Simple Before/After Slider */
.before-after-container {
    position: relative;
    width: 100%;
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    transform: none !important;
    transition: none !important;
}

.before-after-wrapper:active {
    cursor: grabbing;
}

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    -webkit-clip-path: inset(0 0 0 50%); /* Support Safari iOS */
}

.image-after img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: all;
}

.slider-handle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slider-handle span::before,
.slider-handle span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.slider-handle span::before {
    left: -8px;
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

.slider-handle span::after {
    right: -8px;
    border-width: 6px 0 6px 6px;
    border-color: transparent transparent transparent var(--primary-color);
}

.gallery-caption {
    padding: var(--spacing-md);
    text-align: center;
    background: white;
}

.gallery-caption h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.gallery-caption p {
    color: var(--text-gray);
    font-size: 0.95rem;
}


.gallery-cta {
    margin-top: var(--spacing-xl);
}

.gallery-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

/* ========== RESPONSIVE ADVANTAGES & GALLERY ========== */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .advantage-card {
        padding: var(--spacing-lg);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-wrapper {
        height: 250px;
    }
}

/* Titres de sections FAQ */
.faq-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.faq-section-title:first-child {
    margin-top: 0;
}

/* ========== PROCESS SECTION ========== */
.process-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--spacing-xxl) auto 0;
    padding: 0 var(--spacing-md);
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.step-content {
    width: 45%;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.process-step:nth-child(odd) .step-content {
    margin-right: auto;
    margin-left: 0;
}

.process-step:nth-child(even) .step-content {
    margin-left: auto;
    margin-right: 0;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

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

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-search {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.faq-search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-right: 50px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    transition: var(--transition-fast);
    font-family: inherit;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1.2rem;
}

.faq-categories {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.faq-category {
    padding: 8px 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-category:hover {
    background: var(--bg-gray);
}

.faq-category.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-items {
    margin-bottom: var(--spacing-xl);
}

.faq-item {
    margin-bottom: var(--spacing-md);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

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

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

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

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

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

.faq-answer {
    display: none;
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.faq-no-results {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-gray);
}

.faq-contact {
    margin-top: var(--spacing-xl);
}

.faq-contact p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

/* ========== RESPONSIVE PROCESS & FAQ ========== */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: row;
    }
    
    .step-number {
        left: 30px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
    
    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-bottom: var(--spacing-sm);
    }
    
    .faq-category {
        flex-shrink: 0;
    }
}

/* ========== RESERVATION SECTION ========== */
.reservation-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.reservation-container {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-form {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.step-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    font-size: 1.5rem;
    color: var(--text-dark);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Formula Selector */
.formula-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) 0;
}

.formula-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.formula-card {
    padding: var(--spacing-lg);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.formula-image {
    width: 100%;
    height: 180px;
    margin: -var(--spacing-lg) -var(--spacing-lg) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.formula-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.formula-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(58, 168, 247, 0.2);
}

.formula-card:hover .formula-image img {
    transform: scale(1.1);
}

.formula-option input[type="radio"]:checked + .formula-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(58, 168, 247, 0.08) 0%, rgba(58, 168, 247, 0.03) 100%);
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 30px rgba(58, 168, 247, 0.25);
}

.formula-option input[type="radio"]:checked + .formula-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.formula-card.recommended {
    border-color: var(--primary-color);
}

.formula-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(58, 168, 247, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.formula-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.formula-header h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.formula-price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.formula-features {
    margin-bottom: var(--spacing-md);
    list-style: none;
    padding: 0 var(--spacing-sm);
}

.formula-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.formula-features i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    font-size: 1rem;
    background: rgba(58, 168, 247, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.formula-duration {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

/* Date & Time Selector */
.datetime-selector {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.date-picker label,
.time-slots label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.date-picker input[type="date"] {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.time-slot {
    position: relative;
}

.time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.time-slot span {
    display: block;
    padding: var(--spacing-sm);
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot:hover span {
    border-color: var(--primary-color);
}

.time-slot input[type="radio"]:checked + span {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
}

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

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* Reservation Summary */
.reservation-summary {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 12px;
}

.reservation-summary h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.summary-content p {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

.summary-content span {
    font-weight: 600;
    color: var(--text-dark);
}

.summary-price span {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Success Message */
.reservation-success {
    text-align: center;
    padding: var(--spacing-xxl);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: var(--spacing-lg);
}

.reservation-success h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.reservation-success p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ========== RESPONSIVE RESERVATION ========== */
@media (max-width: 768px) {
    .reservation-form {
        padding: var(--spacing-lg);
    }
    
    .formula-selector {
        grid-template-columns: 1fr;
    }
    
    .datetime-selector {
        grid-template-columns: 1fr;
    }
    
    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    .form-navigation button {
        flex: 1;
        min-width: 150px;
    }
}

/* =============================================
   16. SECTION AVIS CLIENTS (TESTIMONIALS)
   ============================================= */

.testimonials-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

/* Google Rating Header */
.google-rating-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.google-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-info {
    text-align: center;
}

.stars-container {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stars {
    color: #fbbc05;
}

.review-count {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.google-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.google-link:hover {
    text-decoration: underline;
}

.google-link i {
    font-size: 0.85em;
}

/* Widget Google Reviews */
.google-reviews-widget {
    margin: var(--spacing-xl) 0;
}

.reviews-iframe-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-xl);
}

.google-reviews-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: white;
    color: #1a73e8;
    border: 2px solid #dadce0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #1a73e8;
    box-shadow: 0 4px 8px rgba(26,115,232,0.2);
    transform: translateY(-2px);
}

.google-rating-summary {
    margin-top: var(--spacing-lg);
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rating-badge .rating {
    font-size: 2rem;
    font-weight: 700;
    color: #1a73e8;
}

.rating-badge .stars {
    color: #fbbc05;
}

.rating-badge .total-reviews {
    color: var(--text-gray);
    font-weight: 500;
}

/* Réponses du propriétaire */
.owner-response {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 3px solid #1a73e8;
    border-radius: 8px;
}

.owner-response p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.owner-response strong {
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Badge Google sur les cartes */
.google-review-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e8eaed;
}

.google-review-badge span {
    font-size: 0.85rem;
    color: #5f6368;
    font-weight: 500;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
    margin-top: 2.5rem; /* Espace pour le badge Google */
}

.testimonial-rating i {
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

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

.testimonial-content p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Avatar avec initiales style Google */
.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 500;
    font-size: 16px;
    flex-shrink: 0;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.review-source {
    color: #5f6368;
}

.review-verified {
    color: #1a73e8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-verified i {
    font-size: 0.9em;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

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

.testimonial-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Stats */
.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem auto;
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 800px;
}

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

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

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CTA */
.testimonials-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

/* =============================================
   17. SECTION STORYTELLING / À PROPOS
   ============================================= */

.about-section {
    padding: var(--section-padding) 0;
    margin-top: 100px; /* Espace supplémentaire entre "Réservez" et "Notre histoire" */
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Story */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.story-badge {
    position: absolute;
    top: 2rem;
    right: -2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.story-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.story-text strong {
    color: var(--text-primary);
}

.story-text em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 500;
}

.story-signature {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.story-signature img {
    height: 60px;
    margin-bottom: 0.5rem;
}

.story-signature p {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Values */
.about-values {
    margin-bottom: 5rem;
}

.about-values h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Team */
.about-team {
    margin-bottom: 5rem;
}

.about-team h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-member p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Engagement */
.about-engagement {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.about-engagement h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.engagement-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
}

.engagement-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.badge-item {
    text-align: center;
}

.badge-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
}

.badge-item span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .about-section {
        margin-top: 80px; /* Espace réduit sur tablettes */
    }
    
    .about-story {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-badge {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-stats {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.5rem;
        overflow-x: auto;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    }

    .testimonials-stats .stat-item {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .testimonials-stats .stat-number {
        font-size: 2rem;
    }

    .testimonials-stats .stat-label {
        font-size: 0.85rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .engagement-badges {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ========== BOUTON FIXE DE RÉSERVATION ========== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(58, 168, 247, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 168, 247, 0.5);
    color: white;
}

.floating-cta i {
    font-size: 1.2rem;
}

.floating-cta span {
    white-space: nowrap;
}

/* Animation de pulsation */
@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(58, 168, 247, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(58, 168, 247, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(58, 168, 247, 0.4);
    }
}

/* Responsive pour le bouton fixe */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .floating-cta span {
        display: none;
    }
    
    .floating-cta i {
        font-size: 1.5rem;
    }
    
    .floating-cta:hover span {
        display: inline;
    }
}

/* Styles pour le lien Google Reviews */
.testimonials-google-link,
.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.testimonials-google-link:hover,
.google-reviews-link:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.testimonials-google-link i,
.google-reviews-link i {
    font-size: 1.3rem;
}

/* Section Réservation Calendly */
.booking-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.booking-link-container {
    margin-top: 40px;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(58, 168, 247, 0.3);
    transition: all 0.3s ease;
}

.btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(58, 168, 247, 0.5);
}

/* Badge premium pour les options */
.badge-premium {
    display: inline-block;
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 8px rgba(58, 168, 247, 0.15);
}

/* Styles pour la nouvelle section équipe */
.story-team-photos {
    position: relative;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.team-member {
    text-align: center;
    flex: 0 0 180px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover img {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-member h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.team-member p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive pour les photos d'équipe */
@media (max-width: 768px) {
    .team-members {
        gap: 20px;
    }
    
    .team-member {
        flex: 0 0 140px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Cache le badge "Depuis 2021" sur mobile */
    .story-badge {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }
}

/* Règle spécifique pour iPhone et petits mobiles */
@media (max-width: 480px) {
    .story-badge {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    /* Process section - Version ultra élargie pour petits écrans */
    .process-section .container {
        padding: 0 5px;
    }

    .process-timeline {
        padding: 0 5px;
    }

    .process-step {
        margin-bottom: 30px;
    }

    .process-step .step-content {
        padding: 10px;
        font-size: 0.95rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    /* About section - Encore moins d'espace sur petits mobiles */
    .about-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    /* Testimonials - Version ultra thin pour très petits mobiles */
    .testimonials-section {
        padding: 30px 0;
    }

    .testimonials-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .testimonials-section .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-grid {
        padding: 0 5px;
        gap: 0.75rem;
    }

    .testimonial-card {
        padding: 0.75rem;
        border-left: 3px solid var(--primary-color);
        border-radius: 4px;
        background: #fafafa;
    }

    .google-review-badge {
        display: none; /* Masquer sur très petit écran pour gagner de l'espace */
    }

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

    .testimonial-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #333;
    }

    .owner-response {
        display: none; /* Masquer les réponses sur très petit écran */
    }

    .testimonials-stats {
        margin-top: 1rem;
        padding: 1rem 10px;
        flex-direction: row;
        gap: 0.75rem;
        justify-content: space-around;
        border: 1px solid rgba(0, 0, 0, 0.05);
        background: #fafafa;
    }

    .testimonials-stats .stat-item {
        padding: 0.25rem;
        flex: 1;
        min-width: 70px;
    }

    .testimonials-stats .stat-number {
        font-size: 1.75rem;
        font-weight: 600;
    }

    .testimonials-stats .stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .testimonials-google-link,
    .google-reviews-link {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}


/* Styles pour les cartes d'expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* ========== MEDIA QUERIES POUR TABLETTES ========== */

/* iPad 9ème génération et similaires */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 834px)
  and (orientation: portrait) {
    
    /* Container */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Fix pour le slider before/after */
    .gallery-item {
        max-width: 100%;
    }
    
    .before-after-wrapper {
        height: 350px !important;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .image-before,
    .image-after {
        width: 100% !important;
        height: 100% !important;
    }
    
    .image-before {
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    .image-after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        clip-path: inset(0 0 0 50%) !important;
        -webkit-clip-path: inset(0 0 0 50%) !important;
    }
    
    .image-after img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        max-width: none !important;
    }
    
    .slider-handle {
        z-index: 10 !important;
    }
    
    /* Fix supplémentaire pour Safari iPad */
    .gallery-grid {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .before-after-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Support Safari spécifique */
@supports (-webkit-touch-callout: none) {
    .before-after-wrapper {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .image-before,
    .image-after img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* iPad Air et tablettes similaires (820px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Container */
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    /* Fix pour le slider before/after sur iPad */
    .before-after-wrapper {
        height: 400px;
    }
    
    .image-before,
    .image-after,
    .image-after img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .image-after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .image-after img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    /* Navigation complète refaite pour tablettes */
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 10px 0;
        min-height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 20px;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        overflow-x: hidden;
        clip-path: inset(0 0 0 0);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 15px 10px;
        width: 100%;
        text-align: center;
        display: block;
        margin: 5px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        margin-top: 20px;
        width: 100%;
        text-align: center;
        padding: 0 20px;
        overflow: hidden;
    }
    
    .nav-cta .btn {
        width: auto;
        max-width: calc(100% - 40px);
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 0.95rem;
        margin: 0 auto;
        display: inline-block;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    /* Hero section */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Sections générales */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Grilles */
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-members {
        gap: 25px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Process timeline - Version élargie pour mobile */
    .process-timeline {
        padding: 0 10px;
        max-width: 100%;
    }

    .process-section .container {
        padding: 0 10px;
    }

    .process-step .step-content {
        padding: 15px;
        max-width: 100%;
    }

    /* About section - Réduire l'espace au-dessus sur mobile */
    .about-section {
        margin-top: 40px;
        padding-top: 40px;
    }

    /* Testimonials - Version mobile ultra épurée */
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        border-radius: 8px;
    }

    .testimonial-card:hover {
        transform: none;
    }

    .google-review-badge {
        position: static;
        margin-bottom: 10px;
        display: inline-flex;
        padding: 4px 8px;
    }

    .google-review-badge span {
        font-size: 0.75rem;
    }

    .testimonial-rating {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .testimonial-rating i {
        font-size: 0.9rem;
    }

    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .testimonial-author {
        gap: 0.5rem;
    }

    .avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .author-info h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .author-meta {
        font-size: 0.75rem;
        gap: 8px;
    }

    .testimonial-date {
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }

    .owner-response {
        margin-top: 0.75rem;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    /* FAQ */
    .faq-categories {
        justify-content: center;
        gap: 10px;
    }
    
    .faq-category {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* iPad Pro et grandes tablettes (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 980px;
    }
    
    .offers-grid {
        gap: 25px;
    }
    
    .offer-card {
        padding: 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* iPad Air spécifique (820x1180) en portrait */
@media only screen 
  and (min-device-width: 820px) 
  and (max-device-width: 820px)
  and (orientation: portrait) {
    
    .container {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.2;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .offer-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .team-members {
        flex-direction: column;
        align-items: center;
    }
}

/* Correction générale pour tous les appareils */
@media screen and (max-width: 1366px) {
    /* Prévention des débordements */
    * {
        max-width: 100%;
    }
    
    .section {
        overflow: hidden;
    }
    
    /* Images et vidéos responsives */
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Textes longs */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Correction spécifique pour la navigation sur tablettes */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-brand {
        flex-shrink: 0;
    }
    
    /* Forcer le menu hamburger sur tablettes */
    .nav-menu {
        display: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    /* S'assurer que le bouton CTA n'est pas coupé */
    .btn {
        overflow: visible;
        text-overflow: clip;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
}

.expertise-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(58, 168, 247, 0.1);
}

.expertise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 168, 247, 0.12);
    border-color: var(--primary);
}

.expertise-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 5px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.expertise-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.expertise-icon i {
    font-size: 1.2rem;
    color: white;
    z-index: 1;
}

.expertise-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-color);
    font-weight: 600;
}

.expertise-card p {
    color: var(--text-muted);
    line-height: 1.3;
    font-size: 0.85rem;
    margin: 0;
}