/* ============================================================
   BANDEAU COOKIES
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1e2d27;
    border-top: 2px solid #3d5a4c;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.25);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner.is-hiding {
    transform: translateY(100%);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #8fb89e;
    margin-top: 2px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #c8d8cc;
    line-height: 1.65;
    font-family: Arial, sans-serif;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 11px 28px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    cursor: pointer;
    border: 1px solid #3d5a4c;
    transition: background 0.25s, color 0.25s;
    white-space: nowrap;
}

.cookie-refuse {
    background: transparent;
    color: #8fb89e;
}

.cookie-refuse:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.cookie-accept {
    background: #3d5a4c;
    color: #ffffff;
}

.cookie-accept:hover {
    background: #4e7060;
}

@media screen and (max-width: 700px) {
    .cookie-inner {
        flex-direction: column;
        gap: 18px;
        padding: 20px 20px;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ============================================================
   LIGNE APOLLON — Feuille de styles principale
   ============================================================ */

/* --- Variables --- */
:root {
    --vert-apollon: #485450;
    --hauteur-bande: 100px;
    --position-top: 20px;
    --transition: 0.3s ease;
}

/* --- Reset de base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ============================================================
   HEADER
   ============================================================ */

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Système de bandes décoratives */
.stripe-container {
    position: absolute;
    top: var(--position-top);
    left: 0;
    width: 100%;
    height: var(--hauteur-bande);
    display: flex;
    z-index: 1;
}

.stripe-left {
    width: 9%;
    background-color: var(--vert-apollon);
}

.stripe-gap {
    width: 110px;
    background: transparent;
}

.stripe-right {
    flex-grow: 1;
    background-color: var(--vert-apollon);
}

/* Contenu du header */
.header-content {
    position: relative;
    top: var(--position-top);
    z-index: 2;
    display: flex;
    align-items: center;
    padding-left: 9%;
    padding-right: 5%;
    height: var(--hauteur-bande);
    width: 100%;
}

/* Logo */
.logo-wrapper {
    width: 110px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper img {
    height: var(--hauteur-bande);
    width: auto;
    display: block;
}

/* Navigation principale */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 110px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.5px;
    transition: opacity var(--transition);
}

.main-nav a:hover {
    opacity: 0.7;
}

/* Icônes sociales header */
.header-socials {
    margin-left: auto;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.header-socials .icon-link svg {
    width: 22px;
    height: 22px;
    transition: opacity var(--transition);
    display: block;
}

.header-socials .icon-link:hover svg {
    opacity: 0.7;
}

/* Bouton burger (caché sur desktop) */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1100;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
}

.burger-btn.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--vert-apollon);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.slide.active {
    opacity: 1;
    animation: kenBurns 6s ease-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1);    }
    to   { transform: scale(1.08); }
}

/* Flèches navigation */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}

.slide-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.slide-prev { left: 28px; }
.slide-next { right: 28px; }

/* Points de progression circulaires */
.slide-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 14px;
    align-items: center;
}

.slide-dot {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-dot svg {
    width: 28px;
    height: 28px;
}

.dot-track {
    stroke: rgba(255, 255, 255, 0.35);
    fill: rgba(255, 255, 255, 0.25);
    stroke-width: 1.5;
}

.slide-dot.active .dot-track {
    fill: rgba(255, 255, 255, 0);
}

.dot-progress {
    stroke: #ffffff;
    fill: none;
    stroke-width: 1.8;
    stroke-dasharray: 56.5;
    stroke-dashoffset: 56.5;
    transform-origin: 12px 12px;
    transform: rotate(-90deg);
}

.slide-dot.active .dot-progress {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 6s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 5px;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
    font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */

.main-footer {
    background-color: var(--vert-apollon);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 5%;
}

.footer-logo img {
    height: 120px;
    width: auto;
}

.footer-column h3 {
    font-size: 16px;
    margin: 0 0 20px;
    letter-spacing: 1px;
}

.footer-column address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
}

.footer-column address a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity var(--transition);
}

