/* ========================================
   🏠 KHRUA SIAM - PAGE D'ACCUEIL
   Hero, About, Takeaway, Services, Menu Preview
   ======================================== */

/* ========================================
   🎭 HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(circle at 30% 20%, rgba(30, 66, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(200, 134, 13, 0.1) 0%, transparent 50%),
        url('../images/home/baan_pa_bong_piang_2.jpg');
    background-size: cover, cover, cover;
    background-position: center, center, center bottom 100%;
    background-blend-mode: normal, normal, normal;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/home/baan_pa_bong_piang_2.jpg');
    background-size: cover;
    background-position: center bottom 100%;
    filter: blur(3px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(248, 246, 240, 0.75) 0%, rgba(248, 246, 240, 0.75) 100%),
        radial-gradient(circle at 20% 30%, rgba(30, 66, 53, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(200, 134, 13, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(30, 66, 53, 0.02) 0.5px, transparent 0.5px);
    background-size: 100%, 120px 120px, 80px 80px, 40px 40px;
    opacity: 0.9;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    position: relative;
    z-index: 3;
}

.hero-pretitle {
    font-size: 1rem;
    color: var(--copper-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0;
}

.hero-title {
    font-size: clamp(3.8rem, 9vw, 6.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.05);
    position: relative;
}

@keyframes expandFromCenter {
    0% { width: 0; opacity: 0; }
    50% { opacity: 0.5; }
    100% { width: 60vw; opacity: 0.5; }
}

.hero-title .khrua {
    color: var(--forest-green);
    display: inline-block;
    opacity: 0;
}

.hero-title .siam {
    color: var(--copper-gold);
    display: inline-block;
    opacity: 0;
}

.hero-ornament {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--forest-green), var(--copper-gold), transparent);
    margin: 2.5rem auto;
    opacity: 0;
}

.hero-elephants {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 1.5rem 0;
    opacity: 0;
    position: relative;
}

.hero-elephants::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8860d, transparent);
    opacity: 0;
}

.hero-elephants.animate-after::after {
    animation: expandFromCenter 1.2s ease-out 2.4s both;
}

.elephant-separator {
    display: inline-block;
    width: 3em;
    aspect-ratio: 801 / 646;
    background: url('../svg/2.svg') center/contain no-repeat;
    opacity: 0.8;
}

.elephant-separator.mirror {
    transform: scaleX(-1);
    margin-left: 0.05em;
}

.elephant-separator:not(.mirror) {
    margin-right: 0.05em;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(76, 76, 76, 0.95);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(248, 246, 240, 0.95);
    color: #1e4235;
    padding: 1rem 1.5rem;
    width: 200px;
    text-decoration: none;
    border: none;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 66, 53, 0.1);
    opacity: 0;
    text-align: center;
}

.hero-cta:hover {
    background: #1e4235;
    color: #f8f6f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 66, 53, 0.15);
}

/* ========================================
   ℹ️ ABOUT SECTION
   ======================================== */
.about {
    background: #ffffff;
    position: relative;
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

.about::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-gold), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    padding: 1rem 0;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--forest-green);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.about-signature {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 66, 53, 0.1);
}

.about-signature .signature-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--copper-gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.about-signature .signature-title {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    aspect-ratio: 16 / 9;
    height: auto;
    height: 340px;
    max-width: 100%;
    margin-left: auto;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(30, 66, 53, 0.15);
}

.about-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.about-visual-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* ========================================
   🥡 TAKEAWAY SECTION
   ======================================== */
.takeaway {
    background: var(--cream);
    position: relative;
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

.takeaway::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-gold), transparent);
}

.takeaway .section-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.takeaway-content {
    max-width: 100%;
    margin: 0 auto;
}

.takeaway-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 3rem;
}

.takeaway-feature {
    text-align: center;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border-radius: 20px;
    border: 1px solid rgba(200, 134, 13, 0.08);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(200, 134, 13, 0.1);
}

/* Animation au scroll */
.takeaway.is-visible .takeaway-feature {
    animation: fadeInServices 0.6s ease forwards;
}

.takeaway.is-visible .takeaway-feature:nth-child(1) { animation-delay: 0.1s; }
.takeaway.is-visible .takeaway-feature:nth-child(2) { animation-delay: 0.2s; }
.takeaway.is-visible .takeaway-feature:nth-child(3) { animation-delay: 0.3s; }

