/* ─────────────────────────── TOKENS ─────────────────────────── */
:root {
  --forest: #162b1c;
  --bark: #2e1e0f;
  --cork: #7a5c2e;
  --amber: #c97b2a;
  --gold: #e4a84b;
  --cream: #f4ede0;
  --parchment: #ede3d0;
  --white: #faf8f4;
  --muted: #9e8e76;
  --text: #231a0d;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-ui: 'Barlow', sans-serif;
  --ff-cond: 'Barlow Condensed', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--ff-ui);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─────────────────────────── SCROLLBAR ──────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--parchment);
}

::-webkit-scrollbar-thumb {
  background: var(--cork);
  border-radius: 3px;
}

/* ─────────────────────────── NAV ────────────────────────────── */
nav {
  --nav-pad-y: 1.2rem;
  --nav-pad-x: 4rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: var(--nav-pad-y) var(--nav-pad-x);
  background: rgba(22, 43, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 168, 75, 0.15);
  transition: padding 0.4s var(--ease-out);
}

nav.is-compact {
  --nav-pad-y: 0.85rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 auto;
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.nav-logo:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

.nav-logo-img {
  height: 52px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo span {
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(1rem, 2vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--ff-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.7);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-inline-start: 0.75rem;
  flex-shrink: 0;
  font-family: var(--ff-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--amber);
  color: var(--forest);
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(228, 168, 75, 0.2);
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-links a:focus-visible,
.nav-cta:focus-visible,
.lang-btn:focus-visible,
.lang-select:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ─────────────────────────── HERO ───────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--forest);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Cork texture + light gradient overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(122, 92, 46, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(201, 123, 42, 0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Diagonal slice */
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

/* Mirror diagonal slice for RTL */
html[dir="rtl"] #hero::after {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10rem 4rem 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}

.hero-tag {
  font-family: var(--ff-cond);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--amber);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(244, 237, 224);
  max-width: 400px;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--forest);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.2s;
}

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

.btn-primary svg {
  flex-shrink: 0;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--ff-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1.5px solid rgba(244, 237, 224, 0.25);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--cream);
}

.hero-stats {
  align-self: end;
  padding-bottom: 2rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}

.stat-num {
  font-family: var(--ff-cond);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 237, 224);
  margin-top: 0.35rem;
}

.stat-div {
  width: 100%;
  grid-column: 1/-1;
  height: 1px;
  background: rgba(244, 237, 224, 0.1);
}

/* Floating badge */
.hero-badge {
  position: absolute;
  top: 8rem;
  right: 4rem;
  width: 166px;
  height: 166px;
  border: 1.5px solid rgb(228, 167, 75);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  animation: spin-slow 18s linear infinite;
}

.hero-badge-inner {
  text-align: center;
}

.hero-badge span {
  font-family: var(--ff-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  line-height: 1.4;
}

.hero-badge .year {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ─────────────────── HERO BACKGROUND SLIDESHOW ──────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* Diagonal clip: image covers right ~60%, cut from top-40% left → bottom-right */
  clip-path: polygon(46% 0%, 100% 0%, 100% 100%, 30% 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* Ken-Burns subtle zoom */
  transform: scale(1.08);
  transition:
    opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Darkening veil so text remains readable */
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(22, 43, 28, 0.88) 0%,
      rgba(22, 43, 28, 0.55) 35%,
      rgba(22, 43, 28, 0.30) 65%,
      rgba(22, 43, 28, 0.18) 100%);
  pointer-events: none;
}

/* ─── ARABIC (RTL) diagonal clip — TWEAK HERE for Arabic layout ───
   Image covers LEFT ~60%, diagonal cuts top-right → bottom-left.
   This rule applies on ALL screen sizes (desktop + mobile).
   ─────────────────────────────────────────────────────────────── */
html[dir="rtl"] .hero-slideshow {
  clip-path: polygon(0% 0%, 54% 0%, 70% 100%, 0% 100%);
}

/* Slideshow dots indicator */
.hero-slideshow-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  z-index: 3;
  pointer-events: none;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(228, 168, 75, 0.35);
  border: 1.5px solid rgba(228, 168, 75, 0.6);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.hero-dot.is-active {
  background: var(--gold);
  transform: scale(1.4);
  border-color: var(--gold);
}

/* ─────────────────────────── SECTION UTILS ──────────────────── */
section {
  position: relative;
}

.section-tag {
  font-family: var(--ff-cond);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--amber);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--forest);
}

