/* styles.css */

/* ============================================
   VARIABLES & RESET
============================================= */
:root {
    /* Brand Colors */
    --burgundy: #55262C;
    --burgundy-dark: #3D1B20;
    --burgundy-light: #6B3540;
    --cream: #E6DCC5;
    --cream-light: #F2EDE0;
    --cream-dark: #D4C9AE;
    
    /* Neutrals */
    --white: #FFFDF8;
    --black: #1A1A1A;
    --gray: #8A8175;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-width: 1280px;
    --container-padding: clamp(20px, 4vw, 40px);
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);
    --transition-slower: 1s var(--ease-out);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--cream);
    background-color: var(--burgundy);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: var(--cream);
    color: var(--burgundy);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   LOADER
============================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner { text-align: center; }

.loader-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--cream);
    display: block;
    margin-bottom: 24px;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(230, 220, 197, 0.15);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--cream);
    border-radius: 2px;
    animation: loaderFill 1.8s var(--ease-in-out) forwards;
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================
   NAVIGATION
============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    /* NEVER use transition:all or transform on .nav —
       any transform on a parent breaks position:fixed children
       (they get positioned relative to the nav instead of the viewport) */
    transition: background var(--transition-base),
                padding var(--transition-base),
                box-shadow var(--transition-base),
                top 0.35s var(--ease-out);
}

.nav.scrolled {
    /* backdrop-filter moved to ::before — applying it directly on .nav
       makes .nav the containing block for position:fixed children (the mobile
       menu overlay), which breaks inset: 0 and prevents the full-screen overlay. */
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(230, 220, 197, 0.08);
}

/* Blur + tint lives here — pseudo-elements can never trap fixed descendants */
.nav.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(85, 38, 44, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1002;
}

.nav-logo-mark {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--cream);
    color: var(--cream);
    transition: all var(--transition-base);
}

.nav-logo:hover .nav-logo-mark {
    background: var(--cream);
    color: var(--burgundy);
}

.nav-logo-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.8;
    transition: opacity var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width var(--transition-base);
}

.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
    opacity: 1;
    padding: 10px 24px;
    border: 1px solid var(--cream);
    transition: all var(--transition-base);
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
    background: var(--cream);
    color: var(--burgundy);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1002;
}

.nav-lang {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--cream);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.nav-lang:hover { opacity: 1; }

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 4px;
}

.nav-burger span {
    width: 24px;
    height: 1.5px;
    background: var(--cream);
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   TYPOGRAPHY DEFAULTS
============================================= */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 32px;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 640px;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--cream);
    color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(230, 220, 197, 0.4);
}

.btn-outline:hover {
    border-color: var(--cream);
    background: rgba(230, 220, 197, 0.08);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   REVEAL ANIMATION
============================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* PLACEHOLDER: Remplacer le background par ta vraie image ou vidéo */
    background: 
        linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--burgundy-light) 100%);
    /* Quand tu auras une image:
       background: url('images/hero.jpg') center/cover no-repeat; */
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(85, 38, 44, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1050px;
    padding: 0 var(--container-padding);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--cream);
    opacity: 0.75;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--cream), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(0.6); transform-origin: top; }
}

/* ============================================
   SERVICES
============================================= */
.services {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.services .section-subtitle { color: var(--burgundy); }
.services .section-title { color: var(--burgundy); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(85, 38, 44, 0.1);
}

.service-card-img {
    height: 260px;
    overflow: hidden;
}

.service-card-img .placeholder-img,
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.service-card:hover .service-card-img .placeholder-img,
.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-content { padding: 32px; }

.service-number {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.3;
    display: block;
    margin-bottom: 12px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--burgundy);
}

.service-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 24px;
}

.service-card-link {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-base);
}

.service-card-link:hover { gap: 14px; }

/* ============================================
   HERITAGE
============================================= */
.heritage {
    padding: var(--section-padding) 0;
    background: var(--burgundy);
    color: var(--cream);
}

.heritage-split {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.heritage-image {
    position: relative;
    overflow: hidden;
    min-height: 480px;        /* hauteur plancher — résout height:100% sur l'img */
    align-self: stretch;      /* étire la colonne image à la hauteur du contenu   */
}

.heritage-image img {
    position: absolute;       /* position absolue dans le parent relatif          */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.heritage-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 1px solid rgba(230, 220, 197, 0.15);
    z-index: -1;
}

.heritage-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.8;
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(230, 220, 197, 0.12);
}

.stat { text-align: center; white-space: nowrap; }
.stat-label { white-space: normal; }

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.5;
    margin-top: 4px;
}

/* ============================================
   PORTFOLIO
============================================= */
.portfolio {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.portfolio .section-subtitle { color: var(--burgundy); }
.portfolio .section-title { color: var(--burgundy); }

.portfolio-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 24px;
    border: 1px solid rgba(85, 38, 44, 0.2);
    background: transparent;
    color: var(--burgundy);
    transition: all var(--transition-base);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--burgundy);
    color: var(--cream);
    border-color: var(--burgundy);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    cursor: pointer;
}

.portfolio-item .placeholder-img,
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .placeholder-img,
.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(85, 38, 44, 0.92) 0%, rgba(85, 38, 44, 0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 1;
    transition: background var(--transition-base);
}

.portfolio-item:hover .portfolio-item-overlay {
    background: linear-gradient(to top, rgba(85, 38, 44, 0.97) 0%, rgba(85, 38, 44, 0.3) 60%, transparent 100%);
}

.portfolio-item-overlay .portfolio-item-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.6;
    margin-bottom: 8px;
}

.portfolio-item-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 4px;
}

.portfolio-item-overlay p {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.7;
}

/* ============================================
   ECOSYSTEM
============================================= */
.ecosystem {
    padding: var(--section-padding) 0;
    background: var(--burgundy-dark);
    color: var(--cream);
    text-align: center;
}

.ecosystem .section-intro { margin: 0 auto 64px; }

.ecosystem-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.eco-card {
    background: rgba(230, 220, 197, 0.05);
    border: 1px solid rgba(230, 220, 197, 0.1);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-base);
}

.eco-card:hover {
    background: rgba(230, 220, 197, 0.08);
    border-color: rgba(230, 220, 197, 0.2);
}

.eco-card--main {
    width: 100%;
    max-width: 500px;
    border-color: rgba(230, 220, 197, 0.25);
}

.eco-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--cream);
    opacity: 0.6;
}

.eco-card-icon svg { width: 100%; height: 100%; }

.eco-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.eco-card-role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 16px;
}

.eco-card p:last-of-type {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.7;
}

/* Clickable eco-cards (Nadomar Signature, Oviya Group) */
a.eco-card--link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--cream);
    cursor: pointer;
}

a.eco-card--link:hover {
    background: rgba(230, 220, 197, 0.1);
    border-color: rgba(230, 220, 197, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.eco-card-visit {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

a.eco-card--link:hover .eco-card-visit {
    opacity: 1;
}

.eco-connectors {
    display: flex;
    gap: 200px;
}

.eco-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(230, 220, 197, 0.3), rgba(230, 220, 197, 0.05));
}

.eco-cards-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
}

.ecosystem-cta {
    margin-top: 64px;
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.75;
    line-height: 1.8;
}

.ecosystem-cta strong { opacity: 1; }

/* ============================================
   PARTNERSHIPS
============================================= */
.partnerships {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
}

.partnerships .section-subtitle { color: var(--burgundy); }
.partnerships .section-title { color: var(--burgundy); }

.partnerships-split {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.partnerships-text p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.partnerships-benefits {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--burgundy);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.partnerships-form {
    background: var(--white);
    padding: 48px;
    box-shadow: 0 24px 64px rgba(85, 38, 44, 0.06);
}

.partnerships-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--burgundy);
}

.form-group { margin-bottom: 16px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--burgundy);
    background: var(--cream-light);
    border: 1px solid transparent;
    outline: none;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group select,
.form-group textarea::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2355262C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   TESTIMONIALS
============================================= */
.testimonials {
    padding: var(--section-padding) 0 0;
    background: var(--burgundy);
    color: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Giant ghosted opening quote — decorative depth */
.t-deco {
    position: absolute;
    top: -0.15em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: clamp(24rem, 45vw, 44rem);
    line-height: 1;
    color: rgba(230, 220, 197, 0.04);
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

/* ── Google trust pill ───────────────────────────────── */
.t-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.38;
    margin-bottom: 28px;
}

.t-trust {
    margin-bottom: 52px;
}

.t-google-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border: 1px solid rgba(230, 220, 197, 0.2);
    border-radius: 100px;
    text-decoration: none;
    color: var(--cream);
    font-size: 0.82rem;
    transition: background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}
.t-google-pill:hover {
    background: rgba(230, 220, 197, 0.08);
    border-color: rgba(230, 220, 197, 0.38);
}
.t-google-g { width: 18px; height: 18px; flex-shrink: 0; }
.t-pill-score { font-weight: 700; font-size: 0.88rem; }
.t-pill-stars { color: #FBBC05; letter-spacing: 1.5px; font-size: 0.7rem; }
.t-pill-sep { opacity: 0.28; }
.t-pill-count { opacity: 0.5; }
.t-pill-arrow {
    opacity: 0.35;
    transition: opacity 0.25s, transform 0.25s;
    margin-left: 2px;
}
.t-google-pill:hover .t-pill-arrow {
    opacity: 0.85;
    transform: translate(2px, -2px);
}

/* ── Quote stage ─────────────────────────────────────── */
.t-stage {
    position: relative;
    max-width: 760px;
    margin: 0 auto 48px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    pointer-events: auto;
}

.t-quote-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.6vw, 1.75rem);
    line-height: 1.68;
    opacity: 0.88;
    margin-bottom: 36px;
}

.t-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.t-author-name {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}
.t-author-tag {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.28;
}

/* ── Navigation: ← dots → ───────────────────────────── */
.t-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 0 56px;
}

.t-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(230, 220, 197, 0.2);
    border-radius: 50%;
    background: none;
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.45;
    transition: opacity 0.25s, background 0.25s, border-color 0.25s;
    flex-shrink: 0;
}
.t-nav-btn:hover {
    opacity: 1;
    background: rgba(230, 220, 197, 0.08);
    border-color: rgba(230, 220, 197, 0.4);
}

.t-dots-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: rgba(230, 220, 197, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.35s ease, width 0.35s ease;
}
.dot.active { background: var(--cream); width: 30px; }
.dot:hover:not(.active) { background: rgba(230, 220, 197, 0.55); }

/* reviews-* classes removed — replaced by t-* design system above */

/* Logos clients */
.clients-logos { padding-top: 48px; border-top: 1px solid rgba(230, 220, 197, 0.08); }

.clients-logos-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 32px;
}

