@charset 'utf-8';

/* ========================================
   NATURE EAU PAYSAGE 2026 - Styles CSS
   Basé sur v11 + Footer v16
   ======================================== */

/* Variables */
:root {
    --color-paper: #F5F3F0;
    --color-paper-dark: #EDE9E4;
    --color-beige: #E8E4DE;
    --color-beige-light: #F0EDE8;
    --color-green: #5A7D4A;
    --color-green-dark: #4A6A3A;
    --color-green-light: #7A9D6A;
    --color-brown: #8B7355;
    --color-brown-dark: #6B5A42;
    --color-dark: #2D2D2D;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;

    --font-poppins: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-paper);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Paper texture overlay */
.paper-texture {
    position: relative;
}

.paper-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Grain overlay plus prononcé */
.grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='6' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ========================================
   HEADER - Transitions stylées et élégantes
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1.5px);
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Au scroll : fond blanc opaque net et propre avec ombre élégante */
.header.scrolled {
    background: #FFFFFF;
    backdrop-filter: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Container interne - padding avec transition douce */
.header-inner {
    padding: 18px 0;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .header-inner {
    padding: 14px 0;
}

/* Textes du menu - blanc par défaut avec transition élégante */
.header .nav-link {
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                text-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Au scroll : textes gris foncé avec fondu doux */
.header.scrolled .nav-link {
    color: #2D2D2D;
    text-shadow: none;
}

/* Logo - légèrement plus visible au départ avec transition douce */
.header .logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo img {
    filter: none;
}

.header .logo img:hover {
    transform: scale(1.02);
}

/* Menu burger - blanc au départ avec transition fluide */
.header .menu-toggle span {
    background: #FFFFFF;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .menu-toggle span {
    background: #2D2D2D;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 12px;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

/* Hover state - fond blanc semi-transparent sur header transparent */
.header .nav-link:hover,
.header .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
}

/* Hover state - fond vert subtil sur header blanc */
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    background: rgba(90, 125, 74, 0.08);
    color: var(--color-green);
}

.btn-header {
    padding: 12px 24px;
    background: var(--color-green);
    color: white;
    font-family: var(--font-poppins);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-header:hover {
    background: var(--color-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 125, 74, 0.3);
}

.btn-header:active {
    transform: translateY(0);
}

/* Au scroll, le bouton Contact garde son style vert avec texte blanc */
.header.scrolled .btn-header {
    background: var(--color-green);
    color: white;
}

.header.scrolled .btn-header:hover {
    background: var(--color-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 125, 74, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-paper);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-link {
    font-family: var(--font-poppins);
    font-size: 20px;
    padding: 12px 24px;
}

.mobile-btn {
    margin-top: 16px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-poppins);
    font-size: 15px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-green);
    color: white;
}

.btn-primary:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-outline:hover {
    background: var(--color-text);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--color-text);
}

.btn-card {
    background: rgba(255,255,255,0.95);
    color: var(--color-green-dark);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

.btn-card:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--color-green);
    color: white;
    padding: 16px 36px;
    font-size: 17px;
}

.btn-cta:hover {
    background: var(--color-green-dark);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* Bouton Google Maps moderne */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: white;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(90, 125, 74, 0.3);
    margin-top: 66px;
}

.btn-maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 125, 74, 0.4);
    background: linear-gradient(135deg, var(--color-green-dark) 0%, var(--color-green) 100%);
}

.btn-maps svg {
    stroke: currentColor;
}

/* Bouton Google Maps large (version coordonnées) */
.btn-maps-large {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
}

/* Input file stylisé */
.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-paper);
    border: 2px dashed var(--color-beige);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-wrapper:hover {
    border-color: var(--color-green);
    background: rgba(90, 125, 74, 0.05);
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input-text {
    font-family: var(--font-poppins);
    font-size: 14px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-help {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-text-light);
    font-style: italic;
}

/* Style quand un fichier est sélectionné */
.file-input-wrapper.has-file {
    border-color: var(--color-green);
    background: rgba(90, 125, 74, 0.1);
}

.file-input-wrapper.has-file .file-input-text {
    color: var(--color-green);
    font-weight: 500;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 24px 80px;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-poppins);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    color: white;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 0 3px 20px rgba(0,0,0,0.4);
}

