/* ============================================
   BlueWeb Création — style.css
   Styles principaux
   ============================================ */

:root {
  --blue: #0077B6;
  --blue-dark: #0D3B66;
  --blue-light: #48CAE4;
  --accent: #FF7A00;
  --accent-dark: #C2410C;

  --bg: #ffffff;
  --bg-alt: #F4F8FC;
  --surface: #ffffff;
  --text: #0F172A;
  --text-soft: #4A5568;
  --muted: #8899AA;
  --border: #E2E8F0;

  --shadow-sm: 0 2px 8px rgba(13,59,102,.06);
  --shadow: 0 8px 24px rgba(13,59,102,.10);
  --shadow-lg: 0 18px 50px rgba(13,59,102,.14);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --container: 1200px;
  --header-h: 76px;

  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --t: .3s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #0A1622;
  --bg-alt: #0F2135;
  --surface: #122741;
  --text: #EAF2FA;
  --text-soft: #A9BCD0;
  --muted: #7A8FA5;
  --border: #1E3A57;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.grad {
  background: linear-gradient(120deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====== BOUTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,119,182,.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,119,182,.4); }

.btn--ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--light { background: #fff; color: var(--blue-dark); }
.btn--light:hover { transform: translateY(-2px); }

.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--blue-dark); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.15rem; font-size: .85rem; }
.btn--xs { padding: .45rem .9rem; font-size: .78rem; }
.btn--block { width: 100%; }

/* ====== HEADER ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: .65rem; }
.logo__mark {
  width: 60px; height: 40px;
  display: grid; place-items: center;
  /* border-radius: 11px; */
  /* background: linear-gradient(135deg, var(--blue), var(--blue-dark)); */
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  /* box-shadow: 0 6px 16px rgba(0,119,182,.35); */
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 1.05rem; font-weight: 700; }
.logo__text small { font-size: .68rem; color: var(--muted); font-weight: 500; }
.logo--light .logo__text small { color: rgba(255,255,255,.65); }

.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  padding: .55rem .85rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--t);
  position: relative;
}
.nav__link:hover { color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, transparent); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 18px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: translateX(-50%);
}
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: .75rem; }

.lang { display: flex; align-items: center; gap: .35rem; }
.lang__btn {
  padding: .35rem .6rem;
  border-radius: 7px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--t);
}
.lang__btn:hover { color: var(--blue); }
.lang__btn.is-active { background: var(--blue); color: #fff; }
.lang__sep { color: var(--border); font-size: .8rem; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.05rem;
  background: var(--bg-alt);
  transition: all var(--t);
}
.theme-toggle:hover { background: var(--blue); transform: rotate(15deg); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--bg-alt);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t);
  z-index: 90;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 { width: 500px; height: 500px; background: var(--blue); top: -150px; right: -100px; }
.hero__glow--2 { width: 400px; height: 400px; background: var(--blue-light); bottom: -150px; left: -100px; opacity: .25; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}

.hero__content { max-width: 620px; }

.pill {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .pill { color: var(--blue-light); }

.hero__title { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.5rem; color: var(--blue); }
.hero__stats span { font-size: .8rem; color: var(--muted); }

/* Mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.mock {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .5s var(--t);
}
.mock:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .75rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock__bar span:nth-child(2) { background: #febc2e; }
.mock__bar span:nth-child(3) { background: #28c840; }
.mock__url {
  margin-left: .75rem;
  padding: .25rem .75rem;
  background: var(--surface);
  border-radius: 6px;
  font-size: .7rem;
  color: var(--muted);
  flex: 1;
}
.mock__screen { padding: 1.25rem; }
.mock__hero { margin-bottom: 1rem; }
.mock__line { height: 10px; border-radius: 4px; background: var(--border); margin-bottom: .5rem; }
.mock__line--w60 { width: 60%; height: 14px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.mock__line--w40 { width: 40%; }
.mock__btn {
  width: 90px; height: 26px; border-radius: 999px;
  background: var(--accent);
  margin-top: .75rem;
}
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.mock__card { aspect-ratio: 1; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .65rem;
  padding: .7rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
}
.float-card--1 { top: 12%; left: -4%; }
.float-card--2 { bottom: 14%; right: -4%; animation-delay: 1.5s; }
.float-card__icon { font-size: 1.4rem; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { font-size: .72rem; color: var(--muted); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ====== SECTIONS ====== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.tag {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section__title { margin-bottom: .85rem; }
.section__sub { color: var(--text-soft); font-size: 1.05rem; }
.section__foot { text-align: center; margin-top: 3rem; }

/* ====== GRILLES ====== */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ====== FEATURES ====== */
.feature {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--t);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--text-soft); font-size: .92rem; }