.takeaway-feature:hover {
    transform: translateY(0px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(200, 134, 13, 0.15);
    border-color: rgba(200, 134, 13, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(200, 134, 13, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
    box-shadow: 0 6px 20px rgba(200, 134, 13, 0.12);
    font-size: 2rem;
}

.takeaway-feature:hover .feature-icon {
    border-color: var(--copper-gold);
    box-shadow: 0 8px 30px rgba(200, 134, 13, 0.25);
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f1ede0 100%);
}

.feature-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.takeaway-feature h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.takeaway-feature p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.takeaway-cta {
    text-align: center;
    padding: 2rem 0;
}

.takeaway-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ========================================
   🛠️ SERVICES SECTION
   ======================================== */
.services {
    background: var(--pearl);
    position: relative;
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-gold), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2.5rem, 4vw, 4rem);
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.service-item {
    text-align: center;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
    border-radius: 20px;
    border: 1px solid rgba(200, 134, 13, 0.08);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(200, 134, 13, 0.1);
}

/* Animation au scroll */
.services.is-visible .service-item {
    animation: fadeInServices 0.6s ease forwards;
}

.services.is-visible .service-item:nth-child(1) { animation-delay: 0.1s; }
.services.is-visible .service-item:nth-child(2) { animation-delay: 0.2s; }
.services.is-visible .service-item:nth-child(3) { animation-delay: 0.3s; }

.service-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(200, 134, 13, 0.15);
    border-color: rgba(200, 134, 13, 0.2);
}

.service-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.service-icon {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(200, 134, 13, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
    box-shadow: 0 6px 20px rgba(200, 134, 13, 0.12);
    font-size: 2rem;
}

.service-item:hover .service-icon {
    border-color: var(--copper-gold);
    box-shadow: 0 8px 30px rgba(200, 134, 13, 0.25);
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f1ede0 100%);
}

/* Styles pour icônes emoji - plus de SVG nécessaire */

.service-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.service-link {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--copper-gold);
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--copper-gold);
    transition: width 0.4s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link:hover {
    color: var(--forest-green);
}

@keyframes fadeInServices {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   🍽️ MENU PREVIEW SECTION
   ======================================== */
#menu-preview {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, rgba(255, 255, 248, 0.96) 0%, rgba(242, 240, 232, 0.9) 52%, rgba(255, 255, 252, 0.96) 100%);
    border-top: 1px solid rgba(200, 134, 13, 0.12);
    border-bottom: 1px solid rgba(30, 66, 53, 0.08);
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
    --preview-photo-height: clamp(24rem, 45vw, 34rem);
    --preview-photo-width: calc(var(--preview-photo-height) * (4 / 3));
    --preview-padding: clamp(2rem, 4vw, 3.5rem);
}

#menu-preview > .container {
    position: relative;
    z-index: 1;
}

.menu-preview-slider {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: clamp(1.6rem, 3vw, 2.6rem);
}

.menu-preview-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6));
    height: calc(var(--preview-photo-height) + var(--preview-padding) * 2);
    border: 1px solid rgba(200, 134, 13, 0.22);
    box-shadow: 0 24px 60px rgba(30, 66, 53, 0.18);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.menu-preview-track {
    position: relative;
    height: 100%;
}

.menu-preview-slide {
    position: absolute;
    inset: 0;
    display: grid;
    gap: clamp(1.6rem, 4vw, 2.8rem);
    grid-template-columns: var(--preview-photo-width) minmax(15rem, 1fr);
    grid-template-areas: "media content";
    align-items: stretch;
    padding: var(--preview-padding);
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease-in-out, visibility 0s linear;
    transition-delay: 0s, 0.8s;
}

.menu-preview-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transition-delay: 0s, 0s;
}

.menu-preview-slide[data-orientation="reverse"] {
    grid-template-columns: minmax(15rem, 1fr) var(--preview-photo-width);
    grid-template-areas: "content media";
}

.menu-preview-media {
    grid-area: media;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    height: var(--preview-photo-height);
    background: linear-gradient(140deg, rgba(200, 134, 13, 0.12), rgba(248, 246, 240, 0.45));
    border: 1px solid rgba(200, 134, 13, 0.18);
    box-shadow: 0 20px 48px rgba(30, 66, 53, 0.18);
}