.section-title em {
  font-style: italic;
  color: var(--cork);
}

/* ─────────────────────────── À PROPOS ───────────────────────── */
#apropos {
  padding: 8rem 4rem;
  background: var(--white);
}

.apropos-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.apropos-visual {
  margin-top: 3rem;
  position: relative;
}

.apropos-card {
  background: var(--forest);
  border-radius: 6px;
  padding: 2.5rem;
  color: var(--cream);
}

.apropos-card-label {
  font-family: var(--ff-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.apropos-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(255, 255, 255);
}

.apropos-card-divider {
  width: 100%;
  height: 1px;
  background: rgba(244, 237, 224, 0.12);
  margin: 1.5rem 0;
}

.apropos-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.meta-key {
  font-family: var(--ff-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.meta-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
  margin-top: 0.2rem;
  direction: ltr;
  /* prevents "DA 000 175 351" reversal */
}

[dir="rtl"] .meta-val {
  text-align: right;
  /* re-aligns with the label above in Arabic */
}


.apropos-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4a3a28;
  margin-bottom: 1.5rem;
}

.apropos-text strong {
  color: var(--forest);
  font-weight: 600;
}

.highlight-box {
  border-left: 3px solid var(--amber);
  padding: 1.2rem 1.5rem;
  background: var(--parchment);
  border-radius: 0 4px 4px 0;
  margin: 2rem 0;
}

.highlight-box p {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.6;
}

.info-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.pill {
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  background: var(--parchment);
  border: 1.5px solid rgba(122, 92, 46, 0.2);
  border-radius: 20px;
  color: var(--cork);
}

/* ─── GGR Group Affiliation Badge ──────────────────────────── */
.apropos-group-badge {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(22, 43, 28, 0.04) 0%, rgba(201, 123, 42, 0.07) 100%);
  border: 1.5px solid rgba(201, 123, 42, 0.25);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  margin-top: 1.8rem;
}

.apropos-group-badge-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(201, 123, 42, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apropos-group-badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
}

.apropos-group-badge-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.apropos-group-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.apropos-group-badge-label {
  font-family: var(--ff-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.apropos-group-badge-text {
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
}

.apropos-group-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
  margin-top: 0.3rem;
  transition: opacity 0.2s;
}

.apropos-group-badge-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ─────────────────────────── PRODUITS ───────────────────────── */
#produits {
  background: var(--forest);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

#produits::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
}

#produits::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--parchment);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.produits-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.produits-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.produits-header .section-title {
  color: var(--cream);
}

.produits-header .section-tag {
  color: var(--gold);
}

.produits-header .section-tag::before {
  background: var(--gold);
}

.produits-intro {
  max-width: 360px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgb(255, 255, 255);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1.5px solid rgba(244, 237, 224, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem 2rem;
  border-right: 1.5px solid rgba(244, 237, 224, 0.06);
  border-bottom: 1.5px solid rgba(244, 237, 224, 0.06);
  transition: background 0.5s ease, box-shadow 0.5s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Background image layer — hidden by default */
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-image, url('images/hero/slide-1.jpg'));
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.08);
  z-index: 0;
}

/* Dark vignette overlay that fades out on hover */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(10, 28, 16, 0.82) 0%,
      rgba(10, 28, 16, 0.65) 60%,
      rgba(201, 123, 42, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* All direct children float above the image layers */
.product-card>* {
  position: relative;
  z-index: 2;
}

.product-card:hover {
  background: rgba(10, 28, 16, 0.15);
  box-shadow: 0 0 0 1.5px rgba(228, 168, 75, 0.22) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.product-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.product-card:hover::after {
  opacity: 1;
}

/* ── Mobile scroll-activated state (mirrors :hover) ─────────── */
.product-card.card-active {
  background: rgba(10, 28, 16, 0.15);
  box-shadow: 0 0 0 1.5px rgba(228, 168, 75, 0.22) inset,
    0 16px 48px rgba(0, 0, 0, 0.45);
}

.product-card.card-active::before {
  opacity: 1;
  transform: scale(1);
}

.product-card.card-active::after {
  opacity: 1;
}

.product-card:nth-child(3n) {
  border-right: none;
}

.product-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.product-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 123, 42, 0.15);
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 123, 42, 0.2);
}