.footer-column address a:hover {
    opacity: 0.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    opacity: 0.8;
    letter-spacing: 0.5px;
    transition: opacity var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 1200px;
    margin: 40px auto 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    padding: 0 5%;
}

.footer-bottom-content p {
    margin: 8px 0;
    opacity: 0.75;
}

.footer-copy {
    font-size: 12px;
    margin-top: 15px !important;
    opacity: 0.55 !important;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 12px 0;
}

.social-icon-fin {
    width: 20px;
    height: 20px;
    display: block;
    transition: opacity var(--transition);
}

.footer-socials .icon-link:hover .social-icon-fin {
    opacity: 0.7;
}

/* ============================================================
   PAGE À PROPOS
   ============================================================ */

.about-page {
    padding-top: 180px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-intro h1 {
    font-size: clamp(24px, 4vw, 32px);
    letter-spacing: 3px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    margin: 0 0 15px;
}

.about-intro .subtitle {
    font-family: Georgia, serif;
    font-style: italic;
    color: #888;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0 0 30px;
    display: block;
}

.intro-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 15px;
}

/* Timeline */
.timeline-section {
    padding: 40px 0;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 12px;
    width: 16px;
    height: 16px;
    background: var(--vert-apollon);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--vert-apollon);
    z-index: 2;
}

.timeline-date {
    font-size: 26px;
    font-weight: bold;
    color: var(--vert-apollon);
    margin-bottom: 10px;
}

.timeline-content {
    background: #fff;
    padding: 20px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.timeline-content h2 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #333;
    font-weight: bold;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */

.contact-page-apollon {
    padding-top: 180px;
    padding-bottom: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header-premium {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.contact-header-premium h1 {
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: 5px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    margin: 0 0 15px;
}

.contact-header-premium .subtitle {
    font-family: Georgia, serif;
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* ── Formulaire de contact ── */
.contact-form-section {
    padding: 0 5% 70px;
}

.contact-form-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 26px;
}

.form-label {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #3a3a3a;
    font-family: Arial, sans-serif;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-required {
    color: #3d5a4c;
    margin-left: 2px;
}

.form-hint {
    color: #888;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0ccc6;
    background: #fafaf9;
    font-size: 0.9rem;
    color: #1a1a1a;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    border-radius: 0;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #3d5a4c;
    background: #ffffff;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: #b94040;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d5a4c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-error-msg {
    font-size: 0.75rem;
    color: #b94040;
    margin-top: 5px;
    font-family: Arial, sans-serif;
}

.form-note {
    font-size: 0.75rem;
    color: #888;
    margin: 0 0 28px;
}

.form-btn {
    display: inline-block;
    padding: 15px 42px;
    background: #3d5a4c;
    color: #ffffff;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    border: none;
    cursor: pointer;
    transition: background 0.3s, letter-spacing 0.3s;
}

.form-btn:hover {
    background: #2c3e35;
    letter-spacing: 4px;
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #edf5f0;
    border-left: 4px solid #3d5a4c;
    padding: 22px 24px;
    color: #2c3e35;
    font-size: 0.9rem;
    line-height: 1.6;
}

.form-success svg {
    flex-shrink: 0;
    color: #3d5a4c;
    margin-top: 2px;
}

.form-alert-error {
    background: #fdf0f0;
    border-left: 4px solid #b94040;
    padding: 16px 20px;
    color: #7a2020;
    font-size: 0.88rem;
    margin-bottom: 28px;
}

/* ── Responsive formulaire ── */
@media screen and (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-section { padding: 0 20px 50px; }
    .form-btn { width: 100%; text-align: center; }
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    padding: 0 5%;
    align-items: stretch;
}

/* Colonne infos */
.contact-info-panel {
    flex: 1;
    min-width: 0;
}

.contact-info-panel h2 {
    font-size: 20px;
    color: var(--vert-apollon);
    margin: 0 0 30px;
    border-bottom: 2px solid var(--vert-apollon);
    display: inline-block;
    padding-bottom: 6px;
    letter-spacing: 1px;
}

.info-block {
    margin-bottom: 35px;
}

.info-block h3 {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--vert-apollon);
    margin: 0 0 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.info-block address {
    font-style: normal;
    line-height: 1.7;
    color: #666;
    margin: 0 0 10px;
    font-size: 14px;
}

.phone-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-links a, .email-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition);
}

.phone-links a:hover, .email-link:hover {
    color: var(--vert-apollon);
}

/* Colonne carte */
.contact-map-panel {
    flex: 1;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    min-height: 400px;
}

.contact-map-panel iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    filter: grayscale(20%);
    transition: filter var(--transition);
}

.contact-map-panel:hover iframe {
    filter: grayscale(0%);
}

/* ============================================================
   SECTION QUI SOMMES-NOUS
   ============================================================ */

.qui-section {
    background: #ffffff;
    overflow: hidden;
    margin-top: 40px;
}

.qui-inner {
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 500px;
}

.qui-text {
    padding: 80px 60px 80px 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qui-titre {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px;
    font-family: Arial, sans-serif;
}

.qui-tagline {
    font-style: italic;
    color: #7a7a7a;
    font-size: 1rem;
    margin: 0 0 26px;
    font-family: Georgia, serif;
}

.qui-intro {
    font-size: 0.88rem;
    color: #3d5a4c;
    margin: 0 0 14px;
    font-weight: 500;
}

.qui-liste {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.qui-liste li {
    padding-left: 18px;
    position: relative;
    color: #3a3a3a;
    font-size: 0.88rem;
    line-height: 1.5;
}

.qui-liste li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3d5a4c;
    font-size: 1rem;
}

.qui-desc {
    font-size: 0.87rem;
    color: #5a5a5a;
    line-height: 1.8;
    max-width: 400px;
}

.qui-image {
    overflow: hidden;
}

.qui-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 900px) {
    .qui-inner { grid-template-columns: 1fr; }
    .qui-image { height: 320px; order: -1; }
    .qui-text { padding: 55px 30px; }
    .qui-desc { max-width: 100%; }
}

@media screen and (max-width: 600px) {
    .qui-text { padding: 40px 20px; }
    .qui-image { height: 260px; }
}

/* ============================================================
   SECTION BROCHURE / PORTFOLIO
   ============================================================ */

.brochure-section {
    background: #edf1ee;
    padding: 90px 40px;
    margin-top: 40px;
}

.brochure-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.brochure-text {
    flex: 0 0 380px;
}

.brochure-label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 4px;
    color: #3d5a4c;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin-bottom: 18px;
}

