/* ===== Speed Glaçon — charte graphique ===== */
/* Polices chargées dans le <head> de chaque page (preconnect + display=swap) */

:root {
  --blue: #2470a6;
  --blue-dark: #1b5d8b;
  --blue-deep: #134563;
  --ice: #b1dff9;
  --ice-light: #e8f6ff;
  --orange: #ed7332;
  --orange-dark: #d65d1e;
  --white: #ffffff;
  --ink: #16384d;
  --grey: #5b7180;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(19, 69, 99, 0.18);
  --shadow-sm: 0 6px 18px rgba(19, 69, 99, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Fira Sans Condensed', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: 'Salsa', cursive; font-weight: 400; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  font-family: 'Fira Sans Condensed', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(237, 115, 50, .4); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(36, 112, 166, .35); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-lg { padding: 18px 34px; font-size: 1.15rem; }
.btn-block { width: 100%; }

/* ===== Topbar ===== */
.topbar {
  background: var(--blue-deep); color: #fff; font-size: .95rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 12px; flex-wrap: wrap; }
.topbar a { font-weight: 600; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 6px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand .brand-name { font-family: 'Salsa', cursive; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.brand .brand-name small { display: block; font-family: 'Fira Sans Condensed'; color: var(--orange); font-size: .8rem; font-weight: 600; }
.header-cta { display: flex; gap: 10px; align-items: center; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, #3a8fc7 0%, var(--blue) 45%, var(--blue-dark) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='10' y='30' font-size='22' fill='%23ffffff' opacity='0.05'%3E%E2%9D%84%3C/text%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 56px 0 70px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; }
.hero h1 .hl { color: var(--ice); }
.hero .lead { font-size: 1.2rem; opacity: .95; margin-bottom: 22px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Photo du camion dans le hero */
.hero-media { position: relative; }
.hero-media img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: center;
  border-radius: 20px; box-shadow: 0 22px 50px rgba(0,0,0,.32); border: 4px solid rgba(255,255,255,.85);
}
.hero-media-tag {
  position: absolute; left: 16px; bottom: 16px; background: var(--orange); color: #fff;
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ===== Section formulaire (sous le hero) ===== */
.form-section { background: linear-gradient(180deg, var(--ice-light), #fff); padding: 0 0 56px; }
.form-section .form-card { max-width: 780px; margin: -46px auto 0; position: relative; z-index: 5; }

/* ===== Form card ===== */
.form-card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 26px; }
.form-card h2 { color: var(--blue); font-size: 1.5rem; margin-bottom: 4px; }
.form-card .sub { color: var(--grey); margin-bottom: 16px; font-size: .98rem; }
.field { margin-bottom: 13px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; color: var(--blue-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.6px solid #d4e6f3; border-radius: 11px;
  font-family: inherit; font-size: 1rem; background: var(--ice-light); transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(36,112,166,.15);
}
.field textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { text-align: center; font-size: .82rem; color: var(--grey); margin-top: 12px; }
.form-err { background: #fde8e8; color: #b42318; padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin-bottom: 12px; display: none; }
.seg-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--blue-dark); }
.seg-label .opt, .opt { color: var(--grey); font-weight: 500; }

/* Segmented control (particulier / professionnel) */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
  padding: 12px 10px; border: 1.6px solid #d4e6f3; border-radius: 11px; background: var(--ice-light);
  font-weight: 600; color: var(--blue-dark); transition: all .15s; user-select: none; text-align: center;
}
.segmented input:checked + label { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 6px 14px rgba(36,112,166,.3); }
.segmented input:focus-visible + label { box-shadow: 0 0 0 3px rgba(36,112,166,.25); }

/* Quantités par produit */
.qty-block { margin-bottom: 13px; }
.qty-min-note { background: #eaf4fc; border: 1px solid #cfe6f8; color: var(--blue-dark); font-size: .88rem; padding: 9px 12px; border-radius: 10px; margin: 4px 0 12px; }
.qty-total { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 11px 14px; border-radius: 11px; background: var(--ice-light); border: 1.6px solid #d4e6f3; font-size: 1rem; transition: background .2s, border-color .2s; }
.qty-total span { color: var(--blue-dark); font-weight: 600; }
.qty-total b { font-family: 'Salsa', cursive; font-size: 1.3rem; color: var(--grey); }
.qty-total.ok { background: #e7f7ee; border-color: #a8e0c1; }
.qty-total.ok b { color: #2e9e6b; }
.qty-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border: 1.6px solid #e1eef7; border-radius: 11px; margin-bottom: 8px; background: #fbfdff;
}
.qty-info { flex: 1 1 46%; min-width: 130px; line-height: 1.2; }
.qty-info b { display: block; color: var(--blue-dark); font-size: 1rem; }
.qty-info small { color: var(--grey); font-size: .82rem; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 0; }
.qstep {
  width: 38px; height: 38px; border: 1.6px solid var(--blue); background: #fff; color: var(--blue);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .12s;
}
.qstep:first-of-type { border-radius: 10px 0 0 10px; }
.qstep:last-of-type { border-radius: 0 10px 10px 0; }
.qstep:hover { background: var(--ice-light); }
.qstep:active { background: var(--ice); }
.qcount {
  width: 56px; height: 38px; text-align: center; border: 1.6px solid var(--blue); border-left: 0; border-right: 0;
  font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); background: #fff;
  -moz-appearance: textfield; appearance: textfield;
}
.qcount::-webkit-outer-spin-button, .qcount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qcount:focus { outline: none; box-shadow: 0 0 0 3px rgba(36,112,166,.2); position: relative; z-index: 1; }
.qty-kg { min-width: 58px; text-align: right; font-weight: 700; color: var(--orange-dark); font-size: .95rem; }

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--blue); margin-bottom: 10px; }
.section-title p { color: var(--grey); font-size: 1.1rem; }
.bg-ice { background: linear-gradient(180deg, var(--ice-light), #fff); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--ice); text-align: center; transition: transform .15s, box-shadow .15s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--orange); }
.service .ico { font-size: 2.6rem; margin-bottom: 10px; }
.service h3 { color: var(--blue-dark); font-size: 1.25rem; margin-bottom: 8px; }
.service p { color: var(--grey); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { text-align: center; padding: 10px; }
.step .num { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--orange); color: #fff; font-family: 'Salsa'; font-size: 1.6rem; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(237,115,50,.35); }
.step h3 { color: var(--blue); font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--grey); }

/* Trust / why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.why-item .chk { color: var(--orange); font-size: 1.4rem; line-height: 1; }
.why-item h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 2px; }
.why-item p { color: var(--grey); font-size: .92rem; }

/* Reviews / GMB */
.reviews-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.gmb-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; text-align: center; position: sticky; top: 90px; }
.gmb-card .gscore { font-family: 'Salsa'; font-size: 3.4rem; color: var(--blue); line-height: 1; }
.gmb-card .stars { color: #fbbc04; font-size: 1.5rem; letter-spacing: 2px; }
.gmb-card .glogo { font-weight: 700; margin-top: 8px; color: var(--grey); }
.gmb-card .glogo b:nth-child(1){color:#4285F4}
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.review { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }
.review .stars { color: #fbbc04; letter-spacing: 1px; }
.review p { margin: 8px 0 12px; color: var(--ink); font-size: .98rem; }
.review .who { display: flex; align-items: center; gap: 10px; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review .who small { color: var(--grey); display: block; }

/* Zone */
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.zone-list span { background: #fff; border: 1.5px solid var(--ice); color: var(--blue-dark); padding: 8px 16px; border-radius: 999px; font-weight: 600; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 10px; }
.cta-band p { font-size: 1.15rem; opacity: .95; margin-bottom: 22px; }
.cta-band .btn-orange { background:#fff; color: var(--orange-dark); }
.cta-band .btn-ghost { border-color:#fff; }

/* Pages légales */
.legal-page { padding: 50px 0 60px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { color: var(--blue); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal-page .updated { color: var(--grey); margin-bottom: 28px; }
.legal-page h2 { color: var(--blue-dark); font-size: 1.3rem; margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink); margin-bottom: 8px; }
.legal-page ul { padding-left: 20px; margin-bottom: 8px; }
.legal-page a { color: var(--blue); text-decoration: underline; }
.legal-page .back { display: inline-block; margin-top: 30px; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #cfe6f5; padding: 40px 0 24px; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-family: 'Salsa'; margin-bottom: 12px; font-size: 1.2rem; }
.site-footer a { color: #cfe6f5; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); margin-top: 14px; padding-top: 14px; font-size: .85rem; opacity: .85; text-align: center; }
.site-footer .legal p { margin-bottom: 4px; }
.site-footer .legal-links a { text-decoration: underline; }
.site-footer .legal-links span { margin: 0 8px; opacity: .6; }

/* ===== Sticky mobile call bar ===== */
.mobile-bar { display: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 48px; }
  .hero-media { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-media img { max-height: 300px; }
  .form-section .form-card { margin-top: -34px; }
  .services, .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .gmb-card { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .header-cta .btn span.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .services, .why { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .header-cta .desktop-call { display: none; }
  .mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    box-shadow: 0 -4px 18px rgba(0,0,0,.18);
  }
  .mobile-bar a { flex: 1; padding: 15px; text-align: center; font-weight: 700; color: #fff; }
  .mobile-bar .m-call { background: var(--orange); }
  .mobile-bar .m-form { background: var(--blue); }
  body { padding-bottom: 56px; }
}