.hero-title span {
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Picto souris scroll */
.mouse-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* Hero Small */
.hero-small {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-small .hero-content {
    padding-top: 100px;
}

.hero-subtitle {
    font-family: var(--font-poppins);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-top: 16px;
}

/* ========================================
   SECTIONS PAPER
   ======================================== */
.section-paper {
    position: relative;
    padding: 100px 0;
    background: var(--color-paper);
}

.section-paper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/fond-beige-tileable.jpg');
    background-repeat: repeat;
    background-size: 800px 600px;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.section-label {
    display: block;
    font-family: var(--font-poppins);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-green-dark);
    margin-bottom: 24px;
}

.section-title {
    font-family: var(--font-poppins);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 28px;
}

.section-title-light {
    font-family: var(--font-poppins);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 56px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.intro-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-family: var(--font-poppins);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-light);
}

/* ========================================
   PRÉSENTATION
   ======================================== */
.section-presentation {
    position: relative;
    padding: 100px 0;
    background: var(--color-paper);
}

.presentation-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.presentation-content {
    position: relative;
    z-index: 2;
}

.presentation-text {
    font-family: var(--font-poppins);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 36px;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-family: var(--font-poppins);
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.badge-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    border-radius: 50%;
    color: white;
    font-size: 12px;
}

/* Tooltip sur les badges */
.badge-item {
    position: relative;
}

.badge-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    padding: 10px 16px;
    background: #2d3748;
    color: white;
    font-family: var(--font-poppins);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    max-width: 280px;
    white-space: normal;
    text-align: center;
}

/* Flèche du tooltip */
.badge-item::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    border-width: 6px;
    border-style: solid;
    border-color: #2d3748 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.badge-item:hover::after,
.badge-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* Logo FPP flottant à côté du paragraphe */
.fpp-engagement {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
}

.fpp-logo-float {
    width: 100px;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.fpp-engagement .presentation-text {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .fpp-engagement {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fpp-logo-float {
        width: 80px;
    }
}

.info-cards {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-poppins);
    font-size: 15px;
}

.presentation-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Local Engagement */
.local-engagement {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.engagement-text {
    font-family: var(--font-poppins);
    font-size: 1.25rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 40px;
}

.engagement-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTION NOS DOMAINES
   ======================================== */
.section-nos-domaines {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

/* Image de fond alignée à droite */
.domaines-bg-texture {
    position: relative;
    z-index: 10;
    background-image: url('../images/fond-nos-domaines.jpg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px;
}

/* Ajustement équilibre section Piscines & Spas */
#piscines.section-paper {
    padding-top: 0px;
    padding-bottom: 0;
}

.blabla_du_haut {
	padding-bottom: 0px;
}

#piscines .intro-section {
    margin-bottom: 82px;
	padding-top:40px;

}

#piscines.section-paper {
	background-color: #000 !important;
}

/* Ajustement section Le Magasin */
#magasin.section-paper {
    padding-top: 50px;
}

/* Vignettage subtil */
.domaines-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.04) 100%);
    pointer-events: none;
}

/* Container */
.domaines-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Titre */
.domaines-title {
    font-family: var(--font-poppins);
    font-size: 28px;
    font-weight: 400;
    color: #2f3a34;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

/* Grid des cartes */
.domaines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Carte individuelle */
.domaine-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 210 / 275;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
    text-decoration: none;
}

.domaine-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}

/* Image de la carte */
.card-image {
    position: absolute;
    inset: 0;
    height: 42%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transition: transform 0.4s ease;
}

.domaine-card:hover .card-image img {
    transform: scale(1.03);
}

/* Overlay (bandeau bas) */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58%;
    overflow: hidden;
}

/* Dégradé de base */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--g1) 85%, transparent) 0%,
        var(--g2) 100%);
}

/* Grain discret */
.overlay-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    mix-blend-mode: overlay;
}

/* Reflet gloss en haut du bandeau */
.overlay-gloss {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 18px;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0) 100%);
}

/* Contenu texte */
.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 12px;
    text-align: center;
}

/* Titre de la carte */
.card-title {
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Sous-titre */
.card-subtitle {
    font-family: var(--font-poppins);
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    margin-bottom: 14px;
    font-style: italic;
    min-height: 16px;
}

/* Bouton pilule */
.card-btn {
    display: inline-block;
    padding: 8px 20px;
    margin-top: auto;
    font-family: var(--font-poppins);
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: linear-gradient(180deg, var(--btn1) 0%, var(--btn2) 100%);
    border-radius: 999px;
    box-shadow:
        0 3px 8px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s ease;
}

.domaine-card:hover .card-btn {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--btn1) 110%, white) 0%,
        color-mix(in srgb, var(--btn2) 110%, white) 100%);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* ========================================
   SECTION IMAGE + CONTENT
   ======================================== */
