:root {
    --rouge: #e8501a;
    --bleu: #2b48cd;
    --vert: #7d8c3a;
    --encre: #1a1a1a;
    --marine: #1c2a4a;
    --fond: #F8EFE5;
    --titre: #A83F0C;
    --sous-titre: #123674;
    --gutter: 6vw;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--fond);
    color: var(--encre);
    overflow-x: hidden;
}

em.rouge,
em.bleu,
em.vert {
    font-style: italic;
    color: var(--rouge);
}

em.bleu {
    color: var(--bleu);
}

em.vert {
    color: var(--vert);
}

/* ── NAVIGATION ── */
nav {
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1rem 2rem;
}

nav a.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

nav a.nav-link:hover {
    color: var(--rouge);
}

nav .nav-ig {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    line-height: 0;
}

nav .nav-ig svg {
    width: 30px;
    height: 30px;
}

nav .nav-ig:hover svg {
    stroke: var(--rouge);
}

/* ── HERO ── */
#hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 49vw, 680px);
    overflow: hidden;
    background: var(--marine);
}

.hero-logo {
    color: blue;
}

.hero-img {
    width: 115%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: transform;
    animation: hero-travel 100s linear infinite alternate;
}

@keyframes hero-travel {
    from {
        transform: translateX(0);
    }

    to {
        /* travelling lent vers la gauche */
        transform: translateX(-13%);
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero img {
        animation: none;
    }
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(210, 100, 20, 0.5);
    pointer-events: none;
    z-index: 1;
}

.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.hero-logo-overlay .hero-logo {
    display: block;
    margin: 0 auto;
    width: clamp(280px, 34vw, 460px);
    height: auto;
}

.brand-angelo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.5rem, 12.5vw, 10.5rem);
    line-height: 1;
    color: var(--bleu);
    letter-spacing: 0.06em;
    -webkit-text-stroke: 1.5px rgba(10, 18, 38, 0.85);
}

.brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.55rem, 0.9vw, 0.75rem);
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #fff;
    text-align: right;
    margin-top: 0.15rem;
}

/* ── BANDEAU ANGELO BRUNO ── */
.tagline-band {
    text-align: center;
    padding: 3rem 2rem 0.5rem;
    background: var(--fond);
}

.tagline-band .brand-block {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    color: var(--rouge);
    line-height: 1.05;
}

.tagline-band .med-vibe {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #555;
    margin-top: 1.1rem;
}

/* ── GRANDE ACCROCHE ── */
.tagline-main {
    padding: 2.2rem var(--gutter) 2.8rem;
    background: var(--fond);
}

.tagline-main h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.1rem, 4.6vw, 3.7rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.35;
    color: #20242b;
    text-transform: uppercase;
    text-align: justify;
}

/* ── GALERIE PHOTOS (défilement infini, 2 rangées) ── */
.marquee-gallery {
    --item-size: 200px;
    --item-gap: 18px;
    margin: 2.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--item-gap);
    /* Fondu sur les bords gauche/droit */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll var(--marquee-duration, 60s) linear infinite;
}

.marquee[data-reverse="true"] .marquee-track {
    animation-direction: reverse;
}

.marquee-item {
    width: var(--item-size);
    height: var(--item-size);
    margin-right: var(--item-gap);
    flex: 0 0 auto;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        /* décalage = largeur d'une séquence (calculé en JS) : boucle sans couture */
        transform: translateX(calc(-1 * var(--marquee-shift, 50%)));
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* ── GRILLE 15 PHOTOS ── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 2.5rem var(--gutter) 1rem;
}

.photo-cell {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ddd;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-cell img:hover {
    transform: scale(1.05);
}

/* ── LÉGENDE SOUS GRILLE ── */
.grid-caption {
    text-align: center;
    padding: 2.6rem var(--gutter) 1rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #333;
    line-height: 2.1;
}

/* ── TITRES DE SECTION ── */
.sec-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.7rem, 5.7vw, 4.3rem);
    letter-spacing: 0.05em;
    color: var(--titre);
    line-height: 0.98;
    font-weight: 400;
}

.sec-sub {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.65rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sous-titre);
    font-weight: 400;
    font-style: normal;
}

/* Sous-titre de section : posé sous le titre, légèrement décalé à droite */
.sec-sub-line {
    display: block;
    margin: 0.7rem 0 0 2.6rem;
    line-height: 1.2;
}

/* ── ANGELO BRUNO, UN PORTRAIT ── */
#apropos {
    padding: 3.5rem var(--gutter) 4rem;
}

.apropos-header {
    margin-bottom: 2.5rem;
}

.apropos-header .sec-sub {
    display: inline;
    margin-left: 0.3rem;
}

.apropos-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
    align-items: start;
}

.portrait-photo {
    width: 300px;
    height: 390px;
}

.portrait-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-text p {
    font-size: 0.8rem;
    line-height: 1.9;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: justify;
    margin-bottom: 1rem;
}