.product-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--amber);
}

.product-name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgb(255, 255, 255);
}

.product-badge {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--ff-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(201, 123, 42, 0.35);
  color: var(--amber);
  border-radius: 20px;
}

/* ─────────────────────────── CAPACITÉS ──────────────────────── */
#capacites {
  background: var(--parchment);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

/* top: parchment coming from produits::after (--parchment) — no slice needed, same color */
#capacites::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--parchment);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
  z-index: 1;
  pointer-events: none;
}

#capacites::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bark);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.capacites-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.capacites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.cap-bar-item {
  margin-bottom: 2rem;
}

.cap-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.cap-bar-label {
  font-family: var(--ff-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.cap-bar-val {
  font-family: var(--ff-cond);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cork);
  direction: ltr;
}

.cap-track {
  width: 100%;
  height: 6px;
  background: rgba(122, 92, 46, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.cap-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cork) 0%, var(--amber) 100%);
  border-radius: 3px;
  transform-origin: left;
  animation: fill-bar 1.5s var(--ease-out) forwards;
  transform: scaleX(0);
}

@keyframes fill-bar {
  to {
    transform: scaleX(1);
  }
}

.cap-milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.milestone {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(122, 92, 46, 0.12);
}

.milestone:first-child {
  padding-top: 0;
}

.milestone:last-child {
  border-bottom: none;
}

.milestone-year {
  font-family: var(--ff-cond);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--amber);
  flex-shrink: 0;
  width: 70px;
  line-height: 1.1;
  direction: ltr;
}

.milestone-title {
  font-family: var(--ff-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.3rem;
}

.milestone-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #6b5535;
}

/* ─────────────────────────── CHIFFRES ───────────────────────── */
#chiffres {
  background: var(--bark);
  padding: 6rem 4rem;
  position: relative;
  overflow: hidden;
}

#chiffres::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(228,168,75,0.06)'/%3E%3C/svg%3E");
}

/* top diagonal: bark coming from capacites::after */
#chiffres::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.chiffres-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.chiffres-header {
  text-align: center;
  margin-bottom: 4rem;
}

.chiffres-header .section-title {
  color: var(--cream);
}

.chiffres-header .section-tag {
  justify-content: center;
  color: var(--gold);
}

.chiffres-header .section-tag::before {
  background: var(--gold);
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(228, 168, 75, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.chiffre-box {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(228, 168, 75, 0.1);
  border-bottom: 1px solid rgba(228, 168, 75, 0.1);
  transition: background 0.3s;
}

.chiffre-box:hover {
  background: rgba(228, 168, 75, 0.05);
}

.chiffre-box:nth-child(4n) {
  border-right: none;
}

.hero-badge .year {
  font-family: var(--ff-cond);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  direction: ltr;
  display: block;
}

.chiffre-num {
  font-family: var(--ff-cond);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  direction: ltr;
}

.chiffre-unit {
  font-family: var(--ff-cond);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber);
  direction: ltr;
}

.chiffre-label {
  font-family: var(--ff-cond);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.45);
  margin-top: 0.6rem;
  line-height: 1.4;
}

/* ─────────────────────────── SERVICES ───────────────────────── */
#services {
  background: var(--white);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

/* top: white coming from chiffres::after (--white) — matching, no visible cut */
#services::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
  z-index: 1;
  pointer-events: none;
}

#services::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--forest);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  max-width: 520px;
  margin-bottom: 4rem;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border: 1.5px solid rgba(122, 92, 46, 0.1);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service-item:hover {
  border-color: rgba(201, 123, 42, 0.35);
  box-shadow: 0 8px 32px rgba(122, 92, 46, 0.08);
  transform: translateY(-3px);
}

.service-num {
  font-family: var(--ff-cond);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(201, 123, 42, 0.2);
  flex-shrink: 0;
  line-height: 1;
  width: 40px;
  text-align: right;
  direction: ltr;
}

.service-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6b5535;
}

