/* Polices auto-hébergées (licence SIL OFL) : aucune requête vers Google */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }

/* =========================================================
   N. Expert Partner Consulting — Design tokens
   Palette du logo : violet (dominante) + bleu marine
========================================================= */
:root {
  --navy-950: #021634;   /* bleu marine du logo, très foncé */
  --navy-900: #032656;   /* bleu marine du logo */
  --navy-800: #0a3a7c;
  --purple-800: #3d0a52;
  --purple-700: #5a0d76; /* violet du logo */
  --purple-600: #7418a0;
  --purple-500: #9535c4;
  --purple-100: #f5e9fb;
  --ink: #1d1633;
  --ink-soft: #57506f;
  --paper: #fbf8fe;      /* fond de page : blanc teinté de lilas */
  --card: #fffdff;       /* cartes et zones de saisie */
  --paper-soft: #f3ebfa; /* sections alternées */
  --line: #e5d9f0;
  --gold: #e2b8f7;       /* accent clair (orchidée) sur fonds violets */

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-md: 0 10px 30px -12px rgba(58, 10, 82, 0.28);
  --shadow-lg: 0 24px 60px -20px rgba(58, 10, 82, 0.38);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; width: 100%; height: 100%; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: var(--font-body);
}
.btn-primary { background: linear-gradient(135deg, var(--purple-500), var(--purple-700)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.kicker {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--purple-600); margin-bottom: .6em;
}

/* =========================== HEADER =========================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,254,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; }
.brand-logo { height: 52px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--navy-900); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--purple-600); transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-btn {
  border: none; background: transparent; padding: 7px 12px; font-weight: 700; font-size: .78rem;
  cursor: pointer; color: var(--ink-soft); font-family: var(--font-display);
}
.lang-btn.active { background: var(--navy-900); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; }

/* =========================== HERO =========================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--purple-800) 0%, var(--purple-700) 55%, var(--purple-500) 135%);
  padding: 120px 0 140px;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; opacity: .16;
  background-image: radial-gradient(circle at 18% 20%, #fff 0, transparent 45%),
                     radial-gradient(circle at 85% 75%, var(--gold) 0, transparent 40%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem); color: #fff; font-weight: 800; letter-spacing: .02em;
  margin-bottom: .4em;
}
.hero-title span { color: var(--gold); }
.hero-subtitle { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Motif "3 piliers" signature — écho du logo, séparateur décoratif bas de hero */
.hero-pillars { position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; display: flex; z-index: 1; }
.hero-pillars span { flex: 1; background: var(--paper-soft); clip-path: polygon(0 100%, 100% 40%, 100% 100%); }
.hero-pillars span:nth-child(1) { background: var(--paper-soft); }
.hero-pillars span:nth-child(2) { background: var(--paper-soft); opacity: .55; margin-left: -2px; }
.hero-pillars span:nth-child(3) { background: var(--paper-soft); opacity: .3; margin-left: -2px; }

/* =========================== SECTIONS =========================== */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.light .kicker { color: var(--gold); }
.section-head.light h2 { color: #fff; }
.section-intro { font-size: 1.05rem; }

/* About */
.about { background: var(--paper-soft); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2rem; }
.about-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  background: var(--purple-100); border-radius: 999px; padding: 10px 18px;
  font-weight: 700; font-size: .85rem; color: var(--purple-700);
}
.badge-icon { width: 20px; height: 20px; flex: none; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 16px; text-align: center;
  box-shadow: var(--shadow-md); border-top: 4px solid var(--purple-600);
}
.stat-num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy-900); }
.stat-label { font-size: .82rem; color: var(--ink-soft); font-weight: 600; }

/* Why us */
.why-us { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; padding: 10px; }
.why-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; padding: 13px; border-radius: 16px;
  background: linear-gradient(135deg, var(--purple-100), var(--paper-soft)); color: var(--purple-600);
}
.why-item h3 { font-size: 1rem; margin-bottom: .4em; }
.why-item p { font-size: .88rem; }

