/* ==========================================================================
   TERJIT PÊCHE SARL — Feuille de style principale
   Couleurs : bleu marine (confiance), turquoise océan, doré (qualité)
   ========================================================================== */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-var.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Cairo";
    src: url("../fonts/cairo-arabic-var.woff2") format("woff2");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
    --navy-950: #04121f;
    --navy-900: #061a30;
    --navy-800: #0a2540;
    --navy-700: #11406b;
    --ocean: #0d6c8a;
    --teal: #17a2b8;
    --teal-soft: #e6f5f7;
    --gold: #e3a24f;
    --gold-hover: #eeb466;
    --gold-light: #f2c784;
    --ink: #0d1f33;
    --text: #3a4d61;
    --muted: #64768a;
    --line: #e1e8ef;
    --soft: #f3f6f9;
    --white: #ffffff;
    --success: #12805c;
    --danger: #c0392b;

    --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 4px 14px rgba(10, 37, 64, .06);
    --shadow: 0 18px 40px -18px rgba(10, 37, 64, .35);
    --shadow-lg: 0 30px 60px -25px rgba(4, 18, 31, .45);
    --header-h: 76px;
    --container: 1200px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
    transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
    white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(227, 162, 79, .7); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .14); color: var(--white); }
.btn--whatsapp { background: #1fa855; color: var(--white); margin-top: 8px; }
.btn--whatsapp:hover { background: #18934a; color: var(--white); }
.btn--sm { padding: .6em 1.15em; font-size: .875rem; }
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- Typo sections ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6em;
    font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ocean); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-light); }
.hero .eyebrow::before { display: none; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227, 162, 79, .25); }

.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }
.section-head--left { text-align: start; margin-inline-start: 0; }
.section-head--left .section-lead { margin-inline-start: 0; }
.section-head--light .section-title { color: var(--white); }
.section-head--light .section-lead { color: rgba(255, 255, 255, .75); }

