:root {
    --clr-primary: #3B4D3E;
    --clr-primary-rgb: 59, 77, 62;
    /* Deep Forest Green */
    --clr-primary-dark: #1a251b;
    --clr-accent: #3B4D3E;
    /* Match Primary Green */
    --clr-truck: #B5D4B5;
    --clr-truck-dark: #9abf9a;
    --clr-truck-rgb: 181, 212, 181;

    --clr-bg: #F9F7F3;
    --clr-bg-rgb: 249, 247, 243;
    /* Off-white Cream */
    --clr-bg-alt: #FFFFFF;
    --clr-text: #333333;
    --clr-text-light: #555555;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-brand: 'Allura', cursive;
    --font-section: 'Fraunces', serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout & Spacing */
    --max-width: 1200px;
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 2rem;
    --sp-lg: 4rem;
    --sp-xl: 6rem;

    /* UI Elements */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Layout */
    --z-header: 1000;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Performance: text-size-adjust to prevent font scaling issues on mobile */
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
.logo-text,
h2,
h3,
h4 {
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: var(--sp-sm);
}

h1,
.logo-text {
    font-family: var(--font-brand);
}

h2 {
    font-family: var(--font-section);
}

h3,
h4 {
    font-family: var(--font-heading);
}

h1 {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 600;
}

.accent {
    color: var(--clr-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-section);
}

.btn-secondary {
    background-color: var(--clr-primary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
}

.btn-foodtruck {
    background-color: var(--clr-truck);
    color: var(--clr-primary);
    box-shadow: 0 4px 15px rgba(var(--clr-truck-rgb), 0.4);
}

.btn-foodtruck:hover {
    background-color: var(--clr-truck-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--clr-truck-rgb), 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: white;
}

/* ==========================================================================
   Navigation (Glassmorphism)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background: rgba(var(--clr-bg-rgb), 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-text {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-section);
    font-weight: 600;
    color: var(--clr-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-nav {
    background-color: var(--clr-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-section);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cta-nav:hover {
    background-color: var(--clr-primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--clr-primary);
    position: absolute;
    transition: var(--transition);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Sections Layout
   ========================================================================== */
section {
    padding: var(--sp-xl) 20px;
    scroll-margin-top: 80px;
}

#contact-infos,
#contact-traiteur {
    scroll-margin-top: 160px;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: var(--sp-lg);
}

.text-center {
    text-align: center;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--clr-text-light);
    font-size: 1.1rem;
}

/* Glass Panel Utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--sp-md);
}

/* ==========================================================================
   Accueil (Hero Section)
   ========================================================================== */
.hero-section {
    padding-top: 120px;
    /* Offset for fixed nav */
    padding-bottom: var(--sp-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: var(--sp-md);
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s ease;
}

.grid-img:hover {
    transform: scale(1.03);
    z-index: 2;
}

.img-1 {
    grid-column: 1 / -1;
    grid-row: 1;
    height: 300px;
}

.img-2 {
    grid-column: 1;
    grid-row: 2;
    height: 200px;
}

.img-3 {
    grid-column: 2;
    grid-row: 2;
    height: 200px;
}

.img-4 {
    grid-column: 3;
    grid-row: 2;
    height: 200px;
}

/* ==========================================================================
   Foodtruck Section
   ========================================================================== */
.truck-section {
    background-color: var(--clr-truck);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-block: var(--sp-xl);
}

.truck-section .section-desc {
    color: rgb(14, 14, 14);
}

.truck-content.flex-column {
    display: flex;
    flex-direction: column;
    gap: var(--sp-lg);
}

.weekly-menu-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    max-width: 1060px;
    margin: 0 auto;
}

.weekly-menu-card h3,
.info-card h3,
.caterer-menu h3 {
    font-family: var(--font-section);
}

.menu-images-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.menu-image-placeholder {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: none;
    flex: 1 1 280px;
}


.menu-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.truck-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: center;
}

.truck-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.gallery-img-full {
    grid-column: 1 / -1;
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition);
    margin-bottom: 5px;
}

.gallery-img-full:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

