@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Antonio";
    src: url("../assets/fonts/Antonio-Bold.ttf") format("truetype");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-blue: #0b347c;
    --color-blue-dark: #062967;
    --color-blue-bright: #0759cf;
    --color-red: #d00212;
    --color-red-dark: #aa0010;
    --color-yellow: #f6a800;
    --color-green: #078126;
    --color-cream: #faf6ed;
    --color-cream-deep: #f2e9da;
    --color-white: #ffffff;
    --color-text: #0b347c;
    --color-muted: #536784;
    --color-page-background: var(--color-white);
    --color-section-background: var(--color-cream);

    --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --font-display: "Antonio", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;

    --container-width: 1320px;
    --viewport-gutter: max(1rem, calc((100vw - var(--container-width)) / 2));
    --border-radius: 18px;
    --border-radius-small: 12px;
    --shadow-soft: 0 12px 34px rgba(11, 52, 124, 0.09);
    --shadow-button: 0 8px 18px rgba(170, 0, 16, 0.2);
    --header-height: 78px;

    /* Echelle typographique fluide commune a toutes les pages. */
    --type-xs: clamp(0.8rem, 0.76rem + 0.16vw, 0.88rem);
    --type-sm: clamp(0.9rem, 0.86rem + 0.18vw, 0.98rem);
    --type-body: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
    --type-body-lg: clamp(1.05rem, 0.96rem + 0.45vw, 1.3rem);
    --type-button: clamp(1rem, 0.94rem + 0.28vw, 1.2rem);
    --type-label: clamp(1.15rem, 1.02rem + 0.65vw, 1.35rem);
    --type-card-title: clamp(1.3rem, 1.22rem + 0.4vw, 1.45rem);
    --type-panel-title: clamp(1.8rem, 1.42rem + 1.2vw, 2.65rem);
    --type-metric: clamp(1.15rem, 1rem + 0.75vw, 1.55rem);
    --type-info-value: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
    --type-section-title: clamp(2.25rem, 1.65rem + 2.45vw, 3.65rem);
    --type-page-title: clamp(3.15rem, 1.6rem + 6.35vw, 6.65rem);
    --type-hero-detail: clamp(1.75rem, 0.65rem + 4.5vw, 4.25rem);
    --type-hero-stat: clamp(1.2rem, 0.9rem + 1.5vw, 2.1rem);
    --type-hero-meta: clamp(0.9rem, 0.78rem + 0.55vw, 1.05rem);
    --type-hero-button: clamp(0.9rem, 0.78rem + 0.55vw, 1.15rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--color-text);
    background: var(--color-page-background);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
    font: inherit;
    font-family: var(--font-body);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--color-yellow);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    background: var(--color-blue-dark);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.container {
    width: min(calc(100% - 1.25rem), var(--container-width));
    margin-inline: auto;
}

.section {
    padding-block: clamp(1.5rem, 3.5vw, 3.5rem);
}

.section--compact {
    padding-block: clamp(0.75rem, 1.6vw, 1.3rem);
}

.section--tinted {
    background: var(--color-section-background);
}

.section[id] {
    scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.surface {
    overflow: hidden;
    background: var(--color-section-background);
    border: 1px solid rgba(11, 52, 124, 0.06);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title,
.page-title,
.card-title {
    margin: 0;
    color: var(--color-blue);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.section-title {
    position: relative;
    width: fit-content;
    padding-bottom: 0.72rem;
    font-size: clamp(2.25rem, 5vw, 3.65rem);
}

.section-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.8rem;
    height: 3px;
    background: var(--color-yellow);
    content: "";
}

.page-title {
    font-size: clamp(3.75rem, 10vw, 8.2rem);
}

.card-title {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-footer-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
}

.text-link::after {
    content: "\2192";
    transition: transform 160ms ease;
}

.text-link:hover::after {
    transform: translateX(0.25rem);
}

.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.3rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    cursor: pointer;
    max-width: 100%;
    transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--color-white);
    background: var(--color-red);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background: var(--color-red-dark);
}

.btn-outline {
    color: var(--color-blue);
    background: transparent;
    border-color: var(--color-blue);
}

.icon {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    object-fit: contain;
	margin: auto 0 auto 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    background: rgba(250, 246, 237, 0.96);
    border-bottom: 1px solid rgba(11, 52, 124, 0.08);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    min-height: var(--header-height);
    align-items: center;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    min-width: 98px;
    min-height: 64px;
    align-items: center;
    color: var(--color-blue);
    text-decoration: none;
}

.site-logo__image {
    display: none;
    width: 112px;
    max-height: 72px;
    object-fit: contain;
}

.site-logo--has-image .site-logo__image {
    display: block;
}

.site-logo--has-image .site-logo__wordmark {
    display: none;
}