.menu-preview-media img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.menu-preview-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    gap: clamp(0.85rem, 2vw, 1.3rem);
    color: var(--forest-green);
    max-width: clamp(16rem, 30vw, 22rem);
    height: 100%;
    max-height: var(--preview-photo-height);
    overflow-y: auto;
    justify-content: center;
    padding-right: clamp(0.35rem, 1vw, 0.75rem);
    scrollbar-width: thin;
}

.menu-preview-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
    color: var(--forest-green);
    margin-bottom: clamp(0.5rem, 1.5vw, 0.8rem);
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-preview-text {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    line-height: 1.6;
    color: rgba(30, 66, 53, 0.8);
}

.menu-preview-link-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.menu-preview-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.menu-preview-arrow {
    appearance: none;
    border: 1px solid rgba(200, 134, 13, 0.42);
    background: rgba(255, 255, 255, 0.65);
    color: var(--copper-gold);
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(30, 66, 53, 0.15);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-preview-arrow:hover,
.menu-preview-arrow:focus-visible {
    background: var(--copper-gold);
    color: var(--pearl);
    border-color: var(--copper-gold);
    box-shadow: 0 14px 36px rgba(200, 134, 13, 0.28);
}

.menu-preview-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.menu-preview-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(200, 134, 13, 0.22);
    border: 1px solid rgba(200, 134, 13, 0.18);
    padding: 0;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.menu-preview-dot[aria-current="true"] {
    background: var(--copper-gold);
    border-color: transparent;
    box-shadow: 0 0 0 6px rgba(200, 134, 13, 0.16);
    transform: scale(1.2);
}

/* ========================================
   📞 CTA CONTACT SECTION
   ======================================== */
.cta-contact {
    background: var(--pearl);
    position: relative;
    padding: var(--section-padding-top) 0 var(--section-padding-bottom);
}

.cta-contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-gold), transparent);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--forest-green);
    position: relative;
}

.cta-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--copper-gold);
    border-radius: 1px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* ========================================
   🌄 PARALLAX - BASE
   ======================================== */
.parallax {
    position: relative;
    overflow: hidden;
}

.parallax-image {
    position: absolute;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 66, 53, 0.45) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(200, 134, 13, 0.25) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ========================================
   📱 RESPONSIVE - Media Queries Officiels (9 breakpoints)
   ======================================== */

/* Écrans 4K/5K (2560px et plus) */
@media (min-width: 2560px) {
  .hero-title {
    font-size: clamp(6rem, 6.5vw, 7rem);
  }

  .parallax {
    height: 75vh;
    min-height: 800px;
  }
  
  .parallax-image {
    height: 130%;
    top: -15%;
  }
}

/* Écrans 2K/QHD (1920px à 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .hero-title {
    font-size: clamp(5.8rem, 6.2vw, 6.8rem);
  }

  .parallax {
    height: 72vh;
    min-height: 770px;
  }
  
  .parallax-image {
    height: 128%;
    top: -14%;
  }
}

/* Écrans très larges (1440px à 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-title {
    font-size: clamp(5.5rem, 6vw, 6.5rem);
  }

  .parallax {
    height: 70vh;
    min-height: 750px;
  }
  
  .parallax-image {
    height: 125%;
    top: -12.5%;
  }
}

/* Écrans larges (1025px à 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-title {
    font-size: clamp(5rem, 7vw, 6rem);
  }

  .parallax {
    height: 62vh;
    min-height: 620px;
  }
  
  .parallax-image {
    height: 122%;
    top: -11%;
  }
}

/* Écrans desktop standard (900px à 1024px) */
@media (min-width: 900px) and (max-width: 1024px) {
  .hero-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8860d, transparent);
    opacity: 0;
    animation: expandFromCenter 1.2s ease-out 1.6s both;
  }

  .parallax {
    height: 60vh;
    min-height: 600px;
  }
  
  .parallax-image {
    height: 120%;
    top: -10%;
  }
  
  :root {
    --section-padding-top: clamp(3.5rem, 7vw, 5rem);
    --section-padding-bottom: clamp(3.5rem, 7vw, 5rem);
  }

  #menu-preview {
    --preview-photo-height: clamp(18rem, 70vw, 26rem);
    --preview-photo-width: min(100%, calc(var(--preview-photo-height) * (4 / 3)));
    --preview-padding: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-preview-viewport {
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .menu-preview-slide {
    position: relative;
    inset: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 2rem);
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
    padding: var(--preview-padding);
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: none;
  }
  
  .menu-preview-slide:not(.is-active) {
    display: none;
  }

  .menu-preview-media {
    width: 100%;
    max-width: clamp(16rem, 70vw, 24rem);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    order: 1;
  }

  .menu-preview-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    width: 100%;
    max-width: clamp(16rem, 85vw, 28rem);
    text-align: center;
    margin: 0 auto;
    order: 2;
  }

  .menu-preview-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  }
}