.gallery-img {
    grid-column: span 2;
    border-radius: var(--radius-md);
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-img.vertical {
    grid-column: span 3;
    grid-row: span 2;
    height: 100%;
    min-height: 452px; /* 220 + 12 gap + 220 */
}

.gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.action-buttons .btn {
    font-family: var(--font-body);
}

/* ==========================================================================
   Traiteur Section
   ========================================================================== */
.caterer-section {
    background-color: var(--clr-primary);
    color: white;
}

.caterer-section h2,
.caterer-section .section-desc,
.caterer-section .caterer-menu h3,
.caterer-section .service-text strong {
    color: white;
}

.caterer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: center;
    margin-bottom: var(--sp-lg);
}

.caterer-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cat-img-main {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.cat-img-main:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cat-img-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.cat-img-subgrid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cat-img-subgrid img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.services-list {
    list-style: none;
    margin-top: var(--sp-md);
}

.service-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-icon {
    background: var(--clr-bg);
    color: rgb(32, 32, 32);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-text strong {
    display: block;
    font-size: 1.2rem;
    color: var(--clr-primary);
    margin-bottom: 5px;
}

/* Google Review & Contact info (previously inline styles) */
.map-container {
    margin: 15px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.google-review {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    color: #fbbc04;
}

#review-author {
    color: #333;
    font-weight: 600;
    margin-left: 5px;
}

#review-text {
    margin: 0;
    font-style: italic;
}

.review-link-wrapper {
    text-align: center;
    margin-top: -5px;
    margin-bottom: 15px;
}

.review-link {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    text-decoration: underline;
}

.star-icon {
    vertical-align: middle;
}

/* Error message (previously inline) */
.error-msg {
    color: #d93025;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600;
}

/* Formulaire */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    box-shadow: var(--shadow-lg);
}

.form-card h3 {
    font-family: var(--font-section);
}

.form-intro {
    color: var(--clr-text-light);
    margin-bottom: var(--sp-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-primary);
}

.required {
    color: #d93025;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fafafa;
    -webkit-tap-highlight-color: transparent;
}

textarea {
    resize: vertical;
}

.date-input-wrapper {
    position: relative;
    width: 100%;
}

/* Custom icon used on touch devices (iOS Safari has no ::-webkit-calendar-picker-indicator) */
.date-icon {
    display: none;
    width: 20px;
    height: 20px;
}

/* Desktop only: text cursor on the input, pointer cursor on the calendar icon */
@media (pointer: fine) {
    input[type="date"] {
        cursor: text;
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
    }
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 77, 62, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.15rem;
}

.input-error {
    border-color: #d93025 !important;
    background-color: rgba(217, 48, 37, 0.02) !important;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Honeypot anti-bot — hidden but not display:none (bots detect that) */
.form-honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #F9F7F3;
    color: var(--clr-text);
    padding-top: var(--sp-lg);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-md);
}

.footer-logo {
    font-family: var(--font-brand);
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 10px;
    color: var(--clr-primary);
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-section);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--clr-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--clr-text-light);
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--clr-primary);
    background: rgba(0, 0, 0, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background: var(--clr-primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Mentions Légales
   ========================================================================== */
.legal-section {
    padding-top: 140px;
    padding-bottom: var(--sp-xl);
    background-color: var(--clr-bg);
    min-height: 100vh;
}

.legal-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-page-title {
    font-family: var(--font-section);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: var(--sp-sm);
    position: relative;
    padding-bottom: var(--sp-sm);
}

.legal-page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--clr-primary);
    border-radius: 2px;
}

.legal-intro {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    line-height: 1.7;
    margin-bottom: var(--sp-lg);
}

.legal-article {
    margin-bottom: var(--sp-lg);
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-article:last-of-type {
    border-bottom: none;
    margin-bottom: var(--sp-md);
    padding-bottom: 0;
}

.legal-article h2 {
    font-family: var(--font-section);
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: var(--sp-sm);
}

.legal-article h3 {
    font-family: var(--font-section);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--clr-primary);
    margin-top: var(--sp-md);
    margin-bottom: 0.6rem;
}

.legal-article p {
    color: #1a1a1a;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.legal-article a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-article a:hover {
    color: var(--clr-primary-dark);
}