.logos-track {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-placeholder {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.25;
    padding: 16px 24px;
    border: 1px dashed rgba(230, 220, 197, 0.15);
}

.logo-client {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.logo-client img {
    height: 52px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    padding: 10px 14px;
    background: rgba(230, 220, 197, 0.88);
    border-radius: 6px;
    transition: background var(--transition-base), transform var(--transition-base);
}

.logo-client:hover img {
    background: rgba(230, 220, 197, 1);
    transform: translateY(-2px);
}

.logo-client-name {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.45;
}

/* ============================================
   CONFIGURATOR
============================================= */
.configurator {
    padding: var(--section-padding) 0;
    background: var(--cream);
    color: var(--burgundy);
    text-align: center;
}

.configurator .section-subtitle { color: var(--burgundy); }
.configurator .section-title { color: var(--burgundy); }
.configurator .section-intro { margin: 0 auto 48px; color: var(--gray); }

.config-steps {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.config-step {
    display: none;
    animation: fadeInUp 0.5s var(--ease-out);
}

.config-step.active { display: block; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.config-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.config-step-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.25;
}

.config-step-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.config-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.config-option input { display: none; }

.config-option-card {
    padding: 28px 20px;
    background: var(--white);
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.config-option-card:hover {
    border-color: var(--burgundy-light);
}

.config-option input:checked + .config-option-card {
    border-color: var(--burgundy);
    background: rgba(85, 38, 44, 0.04);
}

.config-option-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}

.config-option-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.config-fields .form-group input,
.config-fields .form-group textarea {
    background: var(--white);
    border: 1px solid rgba(85, 38, 44, 0.12);
}

.config-fields .form-group input:focus,
.config-fields .form-group textarea:focus {
    border-color: var(--burgundy);
}

.config-nav {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.config-success { text-align: center; padding: 64px 0; }

.config-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 1.5rem;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.config-success h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.config-success p {
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   CONTACT
============================================= */
.contact {
    padding: var(--section-padding) 0;
    background: var(--burgundy);
    color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details { margin-top: 40px; }

.contact-detail {
    margin-bottom: 28px;
}

.contact-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.4;
    display: block;
    margin-bottom: 6px;
}

.contact-detail span,
.contact-detail a {
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-detail a {
    transition: opacity var(--transition-base);
}

.contact-detail a:hover { opacity: 0.7; }

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 220, 197, 0.2);
    color: var(--cream);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--cream);
    color: var(--burgundy);
    border-color: var(--cream);
}

.social-link svg { width: 20px; height: 20px; }

.contact-map {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* ============================================
   FOOTER
============================================= */
.footer {
    padding: 64px 0 32px;
    background: var(--burgundy-dark);
    color: var(--cream);
    border-top: 1px solid rgba(230, 220, 197, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.5;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 10px;
    transition: opacity var(--transition-base);
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(230, 220, 197, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.35;
}

.footer-credit { opacity: 0.25 !important; }

.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--cream);
    opacity: 0.6;
    margin-top: 6px;
    text-decoration: none;
    transition: opacity var(--transition-base);
}
.footer-contact-line:hover { opacity: 1; }
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }

.footer-social-row {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

.footer-social-row .social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(230,220,197,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    opacity: 0.5;
    transition: opacity var(--transition-base), border-color var(--transition-base);
}
.footer-social-row .social-link:hover { opacity: 1; border-color: rgba(230,220,197,0.5); }
.footer-social-row .social-link svg { width: 14px; height: 14px; }

/* ============================================
   WHATSAPP FLOAT
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy);
    border: 1px solid rgba(230, 220, 197, 0.2);
    color: var(--cream);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    background: var(--cream);
    color: var(--burgundy);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg { width: 26px; height: 26px; }

/* ============================================
   PLACEHOLDER IMAGES (à retirer en production)
============================================= */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, rgba(85, 38, 44, 0.08) 0%, rgba(85, 38, 44, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(85, 38, 44, 0.15);
}

.placeholder-img::after { content: attr(data-label); }

.placeholder-img--portrait { min-height: 500px; }
.placeholder-img--map { min-height: 400px; }

/* Sections with dark bg need different placeholder */
.heritage .placeholder-img,
.ecosystem .placeholder-img,
.testimonials .placeholder-img,
.contact .placeholder-img {
    background: linear-gradient(135deg, rgba(230, 220, 197, 0.04) 0%, rgba(230, 220, 197, 0.08) 100%);
    color: var(--cream);
    border-color: rgba(230, 220, 197, 0.1);
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .heritage-split { grid-template-columns: 1fr; gap: 48px; }
    .heritage-image { max-width: 500px; }
    .heritage-stats { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .eco-cards-secondary { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .eco-connectors { gap: 80px; }
    .partnerships-split { grid-template-columns: 1fr; gap: 48px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--burgundy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
        z-index: 1001;
        padding: 80px 20px;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .nav-link--cta {
        margin-top: 16px;
        font-size: 0.9rem;
    }

    .nav-burger { display: flex; }
    
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
    
    .heritage-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .config-options { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    
    .partnerships-form { padding: 32px 24px; }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }
    
    .heritage-stats { grid-template-columns: 1fr 1fr; }
}
/* ============================================
   ADDITIONS v2.0
============================================= */

/* Nav auto-hide transition — overrides the base rule above with identical properties */
.nav {
    transition: background var(--transition-base),
                padding var(--transition-base),
                box-shadow var(--transition-base),
                top 0.35s var(--ease-out);
}

/* Active nav link */
.nav-link.active {
    opacity: 1;
}

.nav-link.active::after {
    width: 100%;
}

/* Shake animation for validation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Input error state */
input[style*="border-color: rgb(192, 57, 43)"],
textarea[style*="border-color: rgb(192, 57, 43)"] {
    animation: shake 0.4s ease;
}

/* Success button override */
.btn[style*="background: rgb(45, 106, 79)"] {
    color: white !important;
}

/* Parallax hero refinement */
.hero-bg {
    will-change: transform;
}

.hero-content {
    will-change: transform, opacity;
}

/* WhatsApp float pointer events when hidden */
.whatsapp-float[style*="opacity: 0"] {
    pointer-events: none;
}
/* ============================================
   MOBILE OPTIMIZATION v3.0
   Audit complet & corrections
============================================= */

/* ---- GLOBAL MOBILE FIXES ---- */
@media (max-width: 768px) {

    /* Prevent horizontal overflow everywhere */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Better touch targets — minimum 44px */
    a, button, .filter-btn, .dot, .config-option-card {
        min-height: 44px;
    }

    /* ---- LOADER ---- */
    .loader-text {
        font-size: 1.3rem;
        letter-spacing: 0.25em;
    }

    .loader-bar {
        width: 150px;
    }

    /* ---- NAVIGATION MOBILE ---- */
    .nav {
        padding: 16px 0;
    }

    .nav.scrolled {
        padding: 12px 0;
    }

    .nav-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .nav-logo-text {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background: var(--burgundy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
        z-index: 1001;
        padding: 80px 20px;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        font-size: 1.1rem;
        letter-spacing: 0.12em;
        opacity: 1;
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-link::after {
        bottom: 0;
    }

    .nav-link--cta {
        margin-top: 12px;
        padding: 14px 32px;
        font-size: 0.85rem;
    }

    .nav-burger {
        display: flex;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-lang {
        font-size: 0.7rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ---- HERO MOBILE ---- */
    .hero {
        min-height: 100svh; /* Safe viewport height — avoids browser bar issues */
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 16px 24px;
        font-size: 0.75rem;
    }

    .hero-scroll {
        bottom: 24px;
    }

    .hero-scroll span {
        font-size: 0.6rem;
    }

    .hero-scroll-line {
        height: 40px;
    }

    /* ---- SECTION TITLES MOBILE ---- */
    .section-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.5rem);
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 36px;
    }

    /* ---- SERVICES MOBILE ---- */
    .services {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin-top: 36px;
    }

    .service-card-img {
        height: 200px;
    }

    .service-card-content {
        padding: 24px;
    }

    .service-number {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .service-card-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .service-card-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* ---- HERITAGE MOBILE ---- */
    .heritage {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .heritage-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .heritage-image {
        max-width: 100%;
        height: 420px;        /* hauteur fixe sur mobile, single-column */
        min-height: unset;
        align-self: auto;
        overflow: hidden;
    }

    .heritage-image::after {
        display: none; /* Remove decorative border on mobile */
    }

    .placeholder-img--portrait {
        min-height: 350px;
    }

    .heritage-text p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .heritage-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 36px;
        padding-top: 36px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* ---- PORTFOLIO MOBILE ---- */
    .portfolio {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .portfolio-filter {
        gap: 6px;
        margin-bottom: 28px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .portfolio-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .portfolio-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 12px;
        /* Let the scroll extend edge-to-edge */
        margin-left: calc(var(--container-padding) * -1);
        margin-right: calc(var(--container-padding) * -1);
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    .portfolio-grid::-webkit-scrollbar { display: none; }

    .portfolio-item {
        flex: 0 0 78vw;
        scroll-snap-align: start;
        aspect-ratio: 4 / 3;
        /* Force visible — IntersectionObserver misses items in horizontal scroll */
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .portfolio-item-overlay {
        opacity: 1; /* Always visible on mobile — no hover */
        background: linear-gradient(to top, rgba(85, 38, 44, 0.88) 0%, rgba(85, 38, 44, 0.1) 65%, transparent 100%);
    }

    .portfolio-item-overlay h4 {
        font-size: 1.05rem;
    }

    .portfolio-item-overlay p {
        font-size: 0.8rem;
    }

    /* ---- ECOSYSTEM MOBILE ---- */
    .ecosystem {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .eco-card {
        padding: 28px 20px;
    }

    .eco-card--main {
        max-width: 100%;
    }

    .eco-card h3 {
        font-size: 1.2rem;
    }

    .eco-card p:last-child {
        font-size: 0.88rem;
    }

    .eco-connectors {
        gap: 40px;
    }

    .eco-line {
        height: 30px;
    }

    .eco-cards-secondary {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 100%;
    }
    .eco-card--secondary {
        padding: 20px 14px;
    }
    .eco-card--secondary h3 {
        font-size: 1rem;
    }
    .eco-card--secondary p:last-of-type {
        font-size: 0.78rem;
    }
    .eco-card--secondary .eco-card-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 12px;
    }
    .eco-card--secondary .eco-card-visit {
        font-size: 0.62rem;
    }

    .ecosystem-cta {
        margin-top: 40px;
        font-size: 0.95rem;
    }

    /* ---- PARTNERSHIPS MOBILE ---- */
    .partnerships {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .partnerships-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partnerships-text p {
        font-size: 0.95rem;
    }

    .benefit {
        font-size: 0.88rem;
    }

    .benefit-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }

    .partnerships-form {
        padding: 28px 20px;
    }

    .partnerships-form h3 {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    /* ---- TESTIMONIALS MOBILE ---- */
    .testimonials {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .clients-logos {
        padding-top: 36px;
    }

    .logos-track {
        gap: 24px;
    }

    .logo-placeholder {
        font-size: 0.6rem;
        padding: 12px 16px;
    }

    /* ---- CONFIGURATOR MOBILE ---- */
    .configurator {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .config-steps {
        max-width: 100%;
    }

    .config-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 24px;
    }

    .config-step-header h3 {
        font-size: 1.3rem;
    }

    .config-options {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .config-option-card {
        padding: 20px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .config-option-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .config-option-label {
        font-size: 0.85rem;
    }

    .config-fields .form-group input,
    .config-fields .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }

    .config-nav {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .config-nav .btn {
        width: 100%;
        justify-content: center;
    }

    .config-success {
        padding: 40px 0;
    }

    .config-success-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .config-success h3 {
        font-size: 1.5rem;
    }

    /* ---- CONTACT MOBILE ---- */
    .contact {
        padding: clamp(60px, 8vw, 100px) 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        margin-top: 28px;
    }

    .contact-detail {
        margin-bottom: 24px;
    }

    .contact-detail span,
    .contact-detail a {
        font-size: 0.95rem;
    }

    .contact-social {
        margin-top: 28px;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .contact-map {
        height: 280px;
    }

    .placeholder-img--map {
        min-height: 280px;
    }

    /* ---- FOOTER MOBILE ---- */
    .footer {
        padding: 48px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        margin-bottom: 8px;
    }

    .footer-logo {
        font-size: 0.8rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links h4 {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* ---- WHATSAPP FLOAT MOBILE ---- */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    /* ---- BUTTONS MOBILE ---- */
    .btn {
        padding: 14px 28px;
        font-size: 0.75rem;
    }

    .btn-full {
        padding: 16px 28px;
    }
}

/* ---- SMALL SCREENS (iPhone SE, etc) ---- */
@media (max-width: 380px) {

    :root {
        --container-padding: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .heritage-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .eco-card {
        padding: 20px 16px;
    }

    .partnerships-form {
        padding: 24px 16px;
    }

    .config-option-card {
        padding: 16px 12px;
    }
}

/* ---- TABLET LANDSCAPE ---- */
@media (min-width: 769px) and (max-width: 1024px) {

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .services-grid .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .heritage-split {
        grid-template-columns: 1fr 1.3fr;
        gap: 48px;
    }

    .heritage-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .partnerships-split {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ---- SAFE AREA (iPhone notch) ---- */
@supports (padding: max(0px)) {
    .nav-container {
        padding-left: max(var(--container-padding), env(safe-area-inset-left));
        padding-right: max(var(--container-padding), env(safe-area-inset-right));
    }

    .footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* ---- TOUCH DEVICE HOVER FIX ---- */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .portfolio-item .placeholder-img,
    .portfolio-item img {
        transform: none !important;
    }

    .portfolio-item-overlay {
        opacity: 1;
    }

    .nav-link:hover::after {
        width: 0;
    }

    .nav-link.active::after {
        width: 100%;
    }
}

/* ---- REDUCE MOTION for accessibility ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-scroll-line {
        animation: none;
    }

    .loader-progress {
        animation: none;
        width: 100%;
    }
}

/* ---- PRINT STYLES ---- */
@media print {
    .nav, .loader, .whatsapp-float, .hero-scroll,
    .config-steps, .portfolio-filter, .testimonials-dots {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    section {
        page-break-inside: avoid;
    }
}
/* ============================================
   SERVICES — TWO TIERS (v2 layout)
============================================= */
.services-tier {
    margin-top: 48px;
}

.services-tier + .services-tier {
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid rgba(85, 38, 44, 0.12);
}

.services-tier-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.55;
    margin-bottom: 8px;
}

.services-tier-tagline {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--burgundy);
    opacity: 0.7;
    margin-bottom: 32px;
}

/* Programmes tier: 2 cards, larger, with departure microcopy */
.services-grid--programmes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.service-card--featured {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
}

.service-card--featured .service-card-img {
    height: 100%;
    min-height: 320px;
}

.service-card--featured .service-card-content {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.service-card-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(85, 38, 44, 0.15);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--gray);
    line-height: 1.7;
}

.service-card-meta strong {
    color: var(--burgundy);
    font-weight: 700;
}

.service-card-icon-inline {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: var(--burgundy);
    opacity: 0.85;
}

.service-card-icon-inline svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .services-grid--programmes { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
    .service-card--featured { grid-template-columns: 1fr; }
    .service-card--featured .service-card-img { min-height: 220px; height: 220px; }
}

@media (max-width: 768px) {
    .services-tier + .services-tier {
        margin-top: 56px;
        padding-top: 44px;
    }
    .services-tier-label {
        font-size: 0.65rem;
        letter-spacing: 0.25em;
    }
    .services-tier-tagline {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .service-card--featured .service-card-content { padding: 24px; }
    .service-card-meta { font-size: 0.75rem; padding-top: 16px; }
}

/* ============================================
   SUB-PAGES (Circuits & Omra)
============================================= */

/* ---- Sub-page Hero ---- */
.subpage-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    text-align: center;
    color: var(--cream);
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 60%, var(--burgundy-light) 100%);
    overflow: hidden;
}

.subpage-hero--omra {
    background: linear-gradient(180deg, var(--burgundy-dark) 0%, #2A0F12 100%);
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(230, 220, 197, 0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(230, 220, 197, 0.04), transparent 40%);
    pointer-events: none;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 var(--container-padding);
}

.subpage-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cream);
    opacity: 0.65;
    margin-bottom: 20px;
}

.subpage-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 24px;
}

.subpage-hero-title em {
    font-style: italic;
    font-weight: 400;
}

.subpage-hero-description {
    font-size: 1.1rem;
    color: var(--cream);
    opacity: 0.8;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 32px;
}

.subpage-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Generic light/dark sub-page sections ---- */
.subpage-section {
    padding: var(--section-padding) 0;
}

.subpage-section--light {
    background: var(--cream);
    color: var(--burgundy);
}

.subpage-section--dark {
    background: var(--burgundy);
    color: var(--cream);
}

.subpage-section--light .section-subtitle,
.subpage-section--light .section-title { color: var(--burgundy); }

.subpage-section-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Pause banner (Omra) ---- */
.pause-banner {
    background: linear-gradient(135deg, rgba(230, 220, 197, 0.08), rgba(230, 220, 197, 0.04));
    border: 1px solid rgba(230, 220, 197, 0.2);
    padding: 28px 32px;
    margin: 32px auto 0;
    max-width: 880px;
    border-left: 3px solid var(--cream);
    color: var(--cream);
}

.pause-banner-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 10px;
    display: block;
}

.pause-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.pause-banner p {
    font-size: 0.98rem;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 16px;
}

.pause-banner a {
    color: var(--cream);
    border-bottom: 1px solid rgba(230, 220, 197, 0.4);
    transition: opacity var(--transition-base);
}

.pause-banner a:hover { opacity: 0.7; }

/* ---- Program cards (Circuits page) ---- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.program-card {
    background: var(--white);
    color: var(--burgundy);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(85, 38, 44, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(85, 38, 44, 0.12);
}

.program-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.program-card-img .placeholder-img,
.program-card-img img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.program-card:hover .program-card-img img {
    transform: scale(1.05);
}

.program-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    z-index: 2;
}

.program-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.program-card-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.5;
    margin-bottom: 8px;
}

.program-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.program-card-dates {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 18px;
}

.program-card-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 18px;
}

.program-card-price strong {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 4px;
}

.program-card-price small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    opacity: 0.6;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.05em;
}

.program-includes {
    list-style: none;
    margin: 0 0 24px;
    padding: 18px 0;
    border-top: 1px dashed rgba(85, 38, 44, 0.15);
    border-bottom: 1px dashed rgba(85, 38, 44, 0.15);
    display: grid;
    gap: 8px;
}

.program-includes li {
    font-size: 0.88rem;
    color: var(--burgundy);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.program-includes li::before {
    content: '✓';
    color: var(--burgundy);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.85rem;
    margin-top: 1px;
}

.program-card-cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.program-card-cta .btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 22px;
    font-size: 0.72rem;
    justify-content: center;
}

/* ---- Hotel options table (Istanbul style pricing) ---- */
.hotels-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.hotels-table th,
.hotels-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(85, 38, 44, 0.1);
}

.hotels-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.7;
    background: rgba(85, 38, 44, 0.03);
}

.hotels-table tr:last-child td { border-bottom: none; }

.hotels-table .price-cell {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--burgundy);
}

/* ---- Trust signals ---- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.trust-item {
    text-align: center;
    padding: 24px 16px;
}

.trust-item-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: var(--cream);
    opacity: 0.85;
}

.subpage-section--light .trust-item-icon {
    color: var(--burgundy);
}

.trust-item-icon svg { width: 100%; height: 100%; }

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.75;
}

/* ---- Omra package tiers ---- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.package-tier {
    background: var(--white);
    color: var(--burgundy);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--burgundy);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.package-tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(85, 38, 44, 0.12);
}

.package-tier--featured {
    background: var(--burgundy);
    color: var(--cream);
    border-top-color: var(--cream);
    transform: scale(1.03);
}

.package-tier--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.package-tier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cream);
    color: var(--burgundy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
}

.package-tier-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.package-tier-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 24px;
    line-height: 1.5;
}

.package-tier-price {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed currentColor;
    opacity: 0.85;
}

.package-tier-price strong {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
    opacity: 1;
    margin-bottom: 2px;
}

.package-tier-price small {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    display: block;
    margin-bottom: 6px;
}

.package-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.package-features li {
    font-size: 0.88rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features li::before {
    content: '•';
    flex-shrink: 0;
    font-weight: 700;
    margin-top: -2px;
}

.package-tier .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.package-tier--featured .btn-primary {
    background: var(--cream);
    color: var(--burgundy);
}

.package-tier .btn-outline {
    border-color: rgba(85, 38, 44, 0.3);
    color: var(--burgundy);
}

.package-tier--featured .btn-outline {
    border-color: rgba(230, 220, 197, 0.4);
    color: var(--cream);
}

.package-disclaimer {
    margin-top: 24px;
    font-size: 0.78rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}

/* ---- FAQ (CSS-only accordion via details/summary) ---- */
.faq {
    max-width: 820px;
    margin: 56px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(85, 38, 44, 0.12);
    padding: 0;
}

.subpage-section--dark .faq-item {
    border-bottom-color: rgba(230, 220, 197, 0.12);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: opacity var(--transition-base);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover { opacity: 0.7; }

.faq-item-content {
    padding: 0 40px 24px 0;
    font-size: 0.95rem;
    line-height: 1.75;
    opacity: 0.8;
}

/* ---- Lead form (Omra reservation) ---- */
.lead-form {
    background: var(--white);
    color: var(--burgundy);
    padding: 48px;
    max-width: 720px;
    margin: 56px auto 0;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

.lead-form h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.lead-form > p {
    font-size: 0.92rem;
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.6;
}

.lead-form .form-group input,
.lead-form .form-group select,
.lead-form .form-group textarea {
    background: var(--cream-light);
}

.lead-form .form-checkbox-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.lead-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.lead-form .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--burgundy);
    cursor: pointer;
}

/* ---- Calendar of departures (Omra) ---- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 40px;
}

.calendar-cell {
    background: rgba(230, 220, 197, 0.05);
    border: 1px solid rgba(230, 220, 197, 0.12);
    padding: 18px 14px;
    text-align: center;
    transition: all var(--transition-base);
}

.subpage-section--light .calendar-cell {
    background: var(--white);
    border-color: rgba(85, 38, 44, 0.1);
}

.calendar-cell--paused {
    opacity: 0.5;
    position: relative;
}

.calendar-cell-month {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.calendar-cell-status {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Sticky WhatsApp CTA bar (mobile) ---- */
.sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800;
        background: var(--burgundy-dark);
        border-top: 1px solid rgba(230, 220, 197, 0.15);
        padding: 12px 16px;
        gap: 10px;
        align-items: center;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.2);
    }

    .sticky-cta-text {
        flex: 1;
        font-size: 0.78rem;
        color: var(--cream);
        opacity: 0.9;
        line-height: 1.3;
    }

    .sticky-cta .btn {
        padding: 12px 18px;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    body.has-sticky-cta { padding-bottom: 70px; }
    body.has-sticky-cta .whatsapp-float { bottom: 84px; }
}

/* ---- Responsive sub-pages ---- */
@media (max-width: 1024px) {
    .programs-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .package-tier--featured { transform: none; }
    .package-tier--featured:hover { transform: translateY(-4px); }
    .calendar-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .subpage-hero { min-height: auto; padding: 110px 0 60px; }
    .subpage-hero-description { font-size: 0.95rem; }
    .program-card-body { padding: 22px 22px 20px; }
    .program-card-title { font-size: 1.35rem; }
    .program-card-cta { flex-direction: column; }
    .program-card-cta .btn { width: 100%; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
    .lead-form { padding: 28px 22px; margin-top: 40px; }
    .lead-form h3 { font-size: 1.3rem; }
    .calendar-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pause-banner { padding: 22px 20px; }
    .pause-banner h3 { font-size: 1.2rem; }
    .faq-item summary { font-size: 1rem; padding: 18px 36px 18px 0; }
    .hotels-table { font-size: 0.78rem; }
    .hotels-table th, .hotels-table td { padding: 10px 6px; }
}

/* ---- Arabic / RTL support ---- */
html[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Lato', sans-serif;
}

html[dir="rtl"] .nav-logo-text,
html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .services-tier-label,
html[dir="rtl"] .program-card-eyebrow,
html[dir="rtl"] .package-tier-badge,
html[dir="rtl"] .program-card-badge,
html[dir="rtl"] .pause-banner-label,
html[dir="rtl"] .footer-links h4,
html[dir="rtl"] .clients-logos-label {
    letter-spacing: 0;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .subpage-hero-title,
html[dir="rtl"] .program-card-title,
html[dir="rtl"] .package-tier-name,
html[dir="rtl"] .faq-item summary,
html[dir="rtl"] .lead-form h3,
html[dir="rtl"] .pause-banner h3,
html[dir="rtl"] .trust-item h4,
html[dir="rtl"] .services-tier-tagline,
html[dir="rtl"] .program-card-price,
html[dir="rtl"] .package-tier-price,
html[dir="rtl"] .package-tier-price strong,
html[dir="rtl"] .footer-logo {
    font-family: 'Amiri', 'Playfair Display', serif;
    letter-spacing: 0;
}

html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn,
html[dir="rtl"] .service-card-link {
    letter-spacing: 0;
}

html[dir="rtl"] .program-includes li::before,
html[dir="rtl"] .package-features li::before {
    margin-left: 6px;
    margin-right: 0;
}

html[dir="rtl"] .faq-item summary { padding: 22px 0 22px 40px; }
html[dir="rtl"] .faq-item summary::after { right: auto; left: 0; }
html[dir="rtl"] .faq-item-content { padding: 0 0 24px 40px; }

html[dir="rtl"] .pause-banner { border-left: none; border-right: 3px solid var(--cream); }

html[dir="rtl"] .service-card-link span,
html[dir="rtl"] .btn span {
    transform: scaleX(-1);
    display: inline-block;
}

/* Legacy rule above mirrors arrow glyphs in RTL. Our CTA labels live in
   <span> too — never mirror real text. */
html[dir="rtl"] .btn-cta span,
html[dir="rtl"] .btn span:lang(ar) {
    transform: none;
    display: inline;
}

html[dir="rtl"] .footer-links a,
html[dir="rtl"] .nav-links {
    text-align: right;
}

/* ============================================
   LEGAL PAGES
============================================= */
.legal-page {
    padding: 60px 0 var(--section-padding);
    background: var(--cream);
    color: var(--burgundy);
    min-height: 80vh;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--burgundy);
}

.legal-updated {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.legal-content {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--burgundy);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(85, 38, 44, 0.1);
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 12px;
}

.legal-section strong {
    color: var(--burgundy);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0 60px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.15rem;
    }

    .legal-section p {
        font-size: 0.9rem;
    }
}

/* ============================================
   OMRA PROGRAMME — Juin 2026 (departures,
   formules pricing, inclusions, notes)
============================================= */

/* ---- Announcement banner (open registrations) ---- */
.pause-banner--open {
    border-left-color: var(--cream);
    background: linear-gradient(135deg, rgba(230, 220, 197, 0.14), rgba(230, 220, 197, 0.05));
}

.pause-banner--open .pause-banner-label {
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pause-banner--open .pause-banner-label::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 0 0 0 0 rgba(230, 220, 197, 0.7);
    animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(230, 220, 197, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(230, 220, 197, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 220, 197, 0); }
}

.pause-banner .btn {
    margin-top: 6px;
    border-bottom: none;
    display: inline-flex;
}

.pause-banner .btn-primary {
    color: var(--burgundy);
}

.pause-banner .btn-primary:hover {
    opacity: 1;
}

/* ---- Program meta strip ---- */
.program-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 auto 8px;
    max-width: 920px;
    border: 1px solid rgba(85, 38, 44, 0.12);
    background: var(--white);
}

.program-meta-item {
    text-align: center;
    padding: 22px 14px;
    border-right: 1px solid rgba(85, 38, 44, 0.1);
}

.program-meta-item:last-child { border-right: none; }

.program-meta-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1.1;
    margin-bottom: 6px;
}

.program-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.55;
}

/* ---- Departure cards ---- */
.departures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.departure-card {
    background: var(--white);
    color: var(--burgundy);
    border-top: 3px solid var(--burgundy);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.departure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 56px rgba(85, 38, 44, 0.12);
}

.departure-card-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.5;
    margin-bottom: 14px;
}

.departure-card-date {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 4px;
}

.departure-card-return {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.departure-card-flights {
    list-style: none;
    margin: 0 0 18px;
    padding: 18px 0;
    border-top: 1px dashed rgba(85, 38, 44, 0.15);
    border-bottom: 1px dashed rgba(85, 38, 44, 0.15);
    display: grid;
    gap: 12px;
}

.departure-card-flights li {
    font-size: 0.85rem;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.departure-card-flights .flight-route {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.departure-card-flights .flight-detail {
    font-size: 0.78rem;
    color: var(--gray);
}

.departure-card-stay {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.departure-card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(85, 38, 44, 0.07);
    color: var(--burgundy);
    padding: 6px 12px;
    margin-bottom: 18px;
}

.departure-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ---- Formules price ladder (5 tiers, 1 row each) ---- */
.formules-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 56px auto 0;
    max-width: 1080px;
}

.formula-row {
    background: var(--white);
    color: var(--burgundy);
    border-left: 4px solid var(--burgundy);
    padding: 28px 34px;
    display: grid;
    grid-template-columns: 1.05fr 1.5fr 1.15fr auto;
    grid-template-areas: "tier hotels pricing cta";
    align-items: center;
    gap: 36px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.formula-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.formula-row--featured {
    background: var(--cream);
    border-left-color: var(--burgundy);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

/* Column 1 — tier identity */
.formula-row-tier { grid-area: tier; }

.formula-row-level {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 6px;
}

.formula-row-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 8px;
}

.formula-row-meal {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.55;
}

.formula-row-badge {
    display: inline-block;
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 8px;
}

.formula-row-note {
    font-size: 0.74rem;
    color: var(--gray);
    margin-top: 10px;
    line-height: 1.5;
}

.formula-row--featured .formula-row-note { color: var(--burgundy-light); }

/* Column 2 — hotels */
.formula-row-hotels {
    grid-area: hotels;
    display: grid;
    gap: 14px;
}

.formula-hotel-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 3px;
}

.formula-hotel-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.formula-hotel-name span {
    display: inline;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray);
}

.formula-row--featured .formula-hotel-name span { color: var(--burgundy-light); }

/* Column 3 — pricing */
.formula-row-pricing { grid-area: pricing; }

.formula-price-lead {
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 2px;
}

.formula-price-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px;
}

.formula-price-amount small {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.7;
    margin-left: 4px;
}

.price-chips {
    display: flex;
    gap: 8px;
}

.price-chip {
    flex: 1;
    text-align: center;
    border: 1px solid rgba(85, 38, 44, 0.18);
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-chip span {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
}

.price-chip strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.formula-row--featured .price-chip { border-color: rgba(85, 38, 44, 0.3); }

/* Column 4 — CTA */
.formula-row-cta { grid-area: cta; }

.formula-row-cta .btn {
    white-space: nowrap;
    justify-content: center;
}

.formula-row .btn-outline {
    border-color: rgba(85, 38, 44, 0.35);
    color: var(--burgundy);
}

.formula-row .btn-outline:hover {
    border-color: var(--burgundy);
    background: rgba(85, 38, 44, 0.06);
}

/* ---- Inclusions & notes (equal-height, aligned) ---- */
.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.inclusions-block {
    background: var(--white);
    border: 1px solid rgba(85, 38, 44, 0.08);
    border-top: 3px solid var(--burgundy);
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
}

.inclusions-block--muted {
    background: var(--cream-light);
    border-top-color: rgba(85, 38, 44, 0.3);
}

.inclusions-block-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.5;
    margin-bottom: 10px;
}

.inclusions-block h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(85, 38, 44, 0.12);
}

.inclusions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.inclusions-list li {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--burgundy);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.inclusions-list--check li::before {
    content: '';
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--burgundy);
    /* check glyph */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
    margin-top: 1px;
}

.inclusions-list--note li {
    color: var(--gray);
    font-size: 0.9rem;
}

.inclusions-list--note li::before {
    content: '';
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--burgundy);
    opacity: 0.45;
    margin-top: 8px;
}

/* ---- Calendar: confirmed/open departure ---- */
.calendar-cell--open {
    border-color: var(--burgundy);
    border-top: 3px solid var(--burgundy);
    background: var(--white);
}

.subpage-section--light .calendar-cell--open {
    box-shadow: 0 14px 36px rgba(85, 38, 44, 0.1);
}

.calendar-cell--open .calendar-cell-status {
    color: var(--burgundy);
    opacity: 1;
    font-weight: 700;
}

/* ---- RTL adjustments for new Omra components ---- */
html[dir="rtl"] .program-meta-item {
    border-right: none;
    border-left: 1px solid rgba(85, 38, 44, 0.1);
}
html[dir="rtl"] .program-meta-item:last-child { border-left: none; }

html[dir="rtl"] .program-meta-value,
html[dir="rtl"] .departure-card-date,
html[dir="rtl"] .formula-row-name,
html[dir="rtl"] .formula-price-amount,
html[dir="rtl"] .price-chip strong,
html[dir="rtl"] .inclusions-block h3 {
    font-family: 'Amiri', 'Playfair Display', serif;
    letter-spacing: 0;
}

html[dir="rtl"] .departure-card-eyebrow,
html[dir="rtl"] .departure-card-tag,
html[dir="rtl"] .formula-row-level,
html[dir="rtl"] .formula-row-badge,
html[dir="rtl"] .formula-row-meal,
html[dir="rtl"] .formula-hotel-label,
html[dir="rtl"] .formula-price-lead,
html[dir="rtl"] .price-chip span,
html[dir="rtl"] .program-meta-label {
    letter-spacing: 0;
}

html[dir="rtl"] .departure-card,
html[dir="rtl"] .formula-row {
    text-align: right;
}

html[dir="rtl"] .formula-row {
    border-left: none;
    border-right: 4px solid var(--burgundy);
}

html[dir="rtl"] .inclusions-list li::before {
    margin-left: 4px;
}

/* ---- Responsive: Omra programme ---- */
@media (max-width: 1024px) {
    .departures-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .formula-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "tier hotels"
            "pricing cta";
        gap: 24px 32px;
        align-items: start;
    }
    .formula-row-cta { align-self: center; justify-self: end; }
    html[dir="rtl"] .formula-row-cta { justify-self: start; }
}

@media (max-width: 768px) {
    .program-meta { grid-template-columns: 1fr 1fr; }
    .program-meta-item:nth-child(2) { border-right: none; }
    html[dir="rtl"] .program-meta-item:nth-child(2) { border-left: none; }
    .program-meta-item:nth-child(1),
    .program-meta-item:nth-child(2) { border-bottom: 1px solid rgba(85, 38, 44, 0.1); }
    .formules-list { gap: 16px; }
    .formula-row {
        grid-template-columns: 1fr;
        grid-template-areas:
            "tier"
            "hotels"
            "pricing"
            "cta";
        gap: 22px;
        padding: 26px 22px;
    }
    .formula-row-cta { justify-self: stretch; }
    html[dir="rtl"] .formula-row-cta { justify-self: stretch; }
    .formula-row-cta .btn { width: 100%; }
    .formula-row-hotels {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding-top: 18px;
        border-top: 1px dashed rgba(85, 38, 44, 0.18);
    }
    .formula-row--featured .formula-row-hotels { border-top-color: rgba(85, 38, 44, 0.25); }
    .formula-price-amount { font-size: 1.85rem; }
    .inclusions-grid { grid-template-columns: 1fr; gap: 18px; }
    .inclusions-block { padding: 28px 22px; }
    .departure-card-date { font-size: 1.6rem; }
}

@media (max-width: 420px) {
    .formula-row-hotels { grid-template-columns: 1fr; }
    .price-chips { flex-wrap: wrap; }
    .price-chip { min-width: calc(33% - 6px); }
}

/* ============================================
   OMRA — CONVERSION POLISH v2
   Magnetic WhatsApp CTAs, hero trust,
   re-imagined formules cues
============================================= */

/* ---- Magnetic WhatsApp CTA ---- */
.btn-cta {
    gap: 11px;
    padding: 18px 34px;
    font-size: 0.82rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
    overflow: visible;
    flex-wrap: nowrap;
}

.btn-cta > span:not(.arw) {
    white-space: nowrap;
    overflow: visible;
}

.btn-cta .wa-ico,
.btn-cta .arw {
    flex-shrink: 0;
}

.btn-cta .wa-ico {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.btn-cta .arw {
    transition: transform 0.25s var(--ease-out);
    display: inline-block;
}

.btn-cta:hover .arw { transform: translateX(5px); }
html[dir="rtl"] .btn-cta .arw { transform: scaleX(-1); }
html[dir="rtl"] .btn-cta:hover .arw { transform: scaleX(-1) translateX(5px); }

.btn-cta:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 3px;
}

.subpage-section--light .btn-cta:focus-visible,
.formula-row .btn-cta:focus-visible {
    outline-color: var(--burgundy);
}

/* Reassurance microcopy under a CTA */
.cta-reassure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.62;
    margin-top: 12px;
}

.cta-reassure svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---- Hero trust strip ---- */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
    margin: 26px auto 0;
    max-width: 620px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cream);
    opacity: 0.78;
}

.hero-trust svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ---- Formules: value strip + scarcity ---- */
.formules-valuestrip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 14px;
    margin: 36px auto 0;
    max-width: 880px;
}

.formules-valuestrip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cream);
    opacity: 0.85;
    background: rgba(230, 220, 197, 0.08);
    border: 1px solid rgba(230, 220, 197, 0.18);
    padding: 9px 16px;
}