.section-image-content,
.section-content-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.sc-image {
    position: relative;
    overflow: hidden;
}

.sc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Diaporama rénovation avec fondu */
.reno-slideshow {
    position: relative;
    overflow: hidden;
}

.reno-slideshow .reno-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.reno-slideshow .reno-slide.active {
    opacity: 1;
}

.sc-content {
    position: relative;
    background: var(--color-paper);
    display: flex;
    align-items: center;
}

.sc-inner {
    padding: 60px 50px;
    position: relative;
    z-index: 2;
}

.sc-inner h3 {
    font-family: var(--font-poppins);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-green-dark);
    margin-bottom: 24px;
}

.sc-inner h4 {
    font-family: var(--font-poppins);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-brown);
    margin: 28px 0 14px;
}

.sc-inner p {
    font-family: var(--font-poppins);
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 18px;
}

.sc-inner .lead {
    font-size: 1.15rem;
    color: var(--color-text);
}

.check-list {
    margin: 24px 0;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-family: var(--font-poppins);
    color: var(--color-text);
    line-height: 1.7;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
    font-size: 18px;
}

/* Rénovation items */
.renovation-items {
    margin: 28px 0;
}

.reno-item {
    padding: 18px 20px;
    background: rgba(255,255,255,0.7);
    border-radius: var(--radius);
    margin-bottom: 14px;
    border-left: 4px solid var(--color-green);
}

.reno-item h4 {
    font-family: var(--font-poppins);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 6px;
}

.reno-item p {
    font-size: 14px;
    margin: 0;
}

.reno-conclusion {
    font-weight: 600;
    color: var(--color-brown) !important;
    margin-top: 28px;
    font-size: 1.05rem;
}

/* ========================================
   SPA SECTION - PARALLAX
   ======================================== */
.section-spa {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.spa-bg {
    position: absolute;
    top: -60%;
    left: 0;
    right: 0;
    bottom: -60%;
    z-index: 0;
    will-change: transform;
}

.spa-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.spa-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.5));
    z-index: 1;
}

.spa-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    color: white;
}

.spa-content h3 {
    font-family: var(--font-poppins);
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.spa-content p {
    font-family: var(--font-poppins);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 36px;
    opacity: 0.92;
}

.spa-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ========================================
   TERRASSE SECTION
   ======================================== */
.section-terrasse {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.terrasse-bg {
    position: absolute;
    top: -60%;
    left: 0;
    right: 0;
    bottom: -60%;
    will-change: transform;
}

.terrasse-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.terrasse-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.terrasse-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: auto;
    color: white;
    text-align: right;
}

.terrasse-content h3 {
    font-family: var(--font-poppins);
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.terrasse-content p {
    font-family: var(--font-poppins);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 28px;
    opacity: 0.92;
}

.terrasse-types {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 28px;
}

.type-tag {
    padding: 10px 18px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius);
    font-family: var(--font-poppins);
    font-size: 14px;
    backdrop-filter: blur(6px);
}

.terrasse-buttons {
    display: flex;
    gap: 18px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* ========================================
   CONSEILS SECTION
   ======================================== */
.conseils-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.conseils-content h3,
.service-proximite h4 {
    font-family: var(--font-poppins);
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--color-green-dark);
}

.service-proximite {
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-proximite p {
    margin-bottom: 28px;
    line-height: 1.9;
}

/* ========================================
   PRODUITS SECTION
   ======================================== */
.produits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.produits-content h3 {
    font-family: var(--font-poppins);
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-green-dark);
}

.produits-content h4 {
    font-family: var(--font-poppins);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: 14px;
}

.produits-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Accessoires */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.accessoire-card {
    padding: 36px 28px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.accessoire-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.accessoire-card h4 {
    font-family: var(--font-poppins);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--color-green-dark);
}

.accessoire-card p {
    font-family: var(--font-poppins);
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   INFOS PRATIQUES
   ======================================== */
.section-infos {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.infos-bg {
    position: absolute;
    top: -60%;
    left: 0;
    right: 0;
    bottom: -60%;
    will-change: transform;
}

.infos-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.infos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.infos-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.infos-content h3 {
    font-family: var(--font-poppins);
    font-size: 2.6rem;
    font-weight: 400;
    margin-bottom: 56px;
}

.infos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.info-block h4 {
    font-family: var(--font-poppins);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    opacity: 0.95;
}

.info-block p {
    font-family: var(--font-poppins);
    line-height: 2;
    opacity: 0.85;
}

.infos-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.bloc-contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.bloc-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-poppins);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bloc-contact-item:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.bloc-contact-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.bloc-contact-item .contact-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-right: 4px;
}

.bloc-contact-item .contact-value {
    font-size: 1.15rem;
    font-weight: 500;
}

.horaires-detail p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-family: var(--font-poppins);
    font-size: 14px;
}

