/* Vitrine publique (boutique) — mise en page type « hébergeur » : bandeau sombre, méga-menu, héros arrondi, bento, rangées de solutions. */
body.site {
  --navy: #0a1a4a;
  --navy-2: color-mix(in srgb, var(--navy) 85%, #fff);
  --ink: #0b1437;
  --ink-2: #33406b;
  --muted: #5d6788;
  --soft: #f5f8ff;
  --tone-blue: #e8f3ff; --tone-green: #e3fbea; --tone-violet: #f0ebff; --tone-amber: #fff4e0;
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: #fff; color: var(--ink); font-size: 16px;
}
body.site h1, body.site h2, body.site h3, body.site h4 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
body.site .container { max-width: 1240px; }
body.site .btn { border-radius: 6px; font-weight: 500; padding: 11px 20px; }
body.site .btn-primary { background: var(--brand); border-color: var(--brand); }
body.site .btn-primary:hover { background: var(--brand-dark); filter: none; }
.btn-outline-brand { background: #fff; border: 1px solid var(--brand) !important; color: var(--brand) !important; }
.btn-outline-brand:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--navy) !important; font-weight: 600 !important; }

/* Bandeau supérieur */
.topbar { background: var(--navy); color: #fff; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 10px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar .sep { width: 1px; height: 18px; background: rgba(255,255,255,.25); }
.topbar .strong { font-weight: 600; }

/* En-tête et méga-menu */
body.site .site-header { border-bottom: 1px solid #eef0f6; box-shadow: 0 2px 12px rgba(10,26,74,.04); }
body.site .site-header .container { height: 76px; }
body.site .brand img { max-height: 46px; }
body.site .site-nav { gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 10px 14px; color: var(--ink) !important; font-weight: 500; font-size: .98rem; border-radius: 6px; text-decoration: none !important; }
.nav-link:hover { color: var(--brand) !important; }
.nav-cart { position: relative; padding: 8px 12px; font-size: 1.15rem; text-decoration: none !important; }
.mega { display: none; }
@media (min-width: 960px) {
  .mega { position: absolute; top: 100%; left: -10px; min-width: 330px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 18px 40px rgba(10,26,74,.16); border: 1px solid #eef0f6; z-index: 40; }
  .nav-item:hover .mega, .nav-item:focus-within .mega { display: block; }
  .nav-item:hover > .nav-link { color: var(--brand) !important; }
}
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none !important; }
.mega a:hover { background: var(--soft); }
.mega .mi { width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--brand-soft); display: grid; place-items: center; }
.mega strong { display: block; font-weight: 600; font-size: .95rem; }
.mega small { display: block; color: var(--muted); font-size: .82rem; }
.mega .mega-all { color: var(--brand); font-weight: 600; font-size: .9rem; border-top: 1px solid #eef0f6; border-radius: 0 0 8px 8px; margin-top: 4px; }
body.site .site-nav.open { top: 76px; }
body.site .site-nav.open .mega { display: block; padding-left: 10px; }
body.site .site-nav.open .mega a { padding: 6px 8px; }

/* Héros */
.hero-wrap { padding: 14px 14px 0; }
.hero-card { position: relative; border-radius: 16px; overflow: hidden; min-height: 460px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand) 55%, transparent) 0, transparent 45%),
              radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--brand) 40%, transparent) 0, transparent 40%),
              linear-gradient(135deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 70%, var(--brand)) 100%); }