/* ---------- En-tête ---------- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    transition: background-color .3s, box-shadow .3s, height .3s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled, .header.is-open { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px -12px rgba(10, 37, 64, .35); backdrop-filter: blur(10px); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.logo-mark { width: 48px; height: 48px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .12em; }
.brand__sub { font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .34em; margin-top: 5px; color: var(--gold-light); }
.header.is-scrolled .brand, .header.is-open .brand { color: var(--navy-800); }
.header.is-scrolled .brand__sub, .header.is-open .brand__sub { color: var(--ocean); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
    display: block; padding: 8px 14px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .9);
    transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, .12); }
.header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .nav__link:hover, .nav__link.is-active { color: var(--ocean); background: var(--teal-soft); }
.header:not(.is-scrolled) .nav__link.is-active { color: var(--white); background: rgba(255, 255, 255, .14); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.lang-switch a {
    padding: 4px 10px; border-radius: 999px; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
    color: rgba(255, 255, 255, .85); letter-spacing: .05em;
}
.lang-switch a[aria-current="true"] { background: var(--white); color: var(--navy-800); }
.header.is-scrolled .lang-switch, .header.is-open .lang-switch { background: var(--soft); }
.header.is-scrolled .lang-switch a, .header.is-open .lang-switch a { color: var(--muted); }
.header.is-scrolled .lang-switch a[aria-current="true"], .header.is-open .lang-switch a[aria-current="true"] { background: var(--navy-800); color: var(--white); }

.nav-toggle {
    display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: rgba(255, 255, 255, .14); color: var(--white); align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__open { display: inline-flex; }
.nav-toggle__close { display: none; }
.header.is-scrolled .nav-toggle, .header.is-open .nav-toggle { background: var(--soft); color: var(--navy-800); }
.header.is-open .nav-toggle__open { display: none; }
.header.is-open .nav-toggle__close { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
    position: relative; display: flex; align-items: center; color: var(--white);
    padding: calc(var(--header-h) + 56px) 0 150px; overflow: hidden; background: var(--navy-900);
}
/* Fond : dégradé marine avec halos turquoise et doré */
.hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(760px 480px at 85% 25%, rgba(23, 162, 184, .22), transparent 65%),
        radial-gradient(620px 420px at 0% 100%, rgba(227, 162, 79, .14), transparent 65%),
        linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 120px; opacity: .08;
    background: repeating-radial-gradient(circle at 50% 160%, transparent 0 18px, #fff 18px 19px);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero__content { position: relative; z-index: 1; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 430px; }
.hero__photo {
    display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%;
    border-radius: 28px; border: 6px solid rgba(255, 255, 255, .1);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
}
.hero__badge {
    position: absolute; inset-inline-start: -42px; bottom: 44px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    width: 138px; height: 138px; border-radius: 50%;
    background: var(--gold); color: var(--navy-900); border: 6px solid var(--navy-900);
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .6);
}
.hero__badge strong { font-family: "Montserrat", var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.hero__badge span { font-size: .74rem; font-weight: 700; line-height: 1.25; max-width: 92px; margin-top: 6px; }
.hero__title { color: var(--white); font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 800; max-width: 760px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .88); }
.hero__trust .icon { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Chiffres clés ---------- */
.stats { position: relative; z-index: 2; margin-top: -86px; }
.stats__card {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 34px 16px;
}
.stat { text-align: center; padding: 6px 18px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.stat__number { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.75rem); color: var(--navy-800); line-height: 1.1; letter-spacing: -.02em; }
.stat__suffix { color: var(--gold); }
.stat__label { margin: 6px 0 0; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- La société ---------- */
.about { padding-top: 120px; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; padding: 0 0 70px; padding-inline-end: 40px; }
.about__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4 / 3.4; }
.about__img--second { position: absolute; inset-inline-end: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid var(--white); }
.about__badge {
    position: absolute; inset-inline-start: -18px; top: 28px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    width: 138px; height: 138px; border-radius: 50%;
    background: var(--navy-800); color: var(--white); box-shadow: var(--shadow);
    border: 5px solid var(--white);
}
.about__badge strong { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1; color: var(--gold-light); }
.about__badge span { font-size: .74rem; line-height: 1.25; max-width: 92px; margin-top: 6px; font-weight: 500; }
.about__content > p { color: var(--text); }
.checklist { margin: 26px 0 34px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.5; }
.checklist__icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 26px; height: 26px; border-radius: 50%; background: var(--teal-soft); color: var(--ocean); margin-top: -1px;
}
.checklist__icon .icon { width: 15px; height: 15px; stroke-width: 2.6; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 18, 31, .45)); }
.service-card__num {
    position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1;
    font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .08em;
    color: var(--white); background: rgba(4, 18, 31, .55); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.service-card__body { position: relative; padding: 38px 24px 26px; flex: 1; }
.service-card__icon {
    position: absolute; top: -26px; inset-inline-start: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--gold-light);
    box-shadow: 0 10px 20px -8px rgba(10, 37, 64, .6); border: 3px solid var(--white);
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- Produits ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
    border-radius: var(--radius); overflow: hidden; background: var(--white);
    border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 22px 24px 26px; }
.product-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .82rem; font-weight: 600; color: var(--navy-700); background: var(--teal-soft); padding: 5px 12px; border-radius: 999px; line-height: 1.4; }

.formats {
    margin-top: 48px; padding: 30px 34px; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: var(--white);
    display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center;
}
.formats__title { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-size: 1.1rem; margin: 0; }
.formats__title .icon { color: var(--gold); width: 28px; height: 28px; }
.formats__list { display: flex; flex-wrap: wrap; gap: 10px 22px; flex: 1 1 340px; }
.formats__list li { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.formats__list .icon { width: 16px; height: 16px; color: var(--gold); stroke-width: 2.6; }
.products__note { text-align: center; margin: 30px auto 0; color: var(--muted); max-width: 760px; }
.products__note a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ocean); white-space: nowrap; }
.products__note .icon { width: 1em; height: 1em; }