.formules-valuestrip span::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--cream);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.formules-scarcity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 24px auto 0;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--cream);
}

.formules-scarcity::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 0 0 0 0 rgba(230, 220, 197, 0.6);
    animation: pulse-dot 2.4s infinite;
}

/* ---- Formules: per-row benefit + comfort scale + ribbon ---- */
.formula-row-benefit {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--burgundy);
    opacity: 0.78;
    margin: 8px 0 12px;
}

.formula-row--featured .formula-row-benefit { opacity: 0.9; }

.comfort-scale {
    display: flex;
    gap: 6px;
    align-items: center;
}

.comfort-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--burgundy);
    opacity: 0.45;
}

.comfort-dot.is-on { background: var(--burgundy); opacity: 1; }

.formula-row {
    position: relative;
    overflow: hidden;
}

.formula-ribbon {
    position: absolute;
    top: 16px;
    right: -42px;
    transform: rotate(45deg);
    background: var(--burgundy);
    color: var(--cream);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 50px;
    z-index: 2;
}

html[dir="rtl"] .formula-ribbon {
    right: auto;
    left: -42px;
    transform: rotate(-45deg);
    letter-spacing: 0;
}

/* keep the old centered badge hidden when a ribbon is used */
.formula-row--featured .formula-row-badge { display: none; }