/* ─────────────────────────── QUALITÉ ────────────────────────── */
#qualite {
  background: linear-gradient(135deg, var(--forest) 0%, #0d2018 100%);
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

/* top diagonal: forest coming from services::after */
#qualite::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--forest);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

#qualite::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--parchment);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.qualite-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.qualite-text .section-title {
  color: var(--cream);
}

.qualite-text .section-tag {
  color: var(--gold);
}

.qualite-text .section-tag::before {
  background: var(--gold);
}

.qualite-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgb(244, 237, 224);
  margin-top: 1.5rem;
}

.qualite-points {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qualite-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.qualite-point-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.qualite-point p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgb(255, 255, 255);
}

.qualite-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 168, 75, 0.15);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: background 0.3s;
}

.cert-card:hover {
  background: rgba(228, 168, 75, 0.07);
}

.cert-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.9rem;
  background: rgba(201, 123, 42, 0.15);
  border: 1px solid rgba(201, 123, 42, 0.2);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.cert-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
}

.cert-title {
  font-family: var(--ff-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.cert-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgb(255, 255, 255);
}

/* ─────────────────────────── EXPORT ─────────────────────────── */
#export {
  background: var(--parchment);
  padding: 7rem 4rem;
  position: relative;
  overflow: hidden;
}

/* top: parchment from qualite::after */
#export::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--parchment);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
  z-index: 1;
  pointer-events: none;
}

#export::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--forest);
  clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.export-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.export-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.export-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #5a4022;
  margin-bottom: 1rem;
}

.export-countries {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.country-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 5px;
  border-left: 3px solid var(--amber);
  transition: transform 0.2s;
}

.country-row:hover {
  transform: translateX(6px);
}

.country-flag {
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(35, 26, 13, 0.15);
  box-shadow: 0 1px 2px rgba(35, 26, 13, 0.12);
  display: block;
}
.country-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.country-name {
  font-family: var(--ff-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

.country-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ─────────────────────────── CONTACT ────────────────────────── */
#contact {
  background: var(--forest);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

/* top: forest from export::after */
#contact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--forest);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  position: relative;
  z-index: 1;
}

.contact-left .section-title {
  color: var(--cream);
}

.contact-left .section-tag {
  color: var(--gold);
}

.contact-left .section-tag::before {
  background: var(--gold);
}

.contact-tagline {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgb(244, 237, 224);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-row-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 123, 42, 0.12);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(201, 123, 42, 0.2);
  transition: background 0.2s, border-color 0.2s;
}

a.contact-row-icon:hover {
  background: rgba(201, 123, 42, 0.25);
  border-color: var(--amber);
}

.contact-row-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--amber);
}

.contact-row-label {
  font-family: var(--ff-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.4);
  margin-bottom: 0.2rem;
}

.contact-row-val {
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.5;
  direction: ltr;
}

[dir="rtl"] .contact-row-val {
  text-align: left;
}

html[dir="rtl"] .contact-row-content {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .contact-row-label {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .contact-row--addr .contact-row-val {
  direction: rtl;
  text-align: right;
}

.contact-fb-link {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-fb-link:hover {
  color: var(--white);
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 168, 75, 0.12);
  border-radius: 8px;
  padding: 2.5rem;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.form-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.85rem;
  color: rgba(244, 237, 224, 0.45);
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-family: var(--ff-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.5);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 237, 224, 0.12);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(244, 237, 224, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(201, 123, 42, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.form-submit {
  width: 100%;
  background: var(--amber);
  color: var(--forest);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.form-submit:disabled {
  background: rgba(201, 123, 42, 0.3);
  color: rgba(22, 43, 28, 0.5);
  cursor: not-allowed;
  transform: none;
}

/* Inline form feedback banner */
#form-feedback {
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
#form-feedback.feedback--error {
  background: #fff3f3;
  border: 1px solid #e57373;
  color: #b71c1c;
}
#form-feedback.feedback--error ul {
  margin: 0.4rem 0 0 1.2rem;
  padding: 0;
}
#form-feedback.feedback--success {
  background: #f0faf2;
  border: 1px solid #66bb6a;
  color: #1b5e20;
}

/* Privacy consent row */
.form-privacy {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.form-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.form-privacy-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  border: 1.5px solid rgba(244, 237, 224, 0.35);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.form-privacy-label input[type="checkbox"]:checked {
  background: var(--amber);
  border-color: var(--amber);
}

.form-privacy-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 8px;
  border: 2px solid var(--forest);
  border-top: none;
  border-left: none;
  transform: translate(-50%, -55%) rotate(45deg);
}

.form-privacy-label span {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  color: rgba(244, 237, 224, 0.5);
  line-height: 1.5;
}

.form-privacy-label .privacy-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.form-privacy-label .privacy-link:hover {
  color: var(--cream);
}

/* Cloudflare Turnstile CAPTCHA container */
#turnstile-container {
  width: 100%;
  min-height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  margin: 1.5rem 0 1rem 0;
}

#turnstile-container iframe {
  max-width: 100%;
}