/* ---------- Méthode ---------- */
.process { overflow: hidden; }
.process::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background:
        radial-gradient(600px 300px at 10% 0%, rgba(23, 162, 184, .22), transparent 70%),
        radial-gradient(500px 300px at 95% 100%, rgba(227, 162, 79, .14), transparent 70%);
}
.process .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 64px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(242, 199, 132, .55) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__media {
    position: relative; z-index: 1; display: inline-block; width: 128px; height: 128px; margin-bottom: 20px;
    border-radius: 50%; padding: 4px; background: linear-gradient(140deg, var(--gold-light), rgba(23, 162, 184, .8));
    box-shadow: 0 0 0 8px var(--navy-900), 0 18px 30px -12px rgba(0, 0, 0, .6);
}
.step__media img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--navy-900); }
.step__icon {
    position: absolute; inset-inline-end: -4px; bottom: 2px;
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--gold); color: var(--navy-900); border: 3px solid var(--navy-900);
}
.step__icon .icon { width: 20px; height: 20px; }
.step__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--teal); margin-bottom: 6px; }
.step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .93rem; color: rgba(255, 255, 255, .68); margin: 0; line-height: 1.6; }

/* ---------- Export / marchés ---------- */
.markets { position: relative; padding: 110px 0; color: var(--white); overflow: hidden; background: var(--navy-900); }
.markets__bg { position: absolute; inset: 0; }
.markets__bg img { width: 100%; height: 100%; object-fit: cover; }
.markets__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 18, 31, .95) 0%, rgba(6, 26, 48, .88) 50%, rgba(6, 26, 48, .78) 100%); }
.markets__inner { position: relative; display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.markets__inner .section-head { margin-bottom: 0; }
.markets__grid { display: grid; gap: 18px; }
.market-card {
    display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: start;
    padding: 24px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
    transition: background-color .3s, transform .3s var(--ease);
}
.market-card:hover { background: rgba(255, 255, 255, .12); transform: translateX(6px); }
.market-card__icon {
    grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; border-radius: 14px; background: var(--gold); color: var(--navy-900);
}
.market-card__icon .icon { width: 26px; height: 26px; }
.market-card h3 { color: var(--white); font-size: 1.25rem; margin: 2px 0 2px; }
.market-card p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .96rem; line-height: 1.6; }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item {
    display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--white); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.why-item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.why-item__icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 14px; background: var(--teal-soft); color: var(--ocean);
}
.why-item__icon .icon { width: 25px; height: 25px; }
.why-item h3 { font-size: 1.06rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* ---------- Société agréée et vérifiable ---------- */
.trust__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.trust__figure { margin: 0 0 24px; }
.trust__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.trust__figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.legal-card {
    padding: 28px; border-radius: var(--radius-lg); color: var(--white);
    background: radial-gradient(380px 200px at 100% 0%, rgba(23, 162, 184, .28), transparent 70%), var(--navy-800);
}
.legal-card h3 { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.15rem; margin-bottom: 16px; }
.legal-card h3 .icon { color: var(--gold); width: 24px; height: 24px; }
.legal-list { margin: 0 0 22px; display: grid; gap: 0; }
.legal-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.legal-list dt { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.legal-list dd { margin: 0; font-weight: 700; text-align: end; }
.legal-list dd.is-pending { font-weight: 500; font-style: italic; color: var(--gold-light); }
.trust__subtitle { font-size: 1.3rem; margin-bottom: 18px; }
.verify-steps { display: grid; gap: 14px; }
.verify-step {
    display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
    padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
}
.verify-step__num {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px;
    background: var(--teal-soft); color: var(--ocean); font-family: "Montserrat", var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.verify-step h4 { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin: 2px 0 4px; }
.verify-step p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.6; }

/* ---------- Bandeau devis ---------- */
.cta-band { padding: 0 0 0; position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--soft); }
.cta-band__inner {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 56px; border-radius: var(--radius-lg); color: var(--white); overflow: hidden;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(23, 162, 184, .35), transparent 70%),
        linear-gradient(120deg, var(--navy-800), var(--navy-700));
    box-shadow: var(--shadow-lg);
}
.cta-band__inner h2 { color: var(--white); font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 8px; max-width: 640px; }
.cta-band__inner p { margin: 0; color: rgba(255, 255, 255, .78); }

