/* ========================================
   EastFlow Global - Brand Stylesheet
   ======================================== */

:root {
    /* Couleurs releveess directement sur le logo EastFlow */
    --primary: #121617;
    --primary-light: #2a2f30;

    /* --accent = vert exact du logo. Contraste 3.98:1 sur blanc :
       reserve aux aplats, icones, traits et bordures (seuil 3:1).
       Pour du TEXTE vert sur blanc, utiliser --accent-text (5.82:1). */
    --accent: #5D8D03;
    --accent-text: #4A7002;
    --accent-hover: #3A5802;
    /* Vert eclairci pour les sections a fond sombre (7.19:1 sur --primary) */
    --accent-on-dark: #7FB222;
    --accent-soft: #EEF4E0;
    --accent-line: rgba(93, 141, 3, 0.22);

    --bg-light: #F5F5F0;
    --bg-white: #FFFFFF;
    --bg-dark: #121617;
    --text-dark: #2D2D2D;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --border: #e0e0e0;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(18, 22, 23, 0.08);
    --shadow-lg: 0 12px 48px rgba(18, 22, 23, 0.12);
    --transition: 0.3s ease;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
}

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

/* ========================================
   Typography
   ======================================== */

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }

.text-accent { color: var(--accent-text); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-text);
    color: white;
    border-color: var(--accent-text);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 141, 3, 0.32);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    height: 72px;
    flex-wrap: nowrap;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-global {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-light);
}

.logo-tagline {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1;
}

.logo-icon {
    height: 32px;
    width: auto;
}

/* Logo image (navbar et footer) — utilise sur toutes les pages.
   .logo est un flex en colonne : sans align-self, l'image est etiree
   sur l'axe transversal et perd son ratio (elle s'elargit a la colonne). */
.logo-img {
    display: block;
    height: 38px;
    width: auto;
    align-self: flex-start;
}

.footer .logo-img { height: 44px; }

.logo-east { color: var(--primary); }
.logo-link { color: var(--accent-text); }

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition);
    margin-left: 16px;
    flex-shrink: 0;
}

.lang-toggle:hover {
    border-color: var(--accent);
    background: white;
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-code {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    flex-shrink: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-menu a:hover { color: var(--accent-text); }

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}

/* ========================================
   Hero
   ======================================== */

.hero {
    position: relative;
    padding: 112px 0 72px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 720px;
}

.hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-top: 20px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(224, 122, 58, 0.08), rgba(27, 42, 74, 0.05));
    pointer-events: none;
}

/* ========================================
   Page Photo Strip (sub-pages)
   ======================================== */
.page-photo-strip {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.page-photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.page-photo-strip:hover img {
    transform: scale(1.02);
}

/* ========================================
   Platforms Section (ecommerce page)
   ======================================== */
.platforms-section {
    background: #f8f9fc;
    border-top: 1px solid #e8eaf0;
    border-bottom: 1px solid #e8eaf0;
    padding: 28px 0;
}

.platforms-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ba3b2;
    margin-bottom: 20px;
}

.platforms-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 40px;
}

.platform-logo {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: default;
}

.platform-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.platform-logo svg {
    height: 32px;
    width: auto;
}

@media (max-width: 600px) {
    .platforms-logos {
        gap: 20px 28px;
    }
    .platform-logo svg {
        height: 26px;
    }
}

/* ========================================
   Photo Gallery
   ======================================== */