/* ---- Inclusions: closing reassurance ---- */
.inclusions-cta {
    text-align: center;
    margin-top: 40px;
}

.inclusions-cta p {
    font-size: 1rem;
    color: var(--burgundy);
    opacity: 0.8;
    margin-bottom: 18px;
}

/* ---- RTL + responsive (v2) ---- */
html[dir="rtl"] .formula-row-benefit,
html[dir="rtl"] .hero-trust span,
html[dir="rtl"] .formules-valuestrip span,
html[dir="rtl"] .cta-reassure,
html[dir="rtl"] .formules-scarcity,
html[dir="rtl"] .formula-ribbon {
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .btn-cta { padding: 16px 26px; }
    .hero-trust { gap: 10px 18px; }
    .formules-valuestrip span { font-size: 0.76rem; padding: 8px 13px; }
    .formula-ribbon { font-size: 0.58rem; padding: 5px 46px; right: -44px; }
    html[dir="rtl"] .formula-ribbon { left: -44px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cta .arw,
    .formules-scarcity::before,
    .pause-banner--open .pause-banner-label::before {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================
   OMRA — CALM REFINEMENT (Art Direction)
   Audience: older pilgrims, often Arabic-only,
   making a sacred decision. Tone: quiet,
   reassuring, dignified. Creativity by restraint.
============================================= */

/* --- Remove sales-y motion: stillness reads as trust --- */
.pause-banner--open .pause-banner-label::before { animation: none; }
.btn-cta { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10); }
.btn-cta:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16); }