.brochure-titre {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 22px;
    line-height: 1.15;
}

.brochure-desc {
    font-size: 0.88rem;
    color: #5a5a5a;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 340px;
}

.brochure-btn {
    display: inline-block;
    padding: 15px 34px;
    background: #3d5a4c;
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: background 0.3s, letter-spacing 0.3s;
}

.brochure-btn:hover {
    background: #2c3e35;
    letter-spacing: 4px;
}

/* Visuel livre/catalogue */
.brochure-visual {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
}

.brochure-cover-img {
    width: 47%;
    max-width: 260px;
    height: auto;
    display: block;
}

.brochure-img-left {
    box-shadow: -10px 10px 35px rgba(0, 0, 0, 0.25);
    transform: rotate(-2deg) translateY(-10px);
    position: relative;
    z-index: 2;
}

.brochure-img-right {
    box-shadow: 10px 10px 35px rgba(0, 0, 0, 0.15);
    transform: rotate(1.5deg);
    position: relative;
    z-index: 1;
}

/* Responsive brochure */
@media screen and (max-width: 900px) {
    .brochure-section { padding: 65px 30px; }
    .brochure-inner { flex-direction: column; gap: 50px; align-items: flex-start; }
    .brochure-text { flex: none; width: 100%; }
    .brochure-desc { max-width: 100%; }
    .brochure-visual { width: 100%; justify-content: center; }
}

