/* Voxomed — site vitrine. Feuille de style 100 % locale (aucune ressource externe). */

/* Police de marque fournie (auto-hébergée) pour le nom « VoxOmeD » du header. */
@font-face {
  font-family: "VoxOmeD";
  src: url("/static/VoxOmeD.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal:        #15616d;   /* couleur de marque (pétrole/médical, proche du logo) */
  --teal-dark:   #0f4a54;
  --teal-darker: #0b3942;
  --accent:      #2a9d8f;   /* accent plus clair */
  --ink:         #16242b;   /* texte principal */
  --muted:       #5c6f78;   /* texte secondaire */
  --line:        #dde6e8;
  --bg:          #ffffff;
  --bg-soft:     #f3f7f8;   /* sections alternées */
  --bg-deep:     #0f4a54;   /* sections sombres */
  --ok:          #2b8a3e;
  --shadow:      0 10px 30px rgba(15, 74, 84, .08);
  --shadow-sm:   0 2px 10px rgba(15, 74, 84, .06);
  --radius:      14px;
  --maxw:        1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* --- En-tête / navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; }
.brand img { height: 42px; width: auto; }   /* logo paysage transparent : hauteur fixe */
/* Police de marque réutilisable (header, footer, formulaire de contact). */
.brand-font { font-family: "VoxOmeD", system-ui, sans-serif; letter-spacing: .3px; }
.brand-name {
  font-family: "VoxOmeD", system-ui, sans-serif;
  font-size: 1.7rem; line-height: 1; letter-spacing: .5px; color: var(--teal-darker);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--teal); }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem .9rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(21, 97, 109, .28); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); background: var(--bg-soft); }
.btn-ghost-light { background: transparent; color: #eafafa; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, #e7f3f3 0%, rgba(231,243,243,0) 60%),
    linear-gradient(180deg, #fbfdfd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: 5rem 1.5rem 4.5rem;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 700;
  color: var(--teal); margin: 0 0 .9rem;
}
.hero-text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.1; margin: 0 0 1.2rem;
  letter-spacing: -.5px; color: var(--teal-darker);
}
.lead { font-size: 1.18rem; color: var(--muted); margin: 0 0 2rem; max-width: 36ch; }
.lead strong, .hero-text strong { color: var(--ink); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.5rem; color: var(--muted); font-size: .92rem; }

.hero-visual { display: flex; justify-content: center; }
/* Logo FLOTTANT (fond transparent) : pas de carte, juste une ombre portée. */
.hero-logo {
  width: 100%; max-width: 460px; height: auto;
  filter: drop-shadow(0 22px 38px rgba(15, 74, 84, .22));
}

/* --- Bandeau confiance ---------------------------------------------------- */
.trust { background: var(--teal-darker); color: #eafafa; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 1.8rem 1.5rem;
}
.trust-item { display: flex; flex-direction: column; gap: .15rem; }
.trust-item strong { font-size: 1.05rem; }
.trust-item span { color: #bfe0e0; font-size: .9rem; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head h2, .split-text h2, .cta-inner h2, .center h2 { letter-spacing: -.4px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; color: var(--teal-darker); }
.section-sub { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* --- Cartes fonctionnalités ----------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0e2; }
.card h3 { margin: .2rem 0 .5rem; font-size: 1.15rem; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e7f3f3, #d6ebec); color: var(--teal);
}
.icon svg { width: 24px; height: 24px; }

/* --- Section scindée (sécurité) ------------------------------------------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.split-text p { color: var(--muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li {
  position: relative; padding: .5rem 0 .5rem 2rem; color: var(--ink); font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .85rem; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/14px no-repeat;
}
.split-aside { display: flex; justify-content: center; }
.stat-card {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-darker) 100%);
  color: #fff; border-radius: 18px; padding: 2.2rem; width: 100%; max-width: 340px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.stat-label { color: #cfeaea; font-size: .95rem; margin-top: .3rem; }

/* --- Étapes --------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; font-weight: 800;
  background: var(--teal); color: #fff; margin-bottom: 1rem;
}
.step h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* --- CTA finale ----------------------------------------------------------- */
.cta {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(42,157,143,.25) 0%, rgba(42,157,143,0) 60%),
    linear-gradient(160deg, var(--teal) 0%, var(--teal-darker) 100%);
  color: #fff; padding: 5rem 0;
}
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #d6eeee; font-size: 1.15rem; margin: 0 0 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Formulaire de contact ------------------------------------------------ */
.form-wrap { max-width: 760px; margin: 2.5rem auto 0; }
.contact-form {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 2rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.1rem; text-align: left;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--accent); }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: .35rem; font: inherit; color: var(--ink);
  padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(21,97,109,.12);
}
.contact-form textarea { resize: vertical; }
.captcha {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 1rem;
}
.captcha-q { display: inline-block; font-weight: 700; font-size: 1.1rem; color: var(--teal-darker); margin: .3rem .6rem .3rem 0; }
.captcha input { max-width: 110px; display: inline-block; }
.contact-form button { align-self: flex-start; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
/* Honeypot anti-robot : invisible pour les humains, présent pour les bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash { border-radius: 12px; padding: 1.1rem 1.3rem; font-size: 1.02rem; }
.flash-ok { background: #eafaf1; color: #1b6b43; border: 1px solid #bfe6cf; }
.flash-error { background: #fdecec; color: #b42318; border: 1px solid #f3c7c2; margin-bottom: 1.2rem; }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { background: #0b3942; color: #cfe0e2; padding: 3rem 0 2rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand strong { color: #fff; display: block; font-family: "VoxOmeD", system-ui, sans-serif; font-size: 1.35rem; letter-spacing: .4px; }
.footer-brand span { font-size: .88rem; color: #9fc3c6; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: #cfe0e2; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-legal { padding-top: 1.5rem; }
.footer-legal p { margin: .3rem 0; font-size: .85rem; color: #9fc3c6; }
.disclaimer { max-width: 75ch; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; }
  .hero-visual { order: -1; }
  .lead { max-width: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links { gap: .9rem; }
  .nav-links a:not(.btn) { display: none; }   /* nav épurée sur mobile */
  .section { padding: 3.5rem 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; text-align: center; }
}
