/* --- IMPORTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

@font-face {
    font-family: 'Trajan';
    src: url('../fonts/Trajan-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary: #1b9287;  
    --secondary: #338787;    
    --accent: #e63189;       
    --text-dark: #1a1a1a;
    --bg-light: #FAF8F5;
    
    --font-heading: 'Bodoni Moda', serif;
    --font-body: 'Lato', sans-serif;
    
    --container-width: 1600px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body { 
    font-family: var(--font-body); 
    color: var(--text-dark); 
    background-color: var(--bg-light); 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


/* --- NAVBAR & MENU --- */
.navbar {
    position: sticky; top: 0; width: 100%;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(5px); z-index: 1000; padding: 20px 0;
    border-bottom: 1px solid transparent;
}
.nav-container-edgard {
    display: flex; justify-content: center; align-items: center;
    max-width: var(--container-width); margin: 0 auto; padding: 0 40px; position: relative;
}
.nav-brand-center { display: flex; align-items: center; z-index: 1001; }
.nav-logo { width: 120px; height: auto; }

/* Burger */
.nav-toggle {
    position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 6px; padding: 10px;
    z-index: 1002;
}
.nav-toggle span { width: 30px; height: 2px; background: #1a1a1a; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Overlay Menu */
.nav-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-light); display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.4s; z-index: 999;
}
.nav-menu-overlay.active { opacity: 1; visibility: visible; }
.nav-menu-list { list-style: none; text-align: center; padding: 0; }
.nav-menu-list li { margin: 20px 0; overflow: hidden; }

.nav-link { 
    display: block; 
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    font-family: var(--font-heading);
    font-weight: 200; 
    font-style: italic; 
    color: var(--text-dark);
    transform: translateY(100%); 
    transition: transform 0.5s ease 0.1s;
}
.nav-menu-overlay.active .nav-link { transform: translateY(0); }
.nav-link:hover { color: var(--primary); }


/* --- WRAPPER --- */
.main-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 120px; 
}


/* --- HEADER ACCUEIL --- */
.home-hero-header {
    text-align: center;
    padding: 80px 20px 60px;
    background-color: var(--bg-light);
}

.home-hero-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.home-hero-header .subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-hero-actions {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.hero-separator {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 30px;
    position: relative;
}

.hero-separator::after {
    content: "L'art de voir autrement";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-light);
    padding: 0 20px;
    font-family: var(--font-heading);
    font-style: italic;
    color: #ccc;
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}




/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 300px; 
    gap: 20px;
    margin-bottom: 60px;
}
.bento-box {
    position: relative; overflow: hidden; border-radius: 4px; display: block;
    background: #000;
}
.box-bg {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease; opacity: 0.85;
}
.bento-box:hover .box-bg { transform: scale(1.05); opacity: 0.6; }

.box-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff; pointer-events: none;
}
.box-overlay h2 {
    font-size: 1.4rem; margin-bottom: 5px; text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.link-arrow {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; opacity: 0.9;
}
.double-width { grid-column: span 2; }
.full-width { grid-column: span 4; height: 350px; }


/* --- INFO SECTION (MAP) --- */
.info-section {
    display: flex; height: 300px; background: #fff; border: 1px solid #e5e5e5;
    margin-bottom: 60px;
}
.info-text {
    flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center;
}
.info-text h3 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 10px; }
.info-text p { margin-bottom: 20px; color: #666; font-size: 1.2rem; }
.btn-outline {
    align-self: flex-start; padding: 10px 25px; border: 1px solid var(--text-dark);
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px;
}
.btn-outline:hover { background: var(--text-dark); color: #fff; }
.info-map { flex: 1.5; position: relative; height: 100%; background: #eee; }
.info-map iframe { border: 0; width: 100%; height: 100%; filter: grayscale(1); }
.info-map:hover iframe { filter: grayscale(0); transition: filter 0.5s; }


/* --- POINT RELAIS --- */
.relay-section {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 60px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.relay-left {
    padding: 40px 50px;
    border-left: 3px solid var(--primary);
    flex-shrink: 0;
}

.relay-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.relay-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 400;
    white-space: nowrap;
}

.relay-sep {
    width: 1px;
    height: 80px;
    background-color: #e5e5e5;
    flex-shrink: 0;
}

.relay-right {
    padding: 40px 50px;
    flex: 1;
}

.relay-right p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 480px;
}

@media (max-width: 768px) {
    .relay-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .relay-sep { width: 100%; height: 1px; }
    .relay-left, .relay-right { padding: 30px 25px; }
    .relay-title { white-space: normal; font-size: 1.5rem; }
}

/* --- RDV BANNER --- */
.rdv-banner {
    position: relative; padding: 80px 20px; margin-bottom: 60px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; background: var(--secondary); overflow: hidden;
}
.rdv-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; opacity: 0.4; filter: grayscale(20%); 
}
.gradient-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.rdv-content { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.rdv-content h2 { 
    font-size: clamp(1.8rem, 4vw, 3.2rem); margin-bottom: 35px; color: #fff; 
}
.btn-rdv {
    display: inline-block; padding: 20px 50px; 
    background: #fff; color: var(--secondary);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    transition: all 0.2s;
}
.btn-rdv:hover { transform: translateY(-3px); background-color: var(--bg-light); }


/* --- FOOTER --- */
.footer {
    border-top: 1px solid #ddd; padding: 60px 0 30px;
}
.footer-cols { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; 
}
.f-col h4 { 
    font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 20px; color: #999;
    font-weight: 700;
}
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 10px; }
.f-col a { font-size: 0.9rem; color: var(--text-dark); transition: color 0.3s; }
.f-col a:hover { color: var(--primary); }
.footer-copy { text-align: center; margin-top: 50px; font-size: 0.8rem; color: #aaa; }
.footer-copy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--primary); }


/* --- RESPONSIVE --- */
@media (max-width: 1400px) {
    .main-wrapper { padding: 0 60px; }
}

@media (max-width: 1024px) {
    .home-hero-header h1 { font-size: 2.8rem; }
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .double-width { grid-column: span 2; } 
    .full-width { grid-column: span 2; }
    
    .info-section { flex-direction: column; height: auto; }
    .info-map { height: 300px; width: 100%; }
    .main-wrapper { padding: 0 40px; }
}

@media (max-width: 768px) {
    .home-hero-header { padding: 40px 20px; }
    .home-hero-header h1 { font-size: 2.2rem; }
    .hero-separator::after { font-size: 1.1rem; padding: 0 10px; }
}

@media (max-width: 600px) {
    .main-wrapper { padding: 0 20px; }
    .nav-logo { width: 90px; }
    
    .bento-grid { grid-template-columns: 1fr; gap: 30px; }
    .double-width, .full-width { grid-column: span 1; }
    .bento-grid { grid-auto-rows: 250px; }
    .full-width { height: 250px; }

    .home-header { height: 250px; }
    
    .footer-cols { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .rdv-banner { width: 100vw; margin-left: -20px; margin-right: -20px; }
}