@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

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

:root {
    --navy: #1C3163;
    --gold: #D5B584;
    --beige: #EEE8DF;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text p {
    color: white;
    font-size: 0.65rem;
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 1.5rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(213, 181, 132, 0.1);
    color: var(--gold);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--navy);
    min-width: 280px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    border-top: 2px solid var(--gold);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(213, 181, 132, 0.15);
    color: var(--gold);
    padding-left: 2rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 0.8rem 2rem;
    border: 2px solid var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateX(5px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28, 49, 99, 0.65) 0%, rgba(28, 49, 99, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
    animation: fadeIn 1s ease-in;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero h2 {
    color: white;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h2 span {
    font-weight: 700;
    color: var(--gold);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.hero-address {
    margin-top: 3rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Page Header for interior pages */
.page-header {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28, 49, 99, 0.65) 0%, rgba(28, 49, 99, 0.55) 100%);
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.page-header h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-header h1 span {
    font-weight: 700;
    color: var(--gold);
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-container h1 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    margin-top: 20px;
    margin-bottom: 10px;
}

.section-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-title span {
    font-weight: 700;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Fil d'ariane */
.breadcrumb {
    display: none; /* Désactivé — retirer cette ligne pour réactiver le fil d'ariane */
    position: static;
    background: none;
    box-shadow: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    color: #bbb;
}

.breadcrumb .breadcrumb-current {
    color: var(--navy);
    font-weight: 500;
}

/* Content Grid Layouts */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: top;
    margin-bottom: 0;
}

.content-text h3 {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 2rem;
}

.content-text h2 span {
    font-weight: 700;
}

.content-text p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-text strong {
    color: var(--navy);
}

.content-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-text ul li {
    color: #555;
    line-height: 1.8;
}

.content-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Pillars / Value boxes */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    background: var(--beige);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 49, 99, 0.15);
    border-color: var(--navy);
}

.pillar-value {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pillar-label {
    color: var(--navy);
    font-weight: 600;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.objective-card {
    background: white;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(28, 49, 99, 0.15);
}

.objective-card--featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: left;
    background: var(--navy);
    color: white;
}

.objective-card--featured .objective-icon path,
.objective-card--featured .objective-icon line,
.objective-card--featured .objective-icon circle {
    stroke: white;
}

.objective-card--featured .objective-title {
    color: var(--gold);
}

.objective-card--featured .objective-description {
    color: rgba(255, 255, 255, 0.85);
}

.objective-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.objective-title {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.objective-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.solution-card {
    background: var(--navy);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.solution-card:hover {
    background: rgba(28, 49, 99, 0.9);
    transform: translateY(-10px);
}

.solution-title {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-list {
    list-style: none;
    text-align: left;
    font-size: 0.85rem;
}

.solution-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Expertise Section */
.expertise-section {
    background: var(--navy);
    color: white;
}

.expertise-section .section-title {
    color: white;
}

.expertise-section .section-title span {
    color: var(--gold);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.expertise-accordion {
    list-style: none;
}

.expertise-item {
    border-bottom: 2px solid var(--gold);
    padding: 1.5rem 0;
}

.expertise-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.expertise-item a:hover {
    padding-left: 1rem;
}

.expertise-item-title {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expertise-item-title::after {
    content: '+';
    color: var(--gold);
    font-size: 2rem;
    font-weight: 300;
}

.expertise-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-box h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-box p {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy);
    margin-bottom: 2rem;
}

.contact-info h2 span {
    font-weight: 700;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: var(--gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-content p:first-child {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.3rem;
}

.contact-item-content p:last-child {
    color: #666;
}

.hours-box {
    background: var(--beige);
    padding: 2rem;
}

.hours-box p:first-child {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hours-box p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--navy);
    padding: 3rem;
}

.contact-form h3 {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(238, 232, 223, 0.3);
    padding: 0.8rem 0;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
}

/* Footer */
footer {
    background: var(--navy);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.footer-logo h4 {
    color: var(--gold);
    font-weight: 700;
    font-size: 1rem;
}

.footer-logo p {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Cacher le menu desktop et le bouton CTA */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0,0,0,0.2);
        display: none;
        min-width: auto;
    }
    
    .nav-item.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 1rem 3rem;
        font-size: 1rem;
    }
    
    .nav-container > .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
        z-index: 1001;
    }


    .hero h2, .page-header h1 {
        font-size: 3rem;
    }
    
    .content-grid,
    .contact-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation mobile - réduire logo et cacher baseline */
    .logo-icon {
        height: 40px;
    }
    
    .logo-text p {
        display: none; /* Cacher la baseline sur mobile */
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .nav-container {
        padding: 0.8rem 0.75rem 0.8rem 1rem;
    }
    
    .hero h2, .page-header h1 {
        font-size: 2rem;
    }

    .hero p, .page-header p {
        font-size: 1.1rem;
    }

    .section-container h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .objectives-grid,
    .solutions-grid,
    .pillars {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .content-image img {
        height: auto;
    }
}

/* Appareils tactiles (phones + tablettes toutes tailles, y compris iPad paysage) :
   background-attachment: fixed non supporté correctement sur iOS/Android */
@media (pointer: coarse) {
    .hero, .page-header {
        background-attachment: scroll;
    }
}