.horaires-detail p:last-child {
    border-bottom: none;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-intro {
    max-width: 850px;
    margin: 0 auto 56px;
    text-align: center;
}

.contact-lead {
    font-family: var(--font-poppins);
    font-size: 1.25rem;
    line-height: 2;
    color: var(--color-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: white;
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-family: var(--font-poppins);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 36px;
    color: var(--color-green-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row-security {
    align-items: stretch;
}

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

.form-row-security .file-input-wrapper {
    min-height: 84px;
    display: flex;
    align-items: center;
}

.captcha-group .captcha-box {
    background: linear-gradient(180deg, #f2f5ef 0%, #e8ede2 100%);
    border: 1px solid #d9e0cf;
    border-radius: var(--radius);
    padding: 14px;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.captcha-label {
    display: block;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-green-dark);
    margin-bottom: 10px;
}

.captcha-group input[type="number"] {
    background: #fff;
}

.form-row-security .file-help {
    min-height: 22px;
}

.nep-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-poppins);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-beige);
    border-radius: var(--radius);
    font-family: var(--font-poppins);
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--color-paper);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    background: white;
}

/* Contact Info */
.contact-info-block {
    margin-bottom: 36px;
}

.contact-info-block h4 {
    font-family: var(--font-poppins);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--color-brown);
}

.contact-info-block p {
    font-family: var(--font-poppins);
    line-height: 2;
    color: var(--color-text);
}

.contact-phone {
    font-family: var(--font-poppins);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-green);
}

.contact-phone:hover {
    color: var(--color-brown);
}

.btn-map {
    width: 100%;
    margin-top: 20px;
}

/* ========================================
   COLLECTIVE SECTION
   ======================================== */
.collective-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.collective-content h3 {
    font-family: var(--font-poppins);
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-green-dark);
}

.collective-content p {
    margin-bottom: 18px;
    line-height: 1.9;
}

.collective-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   FOOTER NOUVEAU DESIGN (v16)
   ======================================== */

.footer-new {
    position: relative;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    font-family: var(--font-poppins);
}

.footer-new-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/fond_footer.jpg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.footer-new-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 6% 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Ligne 1: Signature + Navigation (Desktop: en haut, centré) */
.footer-new-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-new-signature-text {
    color: #BFBFBF;
    font-size: 14px;
    margin: 0;
}

.footer-new-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.footer-new-nav a {
    color: #E6E6E6;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-new-nav a:hover {
    color: #8FAF4E;
}

/* Ligne 2: Contenu principal (Titre à gauche, Téléphone à droite) */
.footer-new-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Zone gauche */
.footer-new-left {
    flex: 1;
    max-width: 700px;
}

.footer-new-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.text-orange {
    color: #D68A45;
}

.text-green-light {
    color: #8FAF4E;
}

.footer-new-subtitle {
    font-size: 18px;
    color: #E6E6E6;
    margin-bottom: 24px;
    line-height: 1.5;
}

.footer-new-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    background-color: #7F8F4E;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.footer-new-btn:hover {
    background-color: #6F7F3E;
    transform: translateY(-2px);
}

/* Zone droite : contact */
.footer-new-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-new-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-new-phone:hover {
    color: #8FAF4E;
}

.footer-new-phone svg {
    stroke: currentColor;
}

.footer-new-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #FFFFFF;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background: #8FAF4E;
    transform: translateY(-2px);
}

/* Ligne 3: Avantages */
.footer-new-benefits {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E6E6E6;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: #8FAF4E;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-title {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.benefit-subtitle {
    font-size: 12px;
    color: #BFBFBF;
}