.hero-card.has-img { background-size: cover; background-position: center; }
.hero-card.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,40,.35), rgba(5,12,40,.55)); }
.hero-inner { position: relative; width: 100%; max-width: 1000px; padding: 56px 20px; text-align: center; color: #fff; }
.hero-inner h1 { color: #fff; font-size: 2.1rem; line-height: 1.12; margin-bottom: .35em; text-shadow: 0 2px 16px rgba(0,0,0,.18); }
.hero-sub { font-size: 1.1rem; opacity: .95; margin-bottom: 28px; }
.hero-search { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.2); flex-wrap: wrap; }
.hero-search .hs-icon { padding-left: 10px; font-size: 1.1rem; }
.hero-search input { flex: 1 1 200px; min-width: 0; border: 0; font: inherit; font-size: 1.05rem; padding: 12px 6px; color: var(--ink); }
.hero-search input:focus { outline: none; }
.hero-search .hs-link { color: var(--ink); font-weight: 500; padding: 0 16px; border-left: 1px solid #e3e7f1; white-space: nowrap; text-decoration: underline; }
.hero-search .btn { padding: 15px 30px; font-size: 1.05rem; flex: 1 1 auto; }
.hero-tlds { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.hero-tlds span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; font-size: .92rem; backdrop-filter: blur(4px); }
@media (min-width: 720px) {
  .hero-wrap { padding: 18px 24px 0; }
  .hero-inner h1 { font-size: 3.2rem; }
  .hero-search { flex-wrap: nowrap; padding: 10px; }
  .hero-search .btn { flex: none; }
}

/* Sections */
.s-block { padding: 64px 0; }
.s-soft { background: var(--soft); }
.s-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.s-head h2 { font-size: 1.8rem; margin-bottom: .3em; }
.s-head p { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 720px) { .s-head h2 { font-size: 2.3rem; } }

/* Onglets pilule + bento */
.pill-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.pill-tabs button { border: 1px solid #dbe2f1; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 22px; font: inherit; font-weight: 500; cursor: pointer; }
.pill-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.bento-panel { display: none; }
.bento-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .bento { grid-template-columns: 1.25fr 1fr; grid-auto-rows: minmax(250px, auto); } .bento-box.big { grid-row: span 2; } }
.bento-box { position: relative; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bento-box h3 { font-size: 1.45rem; margin: 8px 0 4px; }
.bento-box.big h3 { font-size: 1.9rem; }
.bento-box p { color: var(--ink-2); max-width: 520px; flex: 1; }
.bento-box .btn { margin-top: 8px; }
.tone-blue { background: var(--tone-blue); } .tone-green { background: var(--tone-green); } .tone-violet { background: var(--tone-violet); } .tone-amber { background: var(--tone-amber); }
.bento-icon { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 6px 16px rgba(10,26,74,.08); }
.badge-pop { position: absolute; top: 18px; right: 18px; background: color-mix(in srgb, var(--brand) 18%, #fff); color: var(--brand-dark); border-radius: 999px; padding: 5px 14px; font-size: .8rem; font-weight: 600; }
.from { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.from small { color: var(--muted); font-size: .88rem; }
.from strong { font-size: 1.55rem; font-weight: 700; color: var(--ink); }

/* Rangées de solutions */
.sol-row { display: grid; gap: 28px; align-items: center; padding: 26px 0; }
.sol-row + .sol-row { border-top: 1px solid #e3e8f4; }
@media (min-width: 860px) { .sol-row { grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 0; } .sol-row.reverse .sol-visual { order: -1; } }
.sol-text h3 { font-size: 1.8rem; margin-bottom: .4em; }
.sol-text p { color: var(--ink-2); font-size: 1.04rem; }
.sol-points { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sol-points li { position: relative; padding-left: 26px; font-weight: 500; }
.sol-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center; font-weight: 700; }
.sol-visual { border-radius: 16px; min-height: 280px; padding: 34px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mock-search { background: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: 0 12px 30px rgba(10,26,74,.1); font-size: 1.15rem; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.mock-search span { color: var(--muted); } .mock-search b { color: var(--ink); }
.mock-search em { margin-left: auto; font-style: normal; color: #0a8a3c; font-size: .9rem; font-weight: 600; }
.mock-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.mock-chips span { background: #fff; border-radius: 999px; padding: 6px 16px; font-weight: 600; box-shadow: 0 4px 12px rgba(10,26,74,.06); }
.mock-big { font-size: 3rem; width: 84px; height: 84px; border-radius: 18px; background: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(10,26,74,.1); }
.mock-list { display: grid; gap: 10px; }
.mock-list div { background: #fff; border-radius: 10px; padding: 12px 16px; display: flex; justify-content: space-between; gap: 10px; box-shadow: 0 4px 12px rgba(10,26,74,.06); font-size: .95rem; }
.mock-list b { color: var(--brand); white-space: nowrap; }

/* Services additionnels */
.extra-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .extra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .extra-grid { grid-template-columns: repeat(4, 1fr); } }
.extra-card { border: 1px solid #e3e8f4; border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 8px; background: #fff; transition: box-shadow .2s, transform .2s; }
.extra-card:hover { box-shadow: 0 16px 36px rgba(10,26,74,.1); transform: translateY(-2px); }
.extra-card h3 { font-size: 1.25rem; margin: 8px 0 0; }
.extra-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.extra-foot .btn { width: 100%; }

/* Bandeau sombre */
.s-dark { background: var(--navy); color: #fff; padding: 72px 0; }
.s-dark h2 { color: #fff; font-size: 2rem; }
.s-dark p { color: rgba(255,255,255,.82); font-size: 1.04rem; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--brand) 45%, #fff); margin-bottom: 10px; }
.dark-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .dark-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.dark-cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.dark-cards div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.dark-cards b { font-size: 1.5rem; }
.dark-cards strong { font-size: 1.05rem; }
.dark-cards span { color: rgba(255,255,255,.72); font-size: .9rem; }

/* Témoignages */
.quotes { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; border: 1px solid #e3e8f4; border-radius: 12px; padding: 24px; background: #fff; }
.quote blockquote { margin: 0 0 12px; font-size: 1.02rem; color: var(--ink-2); }
.quote figcaption { font-weight: 600; }

/* Pourquoi nous choisir (accordéon) */
.why { display: grid; gap: 28px; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.why h2 { font-size: 2rem; }
@media (min-width: 900px) { .why h2 { font-size: 2.5rem; position: sticky; top: 100px; } }
.why-list details { border-bottom: 1px solid #dbe2f1; padding: 18px 0; }
.why-list summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.why-list summary::-webkit-details-marker { display: none; }
.why-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.why-list details[open] summary::after { content: "−"; }
.why-list p { color: var(--ink-2); margin: 12px 0 0; }

/* Appel à l'action */
.s-cta { background: var(--brand); color: #fff; padding: 44px 0; }
.s-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.s-cta h2 { color: #fff; margin: 0 0 4px; }
.s-cta p { margin: 0; opacity: .9; }

/* Pied de page */
body.site .site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 56px 0 24px; border: 0; margin-top: 0; }
body.site .site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
body.site .site-footer a { color: rgba(255,255,255,.78); display: block; padding: 3px 0; }
body.site .site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.brand-light { color: #fff !important; }
.brand-light img { max-height: 44px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay-badges span { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 4px 10px; font-size: .8rem; color: #fff; }
body.site .site-footer .copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: .88rem; }
body.site .site-footer .copy a { display: inline; }

/* Pages intérieures de la boutique (offres, domaines, panier) */
body.site .section { padding: 56px 0; }
body.site .section-title h1 { font-size: 2.2rem; }
body.site .plan { border-radius: 12px; border-color: #e3e8f4; box-shadow: none; }
body.site .plan:hover { box-shadow: 0 16px 36px rgba(10,26,74,.1); }
body.site .plan.featured { border-color: var(--brand); }
body.site .plan .price { font-weight: 700; }
body.site .tabs a { border-radius: 999px; }
body.site .domain-search { border-radius: 10px; }

/* Correctifs de priorité (les titres des zones sombres restent blancs) et menu sur une ligne */
body.site .hero-inner h1, body.site .s-dark h2, body.site .s-cta h2 { color: #fff; }
@media (min-width: 960px) {
  .nav-link { white-space: nowrap; padding: 10px 11px; font-size: .95rem; }
}
@media (min-width: 960px) and (max-width: 1180px) { .nav-link { padding: 10px 7px; font-size: .9rem; } }
.bento-points { margin: 6px 0 4px; flex-direction: column; gap: 6px; }
.extra-card .from strong { font-size: 1.3rem; }
@media (min-width: 860px) {
  .bento-box.big:only-child { grid-column: 1 / -1; grid-row: auto; }
  .bento-box.big:first-child:nth-last-child(2) { grid-row: auto; }
}
.bento-box p { flex: none; }
.bento-box .from { margin-top: auto; padding-top: 8px; }
