/* ============================================================
   VAYLO Maroc — Logiciel web de gestion de station-service
   Feuille de styles principale
   ============================================================ */

:root {
    --vaylo-blue: #1a3a52;
    --vaylo-blue-light: #2d5573;
    --vaylo-blue-dark: #0f2438;
    --vaylo-accent: #3b82f6;
    --vaylo-accent-soft: #60a5fa;
    --ink: #0f2438;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg-soft: #f8fafc;
    --green: #10b981;
    --amber: #f59e0b;
    --radius: 22px;
    --maxw: 1200px;
    --shadow-sm: 0 4px 20px rgba(15, 36, 56, 0.06);
    --shadow-md: 0 16px 44px rgba(15, 36, 56, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155; line-height: 1.6; overflow-x: hidden; background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--vaylo-accent); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--vaylo-accent); }
.eyebrow.center { justify-content: center; }

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-align: center;
    margin-bottom: 1rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15;
}
.section-subtitle {
    text-align: center; color: var(--muted); font-size: 1.12rem;
    margin: 0 auto 3.5rem; max-width: 720px; line-height: 1.6;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(26,58,82,0.08); z-index: 1000; transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(26,58,82,0.14); }
.nav-container {
    max-width: var(--maxw); margin: 0 auto; padding: 0.75rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-container { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 46px; width: auto; transition: transform 0.3s ease; }
.logo-container:hover .logo-img { transform: scale(1.04); }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: var(--vaylo-blue); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.25s; }
.nav-link:hover { color: var(--vaylo-accent); }
.btn-primary {
    background: linear-gradient(135deg, var(--vaylo-accent), var(--vaylo-blue-light));
    color: #fff; padding: 0.7rem 1.6rem; border-radius: 50px; border: none;
    font-weight: 600; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none; display: inline-block; box-shadow: 0 4px 15px rgba(59,130,246,0.3); white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59,130,246,0.4); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.mobile-menu-toggle span { width: 25px; height: 3px; background: var(--vaylo-blue); border-radius: 3px; transition: 0.3s; }

/* ===================== HERO ===================== */
#accueil {
    background: linear-gradient(135deg, rgba(26,58,82,0.93) 0%, rgba(15,36,56,0.9) 100%),
                url('/assets/img/fuel_pumps.png') center/cover no-repeat;
    color: #fff; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 150px 2rem 80px; position: relative; overflow: hidden;
}
#accueil::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59,130,246,0.16) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(96,165,250,0.1) 0%, transparent 50%); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-logo-container {
    background: #fff; border-radius: 28px; display: inline-block; margin: 0 auto 1.6rem; position: relative;
    animation: logoAppear 0.9s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 30px 30px rgba(0,0,0,0.4), 0 20px 40px rgba(0,0,0,0.3), 0 10px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-logo-large { width: clamp(220px, 38vw, 360px); height: auto; padding: 0.4rem; border-radius: 28px; }
.hero-text-container { animation: fadeInUp 0.9s ease 0.3s both; }
.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1.6rem;
    line-height: 1.14; letter-spacing: -0.02em; text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem); margin: 0 auto 2.6rem; font-weight: 400; line-height: 1.7;
    color: rgba(255,255,255,0.92); max-width: 840px; text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-features { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-feature-item {
    display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; padding: 0.7rem 1.4rem;
    background: rgba(255,255,255,0.92); border-radius: 50px; font-weight: 600; color: var(--vaylo-blue); transition: all 0.3s ease;
}
.hero-feature-item:hover { background: linear-gradient(135deg, var(--vaylo-blue), var(--vaylo-blue-light)); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,58,82,0.25); }
.hero-cta { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.btn-hero {
    padding: 1.15rem 2.8rem; border-radius: 50px; font-weight: 600; font-size: 1.02rem; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); cursor: pointer; border: none;
    display: inline-flex; align-items: center; gap: 0.7rem; position: relative; overflow: hidden;
}
.btn-hero-primary { background: #fff; color: var(--vaylo-blue); box-shadow: 0 12px 40px rgba(255,255,255,0.22); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(255,255,255,0.32); }
.btn-hero-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 2px solid rgba(255,255,255,0.6); backdrop-filter: blur(10px); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-3px); }

/* ===================== SECTIONS ===================== */
.section-block { padding: 6rem 0; scroll-margin-top: 80px; }
#solution { background: linear-gradient(to bottom, var(--bg-soft) 0%, #fff 100%); }
#fonctionnalites { background: #fff; }
#maroc { background: var(--bg-soft); }
#temoignages { background: #fff; }
#faq { background: var(--bg-soft); }