.benefit-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Icône de clé admin (dans le footer) */
.admin-key {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.admin-key:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.admin-key svg {
    stroke: currentColor;
}

/* Bouton scroll to top (fixed) */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.scroll-to-top svg {
    stroke: currentColor;
}

/* Section Login stylisée */
.section-login {
    position: relative;
    padding: 60px 0;
    background: var(--color-paper);
}

.section-login::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg-beige-nep-tile.png');
    background-repeat: repeat;
    background-size: 512px 512px;
    opacity: 0.6;
    pointer-events: none;
}

.login-container {
    position: relative;
    z-index: 2;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
}

/* FORCER le widget à s'adapter au conteneur */
.login-container > div {
    width: 100% !important;
    max-width: 100% !important;
}

/* Surcharge complète du widget login */
.section-login #masque_log {
    width: 100% !important;
    max-width: 100% !important;
}

.section-login .form_login_petit {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.section-login .cadre_login {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px !important;
    background: white !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow) !important;
    box-sizing: border-box !important;
}

/* Pour toutes les tailles d'écran */
@media screen and (max-width: 9999px) {
    .section-login .cadre_login {
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin: 0 !important;
    }
}

.section-login .form_login_petit h1,
.section-login .cadre_login h1 {
    font-family: var(--font-poppins) !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    color: var(--color-green-dark) !important;
    margin-bottom: 8px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.section-login .sous_titre_bleu {
    font-family: var(--font-poppins) !important;
    font-size: 0.95rem !important;
    color: var(--color-text-light) !important;
}

.section-login .label_formulaire {
    font-family: var(--font-poppins) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-text) !important;
    margin-bottom: 8px !important;
}

.section-login .champ_formulaire {
    width: 100% !important;
}

.section-login .input_login {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 1px solid var(--color-beige) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-poppins) !important;
    font-size: 15px !important;
    background: var(--color-paper) !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.section-login .input_login:focus {
    outline: none !important;
    border-color: var(--color-green) !important;
    background: white !important;
}

.section-login table {
    width: 100% !important;
}

.section-login .btn_bleu {
    background: var(--color-green) !important;
    color: white !important;
    font-family: var(--font-poppins) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 12px 24px !important;
    border-radius: var(--radius) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.section-login .btn_bleu:hover {
    background: var(--color-green-dark) !important;
    transform: translateY(-2px) !important;
}

.section-login .btn_mdp_oublie {
    background: transparent !important;
    color: var(--color-text) !important;
    border: 2px solid var(--color-beige) !important;
}

.section-login .btn_mdp_oublie:hover {
    border-color: var(--color-green) !important;
    color: var(--color-green) !important;
}

.section-login .text_se_souvenir_de_moi {
    font-family: var(--font-poppins) !important;
    font-size: 14px !important;
    color: var(--color-text) !important;
}

/* ========================================
   PAGE REALISATIONS
   ======================================== */
.filters {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-poppins);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-green);
    color: white;
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item-large {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-large:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(90,125,74,0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.gallery-item-large:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.95);
    color: var(--color-green-dark);
    font-family: var(--font-poppins);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    width: fit-content;
}

.gallery-overlay h4 {
    color: white;
    font-family: var(--font-poppins);
    font-size: 1.3rem;
    font-weight: 400;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Footer: réorganisation pour tablet */
    .footer-new-title {
        font-size: 32px;
    }

    .presentation-grid,
    .conseils-section,
    .produits-section,
    .contact-grid,
    .collective-section {
        grid-template-columns: 1fr;
    }

    .domaines-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-image-content,
    .section-content-image {
        grid-template-columns: 1fr;
    }

    /* Sur mobile, inverser l'ordre pour la section piscine naturelle (image en bas) */
    #naturelle.section-image-content {
        display: flex;
        flex-direction: column-reverse;
    }

    #naturelle .sc-image {
        height: 280px;
    }

    /* Sur mobile, inverser l'ordre pour la section maçonnerie (image en haut) */
    #maconnerie.section-content-image {
        display: flex;
        flex-direction: column;
    }

    #maconnerie .sc-image {
        order: -1;
        height: 280px;
    }

    .sc-image {
        height: 300px;
    }

    .sc-inner {
        padding: 44px 32px;
    }

    .gallery-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .accessoires-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile: réorganiser le footer */
    .footer-new-container {
        gap: 30px;
    }

    /* Ligne 1: Titre et CTA (premier en mobile) */
    .footer-new-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 1;
    }

    .footer-new-left {
        align-items: center;
        max-width: 100%;
    }

    .footer-new-title {
        font-size: 28px;
    }

    /* Ligne 2: Téléphone et réseaux (deuxième en mobile) */
    .footer-new-right {
        align-items: center;
        order: 2;
    }

    .footer-new-phone {
        font-size: 20px;
    }

    /* Ligne 3: Signature + Nav (en bas en mobile) */
    .footer-new-top {
        order: 3;
        padding-bottom: 20px;
        border-bottom: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
    }

    /* Ligne 4: Avantages (dernier en mobile) */
    .footer-new-benefits {
        flex-direction: column;
        gap: 20px;
        order: 4;
        padding-top: 20px;
    }

    .benefit-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 14px;
        gap: 12px;
    }

    .logo img {
        height: 42px;
        width: auto;
        max-width: 235px;
        max-height: 42px;
        object-fit: contain;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .domaines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .domaine-card {
        aspect-ratio: 16/10;
    }

    .domaines-title {
        font-size: 24px;
        text-align: center;
    }

    .badges-row,
    .info-cards {
        flex-direction: column;
    }

    .terrasse-content {
        text-align: left;
        margin-left: 0;
    }

    .terrasse-types {
        justify-content: flex-start;
    }

    .terrasse-buttons {
        justify-content: flex-start;
    }

    .gallery-grid-large {
        grid-template-columns: 1fr;
    }

    .infos-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-new-title {
        font-size: 26px;
    }

	.footer-new-nav {
		background: rgba(0, 0, 0, 0.55);
		padding:15px;
		border-radius:15px;
	}
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-paper);
}

