/* =========================================
   VARIABLES DE LA MARQUE (Look PDG)
   ========================================= */
:root {
    --bleu-autorite: #0F172A;
    --or-patrimoine: #B4842D;
    --gris-texte: #475569;
    --gris-pale: #F1F5F9;
    --fond: #F8FAFC;
    --blanc: #FFFFFF;
}

/* =========================================
   BASE ET RESET
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--fond);
    color: var(--bleu-autorite);
    line-height: 1.6;
}

/* =========================================
   NAVIGATION (HEADER)
   ========================================= */
.navbar {
    background-color: var(--blanc);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bleu-autorite);
    text-decoration: none;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--gris-texte);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--or-patrimoine);
}
.btn-contact {
    background-color: var(--bleu-autorite);
    color: var(--blanc) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px; /* Highly rounded modern button */
    transition: background 0.3s;
}
.btn-contact:hover {
    background-color: var(--or-patrimoine);
}

/* =========================================
   BOUTONS GLOBAUX
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: var(--bleu-autorite);
    color: var(--blanc);
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 30px; /* Highly rounded modern button */
    margin-top: 1.5rem;
    transition: background 0.3s;
}
.btn-primary:hover {
    background-color: var(--or-patrimoine);
}

/* =========================================
   SECTION HERO (ACCUEIL)
   ========================================= */
.hero {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}
.hero-content {
    flex: 1;
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--bleu-autorite);
    margin-bottom: 1.5rem;
}
.hero-intro {
    font-size: 1.1rem;
    color: var(--gris-texte);
    margin-bottom: 1rem;
}
.hero-subtext {
    font-weight: 600;
    color: var(--or-patrimoine);
}
.hero-image {
    flex: 1;
    background-color: var(--gris-pale);
    border-radius: 8px;
    height: 480px; /* Slightly taller for desktop */
    overflow: hidden;
    border-bottom: 6px solid var(--or-patrimoine);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* THE FIX: Always pins the head to the top so hair is never cut */
}

/* =========================================
   SECTION ACTUALITÉ (BANNIÈRE CCU)
   ========================================= */
.news-banner {
    background-color: var(--gris-pale);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 2.5rem 2rem;
}
.news-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--blanc);
    padding: 2rem;
    border-left: 4px solid var(--or-patrimoine);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.news-date {
    font-weight: 600;
    color: var(--or-patrimoine);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-divider {
    color: #CBD5E1;
    margin: 0 10px;
}
.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--bleu-autorite);
    margin: 0.5rem 0 0.8rem 0;
}
.news-text {
    color: var(--gris-texte);
    font-size: 1rem;
    margin: 0;
}

/* =========================================
   SECTION PILIERS (VISION)
   ========================================= */
.pillars {
    padding: 6rem 2rem;
    background-color: var(--blanc);
}
.pillars-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}
.pillars-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bleu-autorite);
    margin-bottom: 1rem;
}
.pillars-header p {
    color: var(--or-patrimoine);
    font-size: 1.1rem;
    font-style: italic;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.pillar-card {
    background: var(--fond);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 3px solid var(--or-patrimoine);
}
.pillar-icon {
    color: var(--or-patrimoine);
    margin-bottom: 1.5rem;
}
.pillar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--bleu-autorite);
    margin-bottom: 1rem;
}
.pillar-card p {
    color: var(--gris-texte);
    font-size: 0.95rem;
}

/* =========================================
   SECTION CTA (ENGAGEMENT)
   ========================================= */
.cta-section {
    background-color: var(--gris-pale); /* Clean grey separation from the footer */
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}
.cta-container {
    max-width: 800px;
    margin: 0 auto;
}
.cta-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bleu-autorite); /* Dark text on light background */
    margin-bottom: 1rem;
}
.cta-container p {
    color: var(--gris-texte);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-btn {
    background-color: var(--bleu-autorite);
    color: var(--blanc);
    margin-top: 0;
}
.cta-btn:hover {
    background-color: var(--or-patrimoine);
    color: var(--blanc);
}

/* =========================================
   PIED DE PAGE (FOOTER)
   ========================================= */
.site-footer {
    background-color: var(--bleu-autorite);
    color: var(--blanc);
    padding: 4rem 2rem 1.5rem;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 1.5rem;
}
.footer-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}
.footer-info p {
    color: var(--or-patrimoine);
    font-style: italic;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: var(--gris-pale);
}
.contact-item svg {
    color: var(--or-patrimoine);
}
.contact-item a {
    color: var(--gris-pale);
    text-decoration: none;
}
.contact-item a:hover {
    color: var(--or-patrimoine);
}
.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
}
.footer-bottom a {
    color: #94A3B8;
    font-weight: 500;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--or-patrimoine);
}