@media (max-width: 380px) {
  #turnstile-container > div {
    transform: scale(0.9) !important;
    transform-origin: center center !important;
    margin: 0 -15px !important;
  }
}

@media (max-width: 340px) {
  #turnstile-container > div {
    transform: scale(0.8) !important;
    transform-origin: center center !important;
    margin: 0 -30px !important;
  }
}

/* ─────────────────────────── PRIVACY PAGE ───────────────────── */
#privacy-policy {
  padding: 8rem 4rem 6rem;
  background: var(--white);
}

.policy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.policy-updated {
  margin-top: 1rem;
  color: rgba(35, 26, 13, 0.62);
  font-size: 0.95rem;
}

.policy-card {
  margin-top: 2.25rem;
  background: #fff;
  border: 1px solid rgba(46, 30, 15, 0.12);
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 12px 30px rgba(22, 43, 28, 0.08);
}

.policy-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(35, 26, 13, 0.86);
}

.policy-h2 {
  margin-top: 1.6rem;
  font-family: var(--ff-cond);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--forest);
}

.policy-text {
  margin-top: 0.75rem;
  line-height: 1.8;
  color: rgba(35, 26, 13, 0.82);
}

.policy-text ul {
  padding-inline-start: 1.2rem;
}

.policy-text li {
  margin: 0.35rem 0;
}

.policy-actions {
  margin-top: 1.75rem;
}

@media (max-width: 860px) {
  #privacy-policy {
    padding: 7rem 1.25rem 4.5rem;
  }

  .policy-card {
    padding: 1.5rem;
  }
}

/* ─────────────────── INTL-TEL-INPUT THEME ───────────────────── */
.iti {
  width: 100%;
}