@media screen and (max-width: 600px) {
    .brochure-section { padding: 50px 20px; }
    .brochure-cover-img { width: 45%; max-width: none; }
    .brochure-img-left { transform: rotate(-1.5deg) translateY(-6px); }
    .brochure-img-right { transform: rotate(1deg); }
}

/* ============================================================
   BANDEAU PARTENAIRES
   ============================================================ */

.partenaires-section {
    padding: 55px 0 60px;
    background: #ffffff;
    overflow: hidden;
}

/* Titre avec traits latéraux */
.partenaires-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 48px;
    padding: 0 5%;
}

.partenaires-titre {
    font-size: 11px;
    letter-spacing: 3.5px;
    color: #aaa;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.partenaires-trait {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    max-width: 220px;
    display: block;
}

/* Conteneur défilant avec fondu sur les bords */
.partenaires-wrapper {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

/* Piste défilante — contient 2 groupes identiques */
.partenaires-track {
    display: flex;
    width: max-content;
    animation: defilement-logos 38s linear infinite;
}

/* Pause au survol de la section (optionnel, effet premium) */
.partenaires-wrapper:hover .partenaires-track {
    animation-play-state: paused;
}

/* Un groupe de logos */
.partenaires-group {
    display: flex;
    align-items: center;
    gap: 75px;
    padding: 0 37px;
}

/* Les logos */
.partenaires-group img {
    height: 58px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;

    /* Effet prestige : niveaux de gris uniformes */
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.5s ease, transform 0.4s ease;

    /* Non cliquable, non déplaçable */
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Légère révélation couleur quand la piste est en pause (survol section) */
.partenaires-wrapper:hover .partenaires-group img {
    filter: grayscale(40%) opacity(0.85);
}

/* Animation : déplace le tout de -50% (= la largeur d'un groupe) */
@keyframes defilement-logos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE — Tablette large (≤ 1100px)
   ============================================================ */

@media screen and (max-width: 1100px) {
    .main-nav ul {
        gap: 22px;
    }

    .main-nav {
        margin-left: 30px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

/* ============================================================
   RESPONSIVE — Burger menu (≤ 900px)
   ============================================================ */

@media screen and (max-width: 900px) {

    /* Réduction des variables : bande plus fine, collée au bord haut */
    :root {
        --hauteur-bande: 65px;
        --position-top: 0px;
    }

    /* Bande gap réduite pour s'adapter au petit logo mobile */
    .stripe-gap {
        width: 78px;
    }

    /* Contenu du header : même padding-left que stripe-left (9%) */
    .header-content {
        padding-right: 15px;
        /* top et height se calculent automatiquement via les variables CSS */
    }

    /* Logo réduit pour mobile */
    .logo-wrapper {
        width: 78px;
    }

    /* Nav texte : cachée par défaut sur mobile */
    .main-nav {
        display: none;
        position: fixed;
        top: calc(var(--position-top) + var(--hauteur-bande)); /* 12 + 65 = 77px */
        left: 0;
        right: 0;
        margin: 0;
        background-color: var(--vert-apollon);
        z-index: 1100;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        overflow-y: auto;
        max-height: calc(100vh - 77px);
    }

    /* Menu ouvert */
    .main-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 6px 0;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 15px 25px;
        font-size: 13px;
        letter-spacing: 1.5px;
        width: 100%;
        transition: background-color var(--transition);
    }

    .main-nav a:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.08);
    }

    /* Icônes sociales visibles sur mobile, légèrement réduites
       margin-left: auto pousse l'ensemble {socials + burger} vers la droite */
    .header-socials {
        display: flex;
        margin-left: auto;
        margin-right: 18px;
        gap: 16px;
    }

    .header-socials .icon-link svg {
        width: 19px;
        height: 19px;
    }

    /* Bouton burger : visible, juste après les icônes (pas de margin-left: auto) */
    .burger-btn {
        display: flex;
        margin-left: 0;
    }

    /* Pages internes : padding-top pour passer sous le header (12 + 65 + 30px air) */
    .about-page {
        padding-top: 107px;
    }

    .contact-page-apollon {
        padding-top: 107px;
    }

    /* Contact : une colonne */
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .contact-map-panel {
        min-height: 300px;
    }

    .contact-map-panel iframe {
        min-height: 300px;
    }

    /* Timeline responsive */
    .timeline-container {
        padding-left: 35px;
    }

    .timeline-container::before {
        left: 10px;
    }

    .timeline-dot {
        left: -28px;
    }

    /* Partenaires responsive ≤ 900px */
    .partenaires-section {
        padding: 45px 0 50px;
    }

    .partenaires-group {
        gap: 50px;
        padding: 0 25px;
    }

    .partenaires-group img {
        height: 46px;
        max-width: 130px;
    }

    .partenaires-wrapper {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        );
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================================ */

@media screen and (max-width: 600px) {

    /* Hero texte */
    .hero-text h1 {
        letter-spacing: 3px;
    }

    /* À propos */
    .about-page {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .about-intro h1 {
        letter-spacing: 2px;
    }

    .timeline-container {
        padding-left: 28px;
    }

    .timeline-container::before {
        left: 6px;
    }

    .timeline-dot {
        left: -22px;
        width: 12px;
        height: 12px;
        top: 14px;
    }

    .timeline-date {
        font-size: 20px;
    }

    .timeline-content {
        padding: 15px;
    }

    /* Contact */
    .contact-page-apollon {
        padding-top: 100px;
    }

    .contact-header-premium h1 {
        letter-spacing: 3px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-column.footer-nav:nth-child(3),
    .footer-column.footer-nav:nth-child(4) {
        width: 100%;
    }

    .main-footer {
        margin-top: 30px;
    }

    /* Partenaires responsive ≤ 600px */
    .partenaires-section {
        padding: 38px 0 42px;
    }

    .partenaires-header {
        gap: 12px;
        margin-bottom: 35px;
    }

    .partenaires-titre {
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .partenaires-trait {
        max-width: 60px;
    }

    .partenaires-group {
        gap: 38px;
        padding: 0 19px;
    }

    .partenaires-group img {
        height: 38px;
        max-width: 110px;
    }

    .partenaires-wrapper {
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 5%,
            #000 95%,
            transparent 100%
        );
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            #000 5%,
            #000 95%,
            transparent 100%
        );
    }
}

/* ============================================================
   PAGE NOS RÉALISATIONS — HERO
   ============================================================ */

.real-hero {
    position: relative;
    height: 78vh;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 110px;
    box-sizing: border-box;
}

.real-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
}

.real-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
}

.real-hero-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    letter-spacing: clamp(8px, 2vw, 18px);
    margin: 0 0 14px;
    text-transform: uppercase;
    line-height: 1;
}

