/* RESET */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
}

body {
    background: #0b1120;
    color: #e5e7eb;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HEADER */
.header {
    background: #020617;
    border-bottom: 1px solid #1f2937;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #f9fafb;
}

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

/* NAVIGATION */
.nav {
    display: flex;
    gap: 16px;
}

.nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 4px;
    position: relative;
    transition: 0.2s;
}

.nav a:hover {
    color: #ffffff;
}

.nav a.active {
    color: #38bdf8;
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8, #6366f1);
}

/* MOBILE NAV */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #4b5563;
    color: #e5e7eb;
    padding: 4px 10px;
    border-radius: 999px;
}

/* HERO */
.hero {
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
    padding: 70px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    font-size: 15px;
    color: #e5e7eb;
}

.hero p a {
    color: #e5e7eb;
    text-decoration: underline;
}

.hero-btns {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tags {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tags span {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #1f2937;
    background: rgba(15,23,42,0.85);
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #f9fafb;
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.btn-secondary {
    background: #020617;
    color: #e5e7eb;
    border: 1px solid #4b5563;
}

.btn-secondary:hover {
    background: #111827;
}

/* GENERIC SECTION */
.section {
    padding: 50px 0;
    background: #020617;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h1,
.section-title h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.section-title p {
    font-size: 14px;
    color: #9ca3af;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.service-card {
    background: #020617;
    border-radius: 16px;
    border: 1px solid #1f2937;
    padding: 18px 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.8);
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 14px;
    color: #9ca3af;
}

/* PAGE TITLE */
.page-title {
    padding: 40px 0 10px 0;
    text-align: center;
    background: #020617;
}

.page-title h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.page-title p {
    font-size: 14px;
    color: #9ca3af;
}

/* FORM */
.form-section {
    padding: 20px 0 40px 0;
    background: #020617;
}

.form-info {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #e5e7eb;
}

form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form label {
    font-size: 14px;
    text-align: left;
    color: #e5e7eb;
}

form input,
form select,
form textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #f9fafb;
    font-size: 14px;
    outline: none;
}

form input:focus,
form select:focus,
form textarea:focus {
    border-color: #38bdf8;
}

.form-small-note {
    margin-top: 14px;
    font-size: 12px;
    text-align: center;
    color: #9ca3af;
}

/* ALERTS */
.alert-success {
    background: rgba(22,163,74,0.12);
    border: 1px solid #22c55e;
    color: #bbf7d0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}

.alert-error {
    background: rgba(220,38,38,0.12);
    border: 1px solid #ef4444;
    color: #fecaca;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 14px;
}

.alert-error ul {
    margin-left: 20px;
}

/* TARIFS TABLE */
.tarifs-table-wrapper {
    overflow-x: auto;
}

.tarifs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tarifs-table th,
.tarifs-table td {
    padding: 10px 8px;
    border: 1px solid #1f2937;
    text-align: center;
    white-space: nowrap;
}

.tarifs-table th:first-child,
.tarifs-table td:first-child {
    text-align: left;
    white-space: normal;
}

.tarifs-table th {
    background: #020617;
    color: #38bdf8;
    font-weight: 600;
}

.tarifs-note {
    margin-top: 12px;
    font-size: 13px;
    color: #9ca3af;
}

/* CONTACT */
.contact-grid {
    padding: 30px 0 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.info-card {
    background: #020617;
    border-radius: 16px;
    border: 1px solid #1f2937;
    padding: 18px 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.8);
}

.info-card h2 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info-card p {
    font-size: 14px;
    color: #9ca3af;
}

.small-note {
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
}

/* CENTER */
.center {
    text-align: center;
}

/* FOOTER */
.footer {
    background: #020617;
    border-top: 1px solid #1f2937;
    padding: 14px 0;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
}

.whatsapp-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 780px) {
    .hero h1 {
        font-size: 24px;
    }

    .nav {
        position: absolute;
        right: 0;
        top: 50px;
        background: #020617;
        flex-direction: column;
        width: 100%;
        max-width: 230px;
        padding: 10px 16px 14px 16px;
        display: none;
        border-bottom-left-radius: 12px;
        border-left: 1px solid #1f2937;
        border-bottom: 1px solid #1f2937;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-block;
    }
}
/* CARTES SERVICES 3D */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.service-card {
    background: #0b1120;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #1f2937;
    box-shadow: 
        8px 8px 18px rgba(0,0,0,0.6),
        -4px -4px 12px rgba(40,60,90,0.25);
    transition: all 0.25s ease-in-out;
    transform: perspective(900px) rotateX(0deg) rotateY(0deg);
}

.service-card:hover {
    transform: perspective(900px) rotateX(8deg) rotateY(3deg) scale(1.03);
    box-shadow:
        12px 12px 25px rgba(0,0,0,0.7),
        -6px -6px 18px rgba(60,90,130,0.35),
        0 0 18px rgba(56,189,248,0.35);
}

.service-card h3 {
    font-size: 18px;
    color: #38bdf8;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 14px;
    color: #9ca3af;
}
/* ===== CARTES SERVICES 3D – VERSION GARANTIE ===== */

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 40px !important;
}

.service-card {
    background: #0f172a !important;
    border-radius: 18px !important;
    padding: 25px !important;
    border: 1px solid #1e293b !important;

    /* Effet 3D visible imédiatement */
    transform-style: preserve-3d !important;
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale(1) !important;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.7),
        inset 0 0 0 rgba(56,189,248,0.5) !important;

    transition: all 0.3s ease !important;
}

.service-card:hover {
    transform: perspective(900px) rotateX(10deg) rotateY(4deg) scale(1.06) !important;
    box-shadow:
        0 15px 35px rgba(0,0,0,0.85),
        0 0 25px rgba(56,189,248,0.45),
        inset 0 0 12px rgba(56,189,248,0.4) !important;
}

.service-card h3 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
    color: #38bdf8 !important;
}

.service-card p {
    font-size: 14px !important;
    color: #cbd5e1 !important;
}
/* BOUTONS 3D STYLÉS */
.btn-3d {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Bouton RDV (Noir 3D) */
.btn-rdv {
    background: #0f172a;
    color: #fff;
    border: 1px solid #1e293b;
    box-shadow: 0 6px 14px rgba(0,0,0,0.7);
}
.btn-rdv:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

/* Bouton Réservation (Bleu lumineux 3D) */
.btn-resa {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    box-shadow: 0 6px 14px rgba(56,189,248,0.45);
}
.btn-resa:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(56,189,248,0.55);
}
/* BOUTONS 3D — Compatible avec ton style actuel */
.btn-3d {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
    border: none !important;
}

/* Bouton noir 3D : RDV */
.btn-rdv {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.6);
}
.btn-rdv:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0,0,0,0.7);
}

/* Bouton bleu lumineux 3D : RÉSERVATION */
.btn-resa {
    background: linear-gradient(135deg, #38bdf8, #2563eb) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(56,189,248,0.4);
}
.btn-resa:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(56,189,248,0.55);
}
/* === BOUTONS 3D ACCUEIL === */
.home-btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: 0.25s ease;
}

/* RDV = bouton noir 3D */
.home-rdv {
    background: #000;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.6);
}
.home-rdv:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.75);
}

/* RÉSERVATION = bouton bleu 3D lumineux */
.home-reservation {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(56,189,248,0.45);
}
.home-reservation:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(56,189,248,0.60);
}
