/* ═══════════════════════════════════════════════════════════════
   WE SUPPORT BUSINESS — style.css
   Feuille de style commune à toutes les pages du site
   Version 1.1 — 2026
═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:       #1e3a5f;
  --navy-mid:   #2b5f8e;
  --navy-lt:    #4a86b8;
  --cyan:       #3ec6e0;
  --violet:     #9b59d0;
  --rose:       #c96bcb;
  --cream:      #f5f0e8;
  --white:      #ffffff;
  --grey-lt:    #f2f4f7;
  --grey-text:  #5a6478;
  --border:     rgba(30,58,95,.10);

  /* Dégradé principal — identique au logo 2 */
  --logo-grad:
    radial-gradient(ellipse at 12% 8%,   #c96bcb 0%, transparent 42%),
    radial-gradient(ellipse at 88% 6%,   #54d9f0 0%, transparent 42%),
    radial-gradient(ellipse at 50% 52%,  #48aaea 0%, transparent 52%),
    radial-gradient(ellipse at 8%  95%,  #3070cc 0%, transparent 40%),
    radial-gradient(ellipse at 92% 92%,  #2e8bd4 0%, transparent 40%),
    #3a82d4;

  /* Fond de page — palette atténuée sur blanc */
  --page-bg:
    radial-gradient(ellipse at 0%   0%,   rgba(201,107,203,.10) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%,   rgba(84,217,240,.12)  0%, transparent 50%),
    radial-gradient(ellipse at 50%  100%, rgba(42,139,212,.07)  0%, transparent 60%),
    #ffffff;

  /* Typographie */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Mise en page */
  --content-max:  1260px;
  --content-pad:  clamp(16px, 2.5vw, 40px);

  /* Animation */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--page-bg);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--navy);
  overflow-x: hidden;
}

/* Grain subtil sur le fond */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ─── BARRE DE LANGUE ────────────────────────────────────── */
.lang-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 32px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.lang-bar-logo {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--navy); text-decoration: none;
  transition: opacity 0.2s;
}
.lang-bar-logo:hover { opacity: 0.65; }

.lang-bar-back {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-mid); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: opacity 0.2s;
}
.lang-bar-back:hover { opacity: 0.65; }

.lang-btns { display: flex; gap: 4px; }

.lang-btn {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid transparent; border-radius: 100px;
  background: transparent; color: var(--grey-text); cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn:hover { color: var(--navy-mid); border-color: var(--border); }
.lang-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── HERO (page d'accueil) ──────────────────────────────── */
.hero {
  width: 100%; max-width: var(--content-max);
  background: var(--logo-grad);
  border-radius: 24px 24px 0 0;
  padding: clamp(44px, 8vw, 72px) var(--content-pad) clamp(36px, 6vw, 56px);
  text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  animation: fadeUp 0.85s var(--ease-out) both;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 160px; pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

.construction-label {
  display: block; font-family: var(--font-body);
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(245,240,232,0.50); margin-bottom: 20px;
}

.logo-wsb {
  font-family: var(--font-display);
  font-size: clamp(90px, 17vw, 162px); font-weight: 600;
  line-height: 0.95; letter-spacing: -0.01em;
  color: var(--cream); display: block; margin-bottom: 18px;
  text-shadow: 0 2px 48px rgba(0,0,0,0.10);
}

.logo-rule {
  display: block; width: 66%; max-width: 300px; height: 1px;
  background: rgba(245,240,232,0.40); margin: 0 auto 14px;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.5vw, 14px); font-weight: 400;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(245,240,232,0.82); display: block;
}

/* ─── CARD (contenu principal) ───────────────────────────── */
.card {
  width: 100%; max-width: var(--content-max);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.9); border-top: none;
  border-radius: 0 0 24px 24px;
  padding: clamp(36px, 6vw, 60px) var(--content-pad);
  box-shadow: 0 20px 60px rgba(30,58,95,.10), 0 0 0 1px rgba(255,255,255,.5) inset;
  animation: fadeUp 0.85s var(--ease-out) 0.12s both;
}

/* ─── BADGE ÉDITORIAL ────────────────────────────────────── */
.badge {
  display: flex; align-items: center; gap: 14px; margin-bottom: 30px;
}
.badge-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(62,198,224,.45), rgba(155,89,208,.25));
}
.badge-line.right {
  background: linear-gradient(270deg, rgba(62,198,224,.45), rgba(155,89,208,.25));
}
.badge-text {
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--navy-mid); white-space: nowrap; opacity: 0.65;
}