.site-logo__wordmark {
    display: grid;
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 0.82;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-logo__wordmark strong {
    display: flex;
    align-items: baseline;
    gap: 0.18em;
    font-size: 1.65rem;
    font-weight: 400;
}

.site-logo__wordmark em {
    color: var(--color-red);
    font-size: 1.25em;
    font-style: normal;
}

.menu-toggle {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    padding: 0;
    color: var(--color-white);
    background: var(--color-blue);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle__lines {
    position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__lines::before {
    top: -7px;
}

.menu-toggle__lines::after {
    top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    padding: 1rem;
    background: var(--color-section-background);
    border-bottom: 1px solid rgba(11, 52, 124, 0.1);
    box-shadow: 0 20px 40px rgba(11, 52, 124, 0.15);
}

.site-nav.is-open {
    display: block;
}

.site-nav__list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.25rem;
}

.site-nav__link {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    padding: 0.65rem 0.8rem;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--color-red);
    background: rgba(208, 2, 18, 0.05);
}

.site-nav__cta {
    margin-top: 0.5rem;
}

.site-nav__cta .btn {
    width: 100%;
}

/* Shared replaceable image component */
.replaceable-media {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    background:
        radial-gradient(circle at 78% 20%, var(--color-red) 0 8%, transparent 8.5%),
        radial-gradient(circle at 82% 45%, var(--color-yellow) 0 15%, transparent 15.5%),
        radial-gradient(circle at 58% 38%, var(--color-blue-bright) 0 26%, transparent 26.5%),
        linear-gradient(145deg, rgba(7, 129, 38, 0.98) 0 24%, var(--color-blue) 24% 58%, #063f9b 58% 74%, var(--color-green) 74%);
    border-radius: var(--border-radius);
    isolation: isolate;
}

.replaceable-media::after {
    position: absolute;
    right: -8%;
    bottom: -35%;
    left: -8%;
    z-index: -1;
    height: 58%;
    background: var(--color-yellow);
    border-radius: 50% 50% 0 0;
    content: "";
    transform: rotate(-7deg);
}

.media-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}

.replaceable-media.is-loaded .media-image {
    opacity: 1;
}

/* Une illustration finale possède déjà son propre décor. Le fond coloré ci-dessus
   sert uniquement de secours tant que le fichier image n'est pas disponible. */
.replaceable-media.is-loaded {
    background: transparent;
}

.replaceable-media.is-loaded::after {
    display: none;
}

.media-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.replaceable-media.is-loaded .media-fallback {
    display: none;
}

/* Heroes */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: 0;
    background: var(--color-section-background);
}

.home-hero__grid,
.page-hero__grid {
    display: grid;
    align-items: center;
    gap: 0;
}

.home-hero__grid > *,
.page-hero__grid > * {
    min-width: 0;
}

.home-hero__copy {
    display: grid;
    min-width: 0;
    gap: 1.15rem;
}

.home-hero__wordmark {
    width: min(100%, 360px);
    max-height: 430px;
    object-fit: contain;
    object-position: left center;
}

.home-hero__copy,
.page-hero__copy {
    padding-block: 1rem 0;
}

.home-hero__details {
    min-width: 0;
    padding-left: 1.2rem;
    border-left: 3px solid var(--color-yellow);
}

.event-date {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0 0 1.2rem;
    color: var(--color-red);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 8vw, 4.25rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.event-date strong {
    color: var(--color-yellow);
    font-weight: 700;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.event-location strong {
    display: block;
    color: var(--color-red);
}

.home-hero__media,
.page-hero__media {
    width: 100%;
    min-height: min(92vw, 420px);
    margin-right: 0;
    border-radius: 48% 48% 0 0;
}

.home-hero__media.is-loaded,
.page-hero__media.is-loaded {
    overflow: visible;
    border-radius: 0;
}

.page-hero__copy {
    position: relative;
    z-index: 1;
}

.page-hero__intro {
    min-width: 0;
}

.page-hero__lead {
    max-width: 41rem;
    margin: 0.8rem 0 0;
    font-size: clamp(1.05rem, 2.2vw, 1.32rem);
    font-weight: 600;
}

.page-hero__lead + .page-hero__lead {
    margin-top: 0.45rem;
}

.hero-stats {
    display: grid;
    max-width: 34rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
}

.hero-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    padding-right: 0.8rem;
}

.hero-stat + .hero-stat {
    padding-left: 1rem;
    border-left: 1px solid var(--color-yellow);
}

.hero-stat__symbol {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--color-green);
    background: var(--color-white);
    border: 2px solid var(--color-yellow);
    border-radius: 50%;
    font-weight: 900;
}

.hero-stat__symbol img {
    width: 82%;
    height: 82%;
    object-fit: contain;
    object-position: center;
}

.hero-stat:nth-child(2) .hero-stat__symbol {
    color: var(--color-blue);
    border-color: var(--color-blue-bright);
}