.portrait-text .contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    margin-top: 1.8rem;
    padding-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--encre);
    text-decoration: none;
    border-bottom: 1.5px solid rgba(26, 26, 26, 0.18);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.portrait-text .contact-cta:hover {
    color: var(--rouge);
    border-color: var(--rouge);
}

.portrait-text .contact-cta .cta-arrow {
    transition: transform 0.25s ease;
}

.portrait-text .contact-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ── NOS SERVICES ── */
#services {
    padding: 2.5rem var(--gutter) 4rem;
}

.services-header {
    margin-bottom: 1.8rem;
}

.services-header .sec-sub {
    margin-top: 0.5rem;
}

.services-desc {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #444;
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.svc-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.8rem;
    background: #ddd;
}

.svc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-photo .ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #ddd8c8, #c8c0a8);
    color: #8a8070;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-card {
    text-align: center;
}

.service-card h3 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--encre);
    margin-bottom: 0.3rem;
}

.svc-price {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--encre);
}

.services-note {
    font-size: 0.66rem;
    color: #777;
    font-style: italic;
    text-align: right;
    margin-top: 1.6rem;
    letter-spacing: 0.05em;
}

/* ── LES PRODUCTEURS ── */
#producteurs {
    padding: 2.5rem var(--gutter) 4rem;
}

#producteurs .sec-sub {
    margin-bottom: 2.2rem;
}

.producteurs-layout {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 2.5rem;
    align-items: start;
}

.prod-photos {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5px;
    width: 100%;
}

.prod-photo {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.prod-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prod-photo .ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #d8d8d8, #b8b8b8);
    color: #707070;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem;
}

.prod-photo-large {
    margin-top: 5px;
    height: 230px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.prod-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prod-text p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.9;
    color: #444;
    text-align: justify;
    margin-bottom: 1rem;
}

/* ── FOOTER / CONTACT ── */
footer#contact {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, var(--marine) 38%, rgba(28, 42, 74, 0.55) 75%, rgba(28, 42, 74, 0.35)),
        url('img/montagne.webp') right center / cover no-repeat;
}

.footer-inner {
    position: relative;
    z-index: 1;
    padding: 3.5rem var(--gutter) 3rem;
    min-height: 440px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 2rem;
}

.footer-credit {
    position: relative;
    z-index: 1;
    padding: 0 var(--gutter) 1.6rem;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-logo {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: start;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: clamp(200px, 30vw, 340px);
}

.footer-logo .hero-logo {
    width: 100%;
    height: auto;
    display: block;
}

.footer-logo .brand-sub {
    width: 100%;
    text-align: right;
    margin-top: 0.4rem;
}

.footer-contact {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 290px;
}

.fc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fc-item:hover {
    transform: translateX(6px);
    background: rgba(232, 80, 26, 0.14);
    border-color: var(--rouge);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.fc-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.25s ease, color 0.25s ease;
}

.fc-item:hover .fc-icon {
    background: var(--rouge);
    color: #fff;
}

.fc-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.fc-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.fc-value {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
}

.fc-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    color: var(--rouge);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fc-item:hover .fc-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
    nav {
        gap: 1rem;
        padding: 0.8rem 2.6rem 0.8rem 1rem;
    }

    nav a.nav-link {
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    nav .nav-ig {
        right: 1rem;
    }

    #hero {
        height: 100svh;
        min-height: 480px;
    }

    .hero-logo-overlay .hero-logo {
        width: 62vw;
        max-width: 280px;
        height: auto;
    }

    .tagline-band {
        padding: 2rem 1.5rem 0.5rem;
    }

    .tagline-band .hero-logo {
        width: 60%;
        max-width: 220px;
        height: auto;
    }

    .tagline-band .med-vibe {
        font-size: 0.6rem;
        letter-spacing: 0.24em;
        margin-top: 0.8rem;
    }

    .tagline-band .brand-block {
        font-size: 2.2rem;
    }

    .tagline-main,
    .grid-caption,
    #apropos,
    #services,
    #producteurs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .tagline-main h2 {
        text-align: left;
    }

    .marquee-gallery {
        --item-size: 140px;
        --item-gap: 12px;
    }

    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .apropos-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portrait-photo {
        width: 100%;
        max-width: 340px;
        height: auto;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .service-card h3 {
        font-size: 0.56rem;
    }

    .svc-price {
        font-size: 0.56rem;
    }

    .sec-sub-line {
        margin-left: 1.25rem;
    }

    /* Sous-titre inline du portrait : passe à la ligne en mobile */
    .apropos-header .sec-sub {
        display: block;
        margin-left: 0;
    }

    .producteurs-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .prod-photos {
        width: 100%;
    }

    .prod-photo {
        height: 180px;
    }

    .prod-photo-large {
        height: 160px;
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
        padding: 2.5rem 1.5rem;
    }

    .footer-logo {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-contact {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        min-width: 0;
    }

    .fc-value {
        white-space: normal;
        word-break: break-word;
    }
}