/* ---------- Galerie ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -20px 0 36px; }
.filter-btn {
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
    font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--text);
    transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--ocean); color: var(--ocean); }
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.gallery-item { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: #dde5ec; }
.gallery-item[hidden] { display: none; }
.gallery-link { display: block; position: relative; }
.gallery-link img { width: 100%; height: auto; transition: transform .5s var(--ease), filter .3s; }
.gallery-link::after {
    content: ""; position: absolute; inset: 0; background: rgba(6, 26, 48, .0); transition: background-color .3s;
}
.gallery-link:hover img { transform: scale(1.04); }
.gallery-link:hover::after { background: rgba(6, 26, 48, .18); }

.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(4, 12, 22, .94);
    display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox__figure figcaption { color: rgba(255, 255, 255, .7); font-size: .9rem; margin-top: 14px; text-align: center; }
.lightbox__btn {
    position: absolute; display: inline-flex; align-items: center; justify-content: center;
    width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: var(--white);
    transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-card {
    margin-top: 30px; padding: 30px; border-radius: var(--radius-lg);
    background: var(--navy-800); color: rgba(255, 255, 255, .85);
    background-image: radial-gradient(380px 200px at 100% 0%, rgba(23, 162, 184, .28), transparent 70%);
}
.contact-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 8px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--gold-light);
}
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-list div { display: flex; flex-direction: column; line-height: 1.45; }
.contact-list small { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 600; margin-bottom: 2px; }
.contact-list a, .contact-list span { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-list div > a { align-self: flex-start; }
.contact-list a:hover { color: var(--gold-light); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card__title { font-size: 1.3rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
    padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fbfcfd;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364768a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa8b6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); background: var(--white); box-shadow: 0 0 0 4px rgba(13, 108, 138, .12); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { margin: 6px 0 0; font-size: .82rem; color: var(--danger); font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; font-size: .9rem !important; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy-800); flex-shrink: 0; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.form-status { display: none; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; font-size: .95rem; }
.form-status.is-success { display: block; background: #e6f6ef; color: var(--success); border: 1px solid #b6e3cf; }
.form-status.is-error { display: block; background: #fdecea; color: var(--danger); border: 1px solid #f5c2bc; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 56px; padding-bottom: 56px; }
.footer__brand p { margin: 22px 0 20px; max-width: 420px; line-height: 1.7; }
.footer .brand { color: var(--white); }
.footer__title { color: var(--white); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__contact a { color: rgba(255, 255, 255, .72); }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold-light); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .icon { color: var(--gold); width: 18px; height: 18px; margin-top: 4px; }
.origin-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid rgba(242, 199, 132, .35); color: var(--gold-light); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.origin-badge .icon { width: 15px; height: 15px; }
.footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem;
}
.footer__bottom p { margin: 0; }
.lang-switch--footer { background: rgba(255, 255, 255, .06); }
.lang-switch--footer a { font-weight: 600; letter-spacing: 0; padding: 4px 12px; }
.lang-switch--footer a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: var(--white); }

/* ---------- Boutons flottants ---------- */
.wa-float, .to-top {
    position: fixed; inset-inline-end: 20px; z-index: 90; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
    transition: transform .25s var(--ease), opacity .25s, visibility .25s;
}
.wa-float { bottom: 22px; width: 58px; height: 58px; background: #1fa855; color: var(--white); }
.wa-float:hover { color: var(--white); transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }
.to-top { bottom: 22px; width: 46px; height: 46px; background: var(--navy-800); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(10px); }
.wa-float + .to-top { bottom: 92px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--gold-light); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav__link { padding: 8px 10px; font-size: .88rem; }
    .header__cta { display: none; }
}

