/* FRUITS CONGEL DU NORD — v3 Optimized
   Vanilla CSS · No Frameworks · Production-Grade
*/

/* ─── CSS VARIABLES ──────────────────────────────── */
:root {
    --c-white:         #ffffff;
    --c-cyan:          #35bdd8;
    --c-cyan-light:    #52c5df;
    --c-cyan-dark:     #2aa5be;
    --c-hero-bg-top:   #1a6b9a;
    --c-hero-bg-bot:   #0d3a5a;
    --c-vision-bg:     #1c324c;
    --c-agenda-bg:     #152033;
    --c-card-bg:       #19273f;
    --c-card-header:   #20314a;
    --c-marokana-bg:   #46add6;
    --c-frais-bg:      #1b3d5b;
    --c-surgele-bg:    #528bb2;
    --c-certif-bg:     #bacdd9;
    --c-demain-bg:     #131d2f;
    --c-footer-bg:     #f4f6f8;
    --c-text-main:     #2b394a;
    --c-text-light:    #a6b5c5;
    --c-chiffres-bg:   #f8fbfd;
    --font-main:       'Montserrat', sans-serif;
    --container-max:   1300px;
    --radius-card:     16px;
    --radius-btn:      30px;
    --shadow-card:     0 10px 40px rgba(0,0,0,0.18);
    --shadow-hover:    0 20px 50px rgba(0,0,0,0.28);
    --transition:      0.3s ease;
}

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
    font-family: var(--font-main);
    color: var(--c-text-main);
    background-color: var(--c-white);
    line-height: 1.6;
    overflow-x: hidden;
}
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
img { max-width: 100%; height: auto; display: block; }

/* ─── UTILITIES ──────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.text-center    { text-align: center; }
.text-white     { color: var(--c-white); }
.text-navy      { color: var(--c-text-main); }
.text-navy-sub  { color: #5a7080; font-weight: 500; }
.text-gray-light{ color: var(--c-text-light); }
.w-full         { width: 100%; }

/* Spacing helpers */
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 60px; }
.mb-xl { margin-bottom: 80px; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 60px; }
.mt-xl { margin-top: 80px; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.2; }
.section-title    { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 25px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1.05rem; font-weight: 500; }
.font-sm          { font-size: 0.88rem; }