/* Testimonials */
.testimonials { background: var(--paper-soft); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.testimonials-grid .testimonial-card { width: 100%; max-width: 560px; margin-inline: auto; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px;
}
.testimonial-stars { color: var(--purple-500); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-quote { font-style: italic; color: var(--ink); font-size: .96rem; flex: 1; margin: 0; }
.testimonial-author { margin: 0; font-weight: 700; font-size: .85rem; color: var(--purple-700); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--purple-100), var(--paper-soft));
  color: var(--purple-600); padding: 12px;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: .5em; }
.service-card p { font-size: .92rem; margin: 0; }

/* Values */
.values { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; }
.value-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; padding: 14px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--gold); border: 1px solid rgba(255,255,255,.16);
}
.value-item h3 { color: #fff; font-size: 1.05rem; }
.value-item p { color: rgba(255,255,255,.72); font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.info-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-icon {
  width: 42px; height: 42px; flex: none; padding: 10px; border-radius: 12px;
  background: var(--purple-100); color: var(--purple-700);
}
.info-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; }
.info-value { display: block; font-weight: 600; color: var(--navy-900); font-size: 1rem; }

.map-embed { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); filter: grayscale(15%); }
.map-embed iframe { display: block; }

/* WhatsApp bouton flottant */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 30px -6px rgba(0,0,0,.45); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
[dir="rtl"] .whatsapp-float { right: auto; left: 22px; }

.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: inline-block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-900); }
.required-mark { color: #c0392b; font-weight: 700; margin-left: 3px; }
.required-note { font-size: .78rem; color: var(--ink-soft); margin: 4px 0 18px; }
.form-row-checkbox { margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; cursor: pointer; }
.checkbox-label input[type="checkbox"] { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--purple-600); }
.checkbox-label span { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.checkbox-label a { color: var(--purple-700); font-weight: 600; text-decoration: underline; }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: var(--paper-soft);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--purple-500); box-shadow: 0 0 0 4px var(--purple-100); outline: none; background: var(--card);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1b7f4c; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo-badge {
  background: var(--card); border-radius: 14px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.4);
}
.footer-logo { height: 34px; width: auto; filter: none; }
.footer-meta { display: flex; align-items: center; gap: 22px; font-size: .85rem; flex-wrap: wrap; }
.admin-link { text-decoration: underline; text-underline-offset: 3px; opacity: .7; }
.admin-link:hover { opacity: 1; }

/* =========================== RTL (Arabe) =========================== */
[dir="rtl"] .main-nav { direction: rtl; }
[dir="rtl"] .info-list li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .footer-inner { direction: rtl; }
[dir="rtl"] .hero-pillars span { clip-path: polygon(100% 100%, 0 40%, 0 100%); }
[dir="rtl"] .main-nav a::after { left: auto; right: 0; }

/* =========================== Responsive =========================== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; background: var(--card); flex-direction: column;
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 90px 0 110px; }
  .section { padding: 64px 0; }
  .services-grid, .values-grid, .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Pages multiples, comptes clients, espace client
========================================================= */
.main-nav a.active { color: var(--purple-600); }
.btn-outline-dark { border-color: var(--line); background: var(--card); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--paper-soft); }
.page-banner { background: linear-gradient(135deg, var(--purple-800), var(--purple-700)); color: #fff; padding: 72px 0 64px; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2em 0; }
.page-banner .kicker { color: var(--gold); }
.banner-intro { max-width: 680px; margin: 12px auto 0; color: rgba(255,255,255,.8); }
.cta-band { background: var(--paper-soft); text-align: center; padding: 72px 0; border-top: 1px solid var(--line); }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { max-width: 620px; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.cta-band .btn-outline:hover { background: rgba(58,10,82,.07); }
a.service-card { display: block; color: inherit; text-decoration: none; }
.service-more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .88rem; color: var(--purple-600); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.service-icon.big { width: 72px; height: 72px; margin-bottom: 20px; }
.contact-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.contact-option { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.contact-option:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--purple-500); }
.contact-option strong { color: var(--navy-900); }
.contact-option span { color: var(--ink-soft); font-size: .92rem; overflow-wrap: anywhere; }
.detail-side { background: var(--paper-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.detail-side h3 { margin-bottom: 12px; }
.detail-side a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--navy-900); font-weight: 500; text-decoration: none; }
.detail-side a:last-child { border-bottom: 0; }
.detail-side a.current, .detail-side a:hover { color: var(--purple-600); font-weight: 600; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } .contact-options { grid-template-columns: 1fr; } }