.real-hero-subtitle {
    display: inline-block;
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    letter-spacing: clamp(6px, 2vw, 14px);
    text-transform: uppercase;
    opacity: 0.75;
    font-weight: 300;
    font-family: Arial, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 14px;
    margin: 0;
}

/* ============================================================
   INTRO RÉALISATIONS
   ============================================================ */

.real-intro {
    max-width: 860px;
    margin: 75px auto 65px;
    padding: 0 5%;
    text-align: center;
}

.real-intro-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 3.5px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--vert-apollon);
    padding-bottom: 6px;
}

.real-intro p {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    margin: 0 0 18px;
}

.real-intro-poles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 50px;
    text-align: left;
}

.real-pole {
    border-left: 2px solid var(--vert-apollon);
    padding-left: 20px;
}

.real-pole-title {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 8px;
}

.real-pole p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   CATÉGORIES (style Poliform)
   ============================================================ */

.categories-section {
    padding-bottom: 90px;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5%;
}

.categorie-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    display: block;
    text-decoration: none;
    background: #1a1a1a;
}

.categorie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.72);
    transition: transform 0.8s ease, filter 0.5s ease;
}

.categorie-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.categorie-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 35px 38px;
}

.categorie-card-title {
    color: #ffffff;
    font-size: clamp(0.85rem, 2vw, 1.15rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 12px;
    line-height: 1.3;
}

.categorie-card-cta {
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.categorie-card:hover .categorie-card-cta {
    color: #ffffff;
    border-color: #ffffff;
}

/* ============================================================
   PAGE CATÉGORIE (résidentiel / commercial)
   ============================================================ */

.cat-page {
    padding-top: 180px;
    padding-bottom: 90px;
}

.cat-page-header {
    text-align: center;
    margin-bottom: 65px;
    padding: 0 5%;
}

.breadcrumb {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 1px;
    margin: 0 0 22px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: #bbb;
    text-decoration: none;
    transition: color var(--transition);
}

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

.breadcrumb span { margin: 0 10px; opacity: 0.5; }

.cat-page-title {
    font-size: clamp(20px, 4vw, 30px);
    letter-spacing: 4px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    margin: 0 0 14px;
}

.cat-page-subtitle {
    font-family: Georgia, serif;
    font-style: italic;
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Grille de projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.project-card {
    display: block;
    text-decoration: none;
}

.project-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eee;
}

.project-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88);
    transition: transform 0.6s ease, filter 0.5s ease;
}