/* Tablettes (715px à 899px) */
@media (min-width: 715px) and (max-width: 899px) {
  :root {
    --section-padding-top: clamp(3rem, 6vw, 4.5rem);
    --section-padding-bottom: clamp(3rem, 6vw, 4.5rem);
  }

  .hero {
    height: auto;
    min-height: clamp(80vh, 100vh - var(--page-top-gap) - var(--hero-bottom-gap), 90vh);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(8rem, calc(var(--page-top-gap) + 5rem), 10rem);
    padding-bottom: clamp(3rem, var(--hero-bottom-gap), 5rem);
  }
  
  .hero-content {
    margin: 0 auto;
    padding-top: 3rem;
  }

  .hero-title {
    font-size: clamp(4.5rem, 11vw, 6.5rem);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual { 
    aspect-ratio: 4 / 3; 
    min-height: 320px; 
  }
  
  .takeaway-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .takeaway-feature {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-name {
    font-size: 1.4rem;
  }

  .menu-preview-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }

  .parallax {
    height: 45vh;
    min-height: 350px;
  }
  
  .parallax-image {
    height: 130%;
    top: -10%;
  }
  
  #menu-preview {
    --preview-photo-height: clamp(18rem, 70vw, 26rem);
    --preview-photo-width: min(100%, calc(var(--preview-photo-height) * (4 / 3)));
    --preview-padding: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-preview-viewport {
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .menu-preview-slide {
    position: relative;
    inset: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 2rem);
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
    padding: var(--preview-padding);
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: none;
  }
  
  .menu-preview-slide:not(.is-active) {
    display: none;
  }

  .menu-preview-media {
    width: 100%;
    max-width: clamp(16rem, 70vw, 24rem);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    order: 1;
  }

  .menu-preview-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    width: 100%;
    max-width: clamp(16rem, 85vw, 28rem);
    text-align: center;
    margin: 0 auto;
    order: 2;
  }
}

/* Tablettes (641px à 714px) */
@media (min-width: 641px) and (max-width: 714px) {
  :root {
    --section-padding-top: clamp(3rem, 6vw, 4.5rem);
    --section-padding-bottom: clamp(3rem, 6vw, 4.5rem);
  }

  .hero {
    height: auto;
    min-height: clamp(80vh, 100vh - var(--page-top-gap) - var(--hero-bottom-gap), 90vh);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(8rem, calc(var(--page-top-gap) + 5rem), 10rem);
    padding-bottom: clamp(3rem, var(--hero-bottom-gap), 5rem);
  }
  
  .hero-content {
    margin: 0 auto;
    padding-top: 3rem;
  }

  .hero-title {
    font-size: clamp(4.5rem, 11vw, 6.5rem);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual { 
    aspect-ratio: 4 / 3; 
    min-height: 320px; 
  }
  
  .takeaway-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .takeaway-feature {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-name {
    font-size: 1.4rem;
  }

  .menu-preview-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }

  .parallax {
    height: 45vh;
    min-height: 350px;
  }
  
  .parallax-image {
    height: 130%;
    top: -10%;
  }
  
  #menu-preview {
    --preview-photo-height: clamp(18rem, 70vw, 26rem);
    --preview-photo-width: min(100%, calc(var(--preview-photo-height) * (4 / 3)));
    --preview-padding: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-preview-viewport {
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .menu-preview-slide {
    position: relative;
    inset: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 2rem);
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
    padding: var(--preview-padding);
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: none;
  }
  
  .menu-preview-slide:not(.is-active) {
    display: none;
  }

  .menu-preview-media {
    width: 100%;
    max-width: clamp(16rem, 70vw, 24rem);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    order: 1;
  }

  .menu-preview-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    width: 100%;
    max-width: clamp(16rem, 85vw, 28rem);
    text-align: center;
    margin: 0 auto;
    order: 2;
  }
}