.section-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 16px;
}
.section-badge.dark {
    background: rgba(0,0,0,0.08);
    color: var(--c-text-main);
    border-color: rgba(0,0,0,0.12);
}
.section-badge.light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.2);
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: all var(--transition);
    letter-spacing: 0.3px;
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--c-white);
}
.btn-outline:hover {
    background-color: var(--c-white);
    color: var(--c-hero-bg-bot);
    border-color: var(--c-white);
}
.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--c-white);
    background: rgba(255,255,255,0.08);
}
.btn-outline-white:hover {
    background: var(--c-white);
    color: var(--c-hero-bg-bot);
}
.btn-outline-navy {
    border: 2px solid var(--c-text-main);
    color: var(--c-text-main);
}
.btn-outline-navy:hover {
    background: var(--c-text-main);
    color: var(--c-white);
}
.btn-cyan {
    background-color: var(--c-cyan);
    color: var(--c-white);
    box-shadow: 0 4px 15px rgba(53,189,216,0.35);
}
.btn-cyan:hover {
    background-color: var(--c-cyan-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(53,189,216,0.45);
}
.btn-cyan-light {
    background-color: rgba(255,255,255,0.15);
    color: var(--c-white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-cyan-light:hover {
    background-color: var(--c-cyan);
    border-color: var(--c-cyan);
    transform: translateY(-2px);
}
.pill { padding: 10px 30px; font-size: 0.82rem; }

/* ─── HEADER ─────────────────────────────────────── */
header {
    background-color: var(--c-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    position: relative;
}

/* Desktop nav */
.nav-desktop { display: flex; gap: 24px; }
.nav-desktop a {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--c-text-main);
    position: relative;
    padding-bottom: 3px;
    white-space: nowrap;
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--c-cyan);
    transition: width var(--transition);
}
.nav-desktop a:hover { color: var(--c-cyan); }
.nav-desktop a:hover::after { width: 100%; }

/* Centred logo — drops below header bar like a badge */
.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background: var(--c-white);
    padding: 6px 18px 14px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo {
    height: 44px;
    width: auto;
    max-width: 115px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
.logo-fallback {
    font-size: 22px;
    text-align: center;
    line-height: 1.1;
}
.logo-fallback span { font-size: 9px; font-weight: 900; letter-spacing: 1px; color: #1a4060; }

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
    padding: 4px;
}
.hamburger span {
    width: 26px; height: 2.5px;
    background-color: var(--c-cyan);
    border-radius: 3px;
    transition: all var(--transition);
}

/* ─── MOBILE DRAWER ──────────────────────────────── */
.mobile-drawer {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100%;
    background-color: var(--c-white);
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    z-index: 1001;
    padding: 66px 28px 36px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.mobile-drawer.active { right: 0; }
.close-menu {
    position: absolute; top: 16px; right: 20px;
    font-size: 2rem;
    color: var(--c-text-main);
    line-height: 1;
}
.mobile-nav { display: flex; flex-direction: column; gap: 0; }
.mobile-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f3;
    transition: color var(--transition);
}
.mobile-link:hover { color: var(--c-cyan); }
.mobile-cta { margin-top: auto; }

/* ─── HERO ───────────────────────────────────────── */
.hero-section {
    background: linear-gradient(150deg, var(--c-hero-bg-top) 0%, var(--c-hero-bg-bot) 100%);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

/* Subtle bg glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(53,189,216,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1;
    gap: 0;
}

/* Hero image (left) — fills full height of hero */
.hero-img-box {
    flex: 0 0 48%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.hero-img {
    width: 100%;
    max-width: 480px;
    height: 100%;
    min-height: 360px;
    max-height: 480px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

/* Hero text (right) */
.hero-text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 50px 20px 50px 40px;
}
.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-cyan-light);
    margin-bottom: 12px;
}
.hero-title {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    color: var(--c-white);
    margin-bottom: 16px;
    line-height: 1.05;
}
.hero-sub {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 380px;
}
.hero-actions { display: flex; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }

/* Hero footer bar */
.hero-footer {
    background: rgba(0,0,0,0.18);
    padding: 16px 0;
    flex-shrink: 0;
}
.hero-footer-text {
    text-align: center;
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ─── COMMON SECTIONS ────────────────────────────── */
section { padding: 90px 0; position: relative; }
.full-center-section {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}
.section-bottom-text {
    position: absolute;
    bottom: 35px; left: 0;
    width: 100%;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ─── VISION ─────────────────────────────────────── */
.vision-section { background-color: var(--c-vision-bg); }
.vision-grid { display: flex; gap: 18px; margin-top: 40px; }
.vision-card {
    flex: 1;
    height: 260px;
    border-radius: var(--radius-card);
    background-color: rgba(255,255,255,0.08);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.vision-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.vision-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
    border-radius: var(--radius-card);
}

/* ─── CHIFFRES CLÉS ──────────────────────────────── */
.chiffres-section {
    background: var(--c-chiffres-bg);
    border-top: 1px solid #e8eef4;
    border-bottom: 1px solid #e8eef4;
}
.chiffres-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
}
.chiffre-card {
    flex: 1;
    max-width: 260px;
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid #dde5ee;
    position: relative;
}
.chiffre-card:last-child { border-right: none; }
.chiffre-number {
    display: block;
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--c-cyan);
    line-height: 1;
}
.chiffre-unit {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--c-text-main);
    margin-left: 4px;
}
.chiffre-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--c-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ─── AGENDA ─────────────────────────────────────── */
.agenda-section { background-color: var(--c-agenda-bg); }
.agenda-grid {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.agenda-card {
    background-color: var(--c-card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    width: 300px;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}
.agenda-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.agenda-card.featured { border: 2px solid var(--c-cyan); position: relative; }
.agenda-card.featured::before {
    content: '★ FEATURED';
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--c-cyan);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 0 0 8px 8px;
}
.agenda-card-header {
    background-color: var(--c-card-header);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.agenda-card-header .region { color: rgba(255,255,255,0.85); }
.agenda-card-header .status { color: var(--c-cyan); }
.agenda-card-body { padding: 28px 22px 24px; }
.agenda-card-body .date   { font-size: 2.8rem; color: var(--c-white); line-height: 1; font-weight: 900; }
.agenda-card-body .month  { font-size: 0.72rem; color: var(--c-cyan); font-weight: 800; letter-spacing: 1px; margin: 6px 0 20px; }
.agenda-card-body .event-name { font-size: 1.15rem; color: var(--c-white); margin-bottom: 10px; font-weight: 800; }
.agenda-card-body .location {
    font-size: 0.66rem;
    color: var(--c-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
}
.pin-icon { width: 12px; height: 12px; flex-shrink: 0; }

/* ─── COLOUR PRODUCT SECTIONS ────────────────────── */
.marokana-section       { background-color: var(--c-marokana-bg); }
.frais-section          { background-color: var(--c-frais-bg); }
.surgele-section        { background-color: var(--c-surgele-bg); }
.certifications-section { background-color: var(--c-certif-bg); }
.certifications-section .section-title,
.certifications-section .section-bottom-text { color: var(--c-text-main); }

/* ─── VEILLER SUR DEMAIN ─────────────────────────── */
.demain-section { background-color: var(--c-demain-bg); padding-bottom: 70px; }
.demain-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    text-align: left;
    margin-top: 50px;
}
.demain-text {
    flex: 1;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 500;
}
.demain-badges {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.badge-item {
    background: rgba(255,255,255,0.06);
    padding: 18px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.badge-item:hover {
    background: rgba(53,189,216,0.12);
    transform: translateY(-2px);
    border-color: rgba(53,189,216,0.3);
}
.badge-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--c-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge-icon svg { width: 18px; height: 18px; color: white; stroke: white; }
.badge-text h5   { color: var(--c-white); font-size: 1rem; font-weight: 800; }
.badge-text span { color: var(--c-text-light); font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { background-color: var(--c-footer-bg); padding: 60px 0 30px; }
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
    border-bottom: 1px solid #dee4eb;
    margin-bottom: 50px;
    gap: 18px;
}
.footer-logo {
    height: 44px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    margin-bottom: 4px;
}
.footer-tagline  { font-size: 0.9rem; color: #5c6c7f; font-weight: 500; max-width: 400px; line-height: 1.6; }
.footer-cta-group { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}
.footer-col h4 { font-size: 0.88rem; margin-bottom: 18px; color: var(--c-text-main); font-weight: 800; letter-spacing: 0.3px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.82rem; font-weight: 500; color: #5c6c7f; }
.footer-col ul li a:hover { color: var(--c-cyan); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #dee4eb;
}
.legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-links a { font-size: 0.75rem; font-weight: 600; color: #7a8fa0; }
.legal-links a:hover { color: var(--c-cyan); }
.social-links  { display: flex; gap: 10px; }
.social-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background-color: var(--c-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: white;
}
.social-icon svg { width: 15px; height: 15px; }
.social-icon:hover { background-color: var(--c-hero-bg-bot); transform: translateY(-3px); box-shadow: 0 5px 12px rgba(53,189,216,0.4); }
.copyright { text-align: center; margin-top: 22px; font-size: 0.72rem; color: var(--c-text-light); font-weight: 600; }

/* ─── OVERLAY ────────────────────────────────────── */
.overlay {
    position: fixed; inset: 0;
    background: rgba(13,26,45,0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    transition: opacity 0.3s ease;
}
.overlay.hidden { opacity: 0; pointer-events: none; }

/* ─── MODALS ─────────────────────────────────────── */
.modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: #f4f6f8;
    width: 90%; max-width: 480px;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    z-index: 1000;
    padding: 44px 40px 40px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -52%) scale(0.97);
}
.close-modal {
    position: absolute; top: 16px; right: 20px;
    font-size: 1.8rem; color: #aab5c0; line-height: 1;
    transition: color var(--transition);
}
.close-modal:hover { color: var(--c-text-main); }
.modal-content          { text-align: center; }
.modal-content.scrollable { max-height: 80vh; overflow-y: auto; padding-right: 6px; text-align: left; }
.modal-icon    { font-size: 2rem; margin-bottom: 12px; }
.modal-title   { font-size: 1.7rem; color: var(--c-cyan); margin-bottom: 8px; }
.modal-subtitle{ font-size: 0.9rem; color: #6a7d90; margin-bottom: 24px; font-weight: 500; line-height: 1.5; }
.modal-form    { display: flex; flex-direction: column; gap: 12px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 11px 18px;
    border: 1.5px solid #d0dce6;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    outline: none;
    background: white;
    color: var(--c-text-main);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 3px rgba(53,189,216,0.12);
}
.modal-form textarea { resize: vertical; min-height: 75px; }
.link-btn { font-size: 0.78rem; color: #aab5c0; text-decoration: underline; margin-top: 12px; cursor: pointer; }
.link-btn:hover { color: #6a7d90; }

/* ─── TOAST ──────────────────────────────────────── */
.toast {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--c-text-main);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}
.toast.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}