/* VisitePro — site vitrine. Mobile first, sans dépendance externe. */
:root {
  --navy: #0D1B2A;
  --navy-2: #16283d;
  --teal: #00A896;          /* accent décoratif (sur fond sombre) */
  --teal-strong: #00796D;   /* texte et boutons sur fond clair (contraste AA) */
  --teal-light: #E0F7F5;
  --fog: #F0F2F8;
  --mist: #DDE3EE;
  --slate: #526173;
  --ink: #0D1B2A;
  --white: #fff;
  --red: #C0392B;
  --orange: #B34700;
  --green: #1A7A40;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-strong); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 27, 42, .97); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand:hover { color: var(--white); }
.brand img { width: 32px; height: 32px; background: var(--white); border-radius: 8px; padding: 3px; }
.brand span span { color: var(--teal); }
.nav-toggle { background: none; border: 1px solid rgba(255,255,255,.35); color: var(--white); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--navy); padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; color: rgba(255,255,255,.9); text-decoration: none; padding: 12px 0; font-weight: 600; }
.nav a:hover { color: var(--teal); }
.nav .btn { margin-top: 8px; text-align: center; color: var(--white); }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .nav { display: block; position: static; padding: 0; background: none; border: 0; }
  .nav ul { display: flex; align-items: center; gap: 28px; }
  .nav a { padding: 8px 0; }
  .nav .btn { margin: 0; padding: 10px 18px; }
}

/* Boutons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 10px; padding: 14px 22px; border: 2px solid transparent; font: inherit; font-weight: 700; cursor: pointer; line-height: 1.2; }
.btn-primary { background: var(--teal-strong); color: var(--white); }
.btn-primary:hover { background: #005f56; color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 56px 0 64px; overflow: hidden; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 40em; }
.hero-grid { display: grid; gap: 40px; }
.hero-visual { position: relative; padding-bottom: 24px; }
.hero-visual .frame-mobile { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 190px; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 88px; }
  .hero-grid { grid-template-columns: 5fr 6fr; align-items: center; }
}

/* Cadres de captures */
.frame-desktop { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--mist); }
.frame-desktop::before { content: ""; display: block; height: 26px; background-color: #e9edf3; border-bottom: 1px solid var(--mist);
  background-image: radial-gradient(circle at 14px 13px, #c7ced9 4px, transparent 5px), radial-gradient(circle at 30px 13px, #c7ced9 4px, transparent 5px), radial-gradient(circle at 46px 13px, #c7ced9 4px, transparent 5px); }
.frame-mobile { background: var(--navy); border-radius: 26px; padding: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }
.frame-mobile img { border-radius: 19px; }
.hero .frame-desktop { border-color: rgba(255,255,255,.1); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--fog); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-strong); margin-bottom: 10px; }
.section-intro { max-width: 46em; color: var(--slate); font-size: 1.1rem; }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 2; }
}
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300796D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; background-repeat: no-repeat; background-position: center; }
.checks strong { color: var(--navy); }

.status-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.status-pills li { font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--mist); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-red { background: var(--red); } .dot-orange { background: var(--orange); } .dot-green { background: var(--green); }

.cards { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--mist); }
.card p { margin: 0; color: var(--slate); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-light); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--teal-strong); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.gallery { display: grid; gap: 20px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--slate); margin-top: 10px; }

/* Tarif */
.pricing { background: var(--navy); color: var(--white); border-radius: 20px; padding: 40px 28px; text-align: center; box-shadow: var(--shadow); }
.pricing .price { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; margin: 0 0 8px; }
.pricing .price strong { color: var(--teal); }
.pricing p { color: rgba(255,255,255,.85); }

/* Formulaire */
.form { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--mist); max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--slate); font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #b8c2d1; border-radius: 10px; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-strong); outline: 3px solid rgba(0,168,150,.25); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.grid-2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal-strong); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.error { color: var(--red); }
.fallback { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--teal-light); color: var(--navy); }

/* Contact */
.contact { background: var(--white); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--mist); max-width: 720px; }
.contact p { margin: 0 0 16px; }
.contact-email { font-size: 1.2rem; font-weight: 700; word-break: break-all; }
.contact .hint-small { margin: 18px 0 0; font-size: .9rem; color: var(--slate); }

/* Pied de page */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 40px 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: var(--teal); }
.footer-grid { display: grid; gap: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* Pages de texte */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 820px; }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.todo { background: #FFF3CD; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.mt-40 { margin-top: 40px; } .mt-32 { margin-top: 32px; }
.frame-desktop img, .frame-mobile img { width: 100%; }