/* --- Quiet "recommended" marker (replaces the loud ribbon) --- */
.formula-recommended {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: rgba(85, 38, 44, 0.08);
    padding: 5px 12px;
    margin-bottom: 12px;
}

.formula-row--featured .formula-recommended {
    background: rgba(85, 38, 44, 0.12);
}

/* --- More air between sections & inside text blocks --- */
.subpage-section { padding: clamp(72px, 9vw, 130px) 0; }
.section-intro { line-height: 1.85; }
.formula-row { padding: 32px 38px; }
.formules-list { gap: 18px; }

/* ============================================
   ARABIC READING COMFORT
   Larger, calmer type for older Arabic readers.
   Western UI density is too small for this
   audience — open it up.
============================================= */
html[dir="rtl"] body { font-size: 1.06rem; }

html[dir="rtl"] .subpage-hero-description,
html[dir="rtl"] .section-intro {
    font-size: 1.22rem;
    line-height: 2;
}

html[dir="rtl"] .subpage-hero-title { line-height: 1.35; }
html[dir="rtl"] .section-title { line-height: 1.4; }

html[dir="rtl"] .pause-banner h3 { font-size: 1.55rem; line-height: 1.6; }
html[dir="rtl"] .pause-banner p { font-size: 1.1rem; line-height: 1.95; }

html[dir="rtl"] .formula-row-name { font-size: 1.65rem; }
html[dir="rtl"] .formula-row-benefit { font-size: 1.02rem; line-height: 1.8; }
html[dir="rtl"] .formula-hotel-label { font-size: 0.78rem; }
html[dir="rtl"] .formula-hotel-name { font-size: 1.08rem; line-height: 1.7; }
html[dir="rtl"] .formula-price-amount { font-size: 2.2rem; }
html[dir="rtl"] .price-chip span { font-size: 0.68rem; }
html[dir="rtl"] .price-chip strong { font-size: 1.05rem; }

html[dir="rtl"] .departure-card-date { font-size: 2rem; }
html[dir="rtl"] .departure-card-return,
html[dir="rtl"] .departure-card-stay { font-size: 1.02rem; }
html[dir="rtl"] .departure-card-flights li { font-size: 0.98rem; }

html[dir="rtl"] .inclusions-list li { font-size: 1.06rem; line-height: 1.8; }
html[dir="rtl"] .inclusions-block h3 { font-size: 1.6rem; }

html[dir="rtl"] .faq-item summary { font-size: 1.2rem; }
html[dir="rtl"] .faq-item-content { font-size: 1.05rem; line-height: 2; }

html[dir="rtl"] .trust-item h4 { font-size: 1.3rem; }
html[dir="rtl"] .trust-item p { font-size: 1rem; line-height: 1.8; }

html[dir="rtl"] .calendar-cell-month { font-size: 1.18rem; }
html[dir="rtl"] .calendar-cell-status { font-size: 0.8rem; }

/* Bigger, easier tap targets + label for older users */
html[dir="rtl"] .btn { font-size: 0.95rem; padding: 18px 38px; }
html[dir="rtl"] .btn-cta { padding: 20px 38px; }
html[dir="rtl"] .lead-form .form-group input,
html[dir="rtl"] .lead-form .form-group select,
html[dir="rtl"] .lead-form .form-group textarea { font-size: 1.05rem; padding: 16px 18px; }

@media (max-width: 768px) {
    html[dir="rtl"] .subpage-hero-description,
    html[dir="rtl"] .section-intro { font-size: 1.08rem; }
    html[dir="rtl"] .formula-row-name { font-size: 1.45rem; }
    html[dir="rtl"] .formula-price-amount { font-size: 1.95rem; }
    .formula-row { padding: 26px 22px; }
}

/* ============================================
   OMRA — TARGETED FIXES
   1 hero image+banner · 2 dept CTA · 3 price
   table · 5 trust band · calendar · select
============================================= */

