:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --cold: #0284c7;
    --cold-dark: #0369a1;
    --cold-gradient: linear-gradient(135deg, #0369a1, #0284c7);
    --hot: #ea580c;
    --hot-dark: #c2410c;
    --hot-gradient: linear-gradient(135deg, #c2410c, #ea580c);
    --water: #0d9488;
    --water-dark: #0f766e;
    --water-gradient: linear-gradient(135deg, #0f766e, #0d9488);
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 36px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* TOPBAR INFO */
.topbar {
    background: #090d16;
    color: #cbd5e1;
    font-size: 13px;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar-badge {
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.logo span.hot { color: #f97316; }
.logo span.cold { color: #0284c7; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--cold);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #f1f5f9;
    transition: all 0.2s;
}
.btn-phone:hover {
    background: #e2e8f0;
}
.btn-cta {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15,23,42,0.2);
    transition: all 0.2s;
}
.btn-cta:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

/* HERO SECTION AMÉLIORÉE AVEC PHOTO TECHNIQUE */
.hero {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 60px 5% 50px;
}
.hero-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero h1 span.highlight {
    color: #0284c7;
}
.hero p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* IMAGE DU HERO */
.hero-image-wrapper {
    position: relative;
}
.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #f1f5f9;
}
.hero-floating-icon {
    width: 44px;
    height: 44px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.hero-floating-text strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}
.hero-floating-text span {
    font-size: 12px;
    color: #64748b;
}

/* REASSURANCE BAR */
.reassurance-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.reassurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.reassurance-item i {
    color: #10b981;
    font-size: 15px;
}

/* SERVICES SECTION */
.services-section {
    padding: 60px 5% 80px;
    max-width: 1350px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 35px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 16px;
    color: var(--text-muted);
}

/* FILTRES CATÉGORIES */
.filters-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(15,23,42,0.15);
}

/* GRILLE DE CARTES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* IMAGE DANS LA CARTE */
.card-img-box {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #e2e8f0;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .card-img {
    transform: scale(1.08);
}
.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.6) 0%, transparent 60%);
}

.card-header {
    padding: 16px 22px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-header-icon {
    font-size: 24px;
}
.card-header h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}
.card-badge {
    background: rgba(255,255,255,0.22);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* Variantes de couleurs de cartes */
.service-card.cold .card-header { background: var(--cold-gradient); }
.service-card.hot .card-header { background: var(--hot-gradient); }
.service-card.water .card-header { background: var(--water-gradient); }

.card-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.card-features {
    list-style: none;
    margin-bottom: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}
.card-features li {
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.card-features li i {
    font-size: 13px;
}
.service-card.cold .card-features li i { color: var(--cold); }
.service-card.hot .card-features li i { color: var(--hot); }
.service-card.water .card-features li i { color: var(--water); }

.card-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.price-box {
    display: flex;
    flex-direction: column;
}
.price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
}
.price-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}
.price-value small {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.btn-book {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-book:hover {
    background: #1e293b;
    transform: scale(1.02);
}

/* SECTION GALERIE DE PHOTOS SUR LE TERRAIN */
.gallery-section {
    background: #ffffff;
    padding: 70px 5%;
    border-top: 1px solid var(--border-color);
}
.gallery-grid {
    max-width: 1300px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    height: 240px;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 100%);
    color: #ffffff;
    padding: 20px 18px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* SECTION MARQUES */
.brands-section {
    background: #f8fafc;
    padding: 40px 5%;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.brands-title {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.brands-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px 40px;
}
.brand-item {
    font-weight: 800;
    font-size: 16px;
    color: #64748b;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SECTION GARANTIES & CONFORMITÉ */
.compliance-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 5%;
}
.compliance-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.compliance-box {
    text-align: center;
    padding: 20px;
}
.compliance-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--cold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}
.compliance-box h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
}
.compliance-box p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* MODAL DE RÉSERVATION / DEVIS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open {
    display: flex;
}
.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalPop 0.25s ease-out;
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-header {
    padding: 20px 25px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 {
    font-size: 18px;
    font-weight: 800;
}
.modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: #ffffff;
}
.modal-body {
    padding: 25px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--cold);
    background: #fff;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.selected-badge {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid var(--cold);
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #1e293b;
}

/* FOOTER */
.footer {
    background: #090d16;
    color: #94a3b8;
    padding: 50px 5% 30px;
    font-size: 13px;
    border-top: 1px solid #1e293b;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #1e293b;
    font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-floating-card { position: static; margin-top: 15px; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .nav-links { display: none; }
    .form-row { grid-template-columns: 1fr; }
}