.hero-stat__text {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.45rem, 4vw, 2.1rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-stat__text strong {
    display: block;
    color: var(--color-red);
    font-size: 1.18em;
    font-weight: 700;
}

/* Salon overview */
.salon-overview {
    display: grid;
    gap: 1rem;
    padding: clamp(0.9rem, 2vw, 1.4rem);
}

.salon-overview__copy p {
    max-width: 34rem;
    margin: 0.7rem 0 0;
    font-weight: 500;
}

.salon-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.salon-metric {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.4rem;
    text-align: center;
}

.salon-metric:nth-child(odd)::after {
    position: absolute;
    top: 14%;
    right: 0;
    width: 1px;
    height: 72%;
    background: rgba(246, 168, 0, 0.6);
    content: "";
}

.salon-metric__badge {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    color: var(--color-blue);
    background: var(--color-white);
    border: 2px solid var(--metric-color, var(--color-yellow));
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.65rem;
}

.salon-metric__image {
    display: none;
    width: 84%;
    height: 84%;
    object-fit: contain;
    object-position: center;
}

.salon-metric__badge.has-image .salon-metric__image {
    display: block;
}

.salon-metric__badge.has-image .salon-metric__fallback {
    display: none;
}

.salon-metric:nth-child(2) {
    --metric-color: var(--color-blue-bright);
}

.salon-metric:nth-child(3) {
    --metric-color: var(--color-red);
}

.salon-metric:nth-child(4) {
    --metric-color: var(--color-green);
}

.salon-metric__label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    line-height: 1;
    text-transform: uppercase;
}

.salon-metric__label strong {
    display: block;
    color: var(--color-red);
    font-size: 1.28em;
    font-weight: 700;
}

/* Winery cards */
.winery-preview {
    padding: clamp(0.9rem, 2vw, 1.4rem);
}

.winery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.winery-grid--preview .winery-card:nth-child(n + 5) {
    display: none;
}

.winery-grid--full .winery-card {
    background: var(--color-section-background);
}

.winery-card {
    display: grid;
    min-width: 0;
    min-height: 190px;
    padding: 1rem;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(11, 52, 124, 0.08);
    border-radius: var(--border-radius-small);
    box-shadow: 0 7px 18px rgba(11, 52, 124, 0.06);
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0.55rem 0.8rem;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.winery-card:hover {
    box-shadow: 0 12px 24px rgba(11, 52, 124, 0.12);
    transform: translateY(-3px);
}

.winery-card__logo {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--color-white);
    background: var(--logo-color, var(--color-red));
    border-radius: 50% 50% 14px 50%;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.winery-card:nth-child(4n + 2) {
    --logo-color: var(--color-blue-bright);
}

.winery-card:nth-child(4n + 3) {
    --logo-color: var(--color-green);
}

.winery-card:nth-child(4n + 4) {
    --logo-color: var(--color-yellow);
}

.winery-card__heading {
    min-width: 0;
}

.winery-card h3 {
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.vigneron-link {
    color: inherit;
    text-decoration: none;
}

.vigneron-link:hover {
    text-decoration: underline;
}

.winery-card__region {
    margin: 0.35rem 0 0;
    color: var(--color-red);
    font-size: 0.92rem;
    font-weight: 700;
}

.winery-card__details {
    grid-column: 2;
}

.winery-card__details ul {
    margin: 0;
    padding-left: 1.15rem;
}

.winery-card__details li + li {
    margin-top: 0.2rem;
}

.winery-card__note {
    margin: 0.45rem 0 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.temporary-note {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem;
    color: var(--color-blue);
    background: rgba(246, 168, 0, 0.15);
    border-left: 4px solid var(--color-yellow);
    border-radius: 0 9px 9px 0;
    font-weight: 600;
}

/* Catering */
.catering-panel {
    padding: clamp(0.9rem, 2vw, 1.4rem);
}

.catering-grid {
    display: grid;
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1rem;
}

.catering-group {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
    height: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 1);
    border-radius: 14px;
}

.catering-group__label {
    margin: 0 0 0.7rem;
    padding: 0.42rem 0.7rem;
    color: var(--color-white);
    background: var(--group-color, var(--color-red));
    border-radius: 9px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.catering-group--saturday {
    --group-color: var(--color-yellow);
}

.catering-group--sunday {
    --group-color: var(--color-green);
}

.catering-items {
    display: grid;
    height: 100%;
    gap: 0.7rem;
}

.catering-items--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catering-item {
    display: grid;
    grid-template-rows: minmax(125px, 1fr) auto;
    min-width: 0;
    height: 100%;
    text-align: center;
}

.food-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: var(--color-cream-deep);
    border-radius: 12px;
}

.food-media::after {
    display: none;
}

.food-media .media-fallback {
    color: var(--color-blue);
    font-size: 1.25rem;
    text-shadow: none;
}

.catering-item h3 {
    margin: 0.5rem 0 0;
    color: var(--item-color, var(--color-red));
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.catering-group--saturday .catering-item h3 {
    --item-color: var(--color-yellow);
}

.catering-group--sunday .catering-item h3 {
    --item-color: var(--color-green);
}

.firefighters {
    display: grid;
    grid-template-rows: minmax(125px, 1fr) auto;
    place-items: stretch center;
    min-width: 0;
    height: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 1);
    border-radius: 14px;
    text-align: center;
}

.firefighters__icon {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-bottom: 0.5rem;
}

.firefighters__icon .media-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.firefighters__icon .media-fallback {
    font-size: 0.95rem;
}

.firefighters p {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.08;
    text-transform: uppercase;
}

.firefighters strong {
    display: block;
    color: var(--color-red);
    font-weight: 700;
}

.catering-menu-pending {
    display: grid;
    place-content: center;
    min-height: 210px;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 1);
    border-radius: 14px;
    text-align: center;
}

.catering-menu-pending p {
    margin: 0;
    color: var(--color-red);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.catering-menu-pending span {
    margin-top: 0.75rem;
    color: var(--color-blue);
    font-weight: 600;
}

/* Practical information + tickets */
.info-ticket-grid {
    display: grid;
    gap: 0.75rem;
}

.info-card,
.ticket-card {
    min-width: 0;
    padding: clamp(0.9rem, 2vw, 1.4rem);
    border-radius: var(--border-radius);
}

.info-card {
    background: var(--color-section-background);
    border: 1px solid rgba(11, 52, 124, 0.06);
    box-shadow: var(--shadow-soft);
}

.info-list {
    display: grid;
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    gap: 0.7rem;
}

.info-list__item {
    display: grid;
    align-items: center;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0.85rem;
}

.info-list__icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.info-list__icon .icon {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
    object-position: center;
}

.info-list__icon .icon[src$="icone-localisation.png"] {
    width: 74%;
    height: 74%;
}

.info-list__item strong,
.info-list__item span {
    display: block;
}

.info-list__item strong {
    color: var(--color-blue);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.info-list__item span {
    color: var(--color-red);
    font-size: 1.22rem;
    font-weight: 700;
}

.ticket-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 1.1rem;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
    box-shadow: 0 14px 30px rgba(6, 41, 103, 0.2);
}

.ticket-card::before,
.ticket-card::after {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(246, 168, 0, 0.16);
    border-radius: 50%;
    content: "";
}

.ticket-card::before {
    top: -55px;
    right: -25px;
}

.ticket-card::after {
    right: 55px;
    bottom: -85px;
}

.ticket-card .card-title {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    color: var(--color-white);
}

.ticket-card__icon {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    width: 54px;
    height: 54px;
    margin: 0;
    object-fit: contain;
}

.ticket-card p {
    position: relative;
    z-index: 1;
    max-width: 31rem;
    margin: 0.8rem 0 1rem;
}

.ticket-card .btn {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
}

/* Buvons Bien social channels */
.social-follow {
    display: grid;
    min-width: 0;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1rem, 3vw, 2rem);
}

.social-follow__logo-wrap {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
}

.social-follow__logo {
    width: clamp(7rem, 24vw, 10rem);
    aspect-ratio: 1;
    object-fit: contain;
}

.social-follow__content {
    min-width: 0;
}

.social-follow__title {
    max-width: 48rem;
}

.social-follow__text {
    max-width: 52rem;
    margin: 0.75rem 0 0;
    color: var(--color-muted);
    font-size: var(--type-body);
}

.social-follow__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-follow__link {
    min-width: 9.5rem;
}

.social-follow__icon {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
}

.social-follow__link[aria-disabled="true"] {
    opacity: 0.62;
    cursor: not-allowed;
}

.social-follow__link[aria-disabled="true"]:hover {
    transform: none;
}

/* Form and legal pages */
.simple-hero {
    padding-block: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 3vw, 2.5rem);
    background: var(--color-section-background);
    text-align: center;
}

