/* ========================================
   VARIABLES & RESET
   ======================================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #f88e13;
    --primary-dark: #231f20;
    --secondary-beige: #F8ECDC;
    --secondary-coral: #DE734B;
    --secondary-yellow: #FECC01;
    --secondary-dark: #1E1E1E;
    --accent-red: #E51635;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Trebuchet MS', 'Corbel', Arial, sans-serif;
    color: var(--primary-dark);
    background: linear-gradient(135deg, #fff 0%, var(--secondary-beige) 100%);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(-50px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(248, 142, 19, 0.3); }
    50% { box-shadow: 0 0 40px rgba(248, 142, 19, 0.6); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   BACKGROUND DECORATIONS
   ======================================== */

.bg-decoration {
    position: fixed;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
    z-index: -1;
    pointer-events: none;
}

.bg-decoration:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary-orange);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.bg-decoration:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--secondary-yellow);
    bottom: 10%;
    left: -100px;
    animation-delay: 5s;
}

.bg-decoration:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--secondary-coral);
    top: 50%;
    right: 5%;
    animation-delay: 10s;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Cookie', cursive;
    font-size: 3rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;          /* évite l'espace blanc sous l'image */
    width: auto;
    height: 56px;           /* ajuste à ta hauteur de header (ex) */
    max-height: calc(var(--header-height) - 16px);
    border: 0;
    outline: none;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
  }

.logo:hover {
    transform: scale(1.1) rotate(-5deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */

 /* Hero Section */
 .hero {
    margin-top: calc(var(--header-height));
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(248, 142, 19, 0.1) 0%, rgba(222, 115, 75, 0.1) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideIn 1s ease-out;
}

.hero-text h1 {
    font-family: 'Cookie', cursive;
    font-size: 4..;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.hero-text .highlight {
    color: var(--primary-orange);
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--secondary-dark);
}

.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    animation: slideIn 1s ease-out 0.3s backwards;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(248, 142, 19, 0.3);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s infinite ease-in-out;
}

.product-card:nth-child(1) .product-icon { animation-delay: 0s; }
.product-card:nth-child(2) .product-icon { animation-delay: 0.5s; }
.product-card:nth-child(3) .product-icon { animation-delay: 1s; }
.product-card:nth-child(4) .product-icon { animation-delay: 1.5s; }

.product-card h3 {
    font-family: 'Cookie', cursive;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: bold;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-coral) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(248, 142, 19, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(248, 142, 19, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-3px);
}


/* ========================================
   MENU SECTIONS / CARDS / BADGES
   ======================================== */

.menu-section {
    padding: 4.2rem 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,245,240,0.98));
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
    letter-spacing: -0.4px;
    animation: slideIn 0.7s ease both;
}

.section-subtitle {
    color: rgba(35,31,32,0.7);
    margin-bottom: 1.6rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* menu category & items */
.menu-category {
    background: rgba(255,255,255,0.7);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(30,30,30,0.04);
}

.menu-category h3 {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.menu-items { list-style: none; display: grid; gap: 10px; }

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-item:hover {
    background: linear-gradient(90deg, rgba(248,142,19,0.03), rgba(222,115,75,0.02));
}

.item-info h4 { font-size: 1rem; margin-bottom: 4px; }
.item-info p { font-size: 0.92rem; color: rgba(35,31,32,0.65); }

.item-details { text-align: right; min-width: 85px; }

.item-price { font-weight: 800; color: var(--primary-orange); }
.item-cal { font-size: 0.85rem; color: rgba(35,31,32,0.5); }

/* badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-left: 6px;
    vertical-align: middle;
    background: rgba(0,0,0,0.06);
}

.badge-vegan { background: rgba(34, 139, 34, 0.12); color: #2d7a2d; }
.badge-bio { background: rgba(120, 71, 2, 0.06); color: #7b4b20; }

/* box builder */
.box-builder { display: grid; gap: 16px; }

.build-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(30,30,30,0.03);
}

.step-number {
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--secondary-yellow);
    color: var(--primary-dark);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 900;
    font-size: 1.1rem;
}

/* options grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    column-gap: 50px;
}

.options-grid.compact { grid-template-columns: repeat(4, 1fr); font-size: 0.95rem; }

.option-item {
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.95));
    box-shadow: 0 6px 18px rgba(30,30,30,0.03);
}

/* toppings */
.toppings-list { font-size: 0.95rem; color: rgba(35,31,32,0.7); }

/* delices grid */
.delices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.delice-card {
    padding: 16px;
    border-radius: 12px;
    background: white;
    text-align: center;
    box-shadow: 0 8px 28px rgba(30,30,30,0.04);
    transition: transform 0.25s ease;
}

.delice-card:hover { transform: translateY(-6px); }

.delice-icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }

.price { font-weight: 800; color: var(--primary-orange); margin-top: 8px; }

/* formules */
.formules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 1rem;
}

.formule-card {
    background: white;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(30,30,30,0.04);
    position: relative;
    overflow: visible;
}

.highlight-card {
    border: 2px solid rgba(248,142,19,0.12);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(248,142,19,0.06);
}

.formule-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-orange);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.8rem;
}

/* features */
.features {
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.feature {
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.95));
}

/* contact */
.contact {
    padding: 3.2rem 0;
}

.contact-info {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.contact-item h4 { margin-bottom: 6px; }

.allergens {
    background: rgba(230,230,230,0.25);
    padding: 1.6rem 0;
    border-top: 1px solid rgba(0,0,0,0.03);
}

/* footer */
footer {
    padding: 2.2rem 0;
    background: linear-gradient(180deg, rgba(35,31,32,0.98), rgba(20,20,20,0.98));
    color: #fff;
}

.footer-tagline { opacity: 0.9; margin: 8px 0 12px; }
.social-links a { margin-right: 10px; text-decoration: none; font-size: 1.2rem; }

/* small niceties */
.footer-bottom a { color: rgba(255,255,255,0.8); text-decoration: none; margin-left: 6px; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1000px) {
    .menu-grid { grid-template-columns: 1fr; }
    .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
    .hero-visual { grid-template-columns: repeat(2, 1fr); }
    .delices-grid { grid-template-columns: repeat(2, 1fr); }
    .formules-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
    .logo { font-size: 2.4rem; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 260px;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        background: linear-gradient(180deg, rgba(35,31,32,0.98), rgba(20,20,20,0.98));
        padding: 1.2rem;
        gap: 1rem;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        z-index: 1200;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { color: white; padding: 10px 6px; font-size: 1.05rem; }
    .hero-visual { grid-template-columns: 1fr 1fr; }
    .options-grid { grid-template-columns: 1fr 1fr; }
    .delices-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .formules-grid { grid-template-columns: 1fr; }
}

/* ensure footer readable on mobile */
@media (max-width: 420px) {
    .logo { font-size: 2.1rem; }
    .hero-text h1 { font-size: 2.1rem; }
}


.student-offer{
    display: inline-flex ;
    margin-top: 1rem;
}

.cta-logo{
    height: 32px;
    width: 32px;
    vertical-align: bottom;
    margin-right: 0.5rem;
}

.network-logo{
    height: 64px;
    width: 64px;
}