.iti__tel-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 237, 224, 0.12);
  border-radius: 4px;
  padding: 0.8rem 1rem 0.8rem 3.5rem;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.iti__tel-input:focus {
  border-color: rgba(201, 123, 42, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.iti__tel-input::placeholder {
  color: rgba(244, 237, 224, 0.25);
}

/* Flag button */
.iti__flag-container {
  z-index: 10;
}

.iti__selected-dial-code {
  font-family: var(--ff-cond);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.iti__arrow {
  border-top-color: rgba(244, 237, 224, 0.4);
}

.iti__arrow--up {
  border-bottom-color: rgba(244, 237, 224, 0.4);
}

/* Dropdown */
.iti__dropdown-content {
  background: #1a3422;
  border: 1px solid rgba(228, 168, 75, 0.2);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.iti__search-input {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(244, 237, 224, 0.1);
  color: var(--cream);
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  padding: 0.6rem 0.75rem;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.iti__search-input::placeholder {
  color: rgba(244, 237, 224, 0.3);
}

.iti__country {
  color: rgba(244, 237, 224, 0.8);
  font-family: var(--ff-ui);
  font-size: 0.85rem;
}

.iti__country.iti__highlight,
.iti__country:hover {
  background: rgba(201, 123, 42, 0.12);
}

.iti__dial-code {
  color: var(--amber);
}

.iti__country-list {
  background: transparent;
}

/* ─────────────────────────── CONTACT MAP ───────────────────── */
.contact-row--addr {
  flex-wrap: nowrap;
  align-items: center;
}

.full-width-map {
  width: 100%;
  height: 400px;
}

.full-width-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─────────────────────────── FOOTER ─────────────────────────── */
footer {
  background: #0b1a11;
  padding: 3rem 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .badge {
  width: 32px;
  height: 32px;
  background: var(--amber);
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-family: var(--ff-cond);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--forest);
}

.footer-logo span {
  font-family: var(--ff-cond);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.5);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(244, 237, 224, 0.3);
  text-align: center;
  width: 100%;
}

.footer-credit-link {
  color: rgba(228, 168, 75, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit-link:hover {
  color: var(--amber);
}

.footer-legal {
  font-family: var(--ff-cond);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.25);
  text-align: right;
}

.footer-flag-counter {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-flag-counter:hover {
  opacity: 1;
}

.footer-flag-counter img {
  display: block;
  border: 0;
}


/* ─────────────────────────── ANIMATIONS ─────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}


/* Mobile CTA block — hidden by default on desktop */
.hero-actions--mobile {
  display: none;
}

/* ─────────────────────────── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  nav {
    --nav-pad-x: 2.5rem;
  }

  .hero-inner {
    padding: 10rem 2.5rem 7rem;
    grid-template-columns: 1fr;
  }

  /* Hide the desktop-only buttons, show mobile ones below stats */
  .hero-actions--desktop {
    display: none;
  }

  .hero-actions--mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-bottom: 0;
  }

  .hero-actions--mobile .btn-primary,
  .hero-actions--mobile .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    padding-bottom: 0;
  }

  .hero-badge {
    display: none;
  }

  #apropos {
    padding: 6rem 2.5rem;
  }

  .apropos-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #produits {
    padding: 7rem 2.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card:nth-child(3n) {
    border-right: 1.5px solid rgba(244, 237, 224, 0.06);
  }

  .product-card:nth-child(2n) {
    border-right: none;
  }

  #capacites {
    padding: 6rem 2.5rem;
  }

  .capacites-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  #chiffres {
    padding: 5rem 2.5rem;
  }

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

  #services {
    padding: 6rem 2.5rem;
  }

  #qualite {
    padding: 5rem 2.5rem;
  }

  .qualite-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #export {
    padding: 6rem 2.5rem;
  }

  .export-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #contact {
    padding: 6rem 2.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-left {
    display: contents;
  }

  .contact-titles {
    order: 1;
  }

  .contact-right {
    order: 2;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .contact-details {
    order: 3;
    margin-top: 0;
  }

  footer {
    padding: 2.5rem 2.5rem;
  }
}