.simple-hero .page-title {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(3.25rem, 10vw, 7.2rem);
}

.simple-hero__subtitle {
    margin: 1.1rem auto 0;
    color: var(--color-red);
    font-weight: 900;
}

.simple-hero__intro {
    max-width: 760px;
    margin: 0.8rem auto 0;
    font-size: 1.08rem;
}

.form-shell {
    padding: clamp(0.8rem, 2vw, 1.4rem);
}

.form-notice {
    margin: 0 0 1rem;
    padding: 1rem;
    background: rgba(246, 168, 0, 0.14);
    border-left: 4px solid var(--color-yellow);
    border-radius: 0 10px 10px 0;
}

.google-form {
    display: block;
    width: 100%;
    min-height: 860px;
    background: var(--color-white);
    border: 0;
    border-radius: 12px;
}

.form-privacy {
    margin: 1rem 0 0;
    font-size: 0.92rem;
}

.legal-layout {
    display: grid;
    gap: 0.85rem;
}

.legal-card {
    padding: clamp(1rem, 2.5vw, 1.8rem);
}

.legal-card h2 {
    margin: 2rem 0 0.65rem;
    color: var(--color-blue);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card ul {
    max-width: 880px;
}

.placeholder {
    color: var(--color-red-dark);
    background: rgba(208, 2, 18, 0.06);
    border-radius: 4px;
    font-weight: 800;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: clamp(1rem, 2.5vw, 2rem);
    padding-block: 1.6rem 1.15rem;
    color: var(--color-blue);
    background: var(--color-section-background);
    border-top: 1px solid rgba(11, 52, 124, 0.08);
}

.site-footer::before,
.site-footer::after {
    position: absolute;
    bottom: -75px;
    width: 180px;
    height: 120px;
    border-radius: 50% 50% 0 0;
    content: "";
}

.site-footer::before {
    left: -40px;
    background: var(--color-blue);
    box-shadow: 70px 18px 0 var(--color-yellow);
}

.site-footer::after {
    right: -35px;
    background: var(--color-red);
    box-shadow: -80px 24px 0 var(--color-green);
}

.footer-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-organizer {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-organizer strong {
    color: var(--color-red);
}

.footer-warning {
    margin: 0.75rem 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.6rem 1rem;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--color-red);
}

@media (min-width: 560px) {
    .winery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .winery-grid--preview .winery-card:nth-child(5) {
        display: grid;
    }

}

@media (min-width: 700px) {
    .home-hero__grid,
    .page-hero__grid {
        height: 590px;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
        column-gap: 1.4rem;
        row-gap: 0;
    }

    .home-hero__wordmark {
        width: min(100%, 320px);
        max-height: 365px;
    }

    .home-hero__details .btn {
        width: 100%;
        padding-inline: 0.8rem;
        font-size: 1.05rem;
    }

    .home-hero__media,
    .page-hero__media {
        width: calc(100% + var(--viewport-gutter));
        height: 590px;
        min-height: 0;
        margin-right: calc(-1 * var(--viewport-gutter));
    }

    .home-hero__media.is-loaded .media-image,
    .page-hero__media.is-loaded .media-image {
        object-position: right bottom;
        transform: none;
    }

    .page-hero .page-title {
        font-size: clamp(4rem, 8.3vw, 7.2rem);
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-stat + .hero-stat {
        padding-top: 0.75rem;
        padding-left: 0;
        border-top: 1px solid var(--color-yellow);
        border-left: 0;
    }

    .catering-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .firefighters {
        grid-column: 1 / -1;
    }

    .catering-grid:has(.catering-menu-pending) {
        grid-template-columns: minmax(0, 2.5fr) minmax(180px, 0.8fr);
    }

    .catering-grid:has(.catering-menu-pending) .firefighters {
        grid-column: auto;
    }

    .social-follow {
        grid-template-columns: minmax(9rem, 0.45fr) minmax(0, 2fr);
    }
}

@media (min-width: 760px) {
    .salon-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .salon-metric:not(:last-child)::after {
        position: absolute;
        top: 14%;
        right: 0;
        display: block;
        width: 1px;
        height: 72%;
        background: rgba(246, 168, 0, 0.6);
        content: "";
    }

    .salon-metric:last-child::after {
        display: none;
    }

    .info-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-list__item + .info-list__item {
        padding-left: 1rem;
        border-left: 1px solid rgba(246, 168, 0, 0.6);
    }
}

@media (min-width: 900px) {
    :root {
        --header-height: 92px;
    }

    body.menu-open {
        overflow: auto;
    }

    .header-inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .menu-toggle {
        display: none;
    }

    .site-nav,
    .site-nav.is-open {
        position: static;
        display: grid;
        padding: 0;
        align-items: center;
        background: transparent;
        border: 0;
        box-shadow: none;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem;
    }

    .site-nav__list {
        display: flex;
        justify-content: center;
        gap: clamp(0.2rem, 1.7vw, 1.3rem);
    }

    .site-nav__link {
        min-height: 46px;
        padding-inline: 0.45rem;
        border-radius: 0;
    }

    .site-nav__link:hover,
    .site-nav__link[aria-current="page"] {
        color: var(--color-blue);
        background: transparent;
    }

    .site-nav__link::after {
        position: absolute;
        right: 0.45rem;
        bottom: 2px;
        left: 0.45rem;
        height: 3px;
        background: var(--color-yellow);
        content: "";
        opacity: 0;
        transform: scaleX(0.3);
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav__link:hover::after,
    .site-nav__link[aria-current="page"]::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .site-nav__cta {
        margin: 0;
    }

    .site-nav__cta .btn {
        width: auto;
        white-space: nowrap;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .hero-stat + .hero-stat {
        padding-top: 0;
        padding-left: 1rem;
        border-top: 0;
        border-left: 1px solid var(--color-yellow);
    }

    .home-hero__media.is-loaded .media-image,
    .page-hero__media.is-loaded .media-image {
        object-position: right bottom;
        transform: none;
    }

    .salon-overview {
        align-items: center;
        grid-template-columns: minmax(260px, 0.85fr) minmax(0, 2fr);
    }

    .winery-grid--preview {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .winery-grid--preview .winery-card {
        display: grid;
    }

    .winery-grid--preview .winery-card:nth-child(6) {
        display: none;
    }

    .winery-grid--full {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .winery-card {
        min-height: 205px;
    }

    .winery-grid--preview .winery-card {
        min-height: 205px;
        padding: 0.85rem;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 0.65rem 0.75rem;
    }

    .winery-grid--preview .winery-card__logo {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .winery-grid--preview .winery-card h3 {
        font-size: 1.25rem;
    }

    .catering-grid {
        grid-template-columns: minmax(0, 2fr) minmax(185px, 1fr) minmax(185px, 1fr) minmax(180px, 0.8fr);
    }

    .firefighters {
        grid-column: auto;
    }

    .catering-grid:has(.catering-menu-pending) {
        grid-template-columns: minmax(0, 3fr) minmax(180px, 0.8fr);
    }

    .info-ticket-grid {
        grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.9fr);
    }
}

@media (min-width: 1160px) {
    .site-logo__wordmark {
        font-size: 1.15rem;
    }

    .site-logo__wordmark strong {
        font-size: 1.9rem;
    }

    .btn {
        padding-inline: 1.5rem;
    }

    .home-hero__grid,
    .page-hero__grid {
        height: 510px;
        grid-template-columns: minmax(0, 1fr) 430px;
        column-gap: 0.75rem;
        row-gap: 0;
    }

    .home-hero__copy {
        grid-template-columns: minmax(300px, 1.12fr) minmax(245px, 0.88fr);
        align-items: center;
        gap: 1rem;
    }

    .home-hero__wordmark {
        width: min(100%, 350px);
        max-height: 440px;
    }

    .home-hero__details {
        align-self: center;
    }

    .home-hero__details .btn {
        font-size: 1.15rem;
    }

    .home-hero__media,
    .page-hero__media {
        width: calc(430px + var(--viewport-gutter));
        height: 510px;
    }

    .home-hero__media.is-loaded .media-image,
    .page-hero__media.is-loaded .media-image {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }
}

@media (max-width: 559px) {
    .section-heading-row {
        align-items: flex-start;
    }

    .section-heading-row .text-link {
        min-width: 0;
        margin-left: auto;
        justify-content: flex-end;
        text-align: right;
    }

    .home-hero__details .btn {
        width: 100%;
        gap: 0.4rem;
        padding-inline: 0.55rem;
        font-size: 0.86rem;
    }

    .home-hero__details .btn .icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-stat + .hero-stat {
        padding-top: 1rem;
        padding-left: 0;
        border-top: 1px solid var(--color-yellow);
        border-left: 0;
    }

    .salon-metric:nth-child(n)::after {
        display: none;
    }

    .ticket-card .btn {
        width: 100%;
    }

    .social-follow__actions,
    .social-follow__link {
        width: 100%;
    }
}

/* Les deux illustrations restent a droite du contenu, meme sur smartphone. */
@media (max-width: 699px) {
    .home-hero__grid,
    .page-hero__grid {
        grid-template-columns: minmax(0, 59fr) minmax(7.75rem, 41fr);
        column-gap: 0.25rem;
        height: 31.25rem;
        align-items: stretch;
    }

    .home-hero__grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        grid-template-rows: clamp(8.5rem, 46vw, 20rem) auto;
        height: auto;
    }

    .page-hero__grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3.25fr);
        grid-template-rows: clamp(13.75rem, 58vw, 19rem) auto;
        height: auto;
    }

    .home-hero__copy,
    .page-hero__copy {
        align-self: center;
        padding-block: 0.65rem;
    }

    .home-hero__copy {
        display: contents;
    }

    .page-hero__copy {
        display: contents;
    }

    .page-hero__intro {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        padding-block: 0.35rem;
    }

    .home-hero__wordmark {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        justify-self: start;
        width: auto;
        max-width: 100%;
        height: 100%;
        max-height: none;
        object-position: left bottom;
    }

    .home-hero__details {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr) minmax(0, 1.3fr);
        align-items: center;
        gap: 0.5rem;
        padding: 0.7rem 0;
        border-top: 2px solid var(--color-yellow);
        border-left: 0;
    }

    .event-date {
        gap: 0.35rem;
        margin: 0;
        font-size: clamp(1.55rem, 6.5vw, 2rem);
        line-height: 0.92;
    }

    .event-date > span {
        white-space: nowrap;
    }

    .event-date .icon,
    .event-location .icon {
        width: 1.2rem;
        height: 1.2rem;
        flex-basis: 1.2rem;
    }

    .event-location {
        gap: 0.35rem;
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.05;
    }

    .home-hero__details .btn {
        width: 100%;
        min-height: 2.75rem;
        padding: 0.5rem 0.45rem;
        gap: 0.35rem;
        font-size: 0.7rem;
        line-height: 1.05;
    }

    .home-hero__details .btn .icon {
        width: 1.05rem;
        height: 1.05rem;
        flex-basis: 1.05rem;
    }

    .home-hero__media,
    .page-hero__media {
        width: calc(100% + 0.625rem);
        height: 31.25rem;
        min-height: 0;
        margin-right: -0.625rem;
        align-self: stretch;
    }

    .home-hero__media {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
    }

    .page-hero__media {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
    }

    .home-hero__media.is-loaded .media-image,
    .page-hero__media.is-loaded .media-image {
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right center;
        transform: none;
    }

    .home-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right bottom;
    }

    .page-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right bottom;
    }

    .page-title {
        font-size: clamp(2.65rem, 13vw, 4rem);
        line-height: 0.88;
    }

    .page-hero__lead,
    .page-hero__sublead {
        max-width: 100%;
        font-size: 0.86rem;
        line-height: 1.3;
    }

    .page-hero__sublead {
        margin-top: 0.45rem;
    }

    .hero-stats {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        margin: 0;
        padding: 0.7rem 0;
        border-top: 2px solid var(--color-yellow);
    }

    .hero-stat {
        gap: 0.45rem;
    }

    .hero-stat + .hero-stat {
        padding-top: 0;
        padding-left: 0.55rem;
        border-top: 0;
        border-left: 1px solid var(--color-yellow);
    }

    .hero-stat__symbol {
        width: 2.8rem;
        height: 2.8rem;
        flex-basis: 2.8rem;
    }

    .hero-stat__text {
        font-size: 1.15rem;
        line-height: 0.9;
    }
}