/* --- 1a. Hero: Mecca/Medina photo behind the burgundy --- */
.subpage-hero--omra {
    background:
        linear-gradient(180deg, rgba(42, 15, 18, 0.72) 0%, rgba(61, 27, 32, 0.70) 45%, rgba(42, 15, 18, 0.92) 100%),
        url("images/omra-hero.jpg") center 28% / cover no-repeat,
        linear-gradient(180deg, var(--burgundy-dark) 0%, #2A0F12 100%);
    background-attachment: scroll;
}

/* --- 1b. Hero offer panel: centered, refined --- */
.pause-banner--hero {
    text-align: center;
    max-width: 660px;
    padding: 40px 44px;
    border: 1px solid rgba(230, 220, 197, 0.30);
    border-left: 1px solid rgba(230, 220, 197, 0.30);
    background: rgba(31, 11, 13, 0.42);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

html[dir="rtl"] .pause-banner--hero {
    border-right: 1px solid rgba(230, 220, 197, 0.30);
}

.pause-banner--hero .pause-banner-label {
    opacity: 0.8;
    justify-content: center;
}

.pause-banner--hero h3 { font-size: 1.55rem; }

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-actions .btn { margin: 0; }

.subpage-hero .cta-reassure {
    justify-content: center;
    margin-top: 18px;
    opacity: 0.72;
}

@media (max-width: 600px) {
    .pause-banner--hero { padding: 30px 22px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* --- 2. Departure CTAs: cream fill, burgundy text --- */
.departure-card .btn-cta,
.departure-card .btn-cta:link,
.departure-card .btn-cta:visited {
    background: var(--cream);
    color: var(--burgundy);
    border: 1px solid transparent;
}

.departure-card .btn-cta:hover {
    background: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(85, 38, 44, 0.18);
}

/* --- 3. Formules consolidated price table --- */
.formules-list { display: block; max-width: 1040px; }

.ftable {
    background: var(--white);
    color: var(--burgundy);
    border: 1px solid rgba(85, 38, 44, 0.14);
    overflow: hidden;
}

.ftable-head,
.ftable-row {
    display: grid;
    grid-template-columns: 1.55fr 2.2fr 0.85fr 0.85fr 0.85fr 1.1fr;
    align-items: center;
    gap: 18px;
    padding: 20px 26px;
}

.ftable-head {
    background: var(--burgundy);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ftable-head .col-price { text-align: center; }

.ftable-row { border-top: 1px solid rgba(85, 38, 44, 0.12); }
.ftable-row:first-of-type { border-top: none; }

.ftable-row--reco {
    background: rgba(85, 38, 44, 0.05);
    box-shadow: inset 4px 0 0 var(--burgundy);
}
html[dir="rtl"] .ftable-row--reco { box-shadow: inset -4px 0 0 var(--burgundy); }

.ft-formule-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.ft-formule-meal {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: 4px;
}

.ft-reco-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--burgundy);
    color: var(--cream);
    padding: 3px 9px;
    margin-bottom: 7px;
}

.ft-hotels { display: grid; gap: 8px; }

.ft-hotel-line {
    font-size: 0.9rem;
    line-height: 1.4;
}

.ft-hotel-line b { font-weight: 700; }

.ft-hotel-line span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 1px;
}

.ft-price {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.ft-price small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 3px;
}

.ft-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--cream);
    color: var(--burgundy);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 16px;
    transition: all var(--transition-base);
}

.ft-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.ft-cta:hover { background: var(--burgundy); color: var(--cream); }

.ftable-caption {
    text-align: center;
    color: var(--cream);
    opacity: 0.7;
    font-size: 0.85rem;
    margin: 0 0 28px;
}

.ftable-mobile-label { display: none; }

@media (max-width: 920px) {
    .ftable-head { display: none; }
    .ftable-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px 18px;
        padding: 24px 22px;
    }
    .ft-formule { grid-column: 1 / -1; }
    .ft-hotels { grid-column: 1 / -1; padding-top: 14px; border-top: 1px dashed rgba(85,38,44,0.18); }
    .ft-price {
        text-align: center;
        background: rgba(85, 38, 44, 0.04);
        padding: 10px 6px;
    }
    .ft-cta { grid-column: 1 / -1; padding: 15px; }
    .ftable-mobile-label {
        display: block;
        font-size: 0.6rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.5;
        margin-bottom: 3px;
    }
}

@media (max-width: 480px) {
    .ftable-row { grid-template-columns: 1fr 1fr 1fr; }
    .ft-hotels { grid-column: 1 / -1; }
    .ft-formule { grid-column: 1 / -1; }
}

/* --- 5. Trust band: compact, less wasted height --- */
.subpage-section--tight {
    padding: clamp(46px, 6vw, 78px) 0;
}

.subpage-section--tight .section-title { margin-bottom: 14px; }

.subpage-section--tight .trust-grid {
    margin-top: 38px;
    gap: 20px;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.subpage-section--tight .trust-item { padding: 18px 14px; }
.subpage-section--tight .trust-item-icon { width: 38px; height: 38px; margin-bottom: 12px; }

/* --- Calendar: clean, optimized, simple --- */
.cal {
    max-width: 940px;
    margin: 48px auto 0;
}

.cal-departures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cal-date {
    background: var(--white);
    border: 1px solid rgba(85, 38, 44, 0.12);
    border-top: 3px solid var(--burgundy);
    padding: 26px 22px;
    text-align: center;
}

.cal-date-day {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--burgundy);
}

.cal-date-month {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.6;
    margin: 8px 0 14px;
}

.cal-date-return {
    font-size: 0.86rem;
    color: var(--gray);
    padding-top: 12px;
    border-top: 1px dashed rgba(85, 38, 44, 0.18);
}

.cal-date-return b { color: var(--burgundy); font-weight: 700; }

.cal-note {
    text-align: center;
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--gray);
}

.cal-note b { color: var(--burgundy); font-weight: 700; }

@media (max-width: 700px) {
    .cal-departures { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; gap: 12px; }
    .cal-date { padding: 22px; }
    .cal-date-day { font-size: 2.2rem; }
}

/* --- Form: integrated custom dropdown --- */
.fselect { position: relative; }

.lead-form .fselect .fselect-native {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
    clip: rect(0 0 0 0);
}

.fselect-btn {
    width: 100%;
    text-align: start;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--burgundy);
    background: var(--cream-light);
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all var(--transition-base);
}

.fselect-btn[data-placeholder="true"] { color: var(--gray); }

.fselect-btn:focus-visible,
.fselect.is-open .fselect-btn {
    outline: none;
    border-color: var(--burgundy);
    background: var(--white);
}

.fselect-btn::after {
    content: '';
    width: 11px; height: 11px;
    flex-shrink: 0;
    background: var(--burgundy);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M6 8L1 3h10z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='black' d='M6 8L1 3h10z'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--transition-base);
}

.fselect.is-open .fselect-btn::after { transform: rotate(180deg); }

.fselect-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 6px;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    z-index: 40;
    background: var(--white);
    border: 1px solid var(--burgundy);
    box-shadow: 0 18px 40px rgba(85, 38, 44, 0.18);
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.fselect.is-open .fselect-list { display: block; }

.fselect-list li {
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--burgundy);
    cursor: pointer;
    transition: background var(--transition-base);
}

.fselect-list li:hover,
.fselect-list li.is-active {
    background: var(--cream-light);
}

.fselect-list li[aria-selected="true"] {
    background: var(--burgundy);
    color: var(--cream);
}

html[dir="rtl"] .fselect-btn { text-align: right; }




/* ============================================================
   NADOMAR PREMIUM UPGRADE v3.2
   ① Ken Burns Hero  ② Stagger  ③ Hover Polish  ④ CTA Shimmer
   ⑤ Sub-page hero images  ⑥ Typography refinements
============================================================ */

/* ── 1. KEN BURNS KEYFRAMES ──────────────────────────────── */

@keyframes kenBurns {
    0%   { transform: scale(1)    translate3d(0%,    0%,    0); }
    100% { transform: scale(1.14) translate3d(-2.5%, -1.2%, 0); }
}

@keyframes kenBurnsPan {
    0%   { transform: scale(1.12) translate3d(-2%, -0.8%, 0); }
    100% { transform: scale(1)    translate3d(0%,   0%,   0); }
}

/* ── 2. MAIN HERO — REAL BACKGROUND + KEN BURNS ─────────── */
/*
   We inject the photo via ::before so the parallax JS can still
   translate .hero-bg without fighting the Ken Burns transform.
   ::before sits inside .hero-bg's stacking context (created by
   will-change: transform) and renders below the .hero-bg-overlay
   div that follows it in the DOM.
*/
.hero-bg::before {
    content: '';
    position: absolute;
    /* Extra bleed so Ken Burns zoom never reveals an edge */
    inset: -8%;
    background-image:
        url('images/terrasse riad maroc.webp');
    background-size: cover;
    background-position: center 45%;
    animation: kenBurns 26s ease-in-out infinite alternate;
    will-change: transform;
}

/* Tighten the overlay gradient for more depth + contrast */
.hero-bg-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(26, 10, 12, 0.45)  0%,
            rgba(55, 22, 27, 0.35) 35%,
            rgba(26, 10, 12, 0.72) 100%
        );
    position: absolute;
    inset: 0;
}

/* ── 3. EN.HTML HERO — Same Ken Burns, alternate crop ────── */
.hero-bg--en::before {
    background-image:
        url('images/rabat maroc.webp');
    background-position: center 35%;
    animation: kenBurnsPan 28s ease-in-out infinite alternate;
}

/* ── 4. CIRCUITS SUB-PAGE HERO ───────────────────────────── */
.subpage-hero--circuits {
    background:
        linear-gradient(
            180deg,
            rgba(42, 15, 18, 0.60)  0%,
            rgba(61, 27, 32, 0.55) 40%,
            rgba(26, 10, 12, 0.88) 100%
        ),
        url('https://images.pexels.com/photos/19394891/pexels-photo-19394891.jpeg?auto=compress&cs=tinysrgb&w=1920&h=900&fit=crop')
        center 38% / cover no-repeat;
}

/* ── 5. ENHANCED REVEAL — subtle scale-in ────────────────── */
/* Override the existing .reveal rule with a richer transform */
.reveal {
    opacity: 0;
    transform: translateY(36px) scale(0.985);
    transition:
        opacity  0.85s var(--ease-out),
        transform 0.85s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── 6. STAGGER DELAY — CSS-level cascade for card grids ─── */
.services-grid .service-card:nth-child(1),
.services-grid--programmes .service-card:nth-child(1) { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2),
.services-grid--programmes .service-card:nth-child(2) { transition-delay: 110ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 220ms; }

.portfolio-grid .portfolio-item:nth-child(1) { transition-delay: 0ms; }
.portfolio-grid .portfolio-item:nth-child(2) { transition-delay: 80ms; }
.portfolio-grid .portfolio-item:nth-child(3) { transition-delay: 160ms; }
.portfolio-grid .portfolio-item:nth-child(4) { transition-delay: 240ms; }
.portfolio-grid .portfolio-item:nth-child(5) { transition-delay: 320ms; }
.portfolio-grid .portfolio-item:nth-child(6) { transition-delay: 400ms; }

/* ── 7. PREMIUM SERVICE CARD HOVER ──────────────────────── */
.service-card {
    transition:
        transform 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out),
        border-color 0.45s var(--ease-out);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.005);
    box-shadow:
        0 28px 70px rgba(85, 38, 44, 0.14),
        0  6px 18px rgba(85, 38, 44, 0.08);
    border-top-color: var(--burgundy);
}