.legal-list {
    list-style: none;
    margin: 0.8rem 0;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
    color: #1a1a1a;
    line-height: 1.7;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--clr-primary);
}

.legal-updated {
    text-align: right;
    padding-top: var(--sp-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-updated p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    font-style: italic;
}

/* ==========================================================================
   Media Queries (Responsive & Performance)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        align-items: flex-start;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .truck-content.flex-column {
        grid-template-columns: 1fr;
    }

    .truck-bottom-row {
        grid-template-columns: 1fr;
    }

    .caterer-content {
        grid-template-columns: 1fr;
    }

    .caterer-gallery-grid {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }

    .cta-nav {
        display: none;
    }

    .navbar {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .truck-content.flex-column {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    .truck-bottom-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--sp-md);
        width: 100%;
    }

    .truck-bottom-row>* {
        width: 100%;
        max-width: 560px;
        min-width: 0;
        margin-inline: auto;
    }

    .truck-gallery,
    .info-card,
    .weekly-menu-card {
        max-width: 100%;
        margin-inline: auto;
    }

    .weekly-menu-card {
        padding: 12px;
    }

    .menu-images-container {
        gap: 8px;
        margin-top: 8px;
    }


    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(var(--clr-bg-rgb), 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        /* Hidden state */
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-image-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
    }

    .img-1 {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 250px;
    }

    .img-2 {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 180px;
    }

    .img-3 {
        grid-column: 1;
        grid-row: 3;
        height: 180px;
    }

    .img-4 {
        grid-column: 2;
        grid-row: 3;
        height: 180px;
    }

    .truck-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-img-full {
        height: 200px;
    }

    .gallery-img {
        grid-column: span 1;
        height: 180px;
    }

    .gallery-img.vertical {
        grid-column: span 2;
        min-height: 380px;
    }

    .cat-img-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding-block: var(--sp-lg);
    }

    section:not(.hero-section):not(.legal-section) {
        padding-top: var(--sp-md);
    }

    .legal-section {
        padding-top: 100px;
    }

    section {
        scroll-margin-top: 80px;
    }

    #contact-infos,
    #contact-traiteur {
        scroll-margin-top: 100px;
    }

    .hero-section {
        padding-top: 90px;
        padding-bottom: var(--sp-lg);
    }

    .hero-container {
        padding-top: 20px;
    }

    .hero-ctas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        min-width: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row>*,
    .form-group {
        min-width: 0;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .form-card {
        padding: var(--sp-md);
        border-radius: var(--radius-md);
    }

    .form-card h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .form-intro {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .form-group {
        margin-bottom: 16px;
    }

    label {
        font-size: 0.95rem;
    }

    input,
    textarea {
        padding: 14px;
        font-size: 1rem;
    }

    input[type="date"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 14px 44px 14px 14px;
        font-size: 1rem;
        color: var(--clr-text);
        background-color: #fafafa;
        border: 1px solid #ddd;
        border-radius: var(--radius-sm);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
    }

    .date-icon {
        display: block;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--clr-text-light);
        pointer-events: none;
        z-index: 1;
    }

    input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
    }

    textarea {
        min-height: 140px;
    }

    .submit-btn {
        min-height: 48px;
        padding: 14px 20px;
    }

    .form-status {
        margin-top: 16px;
        font-size: 0.95rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--sp-sm);
        margin-bottom: var(--sp-sm);
    }

    .social-icons {
        justify-content: center;
        gap: 10px;
    }

    .social-icons a {
        width: 46px;
        height: 46px;
    }

    .social-icons svg {
        width: 24px;
        height: 24px;
    }

    .footer-logo {
        font-size: 2.4rem;
    }

    .site-footer {
        padding-top: var(--sp-md);
    }

    .footer-links h4,
    .footer-social h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-bottom {
        padding: 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-ctas .btn {
        padding: 11px 10px;
        font-size: 0.9rem;
    }

    .form-card {
        padding: 1.2rem;
    }

    .form-card h3 {
        font-size: 1.35rem;
    }
}

@media (max-width: 360px) {
    .hero-ctas {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}