.photo-gallery {
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 280px;
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

/* ========================================
   Problem / Solution
   ======================================== */

.problem-section {
    padding: 80px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.problem-card, .solution-card {
    padding: 40px;
    border-radius: var(--radius);
}

.problem-card {
    background: #f5f8f0;
    border: 1px solid #c8dfa0;
}

.solution-card {
    background: var(--primary);
    color: white;
}

.problem-icon, .solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.problem-icon {
    background: #95bf4720;
    color: var(--accent-text);
}

.solution-icon {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.problem-card h3, .solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.problem-card ul, .solution-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.problem-card li, .solution-card li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.problem-card li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: var(--accent-text);
    font-weight: 700;
}

.solution-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #6dd6a0;
    font-weight: 700;
}

.solution-card li {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Services
   ======================================== */

.services {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: #95bf4712;
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ========================================
   Sectors
   ======================================== */

.sectors {
    padding: 80px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.sector-card {
    border-radius: var(--radius);
    overflow: hidden;
    padding: 48px;
    position: relative;
}

.sector-textile {
    background: linear-gradient(135deg, #1A1A1A 0%, #2d2d2d 100%);
    color: white;
}

.sector-goodies {
    background: linear-gradient(135deg, #95BF47 0%, #5E8E3E 100%);
    color: white;
}

.sector-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.sector-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.sector-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.sector-card li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.9;
}

.sector-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.sector-clusters {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Sectors Extended Grid */

.sectors-extended {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.sector-mini {
    background: white;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.sector-mini:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.sector-mini-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #95bf4712;
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.sector-mini h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.sector-mini p {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 12px;
}

.sector-mini-cluster {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   E-commerce Section
   ======================================== */

.ecommerce-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.ecom-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.ecom-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.ecom-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.ecom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.ecom-problem, .ecom-solution {
    padding: 36px;
    border-radius: var(--radius);
}

.ecom-problem {
    background: #f5f8f0;
    border: 1px solid #c8dfa0;
}

.ecom-solution {
    background: var(--primary);
    color: white;
}

.ecom-problem h3, .ecom-solution h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.ecom-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ecom-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ecom-icon-bad {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(224, 122, 58, 0.15);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ecom-icon-good {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(109, 214, 160, 0.25);
    color: #6dd6a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.ecom-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.ecom-solution .ecom-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Packs */

.packs-header {
    text-align: center;
    margin-bottom: 32px;
}

.packs-header h3 {
    font-size: 1.6rem;
    color: var(--primary);
}

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

.pack-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

.pack-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pack-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.pack-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pack-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.pack-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pack-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pack-features li {
    padding-left: 24px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.pack-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent-text);
    font-weight: 700;
}

/* ========================================
   Process
   ======================================== */

.process {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.process-step {
    padding: 36px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.process-step:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-text);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.process-step:hover .step-number {
    opacity: 1;
}

.process-step h3 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ========================================
   Why Us
   ======================================== */

.why-us {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.why-card {
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.why-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-text);
    margin-bottom: 16px;
}

.why-card h3 {
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 80px 0;
    background: var(--primary);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ========================================
   Contact
   ======================================== */

.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item h4 {
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 60px 0 30px;
    background: var(--primary);
    color: white;
}

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

.footer .logo-east {
    color: white;
}

.footer .logo-global {
    color: rgba(255, 255, 255, 0.7);
}

.footer .logo-tagline {
    color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-links li {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-on-dark);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ========================================
   Trust Bar (Logos)
   ======================================== */

.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 24px;
}

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

.trust-logo-item {
    transition: opacity var(--transition);
}

.trust-logo-item:hover {
    opacity: 0.8;
}

/* ========================================
   Counters
   ======================================== */

.counters-section {
    padding: 60px 0;
    background: var(--primary);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-item {
    color: white;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-on-dark);
    line-height: 1;
}

.counter-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-on-dark);
}

.counter-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ========================================
   FAQ
   ======================================== */

.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-light);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-text);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   Blog / Ressources
   ======================================== */

.blog-section {
    padding: 80px 0;
}

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

.blog-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.blog-img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-text);
    background: #95bf4712;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-text);
}

/* ========================================
   WhatsApp Float
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ========================================
   Cookie Banner
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--primary);
    padding: 16px 24px;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    padding: 8px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-cookie-accept:hover {
    background: var(--accent-hover);
}

.btn-cookie-decline {
    padding: 8px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-cookie-decline:hover {
    border-color: white;
    color: white;
}

/* ========================================
   Modals (Legal / Privacy)
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--border);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.modal-body h3 {
    font-size: 1.1rem;
    margin: 20px 0 8px;
    color: var(--primary);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Footer Legal */
.footer-legal {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-on-dark);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   Scroll Animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

/* Navbar passe en mode hamburger à 1024px pour ne jamais se contracter */
@media (max-width: 1024px) {
    /* Logo a gauche, langue + hamburger groupes a droite.
       Sans les `order`, le hamburger reste colle au logo (ordre du DOM)
       et seule la pastille de langue part a droite. */
    .nav-toggle { display: flex; order: 3; }

    .lang-toggle { order: 2; margin-left: auto; margin-right: 14px; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-menu.active { display: flex; }
}

@media (max-width: 968px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: 1fr; }
    .sectors-extended { grid-template-columns: repeat(2, 1fr); }
    .ecom-grid { grid-template-columns: 1fr; }
    .packs-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 96px 0 48px; }

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

    .hero-image {
        order: -1;
    }

    .ecom-image img { height: 200px; }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider { display: none; }

    .problem-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .sectors-extended { grid-template-columns: 1fr; }
    .packs-grid { grid-template-columns: 1fr; }

    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem); }

    .logo-main { font-size: 1.3rem; }
    .logo-global { font-size: 0.95rem; }
    .logo-tagline { font-size: 0.55rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .logo-tagline { display: none; }
    .logo-img { height: 30px; }
    .footer .logo-img { height: 34px; }
    .logo-main { font-size: 1.2rem; }
    .logo-global { font-size: 0.85rem; }

    .hero { padding: 80px 0 40px; }
    .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
    .hero-subtitle { font-size: 1rem; }

    .problem-section, .services, .sectors, .ecommerce-section, .process, .why-us, .contact, .faq-section, .blog-section {
        padding: 60px 0;
    }

    .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .counter-number { font-size: 2.2rem; }
    .counters-section { padding: 40px 0; }

    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
    .gallery-item--large { grid-column: 1 / -1; }

    .trust-logos { gap: 24px; }

    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; }

    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 24px; height: 24px; }

    .modal-content { padding: 24px; }

    .section-header { margin-bottom: 36px; }

    .problem-card, .solution-card { padding: 28px; }
    .service-card { padding: 24px; }
    .sector-card { padding: 32px; }
    .sector-mini { padding: 20px; }
    .process-step { padding: 24px; }
    .why-card { padding: 28px; }
    .contact-form { padding: 24px; }
    .pack-card { padding: 24px; }

    .step-number { font-size: 2rem; }
    .sector-card h3 { font-size: 1.2rem; }
    .packs-header h3 { font-size: 1.3rem; }

    .cta-section { padding: 50px 0; }
    .cta-content p { font-size: 1rem; }
    .btn-large { padding: 14px 28px; font-size: 1rem; }

    .footer { padding: 40px 0 24px; }
    .footer-grid { gap: 32px; margin-bottom: 32px; }
}

/* ========================================
   MULTI-PAGE STYLES
   ======================================== */

/* Page Hero (sub-pages header) */
.page-hero {
    background: var(--primary);
    padding: 88px 0 48px;
    color: white;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-text);
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Page content wrapper */
.page-content {
    min-height: 60vh;
}

/* Services highlight (homepage condensed) */
.services-highlight {
    padding: 80px 0;
}

.services-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.services-highlight .view-all {
    text-align: center;
    margin-top: 12px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-text);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: gap 0.3s;
}

.view-all-link:hover {
    gap: 14px;
}

/* Blog card images */
.blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Active nav link */
.nav-menu a.active {
    color: var(--accent-text);
}

/* Responsive multi-page */
@media (max-width: 968px) {
    .services-highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 76px 0 36px;
    }
    .page-hero h1 {
        font-size: 1.8rem;
    }
    .page-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 90px 0 32px;
    }
    .page-hero h1 {
        font-size: 1.5rem;
    }
    .blog-img {
        height: 160px;
    }
}

/* Hero reassurance line */
.hero-reassurance {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-light, #6b7280);
    font-weight: 500;
}