@media (min-width: 700px) and (max-width: 1159px) {
    .home-hero__grid,
    .page-hero__grid {
        grid-template-columns: minmax(0, 0.729fr) minmax(0, 1.169fr);
        grid-template-rows: clamp(20.5rem, 43vw, 25rem) auto;
        height: auto;
    }

    .home-hero__copy,
    .page-hero__copy {
        display: contents;
    }

    .page-hero__intro {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .home-hero__wordmark {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        justify-self: start;
        width: auto;
        max-width: 100%;
        height: 100%;
        max-height: none;
        object-position: left bottom;
    }

    .home-hero__details {
        display: grid;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr) minmax(0, 1.3fr);
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 0;
        border-top: 2px solid var(--color-yellow);
        border-left: 0;
    }

    .home-hero__details .event-date {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .home-hero__details .event-date > span {
        white-space: nowrap;
    }

    .home-hero__details .event-location {
        margin: 0;
        font-size: clamp(0.9rem, 1.7vw, 1.08rem);
    }

    .home-hero__details .btn {
        width: 100%;
    }

    .home-hero__media {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
    }

    .page-hero__media {
        grid-column: 2;
        grid-row: 1;
        height: 100%;
    }

    .home-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right bottom;
    }

    .page-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right bottom;
    }

    .page-hero .hero-stats {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin: 0;
        padding: 0.75rem 0;
        border-top: 2px solid var(--color-yellow);
    }

    .page-hero .hero-stat + .hero-stat {
        padding-top: 0;
        padding-left: 1rem;
        border-top: 0;
        border-left: 1px solid var(--color-yellow);
    }
}