/* ====== PACKS (Sites clé en main) ====== */
.pack {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }

.pack__thumb {
  height: 160px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.pack__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.25), transparent 60%);
}
.pack__thumb span { position: relative; z-index: 1; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }

.pack__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pack__cat {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .75rem;
  align-self: flex-start;
}
.pack__body h3 { margin-bottom: .5rem; }
.pack__body > p { color: var(--text-soft); font-size: .9rem; margin-bottom: 1rem; }
.pack__list { margin-bottom: 1.25rem; flex: 1; }
.pack__list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: .84rem;
  color: var(--text-soft);
  margin-bottom: .35rem;
}
.pack__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
}
.pack__foot {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.pack__price small { display: block; font-size: .72rem; color: var(--muted); }
.pack__price strong { font-size: 1.35rem; color: var(--blue); }
.pack__actions { display: flex; gap: .5rem; }

/* ====== PORTFOLIO ====== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter {
  padding: .55rem 1.15rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--t);
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0,119,182,.3);
}

.project {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.project__thumb {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
  position: relative;
  display: grid; place-items: center;
  font-size: 3rem;
  overflow: hidden;
}
.project__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,59,102,.6));
}
.project__tag {
  position: absolute; top: 1rem; left: 1rem;
  z-index: 2;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { margin-bottom: .5rem; }
.project__body p { color: var(--text-soft); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.project__tech { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.15rem; }
.project__tech span {
  padding: .2rem .6rem;
  border-radius: 6px;
  background: var(--bg-alt);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-soft);
}
.project__actions { display: flex; gap: .5rem; }
.project__actions .btn { flex: 1; }

/* ====== STEPS ====== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
}
.step__num {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(0,119,182,.35);
}
.step h3 { margin-bottom: .5rem; font-size: 1rem; }
.step p { color: var(--text-soft); font-size: .85rem; }

/* ====== SERVICES ====== */
.service {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--t);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.service__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.service h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.service p { color: var(--text-soft); font-size: .88rem; }
.service--cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border: none;
  display: flex; flex-direction: column; justify-content: center;
}
.service--cta h3 { color: #fff; }
.service--cta p { color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.service--cta .btn { background: #fff; color: var(--blue-dark); align-self: flex-start; }

/* ====== PRICING ====== */
.price-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card--featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-5px); }
.price-card__badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: .3rem .9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.price-card__desc { color: var(--text-soft); font-size: .88rem; margin-bottom: 1.25rem; }
.price-card__amount { margin-bottom: 1.25rem; }
.price-card__amount small { display: block; font-size: .75rem; color: var(--muted); }
.price-card__amount strong { font-size: 2rem; color: var(--blue); font-weight: 800; }
.price-card__list { margin-bottom: 1.5rem; flex: 1; }
.price-card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .88rem;
  color: var(--text-soft);
  margin-bottom: .45rem;
}
.price-card__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ====== TRUST ====== */
.trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.trust__logo {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-size: 2.2rem;
  flex-shrink: 0;
}
.trust__body { flex: 1; }
.trust__body h3 { margin-bottom: .35rem; }
.trust__body p { color: var(--text-soft); font-size: .92rem; }

/* ====== TESTIMONIALS ====== */
.testi {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.testi__stars { color: var(--accent); font-size: 1rem; margin-bottom: .75rem; letter-spacing: 2px; }
.testi p { color: var(--text-soft); font-style: italic; margin-bottom: 1.25rem; font-size: .95rem; }
.testi footer { display: flex; flex-direction: column; }
.testi footer strong { font-size: .95rem; }
.testi footer small { color: var(--muted); font-size: .8rem; }

/* ====== FAQ ====== */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t);
}
.faq__item.is-open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.faq__q i {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  transition: all var(--t);
}
.faq__q i::before,
.faq__q i::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%,-50%);
  transition: all var(--t);
}
.faq__q i::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item.is-open .faq__q i { background: var(--blue); transform: rotate(180deg); }
.faq__item.is-open .faq__q i::before,
.faq__item.is-open .faq__q i::after { background: #fff; }
.faq__item.is-open .faq__q i::after { transform: translate(-50%,-50%) rotate(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-soft);
  font-size: .92rem;
}

/* ====== CTA BAND ====== */
.cta-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  text-align: center;
}
.cta-band__inner h2 { color: #fff; margin-bottom: 1rem; }
.cta-band__inner p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ====== FOOTER ====== */
.footer {
  background: var(--blue-dark);
  color: #fff;
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__col h4 { font-size: .95rem; margin-bottom: 1.15rem; color: #fff; }
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__col a {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  transition: color var(--t);
}
.footer__col a:hover { color: var(--blue-light); }
.footer__col--brand p {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  margin: 1rem 0;
  max-width: 300px;
}
.lang--footer { margin-top: .5rem; }
.lang--footer .lang__btn { color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); }
.lang--footer .lang__btn.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}

/* ====== WHATSAPP FAB ====== */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37,211,102,.4);
  z-index: 80;
  transition: all var(--t);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 14px 32px rgba(37,211,102,.5); }

