@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@1,600&display=swap");
:root {
    --blue: #0753b6;
    --deep: #063d83;
    --sky: #e9f3ff;
    --green: #47624e;
    --wood: #9b5b2b;
    --ink: #15202b;
    --cream: #f7f3ea;
    --white: #fff;
    --radius: 1.25rem;
    --wrap: min(1180px, calc(100% - 3rem));
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    background: #fff;
}
img {
    display: block;
    width: 100%;
    height: auto;
}
a {
    color: inherit;
}
.skip {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 99;
    background: #fff;
    padding: 0.7rem 1rem;
}
.skip:focus {
    top: 1rem;
}
.wrap {
    width: var(--wrap);
    margin-inline: auto;
}
.site-header {
    height: 86px;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 max(1.5rem, calc((100vw - 1180px) / 2));
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    color: #fff;
    border-bottom: 1px solid #ffffff40;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-right: auto;
}
.brand img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}
.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}
.brand strong {
    font-size: 1.05rem;
}
.brand small {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.site-header nav {
    display: flex;
    gap: 1.5rem;
}
.site-header nav a {
    font-size: 0.9rem;
    text-decoration: none;
}
.site-header nav a:hover {
    text-decoration: underline;
}
.header-cta {
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    text-decoration: none;
}
.menu-toggle {
    display: none;
}
.hero {
    min-height: 780px;
    height: 100vh;
    max-height: 980px;
    position: relative;
    color: #fff;
    display: grid;
    align-items: end;
    overflow: hidden;
}
.hero-photo,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-photo {
    object-position: center 55%;
}
.hero-overlay {
    background: linear-gradient(
            90deg,
            rgba(3, 22, 49, 0.86) 0%,
            rgba(3, 22, 49, 0.45) 48%,
            rgba(3, 22, 49, 0.08) 75%
        ),
        linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 45%);
}
.hero-copy {
    position: relative;
    z-index: 2;
    width: min(700px, calc(100% - 3rem));
    margin-left: max(1.5rem, calc((100vw - 1180px) / 2));
    padding-bottom: 8vh;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 700;
    margin: 0 0 1rem;
}
.eyebrow.blue {
    color: var(--blue);
}
h1,
h2 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    margin: 0.2rem 0 1.4rem;
}
h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}
h1 em,
h2 em {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}
.hero-copy > p:not(.eyebrow) {
    max-width: 590px;
    font-size: 1.1rem;
}
.hero-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
}
.button {
    display: inline-block;
    text-decoration: none;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
}
.button.primary {
    background: #fff;
    color: var(--blue);
}
.button.ghost {
    border: 1px solid #ffffffa0;
}
.vertical-note {
    position: absolute;
    right: 2rem;
    bottom: 4rem;
    z-index: 2;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
}
.intro {
    padding: 9rem 0;
    display: grid;
    grid-template-columns: 0.35fr 1.3fr 1fr;
    gap: 3rem;
    position: relative;
}
.section-number {
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 700;
    color: var(--sky);
    line-height: 1;
}
.intro-copy h2 {
    font-size: clamp(2.4rem, 4vw, 4.5rem);
}
.intro-text {
    padding-top: 2rem;
}
.intro-text p {
    font-size: 1.08rem;
}
.portrait-card {
    grid-column: 2/4;
    margin: 3rem 0 0;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    background: var(--sky);
    align-items: end;
}
.portrait-card img {
    height: 460px;
    object-fit: cover;
    object-position: center 38%;
}
.portrait-card figcaption {
    padding: 2rem;
    font-size: 1.3rem;
    color: var(--deep);
}
.menu-section {
    background: var(--blue);
    color: #fff;
    padding: 8rem 0;
}
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: end;
    margin-bottom: 3rem;
}
.section-head h2 {
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    margin-bottom: 0;
}
.section-head > p {
    max-width: 390px;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.menu-card {
    border: 1px solid #ffffff45;
    border-radius: var(--radius);
    padding: 2rem;
    min-height: 250px;
    background: #ffffff0a;
}
.menu-card.feature {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
}
.menu-card.feature img {
    height: 380px;
    object-fit: cover;
}
.menu-card.feature div {
    padding: 2rem;
}
.menu-card span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: #b9dcff;
}
.menu-card h3 {
    font-size: 1.7rem;
    margin: 0.35rem 0;
}
.menu-note {
    text-align: right;
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.75;
}
.coffee {
    padding: 9rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
}
.coffee-visual {
    position: relative;
}
.coffee-visual > img {
    height: 720px;
    object-fit: cover;
}
.stamp {
    position: absolute;
    right: -2.5rem;
    top: 3rem;
    width: 125px;
    height: 125px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 700;
    transform: rotate(8deg);
}
.coffee-copy {
    padding-top: 3rem;
}
.coffee-copy h2 {
    font-size: clamp(2.7rem, 4.4vw, 4.7rem);
}
.coffee-copy ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.coffee-copy li {
    border-top: 1px solid #ddd;
    padding: 1rem 0;
}
.coffee-copy li::before {
    content: "●";
    color: var(--blue);
    margin-right: 0.8rem;
}
.latte-detail {
    margin-top: 2.5rem;
    height: 260px;
    object-fit: cover;
}
.terrace {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    background: var(--green);
    color: #fff;
}
.terrace-photo img {
    height: 100%;
    min-height: 720px;
    object-fit: cover;
}
.terrace-copy {
    padding: 7rem max(2rem, 8vw) 5rem 4.5rem;
}
.terrace-copy h2 {
    font-size: clamp(2.6rem, 4.3vw, 4.6rem);
}
.terrace-facts {
    margin-top: 3rem;
    border-top: 1px solid #ffffff3d;
}
.terrace-facts span {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ffffff3d;
    padding: 1rem 0;
    font-size: 0.85rem;
}
.terrace-facts strong {
    font-size: 1.05rem;
}
.gallery {
    padding: 9rem 0;
}
.section-head.dark .eyebrow {
    color: var(--blue);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 1rem;
}
.gallery-grid figure {
    margin: 0;
    position: relative;
    overflow: hidden;
}
.gallery-grid figure.wide {
    grid-column: span 2;
}
.gallery-grid figure.tall {
    grid-row: span 2;
}
.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-grid figure:hover img {
    transform: scale(1.035);
}
.gallery-grid figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: #fff;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}
.more-gallery {
    margin-top: 2rem;
}
.more-gallery summary {
    cursor: pointer;
    list-style: none;
    border: 1px solid #ccd5df;
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    width: max-content;
    font-weight: 700;
}
.more-gallery summary span {
    margin-left: 1rem;
}
.more-gallery summary span::before { content: "+"; }
.more-gallery[open] summary span::before { content: "−"; }
.gallery-more {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.gallery-more img {
    height: 260px;
    object-fit: cover;
}
.contact {
    background: var(--wood);
    color: #fff;
    padding: 8rem 0;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 7rem;
}
.contact-inner h2 {
    font-size: clamp(2.5rem, 4.5vw, 4.8rem);
}
.contact-links {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ffffff55;
}
.contact-links a {
    text-decoration: none;
    border-bottom: 1px solid #ffffff55;
    padding: 1.2rem 0;
    font-size: 1.15rem;
}
.contact-links span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.75;
}
footer {
    background: #061a32;
    color: #fff;
    padding: 3rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.footer-inner img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}