/* Service number — gold accent on hover */
.service-card:hover .service-number {
    opacity: 0.8;
    color: var(--burgundy);
}

.service-number {
    transition: opacity 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

/* ── 8. PORTFOLIO CARD HOVER ─────────────────────────────── */
.portfolio-item {
    transition:
        transform 0.45s var(--ease-out),
        box-shadow 0.45s var(--ease-out);
    border-radius: 2px;
}

.portfolio-item:hover {
    transform: scale(1.025);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    z-index: 1;
}

/* ── 9. BUTTON SHIMMER — premium CTA sweep on hover ─────── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 55%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 100%
    );
    transform: skewX(-18deg);
    transition: left 0.65s var(--ease-out);
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 130%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.22),
        0  4px 12px rgba(0, 0, 0, 0.12);
}

/* ── 10. OUTLINE BUTTON — glow on hover ─────────────────── */
.btn-outline:hover {
    border-color: var(--cream);
    background: rgba(230, 220, 197, 0.10);
    box-shadow: 0 0 0 1px rgba(230, 220, 197, 0.25);
}

/* ── 11. ECO-CARD HOVER ──────────────────────────────────── */
.eco-card--secondary {
    transition:
        transform 0.4s var(--ease-out),
        box-shadow 0.4s var(--ease-out),
        background 0.4s var(--ease-out);
}

.eco-card--secondary:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    background: rgba(230, 220, 197, 0.07);
}

/* ── 12. HERO TRUST BAR — refined visibility ─────────────── */
.hero-trust {
    margin-top: 28px;
    opacity: 0;
    animation: trustFadeIn 1s 2.5s var(--ease-out) forwards;
}

@keyframes trustFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Reduce trust bar opacity on reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .hero-trust { animation: none; opacity: 1; }
    .hero-bg::before { animation: none; }
    .reveal {
        transform: none;
        transition: opacity 0.4s ease;
    }
}

/* ── 13. HERO CONTENT TYPOGRAPHY — tighter premium ────────── */
.hero-subtitle {
    letter-spacing: 0.38em;
    font-size: 0.72rem;
    margin-bottom: 18px;
}

.hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

/* ── 14. SECTION INTRO COPY — better legibility ─────────── */
.section-intro {
    color: var(--cream);
    opacity: 0.82;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ── 15. CONFIGURATOR — amplified visual focus ───────────── */
.configurator {
    position: relative;
}

.configurator::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(230, 220, 197, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.config-step-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
}

.config-option-card {
    transition:
        background 0.3s var(--ease-out),
        border-color 0.3s var(--ease-out),
        transform 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.config-option input:checked + .config-option-card {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(85, 38, 44, 0.18);
}

/* ── 16. FORM INPUTS — premium focus state ───────────────── */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(230, 220, 197, 0.35),
        0 4px 16px rgba(0, 0, 0, 0.10);
}

/* ── 17. STATS — bigger impact numbers ───────────────────── */
.stat-number {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
}

/* END UPGRADE v3.2 */


/* ============================================================
   HERO SLIDESHOW v2.0 — 3 Moroccan locations, Ken Burns
   Replaces the single ::before image from v3.2
============================================================ */

/* ── Disable the old single-image ::before ─────────────── */
.hero-bg::before {
    content: none !important;
    display: none !important;
}
.hero-bg--en::before {
    content: none !important;
    display: none !important;
}

/* ── Base slide layer ───────────────────────────────────── */
.hero-slide {
    position: absolute;
    inset: -8%;          /* bleed so Ken Burns never shows edges */
    background-size: cover;
    background-position: center;
    opacity: 0;
    will-change: transform, opacity;
}

/*
  Each slide runs the SAME 24-second cycle, staggered by 8s.
  Visible window per slide: ~7 seconds.
  Fade-in: 0→4%  (0→1s)
  Hold:    4→29% (1→7s)  ← Ken Burns plays during this window
  Fade-out: 29→33% (7→8s)
  Hidden: 33→100% (8→24s)
  Three variants for different pan directions.
*/

/* SLIDE 1 — Chefchaouen: zoom-in, drift top-left */
@keyframes kbSlide1 {
    0%   { opacity: 0;  transform: scale(1)    translate3d( 0%,    0%,   0); }
    4%   { opacity: 1; }
    29%  { opacity: 1;  transform: scale(1.13) translate3d(-2.2%, -1.2%, 0); }
    33%  { opacity: 0;  transform: scale(1.15) translate3d(-2.8%, -1.5%, 0); }
    100% { opacity: 0;  transform: scale(1.15) translate3d(-2.8%, -1.5%, 0); }
}

/* SLIDE 2 — Sahara: zoom-in from right, drift left */
@keyframes kbSlide2 {
    0%   { opacity: 0;  transform: scale(1.10) translate3d( 2.5%,  0.8%, 0); }
    4%   { opacity: 1; }
    29%  { opacity: 1;  transform: scale(1)    translate3d(-0.8%, -0.4%, 0); }
    33%  { opacity: 0;  transform: scale(1)    translate3d(-1.2%, -0.6%, 0); }
    100% { opacity: 0;  transform: scale(1)    translate3d(-1.2%, -0.6%, 0); }
}

/* SLIDE 3 — Architecture: slow zoom-out, drift up */
@keyframes kbSlide3 {
    0%   { opacity: 0;  transform: scale(1.14) translate3d(-1.5%,  1.2%, 0); }
    4%   { opacity: 1; }
    29%  { opacity: 1;  transform: scale(1.02) translate3d( 0.5%, -0.5%, 0); }
    33%  { opacity: 0;  transform: scale(1)    translate3d( 1.0%, -0.8%, 0); }
    100% { opacity: 0;  transform: scale(1)    translate3d( 1.0%, -0.8%, 0); }
}

/* ── Slide 1 — Chefchaouen blue alleys ─────────────────── */
.hero-slide--1 {
    background-image: url('images/rabat maroc.webp');
    background-position: center 40%;
    animation: kbSlide1 9s ease-in-out 0s infinite;
}

/* ── Slide 2 — Sahara desert dunes ─────────────────────── */
.hero-slide--2 {
    background-image: url('images/sahara maroc tourisme.webp');
    background-position: center 60%;
    animation: kbSlide2 9s ease-in-out 3s infinite;
}

/* ── Slide 3 — Moroccan imperial architecture ───────────── */
.hero-slide--3 {
    background-image: url('images/terrasse riad maroc.webp');
    background-position: center 45%;
    animation: kbSlide3 9s ease-in-out 6s infinite;
}

/* ── Brand-colour gradient overlay (richer, more cinematic) */
.hero-bg-overlay {
    background: linear-gradient(
        180deg,
        rgba(55, 22, 27, 0.52)  0%,
        rgba(40, 14, 18, 0.28) 42%,
        rgba(26, 10, 12, 0.80) 100%
    );
    position: absolute;
    inset: 0;
    z-index: 1;          /* sits above the slides */
    pointer-events: none;
}

/* ── Pause animation when user prefers no motion ──────────*/
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none !important;
        transform: none !important;
    }
    .hero-slide--1 { opacity: 1; }   /* show first slide statically */
    .hero-slide--2,
    .hero-slide--3 { opacity: 0; }
}


/* ============================================================
   OMRA HERO — Full 16:9 viewport, Mecca background
============================================================ */

/*
  Override both occurrences of .subpage-hero--omra
  to use the real Kaaba / Mecca photo from Pexels
  (photo 14440333 — already confirmed in codebase).
  A deep burgundy gradient sits above it as a brand filter.
*/
.subpage-hero--omra {
    background:
        linear-gradient(
            175deg,
            rgba(55, 22, 27, 0.70)  0%,
            rgba(40, 14, 18, 0.48) 38%,
            rgba(26, 10, 12, 0.85) 100%
        ),
        url('https://images.pexels.com/photos/14440333/pexels-photo-14440333.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop')
        center 28% / cover no-repeat !important;
    background-attachment: scroll !important;
}

/* Desktop: lock to exactly one 16:9 screen */
@media (min-width: 900px) {
    .subpage-hero--omra {
        min-height: 100vh;
        max-height: 100vh;
        padding: clamp(72px, 9vh, 96px) 0 clamp(20px, 3.5vh, 36px);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* The description duplicates what the banner already says.
       Hide it on desktop to reclaim vertical space. */
    .subpage-hero--omra .subpage-hero-description {
        display: none;
    }

    /* Compact the H1 */
    .subpage-hero--omra .subpage-hero-title {
        font-size: clamp(2rem, 3.8vw, 3rem);
        margin-bottom: 10px;
        line-height: 1.12;
    }

    /* Tighten eyebrow */
    .subpage-hero--omra .subpage-hero-eyebrow {
        margin-bottom: 10px;
        font-size: 0.72rem;
    }

    /* Compact the announcement panel */
    .subpage-hero--omra .pause-banner--hero {
        padding: 22px 36px 20px;
        margin-top: 14px;
        max-width: 620px;
    }

    .subpage-hero--omra .pause-banner--hero h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .subpage-hero--omra .pause-banner--hero p {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .subpage-hero--omra .hero-actions {
        gap: 10px;
        margin-top: 16px;
    }

    .subpage-hero--omra .btn {
        padding: 13px 22px;
        font-size: 0.85rem;
    }

    .subpage-hero--omra .cta-reassure {
        margin-top: 12px;
        font-size: 0.78rem;
    }

    /* Compact trust strip */
    .subpage-hero--omra .hero-trust {
        margin-top: 14px;
        gap: 8px 20px;
    }

    .subpage-hero--omra .hero-trust span {
        font-size: 0.74rem;
    }
}

/* On very short screens (e.g. 768px tall laptop with toolbar),
   allow a tiny scroll rather than squishing content further */
@media (min-width: 900px) and (max-height: 700px) {
    .subpage-hero--omra {
        max-height: none;
        min-height: 100svh;
    }
}

/* END SLIDESHOW v2.0 + OMRA HERO */

/* ============================================================
   CARD ALIGNMENT v1.0 — equal heights, CTAs pinned to bottom
   ============================================================ */

/* --- Services grid ----------------------------------------- */
.services-grid {
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Push the CTA link to the very bottom of each card */
.service-card-link {
    margin-top: auto;
}

/* --- Portfolio grid ----------------------------------------- */
.portfolio-grid {
    align-items: stretch;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Ecosystem cards --------------------------------------- */
.eco-grid {
    align-items: stretch;
}

.eco-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* If eco-cards have a CTA or link at the bottom */
.eco-card a:last-child,
.eco-card .eco-link {
    margin-top: auto;
}

/* --- Testimonials ------------------------------------------ */
.testimonials-grid {
    align-items: stretch;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card blockquote {
    flex: 1;
}

/* END CARD ALIGNMENT v1.0 */

/* ============================================================
   SERVICES REDESIGN v2.0
   Programmes (posters) en premier · Sur-mesure (strip) ensuite
   ============================================================ */

/* ── Titre de section mis à jour ────────────────────────── */
.services .section-title em {
    display: block;
}

/* ══════════════════════════════════════════════════════════
   BLOC 1 — POSTERS PROGRAMMES & CIRCUITS
   ══════════════════════════════════════════════════════════ */

.programmes-poster-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.programme-poster {
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 2px;
}

/* Photo background */
.programme-poster-bg {
    position: absolute;
    inset: 0;
}

.programme-poster-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.programme-poster:hover .programme-poster-bg img {
    transform: scale(1.05);
}

/* Gradient overlay — reads on both light and dark photos */
.programme-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 4, 5, 0.00)  0%,
        rgba(10, 4, 5, 0.00) 28%,
        rgba(10, 4, 5, 0.70) 55%,
        rgba(10, 4, 5, 0.97) 78%,
        rgba(10, 4, 5, 1.00) 100%
    );
    pointer-events: none;
}

/* Subtle burgundy brand tint */
.programme-poster--omra .programme-poster-overlay {
    background: linear-gradient(
        to bottom,
        rgba(30, 10, 13, 0.00)  0%,
        rgba(30, 10, 13, 0.00) 28%,
        rgba(30, 10, 13, 0.72) 55%,
        rgba(30, 10, 13, 0.97) 78%,
        rgba(30, 10, 13, 1.00) 100%
    );
}

/* Ghost number — decorative top-right */
.programme-poster-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    color: rgba(245, 240, 232, 0.12);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

/* Content anchored to bottom */
.programme-poster-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 36px;
    color: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.programme-poster-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid rgba(245, 240, 232, 0.40);
    border-radius: 1px;
    margin-bottom: 14px;
    width: fit-content;
    color: rgba(245, 240, 232, 0.90);
}

.programme-poster-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--cream);
}