@media (max-width: 860px) {

  /* Remove diagonal clip on mobile for both LTR and RTL */
  html:not([dir="rtl"]) .hero-slideshow,
  html[dir="rtl"] .hero-slideshow {
    clip-path: none;
  }

  nav {
    --nav-pad-y: 1rem;
    --nav-pad-x: 1.5rem;
    gap: 0.65rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(22, 43, 28, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(228, 168, 75, 0.12);
    backdrop-filter: blur(12px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-links.open a {
    font-size: 1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-logo-img {
    height: 36px;
  }

  .nav-logo span {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .lang-switcher {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(var(--nav-pad-x) + 2.8rem);
    margin: auto 0;
    height: fit-content;
  }

  .hamburger {
    display: flex;
    position: absolute;
    top: 50%;
    right: var(--nav-pad-x);
    transform: translateY(-50%);
    margin-inline-start: 0;
  }

  .hero-inner {
    padding: 8rem 1.5rem 5rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
  }

  #apropos {
    padding: 5rem 1.5rem;
  }

  #produits {
    padding: 5rem 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    border-right: none;
  }

  #capacites {
    padding: 5rem 1.5rem;
  }

  #chiffres {
    padding: 4rem 1.5rem;
  }

  .chiffres-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chiffre-box {
    padding: 2rem 1rem;
  }

  .chiffre-num {
    font-size: 2.4rem;
  }

  #services {
    padding: 5rem 1.5rem;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  #qualite {
    padding: 5rem 1.5rem;
  }

  .qualite-certs {
    grid-template-columns: 1fr 1fr;
  }

  #export {
    padding: 5rem 1.5rem;
  }

  #contact {
    padding: 5rem 1.5rem;
  }

  .full-width-map {
    height: 300px;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

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

  footer {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 420px) {
  nav {
    gap: 0.45rem;
  }

  .nav-logo-img {
    height: 30px;
  }

  .nav-logo span {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .lang-btn {
    min-width: 1.8rem;
    padding: 0.28rem 0.22rem;
    font-size: 0.58rem;
  }

  .hamburger span {
    width: 20px;
  }

  .chiffres-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qualite-certs {
    grid-template-columns: 1fr;
  }

  .stat-num {
    font-size: 2.4rem;
  }

  .contact-form-card {
    padding: 1rem;
  }
}

/* ─────────────────────────── LANG SWITCHER ─────────────────────── */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(228, 168, 75, 0.2);
  border-radius: 4px;
  padding: 3px;
}

.lang-btn {
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.55);
  min-width: 2.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.lang-select {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7l5 6 5-6' stroke='%23e4a84b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  background-size: 0.9rem;
  color: rgba(244, 237, 224, 0.85);
  font-family: var(--ff-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1.55rem 0.35rem 0.5rem;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--amber);
  color: var(--forest);
}

.lang-btn:hover:not(.active) {
  color: var(--gold);
}

/* ─────────────────────────── RTL SUPPORT ────────────────────────── */
html[dir="rtl"] body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .nav-logo {
  flex-direction: row;
}

html[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] nav {
  flex-direction: row;
}

html[dir="rtl"] .nav-links a,
html[dir="rtl"] .nav-cta,
html[dir="rtl"] .lang-btn,
html[dir="rtl"] .lang-select {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .lang-select {
  background-position: left 0.45rem center;
  padding: 0.35rem 0.5rem 0.35rem 1.55rem;
}

html[dir="rtl"] .nav-links a::after {
  left: auto;
  right: 0;
}


html[dir="rtl"] .highlight-box {
  border-left: none;
  border-right: 3px solid var(--amber);
}

html[dir="rtl"] .country-row {
  border-left: none;
  border-right: 3px solid var(--amber);
}

html[dir="rtl"] .country-row:hover {
  transform: translateX(-6px);
}

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

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

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

html[dir="rtl"] .qualite-point {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact-row {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] #f-tel {
  direction: ltr;
  text-align: right;
}

html[dir="rtl"] #f-tel::placeholder,
html[dir="rtl"] #f-tel::-webkit-input-placeholder {
  text-align: right;
}

html[dir="rtl"] .apropos-card-meta {
  direction: rtl;
}

html[dir="rtl"] .chiffre-box {
  border-right: none;
  border-left: 1px solid rgba(228, 168, 75, 0.1);
}

html[dir="rtl"] .chiffre-box:nth-child(4n) {
  border-left: none;
}

html[dir="rtl"] .cap-fill {
  transform-origin: right;
}

html[dir="rtl"] .footer-inner {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-legal {
  text-align: left;
}

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

html[dir="rtl"] .info-pills {
  flex-direction: row-reverse;
}

html[dir="rtl"] .apropos-group-badge {
  border-left: 1.5px solid rgba(201, 123, 42, 0.25);
  border-right: 3px solid var(--amber);
}

html[dir="rtl"] .apropos-group-badge-link {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

html[dir="rtl"] .hero-badge {
  right: auto;
  left: 4rem;
}

@media (max-width: 860px) {
  .lang-switcher {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(var(--nav-pad-x) + 2.8rem);
    margin: auto 0;
    height: fit-content;
    margin-inline-start: 0;
    padding: 2px;
    background: rgba(22, 43, 28, 0.35);
    border: 1px solid rgba(228, 168, 75, 0.22);
  }

  .lang-btn {
    display: none;
  }

  .lang-select {
    display: block;
    font-size: 0.62rem;
    min-width: 3rem;
    color: var(--cream);
    padding: 0.32rem 1.45rem 0.32rem 0.45rem;
  }

  html[dir="rtl"] .lang-select {
    padding: 0.32rem 0.45rem 0.32rem 1.45rem;
  }

  html[dir="rtl"] nav {
    flex-direction: row;
  }

  html[dir="rtl"] .nav-links.open {
    flex-direction: column;
  }

  html[dir="rtl"] .lang-switcher {
    right: auto;
    left: calc(var(--nav-pad-x) + 2.8rem);
  }

  html[dir="rtl"] .hamburger {
    right: auto;
    left: var(--nav-pad-x);
  }
}

/* ═══════════════════════ PRODUCT MODAL ════════════════════════ */

/* Cards now have pointer cursor since they're clickable */
.product-card[data-product] {
  cursor: pointer;
}

/* "View details" hint that fades in on hover */
.product-card[data-product]::before {
  content: '';
  /* keep existing bg image via ::before – hint uses a sibling pseudo */
}

.product-card-hint {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.product-card-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

.product-card:hover .product-card-hint,
.product-card.card-active .product-card-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Overlay */
.pmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pmodal-overlay[hidden] {
  display: none;
}

.pmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: pmodal-fade-in 0.28s ease forwards;
}

@keyframes pmodal-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Panel */
.pmodal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(155deg, #1a3522 0%, #162b1c 55%, #0e1e14 100%);
  border: 1.5px solid rgba(228, 168, 75, 0.22);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(228, 168, 75, 0.08) inset;
  animation: pmodal-slide-up 0.32s var(--ease-out) forwards;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 168, 75, 0.25) transparent;
}

.pmodal-panel::-webkit-scrollbar {
  width: 4px;
}

.pmodal-panel::-webkit-scrollbar-track {
  background: transparent;
}

.pmodal-panel::-webkit-scrollbar-thumb {
  background: rgba(228, 168, 75, 0.3);
  border-radius: 2px;
}

@keyframes pmodal-slide-up {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pmodal-hero {
  width: calc(100% + 5rem);
  height: 240px;
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1.5px solid rgba(228, 168, 75, 0.22);
  position: relative;
}

.pmodal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(22, 43, 28, 0.4) 100%);
}

/* Close button — sticky so it persists while scrolling */
.pmodal-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  margin-inline-start: auto;
  margin-bottom: -48px;
  /* pull content up so hero still shows full-width */
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 168, 75, 0.35);
  background: rgba(14, 30, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.pmodal-close:hover {
  background: rgba(228, 168, 75, 0.22);
  border-color: rgba(228, 168, 75, 0.65);
  transform: scale(1.08);
}

[dir="rtl"] .pmodal-close {
  float: left;
}

/* Header row */
.pmodal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.pmodal-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(201, 123, 42, 0.15);
  border: 1px solid rgba(201, 123, 42, 0.25);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.pmodal-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--amber);
}