/* ─── TITRES ─────────────────────────────────────────────── */
.heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 400;
  line-height: 1.15; color: var(--navy); margin-bottom: 20px;
}
.heading em {
  font-style: italic;
  background: linear-gradient(90deg, var(--navy-mid), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SÉPARATEUR ─────────────────────────────────────────── */
.sep {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px; margin-bottom: 32px;
}

/* ─── TEXTE COURANT ──────────────────────────────────────── */
.body-text {
  font-size: clamp(16px, 1.6vw, 18px); font-weight: 300;
  line-height: 1.8; color: var(--grey-text); margin-bottom: 36px;
}

/* ─── PILLS ──────────────────────────────────────────────── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}
.pill {
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy-mid);
  background: rgba(43,95,142,.06);
  border: 1px solid rgba(43,95,142,.18);
  border-radius: 100px;
  padding: 5px 14px;
  display: inline-block;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.pill:hover {
  background: rgba(43,95,142,.13);
  border-color: rgba(43,95,142,.35);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ─── FORMULAIRE ─────────────────────────────────────────── */
.form-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 600;
  color: var(--navy); margin-bottom: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy-mid);
}

input, textarea {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px); font-weight: 300;
  color: var(--navy);
  background: rgba(255,255,255,0.8); border: 1px solid rgba(30,58,95,.15);
  border-radius: 10px; padding: 12px 16px; outline: none; resize: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: rgba(90,100,120,.4); }
input:focus, textarea:focus {
  border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(43,95,142,.10);
}
textarea { min-height: 120px; }

/* ─── BOUTON ENVOI ───────────────────────────────────────── */
.btn-send {
  margin-top: 18px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  background: var(--logo-grad);
  border: none; border-radius: 12px; padding: 16px 32px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(42,100,200,.28);
  transition: opacity 0.25s, transform 0.2s, box-shadow 0.2s;
}
.btn-send:hover { opacity: 0.86; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(42,100,200,.32); }
.btn-send:active { transform: translateY(0); }

/* ─── ARTICLES CGV ───────────────────────────────────────── */
.doc-header { margin-bottom: 48px; animation: fadeUp 0.8s var(--ease-out) both; }

.doc-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.doc-badge-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(62,198,224,.45), rgba(155,89,208,.25));
}
.doc-badge-line.right {
  background: linear-gradient(270deg, rgba(62,198,224,.45), rgba(155,89,208,.25));
}
.doc-badge-text {
  font-size: 9px; font-weight: 500; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--navy-mid); opacity: 0.65; white-space: nowrap;
}

.doc-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 400; line-height: 1.1;
  color: var(--navy); margin-bottom: 12px;
}
.doc-title em {
  font-style: italic;
  background: linear-gradient(90deg, var(--navy-mid), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.doc-meta {
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 400;
  letter-spacing: 0.08em; color: var(--grey-text); opacity: 0.7; margin-top: 8px;
}
.doc-sep {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px; margin: 20px 0;
}

.article {
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 20px;
  padding: clamp(24px, 4vw, 44px) clamp(22px, 4vw, 44px);
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(30,58,95,.06), 0 0 0 1px rgba(255,255,255,.5) inset;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}

.article-number {
  font-family: var(--font-display); font-size: 11px; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--navy-mid); opacity: 0.5; margin-bottom: 6px; display: block;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 600;
  color: var(--navy); margin-bottom: 16px; line-height: 1.2;
}

.article p {
  font-size: clamp(15px, 1.4vw, 17px); font-weight: 300;
  line-height: 1.85; color: var(--grey-text); margin-bottom: 12px;
}
.article p:last-child { margin-bottom: 0; }

.article ul { list-style: none; padding: 0; margin: 12px 0; }
.article ul li {
  font-size: clamp(15px, 1.4vw, 17px); font-weight: 300; line-height: 1.85;
  color: var(--grey-text); padding-left: 24px; position: relative; margin-bottom: 4px;
}
.article ul li::before {
  content: '//'; position: absolute; left: 0;
  font-size: 10px; font-weight: 600; letter-spacing: -0.05em;
  color: var(--cyan); top: 4px;
}
.article strong { font-weight: 600; color: var(--navy); }

/* ─── FOOTER COMMUN ──────────────────────────────────────── */
.site-footer {
  margin-top: 40px; text-align: center;
  font-size: clamp(13px, 1.1vw, 15px); font-weight: 400;
  letter-spacing: 0.06em; color: #1e3a5f;
  animation: fadeUp 0.85s var(--ease-out) 0.24s both;
}
.site-footer p + p { margin-top: 6px; color: #2b5f8e; }
.site-footer a {
  color: var(--navy-mid); text-decoration: none;
  transition: opacity 0.2s;
}
.site-footer a:hover { opacity: 0.65; text-decoration: underline; }
.site-footer .footer-cgv {
  margin-top: 10px; font-size: clamp(10px, 1vw, 12px);
  opacity: 0.7; letter-spacing: 0.08em;
}

/* ─── LAYOUT PAGES ───────────────────────────────────────── */
.page-home {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 96px var(--content-pad) 56px;
}

.page-doc {
  position: relative; z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 110px var(--content-pad) 80px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── VISIBILITÉ LANGUES ─────────────────────────────────── */
[data-lang] { display: none; }
[data-lang].visible { display: block; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --content-pad: 18px; }
  .lang-bar { padding: 10px 16px; gap: 2px; }
  .lang-btn { padding: 4px 9px; font-size: 10px; }
  .lang-bar-back span { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: 1; }
}