::-webkit-scrollbar-thumb {
    background: var(--color-brown);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-brown-dark);
}

/* ========================================
   COMPATIBILITE CMS
   ======================================== */

/* Mobile - 1 colonne */
@media (max-width: 640px) {
    .domaines-grid {
        grid-template-columns: 1fr;
    }

    .domaine-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Print styles */
@media print {
    html, body {
        font-size: 11px;
        height: auto !important;
    }

    .header,
    .mobile-menu,
    .footer-new {
        display: none;
    }
}

/* Fix pour le contenu CMS */
html, body {
    position: relative;
    margin: 0px;
    -webkit-print-color-adjust: exact;
}

/* Correction des positions d'amorces CMS */
#barre_menu_float_header {
    z-index: 9999;
}

#diffusion_logo img {
    height: 60px;
    width: auto;
}

/* Amorce globale - masquer les elements par defaut du CMS */
#header_top {
    display: none;
}

/* Responsive utilitaires */
@media screen and (min-width:120px) {
    .que_diffu_large, .que_diffu_medium, .que_diffu_large_et_medium {
        display: none;
    }

    .que_diffu_small, .que_diffu_medium_et_small, .que_diffu_large_et_small {
        display: block;
    }
}

@media screen and (min-width:760px) {
    .que_diffu_large, .que_diffu_small, .que_diffu_large_et_small {
        display: none;
    }

    .que_diffu_medium, .que_diffu_large_et_medium, .que_diffu_medium_et_small, #cle_de_log {
        display: block;
    }
}

@media screen and (min-width:1000px) {
    .que_diffu_medium, .que_diffu_small, .que_diffu_medium_et_small, #menu_mobil {
        display: none;
    }

    .que_diffu_large, .que_diffu_large_et_medium, .que_diffu_large_et_small {
        display: block;
    }
}

/* ========================================
   FORMULAIRE DE CONTACT - MESSAGES & LOADER
   ======================================== */

/* Messages de formulaire */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-family: var(--font-poppins);
    font-size: 14px;
    line-height: 1.6;
    animation: slideInDown 0.3s ease;
}

.form-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.form-message-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* Animation d'entrée */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loader dans le bouton */
.btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Bouton désactivé */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Erreur sur le file input */
.file-input-wrapper.has-error .file-input-text {
    color: #dc2626;
}

.file-input-wrapper.has-error {
    border-color: #dc2626;
    background: #fef2f2;
}

/* Message de succès après envoi */
.form-success-message {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: var(--radius-lg);
    border: 2px solid #bbf7d0;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-success-message .success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 24px;
    box-shadow: var(--shadow);
}

.form-success-message h4 {
    font-family: var(--font-poppins);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-green-dark);
    margin-bottom: 12px;
}

.form-success-message p {
    font-family: var(--font-poppins);
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 16px;
}

.form-success-message .success-note {
    font-size: 0.9rem;
    color: var(--color-green);
    font-weight: 500;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #bbf7d0;
}