@media (max-width: 359px) {
    .home-hero__grid {
        height: auto;
    }

    .home-hero__media {
        height: 100%;
    }

    .home-hero__details {
        gap: 0.35rem;
    }

    .event-date {
        font-size: 1.4rem;
    }

    .event-location {
        font-size: 0.66rem;
    }

    .home-hero__details .btn {
        padding-inline: 0.3rem;
        font-size: 0.64rem;
    }

    .page-title {
        font-size: 2.35rem;
    }

    .page-hero__lead,
    .page-hero__sublead {
        font-size: 0.78rem;
    }
}

@media (min-width: 1160px) {
    .home-hero__copy {
        grid-template-columns: minmax(300px, 1.2fr) minmax(245px, 0.8fr);
    }

    .home-hero__wordmark {
        width: auto;
        max-width: 100%;
        height: 510px;
        max-height: none;
        object-position: left center;
    }

    .home-hero__media,
    .page-hero__media {
        height: 510px;
        align-self: stretch;
    }

    .home-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right center;
    }

    .page-hero__copy,
    .page-hero__media {
        height: 510px;
        align-self: stretch;
    }

    .page-hero__copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-block: 0;
    }

    .page-hero__media.is-loaded .media-image {
        right: 0;
        left: auto;
        width: auto;
        max-width: 100%;
        height: 100%;
        object-position: right center;
    }
}