/* ====== FORMULAIRES ====== */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .92rem;
  background: var(--surface);
  color: var(--text);
  transition: all var(--t);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ====== PAGE HEADER (pages internes) ====== */
.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  text-align: center;
  background: var(--bg-alt);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--text-soft); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: grid; place-items: center;
  font-size: 6rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.about-visual span { position: relative; z-index: 1; }
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--text-soft); margin-bottom: 1rem; }
.about-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .65rem; }
.about-list li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-soft);
  font-size: .95rem;
}
.about-list li::before {
  content: '✓';
  position: absolute; left: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 15%, transparent);
  color: var(--blue);
  font-weight: 700;
  font-size: .75rem;
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--t);
}
.contact-card:hover { border-color: var(--blue); transform: translateX(4px); }
.contact-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 { font-size: .95rem; margin-bottom: .2rem; }
.contact-card a, .contact-card p { color: var(--text-soft); font-size: .88rem; }
.contact-card a:hover { color: var(--blue); }

.contact-form-wrap {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-alert {
  padding: .85rem 1rem;
  border-radius: 10px;
  background: color-mix(in srgb, #10B981 15%, transparent);
  color: #059669;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: none;
}
.form-alert.is-visible { display: block; }

/* ====== BACK TO TOP ====== */
.to-top {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid; place-items: center;
  z-index: 70;
  opacity: 0; pointer-events: none;
  transition: all var(--t);
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
/* ============================================
   NAVBAR AVEC DROPDOWN
   ============================================ */

/* Conteneur du menu */
.nav__item { position: relative; }

/* Lien "toggle" avec chevron */
.nav__link--toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__chevron {
  transition: transform .25s ease;
  opacity: .7;
}
.nav__item--has-menu.is-open .nav__chevron,
.nav__item--has-menu:hover .nav__chevron {
  transform: rotate(180deg);
}

/* Dropdown caché par défaut */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  padding: .5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(13,59,102,.15);
  opacity: 0;
  visibility: hidden;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  z-index: 60;
  list-style: none;
}
[data-theme="dark"] .nav__dropdown {
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

/* Flèche du dropdown */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

/* Affichage au survol (desktop) */
@media (min-width: 901px) {
  .nav__item--has-menu:hover .nav__dropdown,
  .nav__item--has-menu.is-open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Item du dropdown */
.nav__drop-link {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  transition: background .2s ease;
  text-decoration: none;
  color: inherit;
}
.nav__drop-link:hover {
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}
.nav__drop-icon {
  font-size: 1.15rem;
  line-height: 1;
  margin-top: .15rem;
}
.nav__drop-link strong {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .15rem;
}
.nav__drop-link small {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 400;
}
.nav__drop-link:hover strong { color: var(--blue); }

/* Lien simple dans le menu mobile */
.nav__mobile-link {
  padding: .75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
}
.nav__mobile-link:hover {
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  color: var(--blue);
}

/* ============================================
   MOBILE — Dropdown devient accordéon
   ============================================ */
@media (max-width: 900px) {
  .nav__link--toggle {
    width: 100%;
    justify-content: space-between;
    padding: .85rem 1rem;
  }

  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    background: transparent;
  }
  .nav__dropdown::before { display: none; }

  .nav__item--has-menu.is-open .nav__dropdown {
    max-height: 400px;
  }

  .nav__drop-link {
    padding: .6rem .75rem;
  }
  .nav__drop-link small { display: none; }
  .nav__drop-icon { font-size: 1rem; }
}