/* ---- Problèmes ---- */
#problemes { background: var(--vaylo-blue-dark); color: #fff; }
#problemes .section-title { color: #fff; }
#problemes .section-subtitle { color: rgba(255,255,255,0.75); }
#problemes .eyebrow { color: var(--vaylo-accent-soft); }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.problem-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 1.8rem; transition: all 0.3s;
}
.problem-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-4px); }
.problem-card .pico { font-size: 1.6rem; margin-bottom: 0.8rem; display: block; }
.problem-card h3 { font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.problem-card p { color: rgba(255,255,255,0.72); font-size: 0.96rem; line-height: 1.6; }

/* ---- Solution band ---- */
.solution-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 1rem;
}
.presentation-card {
    background: #fff; padding: 2.4rem; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.presentation-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.card-icon {
    width: 64px; height: 64px; background: linear-gradient(135deg, var(--vaylo-blue), var(--vaylo-blue-light));
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.3rem; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(26,58,82,0.25);
}
.card-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--ink); }
.card-text { color: var(--muted); line-height: 1.7; }

/* ---- Feature rows (alternating, with screenshot) ---- */
.feature-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
    padding: 3.2rem 0; border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-text .ftag {
    display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--vaylo-accent); background: #e0f2fe;
    padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 1rem;
}
.feature-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; color: var(--ink); margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.01em; }
.feature-text > p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.3rem; }
.feature-text ul { list-style: none; }
.feature-text li { position: relative; padding-left: 1.7rem; margin-bottom: 0.7rem; color: #475569; line-height: 1.55; }
.feature-text li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: bold; font-size: 1.15rem; }
.feature-shot {
    border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(15,36,56,0.18);
    border: 1px solid var(--line); background: var(--vaylo-blue-dark);
}
.feature-shot img { width: 100%; height: auto; display: block; }

/* ---- Compact feature grid (for features without screenshot) ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.6rem; margin-top: 3rem; }
.feature-item { padding: 2rem 1.6rem; border-radius: 18px; transition: all 0.3s; background: var(--bg-soft); border: 2px solid transparent; }
.feature-item:hover { background: #fff; border-color: var(--vaylo-accent); transform: translateY(-6px); box-shadow: 0 12px 32px rgba(59,130,246,0.12); }
.feature-icon-sm {
    width: 56px; height: 56px; background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.7rem;
}
.feature-item h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.feature-item p { color: var(--muted); line-height: 1.6; font-size: 0.96rem; }

/* ---- Pensé pour le Maroc ---- */
.maroc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.maroc-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--ink); margin-bottom: 1.2rem; line-height: 1.2; }
.maroc-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.2rem; }
.maroc-points { list-style: none; margin-top: 1.5rem; }
.maroc-points li { position: relative; padding-left: 2rem; margin-bottom: 1rem; color: #475569; line-height: 1.6; }
.maroc-points li::before { content: '🇲🇦'; position: absolute; left: 0; font-size: 1.1rem; }
.maroc-visual {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
    border: 1px solid var(--line); background: var(--vaylo-blue-dark);
}
.maroc-visual img { width: 100%; }

/* ---- Sécurité ---- */
#securite { background: linear-gradient(135deg, var(--vaylo-blue-dark) 0%, var(--vaylo-blue) 100%); color: #fff; position: relative; overflow: hidden; }
#securite::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(96,165,250,0.08) 0%, transparent 50%); pointer-events: none;
}
#securite .section-title, #securite .eyebrow { color: #fff; }
#securite .eyebrow { color: var(--vaylo-accent-soft); }
#securite .section-subtitle { color: rgba(255,255,255,0.8); }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; position: relative; z-index: 1; }
.security-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.8rem; text-align: center; transition: all 0.3s; }
.security-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.security-item .sico { font-size: 2.2rem; margin-bottom: 1rem; }
.security-item h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.security-item p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.6; }

/* ---- App access band ---- */
.access-band { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-top: 3rem; }
.access-chip {
    display: flex; align-items: center; gap: 0.7rem; background: var(--bg-soft);
    border: 1px solid var(--line); padding: 1rem 1.8rem; border-radius: 50px; font-weight: 600; color: var(--vaylo-blue);
}
.access-chip .acico { font-size: 1.4rem; }