/* Illustration d'accueil fixee au viewport.
   Elle conserve toute la hauteur visible tant que sa largeur tient dans la
   fenetre, puis se redimensionne proportionnellement sur les ecrans etroits. */
.home-page {
    position: relative;
    isolation: isolate;
}

.home-page::before {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: min(100vh, calc(100vw * 1213 / 984));
    height: min(100dvh, calc(100dvw * 1213 / 984));
    aspect-ratio: 984 / 1213;
    background: url("../assets/images/illustration-accueil.png") top right / contain no-repeat;
    content: "";
    pointer-events: none;
}

.vignerons-page::before {
    background-image: url("../assets/images/illustration-vignerons.png");
}

.home-page > main,
.home-page > .site-footer {
    position: relative;
    z-index: 1;
}

.home-page > .site-header {
    position: sticky;
    z-index: 100;
}

.home-page .site-header {
    background: rgba(250, 246, 237, 0.9);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-page .home-hero,
.home-page .page-hero {
    overflow: visible;
    background: transparent;
}

.home-page .surface,
.home-page .info-card,
.home-page .site-footer {
    background: rgba(250, 246, 237, 0.9);
}

@media (max-width: 899px) {
    .home-page .site-nav {
        background: rgba(250, 246, 237, 0.9);
    }

    .home-page .site-nav.is-open {
        background: var(--color-section-background);
    }
}

/* Conserver la composition desktop des heroes sur les largeurs reduites. */
@media (max-width: 1159px) {
    .home-page .home-hero__grid,
    .home-page .page-hero__grid {
        display: block;
        height: auto;
    }

    .home-page .home-hero__copy {
        display: grid;
        width: min(72%, 50rem);
        grid-template-columns: minmax(0, 1.2fr) minmax(8.5rem, 0.8fr);
        align-items: center;
        gap: clamp(0.6rem, 2vw, 1rem);
        padding-block: clamp(0.75rem, 2vw, 1.2rem);
    }

    .home-page .home-hero__wordmark {
        width: 100%;
        height: auto;
        max-height: 440px;
        align-self: center;
        justify-self: start;
        object-position: left center;
    }

    .home-page .home-hero__details {
        display: block;
        grid-column: auto;
        grid-row: auto;
        align-self: center;
        padding: 0 0 0 clamp(0.65rem, 2vw, 1.2rem);
        border-top: 0;
        border-left: 3px solid var(--color-yellow);
    }

    .home-page .page-hero__copy {
        display: flex;
        width: min(64%, 44rem);
        min-height: clamp(25rem, 52vw, 31rem);
        flex-direction: column;
        justify-content: center;
        padding-block: clamp(1rem, 3vw, 2rem);
    }

    .home-page .page-hero__intro,
    .home-page .page-hero .hero-stats {
        grid-column: auto;
        grid-row: auto;
    }

    .home-page .page-hero .hero-stats {
        max-width: 34rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 1.25rem;
        padding: 0;
        border-top: 0;
    }

    .home-page .page-hero .hero-stat + .hero-stat {
        padding-top: 0;
        padding-left: 1rem;
        border-top: 0;
        border-left: 1px solid var(--color-yellow);
    }
}

@media (max-width: 1024px) {
    .home-page .home-hero__copy {
        width: min(86%, 50rem);
        grid-template-columns: minmax(0, 0.9fr) minmax(11rem, 1.1fr);
    }
}

@media (max-width: 899px) {
    .home-page .home-hero__copy {
        width: min(92%, 50rem);
        grid-template-columns: minmax(0, 0.8fr) minmax(12rem, 1.2fr);
    }
}

@media (max-width: 559px) {
    .home-page .home-hero__copy,
    .home-page .page-hero__copy {
        width: 100%;
    }

    .home-page .home-hero__copy {
        grid-template-columns: minmax(0, 0.7fr) minmax(12.5rem, 1.3fr);
    }

    .home-page .home-hero__details .event-date {
        font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    }

    .home-page .home-hero__details .event-location {
        font-size: 0.8rem;
    }

    .home-page .home-hero__details .btn {
        padding-inline: 0.6rem;
        font-size: 0.78rem;
    }

    .home-page .page-hero__copy {
        min-height: 0;
    }
}

/* Systeme typographique unifie. Les roles gardent leur hierarchie et
   evoluent tous de facon continue entre mobile et grand ecran. */
body {
    font-size: var(--type-body);
    line-height: 1.55;
}

.site-nav__link,
.text-link {
    font-size: var(--type-body);
}

.btn {
    font-size: var(--type-button);
}

.section-title {
    font-size: var(--type-section-title);
}

.page-title,
.simple-hero .page-title {
    font-size: var(--type-page-title);
    line-height: 0.92;
}

.card-title {
    font-size: var(--type-panel-title);
}

.page-hero__lead,
.simple-hero__intro {
    font-size: var(--type-body-lg);
    line-height: 1.45;
}

.event-date,
.home-page .home-hero__details .event-date {
    font-size: var(--type-hero-detail);
    line-height: 0.95;
}

.event-location,
.home-page .home-hero__details .event-location {
    font-size: var(--type-hero-meta);
    line-height: 1.2;
}

.home-hero__details .btn,
.home-page .home-hero__details .btn {
    font-size: var(--type-hero-button);
    line-height: 1.05;
}

.hero-stat__text {
    font-size: var(--type-hero-stat);
    line-height: 0.95;
}

.salon-overview__copy p,
.temporary-note,
.form-notice,
.legal-card p,
.legal-card li {
    font-size: var(--type-body);
    line-height: 1.55;
}

.salon-metric__label {
    font-size: var(--type-metric);
}

.winery-grid--preview .winery-card h3,
.winery-grid--full .winery-card h3,
.catering-group__label,
.catering-item h3,
.firefighters p,
.legal-card h2 {
    font-size: var(--type-card-title);
    line-height: 1.05;
}

.winery-card__logo,
.info-list__item strong {
    font-size: var(--type-label);
}

.winery-card__region,
.winery-card__note,
.form-privacy {
    font-size: var(--type-sm);
    line-height: 1.45;
}

.winery-card__details,
.winery-card__details li {
    font-size: var(--type-body);
    line-height: 1.45;
}

.info-list__item span {
    font-size: var(--type-info-value);
    line-height: 1.35;
}

.info-list__item strong {
    line-height: 1.05;
}

.footer-organizer,
.footer-links {
    font-size: var(--type-sm);
}

.footer-warning {
    font-size: var(--type-xs);
}

/* Alignement des contenus des heroes sur le haut de leur grille. */
.home-page .home-hero__copy,
.home-page .page-hero__copy {
    padding-block: 0;
}

/* Conserver les respirations du bloc Details sur toutes les largeurs. */
.home-page .home-hero__details {
    padding: clamp(0.75rem, 1.8vw, 1.2rem);
    background: rgba(250, 246, 237, 0.9);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow:
        inset 0 0 0 1px rgba(11, 52, 124, 0.06),
        var(--shadow-soft);
}

.home-page .home-hero__details .event-date {
    margin-bottom: 1.2rem;
}

.home-page .home-hero__details .event-location {
    margin-bottom: 1.4rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
