/* VARIABLES & RESET */
:root {
    /* Couleurs adaptées au Sud-Ouest & Premium */
    --primary: #c15b44; /* Rouge/Ocre terracotta */
    --primary-hover: #a64230;
    --secondary: #2c3e50; /* Bleu foncé élégant */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f9f7f5;
    --white: #ffffff;
    
    /* Typographie */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espace et autres */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --border-rad: 8px;
}

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

html {
    scroll-behavior: smooth;
}

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

ul { list-style: none; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-rad);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
}

/* HEADER & NAVBAR */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO HANDLING - mix blend mode for dark backgrounds */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-accent {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.header.scrolled .logo-text {
    color: var(--secondary);
}

.header.scrolled .logo-accent {
    color: var(--primary);
}

.footer-logo-text {
    display: inline-flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 0.9;
}

.footer-logo-accent {
    font-weight: 400;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
}

.header:not(.scrolled) .nav-cta {
    background: transparent;
    border: 2px solid var(--white);
}

.header:not(.scrolled) .nav-cta:hover {
    background: var(--white);
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--secondary);
}

/* HERO SECTION - IMMERSIVE FULLSCREEN */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GENERAL SECTIONS */
.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-rad);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(193, 91, 68, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* --- STYLES POUR COLLECTIONS --- */
.collections-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.collection-card {
    background: var(--white);
    border-radius: var(--border-rad);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(193, 91, 68, 0.2);
}

.collection-img {
    position: relative;
    height: 250px;
    padding: 14px;
    background: linear-gradient(180deg, #f7f2ee 0%, #efe4dc 100%);
    overflow: hidden;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.collection-img picture {
    display: block;
    height: 100%;
}

.collection-img > picture img {
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(23, 30, 43, 0.14);
}

.collection-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: 100%;
}

.collection-gallery img {
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(23, 30, 43, 0.14);
}

.collection-gallery img:first-child {
    grid-row: 1 / 3;
}

.collection-card:hover .collection-img > picture img {
    transform: scale(1.05);
}

.collection-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.badge {
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.collection-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.collection-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.collection-theme {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collection-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.collection-specs {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 15px;
}

.collection-specs li {
    font-size: 0.9rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.collection-specs i {
    color: var(--primary);
    width: 20px;
    margin-right: 10px;
}

.cta-center {
    text-align: center;
}

/* --- SECTION TÉLÉCHARGEMENT CATALOGUES --- */
.catalog-downloads {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.download-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--border-rad);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    text-decoration: none;
    gap: 15px;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(193, 91, 68, 0.3);
}

.download-card > .fa-file-pdf {
    font-size: 2.2rem;
    color: #e2574c; 
    transition: var(--transition);
}

.download-card:hover > .fa-file-pdf {
    transform: scale(1.1);
}

.download-info {
    flex-grow: 1;
}

.download-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
    color: var(--secondary);
    font-family: var(--font-body); 
    font-weight: 600;
}

.download-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

.download-icon {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0.3;
    transition: var(--transition);
}

.download-card:hover .download-icon {
    opacity: 1;
    transform: translateY(2px);
}

/* --- SECTION MERCHANDISING --- */
.merchandising {
    background: var(--white);
}

.merchandising-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.merchandising-text .section-title::after {
    left: 0;
    transform: none;
}

.merchandising-features {
    margin-top: 30px;
}

.merchandising-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.merchandising-features i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 3px;
}

.merchandising-features strong {
    color: var(--secondary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.merchandising-features p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.merchandising-image {
    background: var(--bg-light);
    border-radius: var(--border-rad);
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(193, 91, 68, 0.2);
    box-shadow: var(--shadow-soft);
}

.placeholder-display {
    text-align: center;
    padding: 30px;
}

.placeholder-display p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* PARTENAIRES (REDESIGN) */
.partenaires {
    background-color: var(--bg-light);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.target-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-rad);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(193, 91, 68, 0.1);
}

.target-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(193, 91, 68, 0.2);
}

.target-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.target-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--secondary), #1a252f);
    border-radius: var(--border-rad);
    padding: 50px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: var(--white);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193, 91, 68, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.cta-banner-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-banner-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

.cta-banner-actions {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.btn-outline-dark {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-rad);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-dark i {
    margin-right: 10px;
}

.btn-outline-dark:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-primary i {
    margin-right: 10px;
}

/* FOOTER */
.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.brand-col .footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-contact a {
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.legal-links a {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary);
}

.cms-mention a {
    color: var(--primary);
    font-weight: 600;
}

/* LEGAL PAGES */
.legal-page {
    position: relative;
    padding: 150px 0 100px;
    background:
        radial-gradient(circle at top left, rgba(193, 91, 68, 0.10), transparent 30%),
        linear-gradient(180deg, #fffdfb 0%, #f7f3ef 100%);
}

.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.legal-shell {
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 48px;
}

.legal-header {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.10);
}

.legal-header h1 {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin-bottom: 14px;
}

.legal-header p {
    max-width: 760px;
    color: var(--text-muted);
}

.legal-section + .legal-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.legal-section h2 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.legal-section p,
.legal-section li {
    color: var(--text-main);
}

.legal-section p + p {
    margin-top: 12px;
}

.legal-page ul {
    margin-top: 14px;
    padding-left: 22px;
    list-style: disc;
}

.legal-page li + li {
    margin-top: 10px;
}

.legal-facts {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 12px;
}

.legal-facts li {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-light);
    border: 1px solid rgba(44, 62, 80, 0.06);
}

.legal-note {
    margin-top: 16px;
    padding: 20px 22px;
    border-left: 4px solid var(--primary);
    background: rgba(193, 91, 68, 0.08);
    border-radius: 14px;
}

.legal-note p {
    margin: 0;
}

.legal-page a:not(.btn) {
    color: var(--primary-hover);
}

.legal-page a:not(.btn):hover {
    color: var(--primary);
}

/* UTILITIES */
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.text-primary { color: var(--primary); }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .merchandising-layout { grid-template-columns: 1fr; }
    .merchandising-text .section-title::after { left: 50%; transform: translateX(-50%); }
    .merchandising-text { text-align: center; }
    .merchandising-features li { text-align: left; }
}

@media (max-width: 900px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-banner-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .header-container { padding: 0 10px; }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav.active { right: 0; }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .nav-link {
        color: var(--secondary) !important;
        font-size: 1.2rem;
    }
    
    .nav-cta {
        background-color: var(--primary);
        color: var(--white);
        width: 100%;
        text-align: center;
        border-color: var(--primary);
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--secondary);
    }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--secondary);
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .section-title { font-size: 2rem; }
    .collection-img {
        height: 220px;
        padding: 12px;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links { justify-content: center; }
    .legal-page { padding: 130px 0 80px; }
    .legal-shell { padding: 32px 24px; border-radius: 20px; }
    .legal-header { margin-bottom: 30px; padding-bottom: 24px; }
}