/* ===================== CONTACT ===================== */
#contact { background: linear-gradient(to bottom, var(--bg-soft), #e0f2fe); }
.contact-container { max-width: 680px; margin: 0 auto; background: #fff; padding: 3.2rem; border-radius: var(--radius); box-shadow: 0 12px 48px rgba(0,0,0,0.08); border: 1px solid var(--line); }
.form-group { margin-bottom: 1.6rem; }
.form-label { display: block; margin-bottom: 0.55rem; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.form-input, .form-textarea { width: 100%; padding: 1.05rem; border: 2px solid var(--line); border-radius: 12px; font-size: 1rem; transition: all 0.3s; font-family: inherit; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--vaylo-accent); box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
.form-textarea { resize: vertical; min-height: 150px; }
.form-submit { width: 100%; padding: 1.25rem; background: linear-gradient(135deg, var(--vaylo-blue), var(--vaylo-blue-light)); color: #fff; border: none; border-radius: 12px; font-size: 1.08rem; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 6px 20px rgba(26,58,82,0.3); }
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,58,82,0.4); background: linear-gradient(135deg, var(--vaylo-blue-dark), var(--vaylo-blue)); }

/* ===================== CAROUSEL ===================== */
.carousel { position: relative; max-width: 900px; margin: 4rem auto 0; min-height: 280px; }
.carousel-track { display: flex; justify-content: center; align-items: center; perspective: 1000px; min-height: 260px; }
.review-card { position: absolute; width: 90%; max-width: 700px; padding: 2.8rem; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid var(--line); transition: all 0.5s ease; opacity: 0; transform: scale(0.85); }
.review-card p { font-size: 1.1rem; color: #475569; margin-bottom: 1.4rem; line-height: 1.7; font-style: italic; }
.review-card strong { color: var(--vaylo-blue); font-style: normal; }
.review-card.active { opacity: 1; transform: scale(1); z-index: 3; }
.review-card.prev { opacity: 0.4; transform: translateX(-320px) scale(0.8); z-index: 2; }
.review-card.next { opacity: 0.4; transform: translateX(320px) scale(0.8); z-index: 2; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--vaylo-blue); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 20px; z-index: 5; }
.nav-btn.left { left: -10px; } .nav-btn.right { right: -10px; }
.carousel-dots { text-align: center; margin-top: 1.5rem; }
.carousel-dots span { display: inline-block; width: 10px; height: 10px; background: #cbd5e1; border-radius: 50%; margin: 0 6px; cursor: pointer; transition: background 0.3s; }
.carousel-dots span.active { background: var(--vaylo-blue); }

/* ===================== FAQ ===================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 1rem; overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; background: #fff; }
.faq-item.open { border-color: var(--vaylo-accent); box-shadow: 0 8px 24px rgba(59,130,246,0.1); }
.faq-question { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.5rem 1.8rem; font-size: 1.08rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
.faq-question:hover { color: var(--vaylo-accent); }
.faq-icon { flex-shrink: 0; font-size: 1.4rem; color: var(--vaylo-accent); transition: transform 0.3s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 1.8rem 1.5rem; color: var(--muted); line-height: 1.75; }

/* ===================== PRESSE / ARTICLES ===================== */
.page-header { background: linear-gradient(135deg, var(--vaylo-blue-dark), var(--vaylo-blue)); color: #fff; padding: 11rem 2rem 4rem; text-align: center; }
.page-header .eyebrow { color: var(--vaylo-accent-soft); justify-content: center; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.page-header p { color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; font-size: 1.1rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 2rem; padding: 4.5rem 0; }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.article-card-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--vaylo-blue-dark); }
.article-card-body { padding: 1.6rem 1.8rem 2rem; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; gap: 0.8rem; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.9rem; flex-wrap: wrap; }
.article-cat { background: #e0f2fe; color: var(--vaylo-blue); padding: 0.25rem 0.7rem; border-radius: 50px; font-weight: 600; font-size: 0.75rem; }
.article-card h2 { font-size: 1.22rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 0.7rem; }
.article-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; flex: 1; }
.article-readmore { margin-top: 1.2rem; color: var(--vaylo-accent); font-weight: 600; font-size: 0.95rem; }

/* ---- Single article (static page) ---- */
.article-body { max-width: 760px; margin: 0 auto; padding: 9rem 0 5rem; }
.article-body .article-meta { justify-content: flex-start; margin-bottom: 1.4rem; }
.article-body h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; color: var(--ink); line-height: 1.2; margin-bottom: 1.4rem; letter-spacing: -0.02em; }
.article-lead { font-size: 1.18rem; color: #475569; line-height: 1.7; margin-bottom: 2rem; font-weight: 500; }
.article-hero-img { width: 100%; border-radius: var(--radius); margin-bottom: 2.5rem; border: 1px solid var(--line); background: var(--vaylo-blue-dark); }
.article-content h2 { font-size: 1.55rem; font-weight: 700; color: var(--ink); margin: 2.6rem 0 1rem; letter-spacing: -0.01em; }
.article-content h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.8rem 0 0.8rem; }
.article-content p { color: #475569; font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.2rem; }
.article-content ul { margin: 0 0 1.4rem 0; padding-left: 1.4rem; }
.article-content li { color: #475569; font-size: 1.05rem; line-height: 1.7; margin-bottom: 0.5rem; }
.article-content a { color: var(--vaylo-accent); font-weight: 600; text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--vaylo-accent); font-weight: 600; text-decoration: none; margin-top: 2rem; }
.article-cta-box { margin-top: 3rem; padding: 2.4rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--bg-soft), #e0f2fe); border: 1px solid var(--line); text-align: center; }
.article-cta-box h3 { color: var(--ink); font-size: 1.4rem; margin-bottom: 0.6rem; }
.article-cta-box p { color: var(--muted); margin-bottom: 1.4rem; }
.related-links { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.related-links h4 { color: var(--ink); font-size: 1.05rem; margin-bottom: 0.8rem; }
.related-links a { display: block; color: var(--vaylo-accent); text-decoration: none; padding: 0.35rem 0; font-weight: 500; }
.related-links a:hover { text-decoration: underline; }

.loading-msg, .empty-msg { text-align: center; color: var(--muted); padding: 3rem 0; grid-column: 1/-1; }

/* ===================== FOOTER ===================== */
.footer { background: linear-gradient(135deg, var(--vaylo-blue-dark) 0%, var(--vaylo-blue) 100%); color: #fff; padding: 3.5rem 2rem 1.6rem; }
.footer-container { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-logo { height: 52px; width: auto; margin-bottom: 1.3rem; display: inline-block; object-fit: contain; }
.footer-text { color: #cbd5e1; margin-bottom: 1.8rem; font-size: 1.02rem; }
.footer-nav { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: color 0.25s; }
.footer-nav a:hover { color: #fff; }
.footer-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; margin: 2rem auto; max-width: 900px; }
.footer-contact-item { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.08); padding: 1.1rem; border-radius: 14px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; text-align: left; }
.footer-contact-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.12); }
.footer-contact-icon { font-size: 1.5rem; background: rgba(255,255,255,0.12); padding: 0.65rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-contact-title { font-weight: 600; color: #fff; font-size: 0.92rem; }
.footer-contact-value { color: #cbd5e1; font-size: 0.92rem; }
.footer-contact-value a { color: #cbd5e1; text-decoration: none; }
.footer-contact-value a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 2rem; color: #94a3b8; font-size: 0.9rem; }

/* ===================== WHATSAPP ===================== */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 62px; height: 62px; background-color: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(0,0,0,0.25); z-index: 9999; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ===================== ANIMATIONS ===================== */
@keyframes logoAppear { 0% { opacity: 0; transform: scale(0.9) translateY(30px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
    .feature-row.reverse .feature-text { order: 1; }
    .feature-row.reverse .feature-shot { order: 2; }
    .maroc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav-menu { position: fixed; top: 0; right: -100%; height: 100vh; width: 80%; max-width: 330px; background: #fff; flex-direction: column; align-items: flex-start; padding: 6rem 2rem 2rem; gap: 1.4rem; box-shadow: -10px 0 40px rgba(0,0,0,0.12); transition: right 0.35s ease; z-index: 1001; overflow-y: auto; }
    .nav-menu.open { right: 0; }
    .nav-menu li { width: 100%; }
    .nav-link { font-size: 1.05rem; }
    .btn-primary { display: block; text-align: center; }
    .mobile-menu-toggle { display: flex; z-index: 1002; }
    .mobile-menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 768px) {
    .container { padding: 0 1.4rem; }
    .section-block { padding: 4rem 0; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .contact-container { padding: 2.2rem 1.6rem; }
    .nav-btn.left { left: 0; } .nav-btn.right { right: 0; }
    .review-card.prev, .review-card.next { opacity: 0; }
    .page-header { padding: 9rem 1.4rem 3rem; }
    .article-body { padding: 8rem 0 4rem; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