/* =========================================
   RESPONSIVE (MOBILES ET TABLETTES)
   ========================================= */
/* =========================================
   HAMBURGER ICON BASE (Hidden on Desktop)
   ========================================= */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 200;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--bleu-autorite);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =========================================
   RESPONSIVE (MOBILES ET TABLETTES)
   ========================================= */
@media (max-width: 768px) {
    /* Show the hamburger icon */
    .hamburger { display: flex; }

    /* Style the mobile slide-down menu */
    .nav-links {
        position: absolute;
        top: 70px; /* Below the navbar */
        left: -100%; /* Hidden off-screen to the left */
        flex-direction: column;
        background-color: var(--blanc);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        transition: left 0.4s ease; /* Smooth slide animation */
    }

    /* Class added by JavaScript to slide the menu in */
    .nav-links.nav-active {
        left: 0; 
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Hamburger Animation to 'X' */
    .toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Existing Mobile Tweaks */
    .hero { flex-direction: column; text-align: center; margin: 2rem auto; }
    .hero-image { width: 100%; height: 400px; }
    .pillars { padding: 4rem 1.5rem; }
    .pillars-header h2 { font-size: 2rem; }
    .footer-container { flex-direction: column; gap: 2rem; text-align: center; }
    .contact-item { justify-content: center; }
}

/* =========================================
   PAGE: MON PARCOURS (ABOUT ME)
   ========================================= */
.page-header {
    background-color: var(--bleu-autorite);
    color: var(--blanc);
    padding: 6rem 2rem;
    text-align: center;
}
.header-content {
    max-width: 800px;
    margin: 0 auto;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}
.page-header p {
    color: var(--or-patrimoine);
    font-size: 1.2rem;
    font-style: italic;
}

.bg-white { background-color: var(--blanc); }
.bg-grey { background-color: var(--gris-pale); border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; }

.about-section {
    padding: 6rem 2rem;
}
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}
.about-container.reverse {
    flex-direction: row-reverse;
}
.about-text {
    flex: 1;
}
.icon-wrap {
    color: var(--or-patrimoine);
    margin-bottom: 1rem;
}
.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--bleu-autorite);
    margin-bottom: 1.5rem;
}
.about-text p {
    color: var(--gris-texte);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}
.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 400px;
    background-color: #E2E8F0; /* Grey placeholder if image is missing */
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About Page Mobile Fixes */
@media (max-width: 768px) {
    .page-header { padding: 4rem 1.5rem; }
    .page-header h1 { font-size: 2.2rem; }
    .about-container, .about-container.reverse {
        flex-direction: column;
        gap: 2.5rem;
    }
    .about-image { height: 300px; width: 100%; }
    .about-section { padding: 4rem 1.5rem; }
}

/* =========================================
   PAGE: VISION (ARTICLES / IMAGES)
   ========================================= */
.vision-hub {
    padding: 6rem 2rem;
}
.hub-container {
    max-width: 1200px; 
    margin: 0 auto;
}
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}
.vision-card {
    background: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #F1F5F9;
}
.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.vision-image {
    width: 100%;
    height: 240px; /* Nice tall image for visual impact */
    background-color: var(--gris-pale);
    overflow: hidden; /* Keeps the zoom effect inside the box */
}
.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom transition */
}
/* The Premium Image Hover Zoom Effect */
.vision-card:hover .vision-image img {
    transform: scale(1.05);
}
.vision-info {
    padding: 2rem;
}
.vision-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--or-patrimoine);
    margin-bottom: 0.8rem;
}
.vision-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--bleu-autorite);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.vision-info p {
    color: var(--gris-texte);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Vision Hub Mobile Fixes */
@media (max-width: 768px) {
    .vision-hub { padding: 4rem 1.5rem; }
    .vision-grid { gap: 2rem; }
    .vision-image { height: 200px; }
}