.project-card:hover .project-card-img-wrap img {
    transform: scale(1.06);
    filter: brightness(0.65);
}

.project-card-img-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-img-overlay {
    opacity: 1;
}

.project-card-img-overlay span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.6);
    padding-bottom: 2px;
}

.project-card-info {
    padding: 16px 0 8px;
}

.project-card-number {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #ccc;
    text-transform: uppercase;
    margin: 0 0 5px;
    display: block;
}

.project-card-name {
    font-size: 13px;
    letter-spacing: 2px;
    color: #2a2a2a;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0 0 4px;
    display: block;
}

.project-card-loc {
    font-size: 12px;
    color: #aaa;
    margin: 0;
    font-style: italic;
    display: block;
}

/* ============================================================
   PAGE PROJET DÉTAIL
   ============================================================ */

.projet-detail {
    padding-top: 180px;
    padding-bottom: 90px;
}

.projet-header {
    max-width: 950px;
    margin: 0 auto 55px;
    padding: 0 5%;
}

.projet-header .breadcrumb {
    margin-bottom: 22px;
}

.projet-title {
    font-size: clamp(20px, 4vw, 34px);
    letter-spacing: 4px;
    color: var(--vert-apollon);
    text-transform: uppercase;
    margin: 0 0 28px;
    font-weight: bold;
}

.projet-meta-bar {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    margin-bottom: 32px;
}

.projet-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.projet-meta-label {
    font-size: 9px;
    letter-spacing: 2px;
    color: #bbb;
    text-transform: uppercase;
}

.projet-meta-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.projet-description {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    max-width: 700px;
    margin: 0;
}

/* Galerie photos */
.projet-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.projet-gallery-item:empty,
.projet-gallery-item img[src=""],
.projet-gallery-item img:not([src]) {
    display: none;
}

.projet-gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: #f0f0f0;
}

.projet-gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 8;
}

.projet-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.projet-gallery-item:hover img {
    transform: scale(1.04);
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-inner img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 4px;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 18px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 2px;
}

/* ============================================================
   RESPONSIVE — Réalisations (≤ 900px)
   ============================================================ */

@media screen and (max-width: 900px) {

    .real-hero { height: 62vh; min-height: 320px; padding-top: 80px; }

    .real-intro { margin: 55px auto 50px; }

    .real-intro-poles {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .categorie-card { aspect-ratio: 4 / 3; }

    .cat-page { padding-top: 107px; }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .projet-detail { padding-top: 107px; }

    .projet-meta-bar { gap: 25px; }

    .projet-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .projet-gallery-item:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 7;
    }
}

@media screen and (max-width: 600px) {

    .categories-grid { padding: 0 15px; }

    .categorie-card-overlay { padding: 20px; }

    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 25px;
    }

    .projet-gallery {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 5px;
    }

    .projet-gallery-item:first-child {
        aspect-ratio: 4 / 3;
    }

    .projet-meta-bar { gap: 18px; }

    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}
