/* Hydeflow — prélanding e-commerce
   Mobile-first, zéro dépendance externe. */

:root {
  --ink: #0e2233;
  --ink-soft: #3a4a57;
  --muted: #6b7a86;
  --line: #e4eaee;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-deep: #0e2233;
  --brand: #0a8aa6;
  --brand-deep: #066b82;
  --brand-soft: #e3f3f7;
  --accent: #f5a623;
  --ok: #1f9d6b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14,34,51,.06), 0 8px 30px rgba(14,34,51,.07);
  --shadow-lg: 0 20px 50px rgba(14,34,51,.14);
  --maxw: 1140px;
  --pad: clamp(18px, 5vw, 28px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(48px, 9vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 65ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Image placeholders */
.ph {
  background:
    repeating-linear-gradient(45deg, #eef4f7 0 14px, #e7eff3 14px 28px);
  border: 1px dashed #c2d4dc; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #7d97a4; font-size: .85rem; font-weight: 600; padding: 18px; min-height: 200px;
}
.ph--hero { min-height: 380px; }
.ph--sq { aspect-ratio: 1/1; min-height: 0; }
.ph--wide { aspect-ratio: 16/9; min-height: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1.02rem; padding: 15px 28px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(10,138,166,.32); }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--lg { padding: 18px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo .drop { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); transform: rotate(-45deg); flex: 0 0 auto; }
.nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--brand-deep); text-decoration: none; }
.nav .btn { padding: 10px 20px; font-size: .92rem; }
.nav-links { display: none; gap: 26px; }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); overflow: hidden; }
.hero .grid { display: grid; gap: 36px; align-items: center; padding: clamp(40px,7vw,72px) 0; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 span { color: var(--brand-deep); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero .microcopy { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Trust bar */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; padding: 18px var(--pad); }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.trust-item .ic { color: var(--ok); flex: 0 0 auto; }

/* Generic grids */
.grid-2 { display: grid; gap: 28px; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards--2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.card .ic-circle {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  color: var(--brand-deep); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; font-size: .98rem; }

/* Steps */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}

/* Comparison table */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 460px; background: #fff; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
table.cmp thead th { background: var(--bg-deep); color: #fff; font-weight: 700; letter-spacing: -.01em; }
table.cmp thead th:first-child { background: var(--bg-deep); }
table.cmp tbody td:first-child { font-weight: 600; color: var(--ink); }
table.cmp .yes { color: var(--ok); font-weight: 700; }
table.cmp .no { color: #c0392b; font-weight: 700; }
table.cmp .col-brand { background: var(--brand-soft); }
table.cmp thead th.col-brand { background: var(--brand-deep); color: #fff; }

/* Reviews */
.reviews { display: grid; gap: 20px; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review p { font-size: .98rem; color: var(--ink-soft); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review .who b { display: block; font-size: .92rem; color: var(--ink); }
.review .who span { font-size: .82rem; color: var(--muted); }
.note {
  background: #fff8ec; border: 1px solid #f3dcae; color: #7a5a16;
  border-radius: var(--radius); padding: 14px 18px; font-size: .9rem; margin-top: 22px;
}

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-deep); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; }

/* Brand / about */
.about .grid-2 .ph { min-height: 320px; }

/* Info trio (livraison/remboursement/paiement) */
.info-trio { display: grid; gap: 20px; }
@media (min-width: 820px) { .info-trio { grid-template-columns: repeat(3, 1fr); } }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px,5vw,44px); box-shadow: var(--shadow); }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); background: #fff; }

/* Final CTA */
.cta-final { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--ink) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px,6vw,64px); text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.85); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-final .btn--primary { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.cta-final .btn--primary:hover { background: #f0f8fa; color: var(--brand-deep); }

/* Footer */
.site-footer { background: var(--bg-deep); color: #c7d4dc; padding: clamp(44px,7vw,72px) 0 28px; }
.site-footer a { color: #c7d4dc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .86rem; color: #8ea4b1; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Legal pages */
.legal { padding: clamp(40px,7vw,72px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: .3em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; }
.legal h3 { font-size: 1.12rem; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-soft); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: 600; }

/* Real images */
.shot { display: block; width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }
.shot--hero { aspect-ratio: 16/10; }
.shot--wide { aspect-ratio: 16/9; }
.shot--sq { aspect-ratio: 1/1; }
.about .shot { aspect-ratio: 4/3; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }
