/* Artiplan : site vitrine. Couleurs et tailles réglées ici, une seule fois. */
:root {
  /* Mêmes couleurs que l'application : marine, bleu « flamme », orange. */
  --ink: #13213B;
  --ink-2: #3C4A63;
  --muted: #5D6A82;
  --paper: #F3F6FB;
  --card: #FFFFFF;
  --line: #E0E6F0;
  --accent: #1D7FE0;
  --accent-ink: #1566B8;
  --orange: #F2661C;
  --night: #0E2347;
  --radius: 14px;
  --w: 1160px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 17px/1.6 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; letter-spacing: -0.01em; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }

/* en-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(243,246,251,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 760; font-size: 1.28rem; letter-spacing: -0.02em; }
nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
nav a { text-decoration: none; color: var(--ink-2); }
nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 10px; border: 0; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; background: var(--accent); color: #fff; transition: background .15s; }
.btn:hover { background: var(--accent-ink); }
.btn.sec { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.sec:hover { background: var(--ink); color: #fff; }
.kicker { color: var(--accent-ink); }
nav .btn { padding: 9px 18px; font-size: .93rem; color: #fff; }

/* première page */
.hero { padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero .lead { margin: 22px 0 32px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.metiers { margin-top: 30px; font-size: .92rem; color: var(--muted); }
.cadre-video { border-radius: 16px; overflow: hidden; background: var(--night); box-shadow: 0 30px 60px -28px rgba(15,26,36,.55), 0 0 0 1px rgba(15,26,36,.08); }
.cadre-video video { width: 100%; aspect-ratio: 16 / 9; background: var(--night); }
.legende { margin-top: 12px; font-size: .88rem; color: var(--muted); }

/* sections */
section { padding: 88px 0; }
.blanc { background: var(--card); border-block: 1px solid var(--line); }
.tete { max-width: 40em; margin-bottom: 48px; }
.tete p { margin-top: 14px; color: var(--ink-2); }
.grille { display: grid; gap: 22px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.carte { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.blanc .carte { background: var(--paper); }
.carte p { margin-top: 10px; color: var(--ink-2); font-size: .98rem; }
.carte .pastille { width: 38px; height: 38px; border-radius: 10px; background: #DCEAFB; color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }
.carte .pastille svg { width: 20px; height: 20px; }

/* options (fond sombre) */
.sombre { background: var(--night); color: #F2EFE8; }
.sombre .kicker { color: #F2861C; }
.sombre .tete p { color: #B7C6E2; }
.option { border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.03); }
.option p { margin-top: 10px; color: #B7C6E2; font-size: .98rem; }
.option .ex { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #E3EAF7; }
.option .ex b { color: #F2861C; font-weight: 650; }
.note { margin-top: 30px; color: #B7C6E2; max-width: 44em; }

/* étapes */
.etapes { counter-reset: e; }
.etape { position: relative; padding-top: 58px; }
.etape::before { counter-increment: e; content: counter(e); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.etape p { margin-top: 10px; color: var(--ink-2); }

/* personnalisation */
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.liste { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.liste li { padding-left: 30px; position: relative; color: var(--ink-2); }
.liste li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.maquette-connexion { border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(15,26,36,.4); overflow: hidden; }
.maquette-connexion .barre { height: 34px; background: #E6ECF6; display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.maquette-connexion .barre i { width: 10px; height: 10px; border-radius: 50%; background: #C5CEDD; }
.maquette-connexion .corps { padding: 44px 40px 40px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.maquette-connexion .logo-client { width: 54px; height: 54px; border-radius: 14px; background: #1D7FE0; color: #fff; display: grid; place-items: center; font-weight: 800; }
.maquette-connexion .champ { width: 100%; max-width: 280px; height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #F7F9FD; display: flex; align-items: center; padding: 0 14px; color: var(--muted); font-size: .92rem; }
.maquette-connexion .bouton { width: 100%; max-width: 280px; height: 42px; border-radius: 9px; background: #1D7FE0; color: #fff; display: grid; place-items: center; font-weight: 650; font-size: .95rem; }
.maquette-connexion small { color: var(--muted); }

/* tarifs et questions */
.tarifs { text-align: center; }
.tarifs .tete { margin-inline: auto; }
.faq { max-width: 52em; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-ink); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--ink-2); max-width: 44em; }

/* contact */
form { display: grid; gap: 16px; max-width: 640px; }
.ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
input, textarea, select { font: inherit; padding: 12px 14px; border: 1px solid #C5CEDD; border-radius: 9px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
#retour { font-size: .93rem; color: var(--ink-2); min-height: 1.4em; }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 960px) {
  .hero .wrap, .deux { grid-template-columns: 1fr; gap: 40px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  /* menu déroulant */
  .burger { display: flex; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 22px 30px -22px rgba(15,26,36,.45); }
  .menu-case:checked ~ nav { display: flex; }
  .top nav a:not(.btn) { display: block; padding: 16px 2px; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: var(--ink); }
  .top nav .btn { margin-top: 16px; padding: 15px 18px; font-size: 1.02rem; }
  .menu-case:checked + .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-case:checked + .burger span:nth-child(2) { opacity: 0; }
  .menu-case:checked + .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* section tarifs : texte à gauche comme le reste de la page (centré, il se cassait mal en lignes courtes) */
  .tarifs { text-align: left; }
  .tarifs .tete { margin-inline: 0; }
}
@media (max-width: 560px) {
  .g4, .g2, .ligne { grid-template-columns: 1fr; }
  .top .wrap { height: 60px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Tarifs */
.formules{margin-top:8px}
.formule{background:#fff;border:1px solid var(--line,#E0E6F0);border-radius:14px;padding:22px}
.formule.vedette{border:2px solid var(--accent,#1D7FE0)}
.formule h3{margin:0 0 6px}
.formule .prix{margin:0 0 8px;color:var(--ink,#13213B)}
.formule .prix b{font-size:34px;font-weight:700}
.options-prix{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px;margin:26px 0}
.liste-prix{list-style:none;margin:10px 0;padding:0}
.liste-prix li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line,#E0E6F0)}
.liste-prix b{white-space:nowrap}
.options-prix .note{font-size:14px;color:var(--muted,#5D6A82)}

/* Pages de référencement */
.prose { max-width: 820px; padding: 40px 0 70px; }
.prose h1 { margin: 10px 0 14px; } .prose h2 { font-size: 1.45rem; margin: 38px 0 10px; } .prose p, .prose li { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; }
.prose ul { padding-left: 1.2em; } .prose li { margin: 6px 0; } .prose a { color: var(--accent-ink); }
.fil { font-size: .9rem; color: var(--muted); } .fil a { color: var(--muted); }
.appel { margin-top: 46px; background: var(--night, #0E2347); color: #fff; border-radius: 16px; padding: 28px 30px; }
.appel h2 { color: #fff; margin: 0 0 6px; } .appel p { color: #B7C6E2; } .appel .btn { margin: 8px 8px 0 0; }
.prix { width: 100%; border-collapse: collapse; margin: 10px 0 4px; } .prix td { padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); } .prix td.d { text-align: right; font-weight: 700; white-space: nowrap; color: var(--ink); }
.pied-liens { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 18px; } .pied-liens a { display: inline-block; margin: 2px 0; }
@media (max-width: 700px) { .pied-liens { grid-template-columns: 1fr; } }

.prose section { padding: 0; }
.prose .appel { margin-top: 46px; }

/* menu : case cachée + bouton à trois barres (visible seulement sur téléphone et tablette) */
.menu-case { position: absolute; opacity: 0; width: 44px; height: 44px; right: 20px; top: 12px; margin: 0; cursor: pointer; z-index: 2; display: none; }
.burger { display: none; width: 44px; height: 44px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-case:focus-visible + .burger { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 960px) { .menu-case { display: block; } .burger { display: flex; } }
@media (max-width: 560px) { .menu-case { top: 8px; } }

/* boutons : lisibles dans le texte des pages et dans l'encadré sombre (le lien du texte ne doit pas colorer un bouton) */
.prose .btn { color: #fff; }
.prose .btn.sec { color: var(--ink); }
.appel .btn.sec { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
.appel .btn.sec:hover { background: #fff; color: var(--night); }
.appel .btn { margin: 8px 8px 0 0; }
.tarifs .btn { margin: 6px 4px; }
@media (max-width: 960px) { .tarifs .btn { margin: 6px 8px 6px 0; } }

/* titres : retours à la ligne équilibrés (pas de mot seul sur la dernière ligne) */
h1, h2, h3 { text-wrap: balance; }

/* liste des options en deux colonnes sur grand écran (l'autre bloc passe dessous au lieu de laisser un grand vide) */
.options-prix { grid-template-columns: 1fr; }
.options-prix > div:last-child { max-width: 560px; }
@media (min-width: 700px) { .options-prix > div:first-child .liste-prix { columns: 2; column-gap: 56px; } .liste-prix li { break-inside: avoid; } }

/* section tarifs de l'accueil : titre, cartes et boutons centrés sur la page ; listes et notes alignées à gauche dans leur colonne */
.tarifs .lead { margin: 22px auto 6px; max-width: 46em; text-align: center; }
.tarifs .options-prix { text-align: left; }
.tarifs .options-prix .note { margin-top: 12px; }
.tarifs .cta { margin-top: 34px; text-align: center; }
@media (max-width: 960px) { .tarifs .lead, .tarifs .cta { text-align: left; margin-inline: 0; } }

/* cartes-liens : pas de soulignement sur tout le texte */
a.carte { display: block; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.carte:hover { border-color: var(--accent); box-shadow: 0 8px 22px -14px rgba(29,127,224,.55); }

/* tableaux de prix : le texte commence au même bord que le paragraphe au-dessus */
.prix td:first-child { padding-left: 0; } .prix td.d { padding-right: 0; }

/* le menu collé en haut ne doit pas cacher le titre quand on arrive par un lien d'ancre */
[id] { scroll-margin-top: 80px; }

p { text-wrap: pretty; }