.footer-inner p:last-child {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}
@media (max-width: 900px) {
    .site-header {
        position: absolute;
        height: 76px;
    }
    .site-header nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #063d83;
        padding: 1.5rem;
        flex-direction: column;
    }
    .site-header nav.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid #fff;
        color: #fff;
        border-radius: 99px;
        padding: 0.55rem 0.9rem;
    }
    .header-cta {
        display: none;
    }
    .hero {
        min-height: 720px;
    }
    .vertical-note {
        display: none;
    }
    .intro {
        grid-template-columns: 1fr;
        padding: 6rem 0;
    }
    .section-number {
        display: none;
    }
    .portrait-card {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
    .section-head {
        display: block;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .menu-card.feature {
        grid-row: auto;
    }
    .coffee {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 6rem 0;
    }
    .coffee-visual > img {
        height: 520px;
    }
    .stamp {
        right: 1rem;
    }
    .terrace {
        grid-template-columns: 1fr;
    }
    .terrace-copy {
        padding: 5rem 1.5rem;
    }
    .terrace-photo img {
        min-height: 520px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-more {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 560px) {
    :root {
        --wrap: calc(100% - 2rem);
    }
    .brand span {
        display: none;
    }
    .site-header {
        padding: 0 1rem;
    }
    .hero-copy {
        margin-left: 1rem;
        width: calc(100% - 2rem);
    }
    h1 {
        font-size: 2.9rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .intro {
        padding: 5rem 0;
    }
    .portrait-card img {
        height: 360px;
    }
    .menu-section,
    .gallery,
    .contact {
        padding: 5rem 0;
    }
    .menu-card.feature img {
        height: 300px;
    }
    .coffee-visual > img {
        height: 440px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    .gallery-grid figure.wide {
        grid-column: auto;
    }
    .gallery-grid figure.tall {
        grid-row: auto;
    }
    .gallery-more {
        grid-template-columns: 1fr;
    }
    .gallery-more img {
        height: 300px;
    }
    .footer-inner {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .footer-inner p:last-child {
        margin-left: 0;
        width: 100%;
    }
}

/* Nous trouver */
.contact-heading h2 { font-size: clamp(2.5rem, 4.5vw, 4.8rem); margin-bottom: 3rem; }
.contact-map-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; align-items: stretch; }
.map-frame { min-height: 600px; border-radius: var(--radius); overflow: hidden; background: #ded8cb; }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 600px; border: 0; }
.location-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2.25rem; display: flex; flex-direction: column; }
.location-label { color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; }
.location-card address { font-style: normal; font-size: 1.55rem; font-weight: 700; line-height: 1.35; }
.location-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 2rem 0; }
.location-facts p { margin: 0; padding: 1rem; background: var(--sky); border-radius: .8rem; }
.location-facts span, .location-card .contact-links span { display: block; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; opacity: .68; }
.location-facts strong { display: block; margin-top: .25rem; }
.directions-button { display: flex; justify-content: space-between; align-items: center; background: var(--blue); color: #fff; text-decoration: none; border-radius: 999px; padding: .9rem 1.1rem; font-weight: 700; margin-bottom: 2rem; }
.location-card .contact-links { border-color: #d6dce2; margin-top: auto; }
.location-card .contact-links a { color: var(--ink); border-color: #d6dce2; padding: 1rem 0; font-size: 1rem; }
.location-card .contact-links span { color: #53606d; }
@media (max-width: 900px) {
    .contact-map-layout { grid-template-columns: 1fr; }
    .map-frame, .map-frame iframe { min-height: 480px; }
}
@media (max-width: 560px) {
    .map-frame, .map-frame iframe { min-height: 360px; }
    .location-card { padding: 1.5rem; }
    .location-facts { grid-template-columns: 1fr; }
}

/* Refonte globale — ambiance coffee shop chaleureuse */
:root {
    --blue: #1764ad;
    --deep: #143653;
    --sky: #eaf3f5;
    --green: #3f5b4a;
    --wood: #9a633d;
    --ink: #22302d;
    --cream: #f6f0e5;
    --white: #fffdf8;
    --radius: 1.6rem;
    --wrap: min(1080px, calc(100% - 3rem));
}
html { font-size: 18px; }
body {
    background:
        radial-gradient(circle at 8% 20%, rgba(116, 145, 113, .11), transparent 24rem),
        radial-gradient(circle at 92% 48%, rgba(38, 105, 163, .08), transparent 26rem),
        url("./assets/motif-cafe-poulpe.svg") repeat,
        var(--cream);
    background-size: auto, auto, 420px 420px, auto;
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}
p { max-width: 66ch; }
.eyebrow { font-size: .8rem; }
.site-header nav a { font-size: .96rem; }
.header-cta, .button { font-size: .94rem; }

.hero {
    min-height: 650px;
    height: min(82vh, 760px);
    max-height: 760px;
    border-radius: 0 0 2.5rem 2.5rem;
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(13, 35, 50, .88) 0%, rgba(13, 35, 50, .48) 54%, rgba(13, 35, 50, .08) 82%),
        linear-gradient(0deg, rgba(0, 0, 0, .24), transparent 45%);
}
.hero-copy { padding-bottom: 4.5rem; }
.hero-copy > p:not(.eyebrow) { font-size: 1.15rem; line-height: 1.65; }
h1 { font-size: clamp(3.2rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); }

.intro {
    padding: 5.5rem 0 4.5rem;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem 3rem;
}
.section-number {
    position: absolute;
    top: 3.5rem;
    right: 0;
    font-size: 6rem;
    color: rgba(23, 100, 173, .08);
}
.intro-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.intro-text { padding-top: 2.3rem; font-size: 1.04rem; }
.portrait-card {
    grid-column: 1 / -1;
    margin: 1rem 0 0;
    grid-template-columns: 1.45fr .55fr;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #e4eff2, #f6ead8);
    box-shadow: 0 18px 45px rgba(48, 52, 44, .1);
}
.portrait-card img { height: 380px; }
.portrait-card figcaption { font-size: 1.25rem; }

.menu-section {
    width: var(--wrap);
    margin-inline: auto;
    padding: 4.5rem 3rem;
    border-radius: 2.25rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(111, 151, 133, .35), transparent 23rem),
        linear-gradient(145deg, #123a59, #1b5680 58%, #123a59);
    box-shadow: 0 24px 60px rgba(19, 54, 79, .18);
}
.menu-section .wrap { width: 100%; }
.section-head { gap: 2.5rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.section-head > p { font-size: 1.02rem; }
.menu-grid { gap: .85rem; }
.menu-card {
    min-height: 190px;
    padding: 1.55rem;
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}
.menu-card h3 { font-size: 1.55rem; }
.menu-card.feature img { height: 300px; }
.menu-card.feature div { padding: 1.55rem; }
.menu-note { margin-bottom: 0; }

.coffee {
    padding: 5.5rem 0;
    grid-template-columns: .9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.coffee-visual > img {
    height: 560px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(77, 55, 35, .15);
}
.coffee-copy { padding-top: 0; }
.coffee-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.coffee-copy li { padding: .75rem 0; }
.latte-detail { height: 210px; border-radius: 1.2rem; }
.stamp { width: 112px; height: 112px; right: -1.2rem; }

.terrace {
    width: var(--wrap);
    margin: 0 auto 5.5rem;
    grid-template-columns: 1.1fr .9fr;
    border-radius: 2.25rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 15%, rgba(211, 183, 135, .18), transparent 20rem),
        linear-gradient(145deg, #30493d, #496653);
    box-shadow: 0 24px 60px rgba(36, 67, 52, .17);
}
.terrace-photo img { min-height: 570px; }
.terrace-copy { padding: 4rem 3rem; }
.terrace-copy h2 { font-size: clamp(2.5rem, 3.8vw, 3.8rem); }
.terrace-facts { margin-top: 2rem; }
.terrace-facts span { padding: .8rem 0; }

.gallery { padding: 0 0 5.5rem; }
.gallery-grid { grid-auto-rows: 230px; gap: .8rem; }
.gallery-grid figure { border-radius: 1.15rem; }
.gallery-grid figcaption { border-radius: 999px; font-size: .78rem; }
.more-gallery { margin-top: 1.5rem; }
.gallery-more { gap: .8rem; }
.gallery-more img { height: 230px; border-radius: 1.15rem; }

.contact {
    width: var(--wrap);
    margin: 0 auto 5.5rem;
    padding: 4.5rem 3rem;
    border-radius: 2.25rem;
    background:
        radial-gradient(circle at 12% 15%, rgba(246, 215, 166, .3), transparent 22rem),
        linear-gradient(145deg, #865534, #a86c42 55%, #7d5c3f);
    box-shadow: 0 24px 60px rgba(80, 49, 29, .17);
}
.contact .wrap { width: 100%; }
.contact-heading h2 { margin-bottom: 2.2rem; }
.contact-map-layout { grid-template-columns: 1.2fr .8fr; gap: .85rem; }
.map-frame, .map-frame iframe { min-height: 510px; }
.location-card { padding: 1.75rem; box-shadow: 0 12px 30px rgba(57, 45, 35, .12); }
.location-card address { font-size: 1.35rem; }
.location-facts { margin: 1.4rem 0; }
.directions-button { margin-bottom: 1.25rem; }
.location-card .contact-links a { padding: .75rem 0; }

footer { padding: 2.25rem 0; }
.footer-inner p { font-size: .95rem; }

@media (max-width: 900px) {
    :root { --wrap: min(100% - 2rem, 720px); }
    html { font-size: 17px; }
    .hero { min-height: 640px; height: 82vh; }
    .intro { grid-template-columns: 1fr; padding: 4.5rem 0; }
    .intro-text { padding-top: 0; }
    .portrait-card { grid-template-columns: 1fr; }
    .portrait-card img { height: 360px; }
    .menu-section, .contact { padding: 3.5rem 1.5rem; }
    .coffee { gap: 2.5rem; padding: 4.5rem 0; }
    .coffee-visual > img { height: 480px; }
    .terrace { margin-bottom: 4.5rem; }
    .terrace-photo img { min-height: 450px; }
    .terrace-copy { padding: 3.5rem 2rem; }
    .gallery { padding-bottom: 4.5rem; }
    .contact-map-layout { grid-template-columns: 1fr; }
    .map-frame, .map-frame iframe { min-height: 420px; }
}

@media (max-width: 560px) {
    :root { --wrap: calc(100% - 1.25rem); }
    html { font-size: 16.5px; }
    .hero { min-height: 620px; height: 86vh; border-radius: 0 0 1.5rem 1.5rem; }
    .hero-copy { padding-bottom: 2.5rem; }
    h1 { font-size: clamp(2.7rem, 13vw, 3.5rem); }
    .intro { padding: 3.8rem 0; }
    .portrait-card img { height: 310px; }
    .menu-section, .terrace, .contact { border-radius: 1.5rem; }
    .menu-section, .contact { padding: 3rem 1rem; }
    .menu-card { min-height: auto; }
    .coffee { padding: 3.8rem 0; }
    .coffee-visual > img { height: 390px; }
    .terrace { margin-bottom: 3.8rem; }
    .terrace-photo img { min-height: 380px; }
    .terrace-copy { padding: 3rem 1.25rem; }
    .gallery { padding-bottom: 3.8rem; }
    .gallery-grid { grid-auto-rows: 260px; }
    .contact { margin-bottom: 3.8rem; }
    .map-frame, .map-frame iframe { min-height: 330px; }
}

/* Ajustements desktop — navigation, largeur et cadrage */
@media (min-width: 1100px) {
    :root { --wrap: min(1320px, calc(100% - 5rem)); }

    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        height: 96px;
        padding-inline: max(2.5rem, calc((100vw - 1320px) / 2));
        gap: 2.5rem;
        background: linear-gradient(180deg, rgba(9, 31, 45, .76), rgba(9, 31, 45, .28));
        border-bottom-color: rgba(255, 255, 255, .22);
        backdrop-filter: blur(10px);
    }
    .brand { min-width: 270px; }
    .brand img { width: 64px; height: 64px; }
    .brand strong { font-size: 1.08rem; }
    .brand small { font-size: .72rem; }
    .site-header nav { gap: 1.7rem; margin-left: auto; }
    .site-header nav a { white-space: nowrap; }
    .header-cta { white-space: nowrap; padding-inline: 1.2rem; }

    .hero {
        min-height: 720px;
        height: min(82vh, 800px);
        max-height: 800px;
    }
    .hero-copy {
        width: min(760px, calc(100% - 5rem));
        margin-left: max(2.5rem, calc((100vw - 1320px) / 2));
        padding-bottom: 4.5rem;
    }
    .hero-copy h1 { font-size: clamp(4.2rem, 5.4vw, 6.5rem); }
    .hero-copy > p:not(.eyebrow) { max-width: 650px; }

    .intro { grid-template-columns: 1.05fr .95fr; }
    .portrait-card { grid-template-columns: 1.55fr .45fr; }
    .portrait-card img {
        height: 420px;
        object-position: center 18%;
    }

    .menu-section, .terrace, .contact { width: min(1320px, calc(100% - 5rem)); }
    .coffee { grid-template-columns: .95fr 1.05fr; }
}

@media (min-width: 1500px) {
    .hero-copy h1 { font-size: 5.5rem; }
    .hero-copy { padding-bottom: 4rem; }
}

/* Café signature — le cœur de l'adresse */
.coffee-signature {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.coffee-signature::before {
    content: "";
    position: absolute;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    right: -12rem;
    top: 2rem;
    background: rgba(166, 104, 59, .1);
    filter: blur(4px);
    pointer-events: none;
}
.coffee-story-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}
.coffee-story-copy { position: relative; z-index: 1; }
.coffee-story-copy h2 {
    margin: .55rem 0 1.35rem;
    font-size: clamp(2.7rem, 4.5vw, 4.7rem);
    line-height: .98;
}
.coffee-lead {
    color: var(--deep);
    font-size: 1.2rem;
    line-height: 1.65;
}
.coffee-origin-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
    padding: 1.2rem 0;
    border-block: 1px solid rgba(34, 48, 45, .18);
}
.coffee-origin-card div { padding: 0 1rem; border-right: 1px solid rgba(34, 48, 45, .15); }
.coffee-origin-card div:first-child { padding-left: 0; }
.coffee-origin-card div:last-child { border-right: 0; }
.coffee-origin-card span,
.coffee-notes > span,
.food-card span,
.footer-contacts span {
    display: block;
    color: var(--wood);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.coffee-origin-card strong { display: block; margin-top: .25rem; line-height: 1.35; }
.coffee-notes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 1.4rem;
}
.coffee-notes > span { width: 100%; }
.coffee-notes strong {
    padding: .35rem .7rem;
    color: #6f4327;
    background: #ead8bf;
    border-radius: 999px;
    font-size: .82rem;
}
.coffee-value {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 1.6rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}
.coffee-details-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: .8rem;
    align-items: stretch;
}
.coffee-details-row .coffee-value { margin-top: 0; }
.coffee-score {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, .18);
}
.coffee-score strong {
    color: #e9c790;
    font-size: 2.35rem;
    line-height: 1;
}
.coffee-score span {
    color: rgba(255, 253, 248, .72);
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.coffee-value p { margin: 0; }
.coffee-value .coffee-value-title {
    margin-bottom: .25rem;
    color: #fffdf8;
    font-size: .98rem;
    font-weight: 700;
}
.coffee-value p:last-child {
    color: rgba(255, 253, 248, .76);
    font-size: .8rem;
    line-height: 1.8;
}
.coffee-facts {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}
.coffee-facts-title {
    margin: 0 0 .65rem;
    color: #e9c790 !important;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.coffee-fact-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem 1.25rem;
}
.coffee-fact-column {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: .45rem;
}
.coffee-fact {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: .55rem;
    align-items: center;
    min-height: 2.45rem;
    height: 100%;
    padding: .42rem .6rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .7rem;
    color: #fff7e9;
    background: rgba(255, 255, 255, .09);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3;
}
.coffee-fact svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: none;
    stroke: #e9c790;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.coffee-story-visuals {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    grid-template-rows: repeat(2, 240px);
    gap: .8rem;
}
.coffee-story-visuals figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 1.4rem;
    box-shadow: 0 18px 45px rgba(55, 40, 27, .14);
}
.coffee-story-visuals .coffee-main { grid-row: 1 / 3; }
.coffee-story-visuals img { width: 100%; height: 100%; object-fit: cover; }
.coffee-story-visuals .coffee-main img { object-position: center; }
.coffee-story-visuals figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    color: white;
    background: rgba(18, 44, 52, .82);
    backdrop-filter: blur(8px);
    font-size: .76rem;
    font-weight: 700;
}

/* Carte illustrée */
.food-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.food-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 12px 25px rgba(5, 25, 39, .12);
    backdrop-filter: blur(8px);
}
.food-card img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    transition: transform .45s ease;
}
.food-card.brunch-card img { object-position: center 94%; }
.food-card:hover img { transform: scale(1.035); }
.food-card div { padding: 1.25rem 1.3rem 1.35rem; }
.food-card span { color: #b9d8e8; }
.food-card h3 { margin: .25rem 0 .45rem; color: #fff; font-size: 1.38rem; }
.food-card p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .91rem; line-height: 1.55; }

/* Pied de page utile */
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; }
.footer-brand img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.footer-brand p { margin: 0; }
.footer-contacts { display: grid; grid-template-columns: repeat(3, auto); align-items: center; gap: 2.25rem; }
.footer-contacts a { color: white; text-decoration: none; font-weight: 700; }
.footer-contacts span { margin-bottom: .15rem; color: #b9d8e8; }
.footer-bottom {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
    opacity: .68;
}

/* Respiration entre la carte et le cadre */
.menu-section { margin-bottom: 5.5rem; }

@media (max-width: 1000px) {
    .coffee-story-grid { grid-template-columns: 1fr; }
    .coffee-details-row { grid-template-columns: 1fr; }
    .coffee-story-visuals { grid-template-rows: repeat(2, 210px); }
    .food-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-contacts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
    body { background-size: auto, auto, 300px 300px, auto; }
    .coffee-signature { padding: 4rem 0; }
    .coffee-origin-card { grid-template-columns: 1fr; gap: .9rem; }
    .coffee-origin-card div { padding: 0; border-right: 0; }
    .coffee-story-visuals { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 150px; }
    .coffee-story-visuals .coffee-main { grid-column: 1 / -1; grid-row: auto; }
    .food-menu-grid { grid-template-columns: 1fr; }
    .food-card img { height: 230px; }
    .food-card.brunch-card img { object-position: center 90%; }
    .footer-contacts { grid-template-columns: 1fr; gap: 1rem; }
    .coffee-value { grid-template-columns: 1fr; }
    .coffee-score {
        padding: 0 0 .8rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }
    .coffee-fact-tags { grid-template-columns: 1fr; }
}

/* Grands halos décoratifs alternés — deux variantes discrètes */
.intro,
.gallery {
    isolation: isolate;
    position: relative;
}
.intro::before,
.gallery::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: clamp(20rem, 38vw, 38rem);
    aspect-ratio: 1;
    border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
    pointer-events: none;
}
.intro::before {
    right: max(-14rem, -12vw);
    top: 14%;
    background: rgba(166, 104, 59, .16);
    box-shadow: inset 0 0 0 1px rgba(125, 78, 46, .06);
    transform: rotate(12deg);
}
.gallery::before {
    left: max(-15rem, -13vw);
    top: 22%;
    background: rgba(51, 104, 112, .13);
    box-shadow: inset 0 0 0 1px rgba(29, 73, 82, .06);
    transform: rotate(-18deg);
}

/* Le café devient un véritable bloc signature */
.coffee-signature {
    width: var(--wrap);
    margin: 0 auto 5.5rem;
    padding: 4.5rem 3rem;
    border-radius: 2.25rem;
    color: #fffdf8;
    background:
        radial-gradient(circle at 88% 12%, rgba(225, 180, 117, .18), transparent 23rem),
        linear-gradient(145deg, #3b2d28, #674431 58%, #3b2d28);
    box-shadow: 0 24px 60px rgba(63, 43, 31, .2);
}
.coffee-signature::before {
    width: 30rem;
    height: 30rem;
    right: -10rem;
    top: -9rem;
    background: rgba(239, 207, 159, .1);
}
.coffee-signature .wrap { width: 100%; }
.coffee-story-copy .eyebrow { color: #e9c790; }
.coffee-story-copy h2,
.coffee-story-copy p { color: #fffdf8; }
.coffee-lead { color: #fffdf8; }
.coffee-origin-card { border-color: rgba(255, 255, 255, .22); }
.coffee-origin-card div { border-right-color: rgba(255, 255, 255, .18); }
.coffee-origin-card span,
.coffee-notes > span { color: #e9c790; }
.coffee-notes strong {
    color: #fff7e9;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 900px) {
    .coffee-signature { padding: 3.5rem 1.5rem; }
}

@media (max-width: 620px) {
    .intro::before {
        right: -12rem;
        top: 28%;
    }
    .gallery::before {
        left: -13rem;
        top: 34%;
    }
    .coffee-signature {
        padding: 3rem 1rem;
        border-radius: 1.5rem;
        margin-bottom: 3.8rem;
    }
}

/* Galerie — mosaïque équilibrée et contenue */
.gallery {
    padding: 3.5rem;
    margin-bottom: 5.5rem;
    border: 1px solid rgba(48, 69, 61, .08);
    border-radius: 2.25rem;
    background: rgba(255, 253, 248, .76);
    box-shadow: 0 20px 55px rgba(53, 59, 48, .1);
    backdrop-filter: blur(3px);
}
.gallery .section-head { margin-bottom: 2.5rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, 245px);
    grid-auto-rows: 245px;
    gap: .85rem;
}
.gallery-grid figure,
.gallery-grid figure.wide,
.gallery-grid figure.tall {
    grid-column: auto;
    grid-row: auto;
}
.gallery-grid figure:nth-child(1) { grid-column: 1 / 7; grid-row: 1; }
.gallery-grid figure:nth-child(2) { grid-column: 7 / 10; grid-row: 1; }
.gallery-grid figure:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 3; }
.gallery-grid figure:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.gallery-grid figure:nth-child(5) { grid-column: 4 / 7; grid-row: 2; }
.gallery-grid figure:nth-child(6) { grid-column: 7 / 10; grid-row: 2; }
.gallery-grid figure:nth-child(6) img { object-position: center 48%; }
.gallery-grid figcaption {
    background: rgba(255, 253, 248, .9);
    box-shadow: 0 5px 16px rgba(17, 41, 47, .1);
    backdrop-filter: blur(8px);
}
.more-gallery { margin-bottom: 0; }

/* Carte — ambiance profonde, assortie à la navigation */
.contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, rgba(199, 151, 91, .2), transparent 24rem),
        radial-gradient(circle at 5% 95%, rgba(64, 126, 127, .24), transparent 25rem),
        linear-gradient(145deg, #234256, #17475b 58%, #234256);
    box-shadow: 0 24px 60px rgba(13, 43, 56, .22);
}
.contact::before,
.contact::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    pointer-events: none;
}
.contact::before { width: 17rem; height: 17rem; right: -5rem; top: -6rem; }
.contact::after { width: 9rem; height: 9rem; right: 7rem; top: 4rem; }
.contact-heading .eyebrow { color: #d7b783; }
.location-card { border: 1px solid rgba(255, 255, 255, .32); }
.map-frame { border: 1px solid rgba(255, 255, 255, .2); }

/* Footer compact, dans la continuité de la navigation */
footer {
    padding: 1.8rem 0 1rem;
    background: linear-gradient(110deg, #0c2634, #143b46 65%, #244c48);
}
.footer-inner {
    grid-template-columns: minmax(280px, 1fr) auto auto;
    align-items: center;
    gap: 1.5rem 3rem;
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .17);
}
.footer-brand img { width: 72px; height: 72px; }
.footer-contacts { gap: 1.8rem; }
.footer-bottom {
    grid-column: auto;
    width: auto;
    padding: 0;
    border: 0;
    white-space: nowrap;
    justify-self: end;
}

@media (max-width: 1050px) {
    .gallery { padding: 2.5rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: 255px;
    }
    .gallery-grid figure:nth-child(n) { grid-column: auto; grid-row: auto; }
    .footer-inner { grid-template-columns: 1fr auto; }
    .footer-contacts { grid-column: 1 / -1; grid-row: 2; }
    .footer-bottom { grid-column: 2; grid-row: 1; }
}

@media (max-width: 620px) {
    .gallery {
        padding: 2rem 1rem;
        margin-bottom: 3.8rem;
        border-radius: 1.5rem;
    }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
    .footer-contacts { grid-column: 1; grid-row: auto; }
    .footer-bottom { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* Responsive final — navigation glass et largeur mobile réelle */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
main,
section,
footer,
.wrap { min-width: 0; }

@media (max-width: 900px) {
    :root { --wrap: calc(100% - 1.5rem); }

    .site-header {
        position: absolute;
        top: .65rem;
        left: .75rem;
        right: .75rem;
        width: auto;
        height: 68px;
        padding: 0 .75rem;
        gap: .75rem;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 1.15rem;
        color: #fff;
        background: rgba(9, 31, 45, .48);
        box-shadow: 0 12px 32px rgba(6, 25, 35, .18);
        backdrop-filter: blur(18px) saturate(135%);
        -webkit-backdrop-filter: blur(18px) saturate(135%);
    }
    .brand { min-width: 0; gap: .6rem; }
    .brand img { width: 48px; height: 48px; }
    .brand strong { font-size: .95rem; }
    .brand small { font-size: .65rem; }
    .menu-toggle {
        flex: 0 0 auto;
        padding: .52rem .85rem;
        border: 1px solid rgba(255, 255, 255, .55);
        color: #fff;
        background: rgba(255, 255, 255, .1);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
        backdrop-filter: blur(10px);
        cursor: pointer;
    }
    .site-header nav {
        top: calc(100% + .5rem);
        left: 0;
        right: 0;
        gap: .15rem;
        padding: .55rem;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 1.15rem;
        background: rgba(10, 39, 54, .78);
        box-shadow: 0 18px 42px rgba(5, 24, 34, .28);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
        overflow: hidden;
    }
    .site-header nav a {
        padding: .72rem .8rem;
        border-radius: .75rem;
        font-size: .92rem;
        font-weight: 600;
    }
    .site-header nav a:hover,
    .site-header nav a:focus-visible {
        text-decoration: none;
        background: rgba(255, 255, 255, .11);
    }

    .hero,
    .menu-section,
    .coffee-signature,
    .terrace,
    .gallery,
    .contact {
        max-width: 100%;
    }
    .hero-actions { flex-wrap: wrap; }
    .coffee-story-grid,
    .contact-map-layout,
    .footer-inner { min-width: 0; }
    .map-frame,
    .map-frame iframe { max-width: 100%; }
    .footer-contacts a { overflow-wrap: anywhere; }
}

@media (min-width: 600px) and (max-width: 900px) {
    .site-header nav.open {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: .25rem;
        padding: .4rem;
    }
    .site-header nav a {
        padding: .68rem .25rem;
        text-align: center;
        font-size: .8rem;
        white-space: nowrap;
    }
    .site-header nav a + a { border-left: 1px solid rgba(255, 255, 255, .12); }

    .portrait-card img {
        height: 500px;
        object-position: center 8%;
    }

    .footer-contacts {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .footer-brand {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-bottom {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 560px) {
    :root { --wrap: calc(100% - 1rem); }
    html { font-size: 16px; }

    .site-header {
        top: .5rem;
        left: .5rem;
        right: .5rem;
        height: 64px;
        padding-inline: .65rem;
    }
    .brand img { width: 44px; height: 44px; }
    .brand span { display: block; }
    .brand strong { font-size: .82rem; }
    .brand small { font-size: .56rem; }
    .menu-toggle { padding: .45rem .72rem; font-size: .8rem; }

    .hero {
        width: 100%;
        min-height: 650px;
        height: 100svh;
        max-height: 760px;
        margin: 0;
        border-radius: 0 0 1.35rem 1.35rem;
    }
    .hero-copy {
        width: calc(100% - 2rem);
        max-width: none;
        margin-left: 1rem;
        padding-bottom: 2.25rem;
    }
    .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 3.25rem); }
    .hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.55; }
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: .55rem;
        margin-top: 1.4rem;
    }
    .button { padding: .72rem .9rem; font-size: .83rem; }

    .intro,
    .menu-section,
    .coffee-signature,
    .terrace,
    .gallery,
    .contact {
        width: var(--wrap);
        margin-inline: auto;
    }
    .intro { padding-inline: .25rem; }
    .portrait-card { width: 100%; }
    .section-head h2,
    .coffee-story-copy h2,
    .contact-heading h2 { font-size: clamp(2.25rem, 11vw, 3rem); }
    .menu-section,
    .coffee-signature,
    .contact { padding-inline: 1rem; }
    .terrace-copy { padding-inline: 1rem; }
    .gallery { padding-inline: .75rem; }
    .location-card { min-width: 0; }
    .location-card address { font-size: 1.25rem; }
}

@media (max-width: 420px) {
    .brand span { display: none; }
    .hero-copy h1 { font-size: clamp(2.35rem, 11.5vw, 2.85rem); }
    .hero-copy > p:not(.eyebrow) { font-size: .96rem; }
}

/* Hero mobile — rapproche le contenu de la navigation */
@media (max-width: 561px) {
    .hero-copy {
        padding-bottom: clamp(10rem, 18svh, 9rem);
    }
}

@media (max-width: 599px) {
    .footer-contacts { order: 1; grid-row: 1; }
    .footer-brand { order: 2; grid-row: 2; }
    .footer-bottom { order: 3; grid-row: 3; }
}

/* Notre histoire — portrait et manifeste en deux panneaux */
@media (min-width: 700px) {
    .portrait-card {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        align-items: stretch;
    }
    .portrait-card img {
        height: 520px;
        object-position: center 9%;
    }
    .portrait-card figcaption {
        display: flex;
        align-items: center;
        padding: clamp(2.5rem, 5vw, 5rem);
        color: var(--deep);
        font-family: "Playfair Display", serif;
        font-size: clamp(2.5rem, 4.2vw, 4.6rem);
        font-style: italic;
        font-weight: 600;
        line-height: 1.04;
        letter-spacing: -.035em;
    }
}

/* Café — composition compacte sur tablette et laptop */
@media (min-width: 700px) and (max-width: 1399px) {
    .coffee-details-row {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: stretch;
    }
    .coffee-value {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        align-items: start;
    }
    .coffee-value > div:nth-child(2) {
        grid-row: 1;
    }
    .coffee-value .coffee-score {
        grid-row: 3;
        align-self: end;
        width: 100%;
        margin-top: .85rem;
        padding: .85rem 0 0;
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
    }
}

/* Footer tablette — coordonnées alignées et aérées */
@media (min-width: 600px) and (max-width: 1399px) {
    footer { padding: 2.4rem 0 1.2rem; }
    .footer-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2rem 3rem;
        align-items: center;
        padding-bottom: 1.5rem;
    }
    .footer-contacts {
        grid-column: 1 / -1;
        grid-row: 1;
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr);
        gap: 2.5rem;
        width: 100%;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }
    .footer-contacts a {
        min-width: 0;
        white-space: nowrap;
    }
    .footer-brand {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-bottom {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

@media (max-width: 699px) {
    .portrait-card figcaption {
        padding: 2rem 1.5rem;
        font-family: "Playfair Display", serif;
        font-size: clamp(2rem, 9vw, 2.8rem);
        font-style: italic;
        font-weight: 600;
        line-height: 1.08;
    }
}

/* Notre histoire — deux cartes indépendantes et alignées */
.portrait-card {
    gap: 3rem;
    overflow: visible;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.portrait-card img {
    border-radius: 1.6rem;
    box-shadow: 0 18px 45px rgba(48, 52, 44, .12);
}
.portrait-card figcaption {
    border: 1px solid rgba(111, 91, 67, .08);
    border-radius: 1.6rem;
    background: linear-gradient(135deg, rgba(228, 239, 242, .76), rgba(246, 234, 216, .7));
    box-shadow: 0 18px 45px rgba(48, 52, 44, .1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

@media (min-width: 700px) {
    .portrait-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
    .portrait-card img { height: 580px; }
    .portrait-card figcaption {
        padding: clamp(2rem, 4vw, 4rem);
        font-size: clamp(2.15rem, 3.25vw, 3.55rem);
    }
}

@media (max-width: 699px) {
    .portrait-card { gap: 1rem; }
    .portrait-card img { border-radius: 1.25rem; }
    .portrait-card figcaption { border-radius: 1.25rem; }
}

/* Notre histoire — accroche directement sur le fond */
.portrait-card figcaption {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (min-width: 700px) {
    .portrait-card img { height: 660px; }
    .portrait-card figcaption {
        padding: 0;
        font-size: clamp(1.95rem, 2.7vw, 3rem);
    }
}

@media (max-width: 699px) {
    .portrait-card figcaption {
        padding: .75rem .25rem 0;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }
}

/* Notre histoire — titre au-dessus, photo à gauche, récit à droite */
@media (min-width: 700px) {
    .intro {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        grid-template-rows: auto auto 1fr;
        align-items: start;
        gap: 2rem 3rem;
    }
    .intro-copy {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .intro-copy h2 { max-width: 15ch; }
    .intro-text {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        padding-top: 0;
    }
    .portrait-card { display: contents; }
    .portrait-card img {
        grid-column: 1;
        grid-row: 2 / 4;
        width: 100%;
        height: 660px;
        align-self: start;
    }
    .portrait-card figcaption {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        margin-top: 1rem;
        padding: 0;
        max-width: 13ch;
    }
}
