/* Main Styles */
:root {
    --color-primary: #1B263B;
    /* Bleu Nuit */
    --color-accent: #C5A059;
    /* Or */
    --color-bg: #FFFFFF;
    /* Blanc */
    --color-bg-alt: #F8F9FA;
    /* Gris très clair */
    --color-text: #333333;
    /* Gris foncé texte */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    position: relative;
    /* Ensure footer stays down/layout works */
    min-height: 100vh;
    z-index: 0;
    /* Create stacking context so ::before sits on top of bg color */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-site.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    /* Very subtle transparency */
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--color-primary);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #b08d45;
}

/* Header */
header {
    background-color: var(--color-primary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: var(--color-accent);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--color-accent);
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* ... existing hero styles ... */

    /* Header & Navigation */
    header {
        position: relative;
        /* Context for absolute menu */
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--color-primary);
        padding: 1rem 0;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul.active {
        display: flex !important;
    }

    nav ul li {
        text-align: center;
        padding: 1rem 0;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
}

/* Use Grid for stable 2-column layout that respects content sizing without exploding width */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Equivalent to 50/50 split */
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    /* Vertically center by default */
}

.hero-image {
    display: flex;
    justify-content: center;
    /* Optional: Limit max width of column so it doesn't get huge on wide screens */
    width: 100%;
}

.hero-image img {
    height: 350px;
    width: 350px;
    /* Fixed square dimensions for perfect circle */
    object-fit: cover;
    /* Crop securely to center */
    border-radius: 50%;
    /* Make it round */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Override container to stretch items so we know the height matches */
.hero-container {
    align-items: stretch;
}

.hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically in the stretched cell */
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    font-weight: 300;
}

.hero-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-group {
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        /* Stack */
        gap: 2rem;
        text-align: center;
    }

    .hero-image img {
        width: 280px;
        height: 280px;
        max-width: 80vw;
        /* Safe margin on very small screens */
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 50%;
    }
}

/* Pricing Grid styling */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-card {
    flex: 0 0 100%;
    /* Mobile: full width */
    text-align: center;
}

@media (min-width: 700px) {
    .pricing-card {
        flex: 0 0 calc((100% - 2rem) / 2);
        /* Tablet: 2 cols */
    }
}

@media (min-width: 1050px) {
    .pricing-card {
        flex: 0 0 calc((100% - 4rem) / 3);
        /* Desktop: 3 cols */
    }
}