.programme-poster-text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(245, 240, 232, 0.80);
    margin-bottom: 14px;
}

.programme-poster-meta {
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.70);
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(245, 240, 232, 0.18);
}

.programme-poster-meta strong {
    color: #e8c98a;
    font-weight: 600;
}

.programme-poster-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(245, 240, 232, 0.12);
    border: 1px solid rgba(245, 240, 232, 0.30);
    padding: 11px 22px;
    border-radius: 1px;
    width: fit-content;
    transition: background var(--transition-base), gap var(--transition-base);
}

.programme-poster-cta:hover {
    background: rgba(245, 240, 232, 0.22);
    gap: 16px;
}

/* ══════════════════════════════════════════════════════════
   BLOC 2 — STRIP SUR-MESURE
   ══════════════════════════════════════════════════════════ */

.services-tier--surmesure {
    margin-top: 72px;
    padding-top: 56px;
    border-top: 1px solid rgba(85, 38, 44, 0.12);
}

.surmesure-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 28px;
    border: 1px solid rgba(85, 38, 44, 0.10);
    background: var(--white);
}

.surmesure-item {
    padding: 36px 32px 32px;
    border-right: 1px solid rgba(85, 38, 44, 0.08);
    display: flex;
    flex-direction: column;
    transition: background var(--transition-base);
    position: relative;
}

.surmesure-item:last-child {
    border-right: none;
}

.surmesure-item:hover {
    background: rgba(85, 38, 44, 0.025);
}

/* Accent line on hover */
.surmesure-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.surmesure-item:hover::before {
    transform: scaleX(1);
}

.surmesure-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: rgba(85, 38, 44, 0.10);
    line-height: 1;
    margin-bottom: 18px;
    display: block;
    user-select: none;
}

.surmesure-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.surmesure-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.surmesure-text {
    font-size: 0.9rem;
    line-height: 1.70;
    color: var(--gray);
    margin-bottom: 24px;
    flex: 1;
}

/* .service-card-link already handles the CTA style */

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .programme-poster { height: 420px; }
    .programme-poster-content { padding: 24px 28px; }
    .programme-poster-title { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .programmes-poster-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .programme-poster {
        height: 360px;
    }

    .programme-poster-number { font-size: 3rem; top: 18px; right: 20px; }
    .programme-poster-content { padding: 24px; }
    .programme-poster-title { font-size: 1.5rem; }
    .programme-poster-text { font-size: 0.84rem; }
    .programme-poster-meta { font-size: 0.76rem; }

    .surmesure-strip {
        grid-template-columns: 1fr;
    }

    .surmesure-item {
        border-right: none;
        border-bottom: 1px solid rgba(85, 38, 44, 0.08);
        padding: 28px 24px;
    }

    .surmesure-item:last-child { border-bottom: none; }

    .surmesure-number { font-size: 1.8rem; margin-bottom: 12px; }
    .surmesure-title { font-size: 1.05rem; }

    .services-tier--surmesure {
        margin-top: 52px;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .programme-poster { height: 300px; }
    .programme-poster-content { padding: 20px; }
    .programme-poster-badge { font-size: 0.58rem; margin-bottom: 10px; }
    .programme-poster-title { font-size: 1.3rem; }
}

/* END SERVICES REDESIGN v2.0 */

/* ============================================================
   TESTIMONIALS — MOBILE
   ============================================================ */
@media (max-width: 768px) {
    /* Decorative quote mark — shrink to avoid overflow */
    .t-deco { font-size: 12rem; top: -0.05em; }

    /* Eyebrow */
    .t-eyebrow { margin-bottom: 20px; }

    /* Google pill — allow wrapping, hide count on very small screens */
    .t-trust { margin-bottom: 32px; }
    .t-google-pill {
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.8rem;
        gap: 6px;
        padding: 10px 18px;
        max-width: 88vw;
        text-align: center;
    }

    /* Stage: let height be driven by content, not a fixed min */
    .t-stage {
        min-height: unset;
        margin-bottom: 28px;
        align-items: flex-start;
    }

    /* Inactive cards: hide completely so stage height = active card */
    .testimonial-card {
        display: none;
        position: static;
        opacity: 1;
        transform: none;
    }
    .testimonial-card.active {
        display: flex;
        position: static;
    }

    .t-quote-text {
        font-size: clamp(1.05rem, 4.8vw, 1.25rem);
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .t-nav { gap: 14px; padding-bottom: 44px; }
    .t-nav-btn { width: 40px; height: 40px; }
}
/* END TESTIMONIALS MOBILE */

/* ============================================================
   SERVICES v3.0 — Maroc en premier · Secondaire compact
   ============================================================ */

/* ── Titre section ── */
.services .section-title br + em { display: inline; }

/* ══════════════════════════════════════════════════════════
   BLOC 1 — GRILLE MAROC (asymétrique, photo full-bleed)
   ══════════════════════════════════════════════════════════ */

.maroc-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.875fr 0.875fr;
    grid-template-rows: 440px;
    gap: 14px;
    margin-top: 28px;
}

.maroc-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

/* Photo */
.maroc-card-bg {
    position: absolute;
    inset: 0;
}

.maroc-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.maroc-card:hover .maroc-card-bg img {
    transform: scale(1.06);
}

/* Gradient — image visible en haut, sombre en bas */
.maroc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 4, 5, 0.00)  0%,
        rgba(10, 4, 5, 0.00) 28%,
        rgba(10, 4, 5, 0.65) 58%,
        rgba(10, 4, 5, 0.96) 82%,
        rgba(10, 4, 5, 1.00) 100%
    );
    pointer-events: none;
}

/* Badge catégorie */
.maroc-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-body);
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.85);
    background: rgba(10, 4, 5, 0.40);
    border: 1px solid rgba(245, 240, 232, 0.22);
    padding: 3px 9px;
    border-radius: 1px;
}

/* Contenu ancré en bas */
.maroc-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px 28px;
    color: var(--cream);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.maroc-card-num {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    opacity: 0.38;
    display: block;
    margin-bottom: 7px;
}

.maroc-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 10px;
}

/* Grande carte : titre plus fort + texte visible */
.maroc-card--large .maroc-card-title {
    font-size: 1.65rem;
    margin-bottom: 12px;
}

.maroc-card-text {
    font-size: 0.875rem;
    line-height: 1.68;
    color: rgba(245, 240, 232, 0.78);
    margin-bottom: 18px;
}

/* Cartes compactes : texte caché, plus de place pour l'image */
.maroc-card:not(.maroc-card--large) .maroc-card-text {
    display: none;
}

.maroc-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
    border-bottom: 1px solid rgba(245, 240, 232, 0.35);
    padding-bottom: 2px;
    transition: gap var(--transition-base), border-color var(--transition-base);
}

.maroc-card:hover .maroc-card-cta {
    gap: 12px;
    border-color: rgba(245, 240, 232, 0.7);
}

/* Tagline sous la grille */
.maroc-tagline {
    margin-top: 14px;
    text-align: right;
    font-size: 0.78rem;
    font-style: italic;
    color: rgba(55, 38, 44, 0.45);
}

/* ══════════════════════════════════════════════════════════
   BLOC 2 — "NOUS ORGANISONS AUSSI" (compact, secondaire)
   ══════════════════════════════════════════════════════════ */

.services-tier--also {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid rgba(85, 38, 44, 0.10);
}

.also-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.also-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border: 1px solid rgba(85, 38, 44, 0.10);
    overflow: hidden;
    border-radius: 2px;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.also-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(85, 38, 44, 0.10);
}

.also-card-img {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.also-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.also-card:hover .also-card-img img {
    transform: scale(1.06);
}

.also-card-body {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.also-card-label {
    font-family: var(--font-body);
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(85, 38, 44, 0.42);
    display: block;
    margin-bottom: 6px;
}

.also-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.also-card-text {
    font-size: 0.875rem;
    line-height: 1.68;
    color: var(--gray);
    margin-bottom: 12px;
    flex: 1;
}

.also-card-meta {
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(85, 38, 44, 0.12);
}

.also-card-meta strong {
    color: var(--burgundy);
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .maroc-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 360px 300px;
    }
    /* Grande carte prend toute la largeur sur la 1ère ligne */
    .maroc-card--large {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .maroc-card--large .maroc-card-text { display: block; }
}

@media (max-width: 768px) {
    .maroc-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .maroc-card--large {
        grid-column: auto;
        grid-row: auto;
        height: 380px;
    }

    .maroc-card:not(.maroc-card--large) {
        height: 260px;
    }

    .maroc-card--large .maroc-card-title { font-size: 1.4rem; }
    .maroc-card-content { padding: 22px; }

    .also-grid {
        grid-template-columns: 1fr;
    }

    .also-card {
        flex-direction: row;
    }

    .also-card-img {
        width: 120px;
        min-height: 160px;
    }

    .also-card-body { padding: 20px; }

    .services-tier--also {
        margin-top: 48px;
        padding-top: 36px;
    }

    .maroc-tagline { text-align: center; }
}

@media (max-width: 480px) {
    .maroc-card--large { height: 320px; }
    .maroc-card:not(.maroc-card--large) { height: 220px; }
    .maroc-card-content { padding: 18px 20px; }
    .maroc-card--large .maroc-card-title { font-size: 1.25rem; }
    .also-card-img { width: 100px; }
    .also-card-body { padding: 16px; }
}

/* END SERVICES v3.0 */