/* Mobile large (481px à 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  :root {
    --section-padding-top: clamp(3rem, 6vw, 4.5rem);
    --section-padding-bottom: clamp(3rem, 6vw, 4.5rem);
  }

  .hero {
    height: auto;
    min-height: clamp(80vh, 100vh - var(--page-top-gap) - var(--hero-bottom-gap), 90vh);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(8rem, calc(var(--page-top-gap) + 5rem), 10rem);
    padding-bottom: clamp(3rem, var(--hero-bottom-gap), 5rem);
  }
  
  .hero-content {
    margin: 0 auto;
    padding-top: 3rem;
  }

  .hero-title {
    font-size: clamp(4.5rem, 11vw, 6.5rem);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual { 
    aspect-ratio: 4 / 3; 
    min-height: 320px; 
  }
  
  .takeaway-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .takeaway-feature {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-name {
    font-size: 1.4rem;
  }

  .menu-preview-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
  }

  .parallax {
    height: 45vh;
    min-height: 350px;
  }
  
  .parallax-image {
    height: 130%;
    top: -10%;
  }
  
  #menu-preview {
    --preview-photo-height: clamp(18rem, 70vw, 26rem);
    --preview-photo-width: min(100%, calc(var(--preview-photo-height) * (4 / 3)));
    --preview-padding: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-preview-viewport {
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .menu-preview-slide {
    position: relative;
    inset: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 2rem);
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
    padding: var(--preview-padding);
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: none;
  }
  
  .menu-preview-slide:not(.is-active) {
    display: none;
  }

  .menu-preview-media {
    width: 100%;
    max-width: clamp(16rem, 70vw, 24rem);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    order: 1;
  }

  .menu-preview-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    width: 100%;
    max-width: clamp(16rem, 85vw, 28rem);
    text-align: center;
    margin: 0 auto;
    order: 2;
  }
}

/* Mobile petit (480px et moins) */
@media (max-width: 480px) {
  :root {
    --section-padding-top: clamp(2.5rem, 5vw, 3.5rem);
    --section-padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  }

  .hero-title {
    font-size: clamp(3rem, 10vw, 4.5rem);
    letter-spacing: 1px;
  }

  .hero-elephants {
    margin: 1rem 0;
  }

  .elephant-separator {
    width: 2.5em;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 320px;
  }

  .hero-cta {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    width: 180px;
  }

  .about-visual {
    min-height: 250px;
    aspect-ratio: 3 / 2;
  }

  .about-visual-img {
    border-radius: 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon svg {
    width: 32px;
    height: 32px;
  }

  .service-name {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.95rem;
    max-width: 300px;
  }

  .menu-preview-title {
    font-size: clamp(1rem, 3.2vw, 1.4rem);
  }

  .parallax {
    height: 35vh;
    min-height: 150px;
  }
  
  .parallax-image {
    height: 150%;
    top: -22%;
  }
  
  .hero {
    height: auto;
    min-height: clamp(80vh, 100vh - var(--page-top-gap) - var(--hero-bottom-gap), 90vh);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(8rem, calc(var(--page-top-gap) + 5rem), 10rem);
    padding-bottom: clamp(3rem, var(--hero-bottom-gap), 5rem);
  }
  
  .hero-content {
    margin: 0 auto;
    padding-top: 3rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual { 
    aspect-ratio: 4 / 3; 
    min-height: 320px; 
  }
  
  .takeaway-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .takeaway-feature {
    padding: 1.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  #menu-preview {
    --preview-photo-height: clamp(18rem, 70vw, 26rem);
    --preview-photo-width: min(100%, calc(var(--preview-photo-height) * (4 / 3)));
    --preview-padding: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-preview-viewport {
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
  }

  .menu-preview-slide {
    position: relative;
    inset: unset;
    display: flex;
    flex-direction: column;
    gap: clamp(1.2rem, 4vw, 2rem);
    grid-template-columns: none;
    grid-template-areas: none;
    align-items: center;
    padding: var(--preview-padding);
    height: auto;
    min-height: clamp(20rem, 50vh, 30rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: none;
  }
  
  .menu-preview-slide:not(.is-active) {
    display: none;
  }

  .menu-preview-media {
    width: 100%;
    max-width: clamp(16rem, 70vw, 24rem);
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    order: 1;
  }

  .menu-preview-content {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    width: 100%;
    max-width: clamp(16rem, 85vw, 28rem);
    text-align: center;
    margin: 0 auto;
    order: 2;
  }
}
