/* SOLEIL TECH — site public. Léger (aucune police externe), pensé pour mobile et 3G. */
:root {
  --sun: #1f75e8; --sun-2: #6fb2ff; --sun-dark: #1662cf; --navy: #0f2744; --navy-2: #1d4575;
  --ink: #1f2937; --muted: #5b6878; --line: #e5e9ef; --bg: #f7f9fc; --soft: #eaf2fe; --green: #15803d; --wa: #25d366;
  --r: 16px; --shadow: 0 8px 30px rgba(15, 39, 68, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 249, 252, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: .03em; font-size: 1.1rem; }
.logo img { width: 42px; height: 42px; flex-shrink: 0; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo strong { font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; color: #111827; }
.logo small { font-size: .62rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); margin-top: 3px; }
.foot .logo strong { color: #fff; }
.foot .logo small { color: var(--sun-2); }
.foot .logo img { background: #fff; border-radius: 12px; padding: 5px; width: 46px; height: 46px; }
.menu { display: flex; gap: .2rem; margin-left: auto; align-items: center; }
.menu a { color: var(--ink); text-decoration: none; padding: .5rem .75rem; border-radius: 10px; font-weight: 550; font-size: .95rem; }
.menu a:hover, .menu a.on { background: var(--soft); color: var(--navy); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy); }
.burger svg { width: 26px; height: 26px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--navy); color: #fff; padding: .85rem 1.4rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; min-height: 48px; transition: transform .15s, background .15s; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-sun { background: var(--sun); color: #fff; }
.btn-sun:hover { background: #3386f0; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .5rem .9rem; min-height: 38px; font-size: .9rem; border-radius: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Accueil */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(31, 117, 232, .35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #173a63 100%); color: #e8eef6; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--sun-2); }
.hero .lead { color: #c9d6e6; }
.hero .sunball { position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8cc4ff, var(--sun) 50%, rgba(31, 117, 232, 0) 72%); opacity: .45; pointer-events: none; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.chiffres div { border-left: 3px solid var(--sun); padding-left: .9rem; }
.chiffres strong { display: block; font-size: 1.8rem; color: #fff; }
.chiffres span { font-size: .9rem; color: #b8c7da; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(15, 39, 68, .12); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--sun-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ic svg { width: 26px; height: 26px; }
.card .more { margin-top: auto; font-weight: 700; color: var(--navy-2); }
.card.media { padding: 0; overflow: hidden; }
.card.media .img { aspect-ratio: 16/10; background: #eef1f4 center/cover no-repeat; display: grid; place-items: center; color: #b3bfcc; }
.card.media .img svg { width: 48px; height: 48px; }
.card.media .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .15rem .6rem; border-radius: 99px; background: var(--soft); color: var(--sun-dark); margin: 0 .3rem .4rem 0; }
.tag.green { background: #e3f6ea; color: var(--green); }
.tag.gray { background: #eef1f4; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; counter-reset: s; }
.steps div { position: relative; padding: 1.3rem 1.2rem 1.2rem 4.2rem; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; left: 1.1rem; top: 1.2rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--sun); color: #fff; font-weight: 800; display: grid; place-items: center; }
.quote { font-size: 1.02rem; }
.quote::before { content: "“"; font-size: 3rem; line-height: 1; color: var(--sun); display: block; height: 1.6rem; }
.quote footer { margin-top: auto; font-size: .9rem; color: var(--muted); }
.quote footer strong { color: var(--navy); display: block; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list span { background: #fff; border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 99px; font-size: .92rem; }

/* Formulaires */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 1rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.f { display: flex; flex-direction: column; gap: .35rem; }
.f.full { grid-column: 1 / -1; }
.f label { font-weight: 650; font-size: .92rem; color: var(--navy); }
.f input, .f select, .f textarea { width: 100%; padding: .8rem .9rem; border: 1.5px solid #d3dbe5; border-radius: 12px; font-size: 1rem; font-family: inherit; background: #fff; min-height: 50px; color: var(--ink); }
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid rgba(31, 117, 232, .35); border-color: var(--sun); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 1rem 0; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--sun-dark); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin: 1rem 0; }
.alert-error { background: #fdeaea; color: #8e1c1c; }
.alert-success { background: #e3f6ea; color: #0f5b2c; }

/* Filtres, galerie */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; }
.filters select, .filters input { padding: .7rem .9rem; border: 1.5px solid #d3dbe5; border-radius: 12px; font-size: .95rem; background: #fff; min-height: 46px; font-family: inherit; }
.chips a { display: inline-block; padding: .45rem .95rem; border-radius: 99px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); margin: 0 .4rem .5rem 0; font-weight: 600; font-size: .92rem; background: #fff; }
.chips a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.gallery img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.main-photo { border-radius: var(--r); aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #eef1f4; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.2rem; margin: 1rem 0; }
.facts div span { display: block; font-size: .8rem; color: var(--muted); }
.facts div strong { color: var(--navy); }
.links { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Pied de page */
.foot { background: var(--navy); color: #b8c7da; padding: 3.5rem 0 2rem; margin-top: 0; }
.foot a { color: #e8eef6; text-decoration: none; }
.foot a:hover { color: var(--sun-2); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot h4 { color: #fff; margin: 0 0 .8rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .45rem; }
.foot .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); z-index: 60; }
.wa-float svg { width: 30px; height: 30px; }
.cta-band { background: linear-gradient(120deg, #1461d6 0%, #3a9bf7 100%); color: #fff; border-radius: 24px; padding: clamp(2rem, 5vw, 3.2rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: #fff; }

@media (max-width: 900px) {
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .6rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: .8rem .6rem; font-size: 1.05rem; }
  .burger { display: block; }
  .top .cta-top { display: none; }
  .split, .foot .cols { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .btns .btn { flex: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* Logo en grand dans l'en-tête de l'accueil */
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3rem; align-items: center; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo-card { background: #fff; border-radius: 28px; padding: 2.2rem 2rem 1.8rem; text-align: center; box-shadow: 0 30px 80px rgba(3, 18, 45, .45), 0 0 0 10px rgba(255, 255, 255, .06); max-width: 340px; }
.hero-logo-card img { width: 170px; height: 170px; margin: 0 auto 1rem; }
.hero-logo-card strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: .05em; color: #111827; line-height: 1.1; }
.hero-logo-card small { display: block; margin-top: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-logo { order: -1; justify-content: flex-start; }
  .hero-logo-card { display: flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem; border-radius: 18px; text-align: left; max-width: none; box-shadow: 0 12px 30px rgba(3, 18, 45, .35); }
  .hero-logo-card img { width: 54px; height: 54px; margin: 0; }
  .hero-logo-card strong { font-size: 1.15rem; }
  .hero-logo-card small { margin-top: .2rem; font-size: .6rem; }
}
@media (max-width: 420px) { .logo small.logo-tag { display: none; } }
.hero .wrap { position: relative; z-index: 1; }
.hero .sunball { z-index: 0; }
@media (max-width: 900px) { .hero-logo { display: none; } }