.pmodal-tag {
  font-family: var(--ff-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.pmodal-title {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

/* Description */
.pmodal-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(244, 237, 224, 0.78);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(244, 237, 224, 0.08);
}

/* Specs grid */
.pmodal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pmodal-spec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 168, 75, 0.12);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  transition: background 0.2s, border-color 0.2s;
}

.pmodal-spec:hover {
  background: rgba(228, 168, 75, 0.07);
  border-color: rgba(228, 168, 75, 0.28);
}

.pmodal-spec-label {
  font-family: var(--ff-cond);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.3rem;
}

.pmodal-spec-value {
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.4;
}

/* Full-width spec row */
.pmodal-spec.pmodal-spec--full {
  grid-column: 1 / -1;
}

/* CTA button */
.pmodal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--cork) 0%, var(--amber) 100%);
  color: #fff;
  font-family: var(--ff-cond);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(201, 123, 42, 0.35);
}

.pmodal-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 123, 42, 0.45);
}

/* RTL modal */
[dir="rtl"] .pmodal-specs {
  direction: rtl;
}

/* Mobile */
@media (max-width: 540px) {
  .pmodal-panel {
    padding: 1.75rem 1.25rem;
    max-height: 90vh;
  }

  .pmodal-specs {
    grid-template-columns: 1fr;
  }

  .pmodal-spec.pmodal-spec--full {
    grid-column: 1;
  }
}
/* ─────────────────── REDUCED MOTION (accessibility) ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal-on-scroll content must be visible without motion */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Capacity bars fill via inline width; show them without the scale animation */
  .cap-fill {
    animation: none !important;
    transform: none !important;
  }
}

/* ─────────────────── SKIP LINK (keyboard accessibility) ─────────────────── */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 2000;
  padding: 0.7rem 1.4rem;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--ff-cond);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--gold);
  border-top: none;
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
#main:focus {
  outline: none;
}