/* ---- Menu simplifié + sélecteur de langue déroulant ---- */
.main-nav { gap: 36px; }
.main-nav a { font-size: 1rem; }
.main-nav a.active { color: var(--purple-600); }
.main-nav a.active::after { width: 100%; }
.lang-dd { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--navy-900); font: 600 .8rem var(--font-body); cursor: pointer; }
.lang-toggle:hover { background: var(--paper-soft); }
.lang-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle .chev { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 140px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 60; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-menu[hidden] { display: none; }
.lang-menu .lang-btn { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--navy-900); font: 500 .9rem var(--font-body); text-align: start; cursor: pointer; }
.lang-menu .lang-btn:hover { background: var(--paper-soft); }
.lang-menu .lang-btn.active { background: var(--purple-100); color: var(--purple-700); font-weight: 600; }
/* ---- Accueil : 3 grandes entrées ---- */
.home-entry { background: var(--paper-soft); }
.home-entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.entry-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.entry-num { font: 700 .85rem var(--font-display); color: var(--purple-600); letter-spacing: .1em; }
.entry-card h2 { font-size: 1.4rem; margin: .4em 0 .5em; }
.entry-card p { margin: 0; }
@media (max-width: 860px) { .home-entry-grid { grid-template-columns: 1fr; } }

/* ---- Contraste sur les fonds violets (hero) ---- */
.hero .kicker { color: var(--gold); }
.hero .btn-primary { background: #fffdff; color: var(--purple-700); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.hero .btn-primary:hover { background: #fff; }
.site-footer p, .site-footer span, .site-footer small { color: rgba(255,255,255,.82); }

.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 160px; padding: 24px; text-align: center; background: var(--paper-soft); }
.map-placeholder p { margin: 0; font-size: .9rem; max-width: 34ch; }
.footer-link { text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,.9); font-weight: 600; font-size: .85rem; }
.footer-link:hover { color: #fff; }

/* ---- Témoignages : deux cartes ; une carte sans texte (non fourni) reste cachée, la section aussi ---- */
figure.testimonial-card { margin: 0; }
.testimonial-card blockquote.testimonial-quote { margin: 0; flex: 1; font-style: italic; color: var(--ink); font-size: 1rem; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name { font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.testimonial-card:has(.testimonial-quote:empty) { display: none; }
.testimonials:not(:has(.testimonial-quote:not(:empty))) { display: none; }

/* ---- Petits écrans : jamais de débordement horizontal ---- */
.info-list li > div, .info-list li > span:not(.info-icon) { min-width: 0; }
.info-value, .contact-option span, .detail-side a { overflow-wrap: anywhere; }

/* ── Affichage renforcé : téléphone, tablette, portable, PC, grands écrans ── */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
img, video, svg, iframe { max-width: 100%; height: auto; }
iframe { height: revert-layer; }
h1, h2, h3, p, li, a { overflow-wrap: break-word; }
.btn { min-height: 44px; text-align: center; }
.nav-toggle { min-width: 44px; min-height: 44px; }
:focus-visible { outline: 3px solid var(--purple-500); outline-offset: 2px; }
@media (max-width: 860px) { .main-nav { max-height: calc(100dvh - 78px); overflow-y: auto; } }
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 9.5vw, 2.4rem); letter-spacing: 0; }
  .hero-actions .btn { width: 100%; }
  .container { padding-inline: 18px; }
  .page-banner h1 { font-size: clamp(1.5rem, 7vw, 1.8rem); }
}
@media (min-width: 861px) and (max-width: 1100px) { .main-nav { gap: 14px; } .main-nav a { font-size: .9rem; white-space: nowrap; } }
@media (min-width: 1600px) { html { font-size: 112.5%; } }