@media (max-width: 1000px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    /* 9 services sur 2 colonnes : la dernière carte est centrée */
    .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .section { padding: 80px 0; }
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 18px;
        background: var(--white); padding: 18px 24px 28px; box-shadow: 0 24px 30px -20px rgba(10, 37, 64, .35);
        border-top: 1px solid var(--line);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav__link, .header.is-scrolled .nav__link, .header:not(.is-scrolled) .nav__link.is-active { color: var(--ink); padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
    .nav__link:hover, .nav__link.is-active { background: var(--soft); color: var(--ocean); }
    .nav__cta { display: inline-flex; }

    .about__grid, .contact__grid, .markets__inner, .trust__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__media { justify-self: center; max-width: 440px; }
    .hero__badge { inset-inline-start: -14px; }
    .about__media { max-width: 620px; margin: 0 auto; width: 100%; }
    .products-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
    .steps::before { top: 0; bottom: 0; inset-inline-start: 46px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(242, 199, 132, .55) 0 8px, transparent 8px 16px); }
    .step { display: grid; grid-template-columns: 92px 1fr; column-gap: 22px; text-align: start; padding: 0 0 34px; }
    .step__media { grid-row: span 3; width: 92px; height: 92px; margin-bottom: 0; }
    .step__icon { width: 34px; height: 34px; inset-inline-end: -8px; bottom: -2px; }
    .step__icon .icon { width: 16px; height: 16px; }
    .step__num { margin-top: 10px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    body { font-size: 1rem; }
    .container { padding-left: 16px; padding-right: 16px; }
    .section { padding: 68px 0; }
    .section-head { margin-bottom: 40px; }
    .hero { padding-bottom: 130px; min-height: auto; }
    .hero__photo { aspect-ratio: 1 / 1; border-width: 4px; border-radius: 22px; }
    .hero__badge { width: 108px; height: 108px; bottom: -18px; inset-inline-start: 10px; border-width: 4px; }
    .hero__badge strong { font-size: 1.8rem; }
    .hero__badge span { font-size: .62rem; max-width: 76px; }
    .legal-card { padding: 22px 18px; }
    .legal-list div { flex-direction: column; gap: 2px; }
    .legal-list dd { text-align: start; }
    .verify-step { padding: 16px; gap: 12px; grid-template-columns: 40px 1fr; }
    .verify-step__num { width: 40px; height: 40px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .stats { margin-top: -80px; }
    .stats__card { grid-template-columns: repeat(2, 1fr); padding: 14px 6px; }
    .stat { padding: 18px 8px; }
    .stat + .stat::before { display: none; }
    .stat:nth-child(odd) { border-right: 1px solid var(--line); }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .about { padding-top: 84px; }
    .about__media { padding: 0 0 56px; }
    .about__img--second { width: 56%; border-width: 4px; }
    .about__badge { width: 104px; height: 104px; inset-inline-start: -6px; top: -16px; border-width: 4px; }
    .about__badge strong { font-size: 1.7rem; }
    .about__badge span { font-size: .62rem; max-width: 76px; }
    .services-grid, .products-grid, .why-grid { grid-template-columns: 1fr; }
    .service-card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
    .formats { padding: 26px 22px; }
    .markets { padding: 76px 0; }
    .market-card { padding: 20px; gap: 4px 16px; }
    .market-card__icon { width: 46px; height: 46px; }
    .gallery-grid { columns: 2 140px; column-gap: 10px; }
    .gallery-item { margin-bottom: 10px; }
    .lightbox { padding: 64px 10px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
    .lightbox__prev { left: calc(50% - 62px); }
    .lightbox__next { right: calc(50% - 62px); }
    .form-card { padding: 26px 20px; }
    .form-grid { grid-template-columns: 1fr; }
    /* 16 px minimum : évite le zoom automatique de l'iPhone quand on touche un champ */
    .field input, .field select, .field textarea { font-size: 16px; }
    .lang-switch a { padding: 7px 11px; }
    .contact-card { padding: 24px 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .brand__name { font-size: 1.25rem; }
    .brand__sub { font-size: .6rem; letter-spacing: .28em; }
    .logo-mark { width: 42px; height: 42px; }
    .header__actions { gap: 8px; }
    .cta-band__inner { padding: 34px 22px; }
    .cta-band__inner .btn { width: 100%; }
}

@media (max-width: 380px) {
    .brand__name { font-size: 1.1rem; }
    .brand__sub { font-size: .52rem; }
    .logo-mark { width: 38px; height: 38px; }
    .brand { gap: 8px; }
}
@media (max-width: 330px) {
    .brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .header, .wa-float, .to-top, .lightbox, .gallery-filters, .contact-form { display: none !important; }
    .hero { min-height: auto; padding: 40px 0; }
}

/* ==========================================================================
   Version arabe (écriture de droite à gauche)
   ========================================================================== */
html[dir="rtl"] {
    --font-head: "Cairo", "Montserrat", "Segoe UI", Tahoma, Arial, sans-serif;
    --font-body: "Cairo", "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
}
html[dir="rtl"] body { line-height: 1.85; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.45; }
html[dir="rtl"] .hero__title { line-height: 1.35; }
/* L'arabe est une écriture liée : jamais d'espacement entre les lettres */
html[dir="rtl"] body *:not(.brand__name):not(.brand__sub) { letter-spacing: 0 !important; }
/* Le logo reste en caractères latins */
html[dir="rtl"] .brand__name, html[dir="rtl"] .brand__sub { font-family: "Montserrat", Arial, sans-serif; }
html[dir="rtl"] .eyebrow { font-size: .92rem; }
html[dir="rtl"] .stat__label, html[dir="rtl"] .chips li { font-size: .95rem; }
/* Halo de la bannière inversé : la photo est à gauche */
html[dir="rtl"] .hero__bg {
    background:
        radial-gradient(760px 480px at 15% 25%, rgba(23, 162, 184, .22), transparent 65%),
        radial-gradient(620px 420px at 100% 100%, rgba(227, 162, 79, .14), transparent 65%),
        linear-gradient(200deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
html[dir="rtl"] .hero__badge span { font-size: .8rem; }
html[dir="rtl"] .markets__bg::after { background: linear-gradient(270deg, rgba(4, 18, 31, .95) 0%, rgba(6, 26, 48, .88) 50%, rgba(6, 26, 48, .78) 100%); }
html[dir="rtl"] .market-card:hover { transform: translateX(-6px); }
/* Les flèches pointent vers la gauche */
html[dir="rtl"] .icon--arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .icon--arrow { transform: scaleX(-1) translateX(3px); }
/* Formulaire */
html[dir="rtl"] .field select { background-position: left 12px center; padding-right: 14px; padding-left: 40px; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }

/* ---------- Crédits photos (licences libres) ---------- */
.footer__credits { padding-bottom: 22px; font-size: .78rem; color: rgba(255, 255, 255, .45); }
.footer__credits p { margin: 0; }
.footer__credits a { color: rgba(255, 255, 255, .62); text-decoration: underline; }
/* Bandeau contact placé entre deux sections à fond gris clair */
.section--soft + .cta-band { background: var(--soft); }
/* Sur petit écran, les longs boutons passent à la ligne au lieu de déborder */
.trust__grid > * { min-width: 0; }
.legal-card .btn { white-space: normal; text-align: center; }

/* ---------- Carte officielle d'exportateur ---------- */
.legal-card { position: relative; border: 1px solid rgba(242, 199, 132, .35); }
.legal-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.legal-card__head h3 { margin: 0; font-size: 1.2rem; }
.legal-card__seal {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy-900);
    box-shadow: 0 0 0 5px rgba(227, 162, 79, .2);
}
.legal-card__seal .icon { width: 26px; height: 26px; }
.legal-card__country { margin: 0 0 2px; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-light); font-weight: 600; }
.legal-card__badge {
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 5px 12px; border-radius: 999px;
    background: rgba(31, 168, 85, .18); border: 1px solid rgba(126, 226, 168, .35); color: #8ce6b1; font-weight: 700; font-size: .85rem;
}
.legal-card__badge .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.legal-card .legal-list { margin-bottom: 0; }
.legal-card .legal-list div { flex-direction: column; align-items: flex-start; gap: 2px; }
.legal-card .legal-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-card .legal-list dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.legal-card .legal-list dd { text-align: start; font-size: 1rem; }
.legal-card + .trust__figure { margin: 24px 0 0; }
