@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --sun: #fbe17b;
  --sun-strong: #e6c440;
  --sun-soft: #fef8dc;
  --blue: #1f6feb;
  --red: #e5383b;
  --ink: #23232b;
  --muted: #5d6070;
  --bg: #ffffff;
  --bg-alt: #fffaf0;
  --line: #eee6d3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(35, 35, 43, .08);
  --max: 1160px;
  --title: "Fredoka", "Baloo 2", system-ui, sans-serif;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; background: var(--bg); font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--title); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow > * { max-width: 780px; }
.center { text-align: center; margin-top: 32px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .nav-tel { color: var(--muted); font-weight: 500; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; margin: auto; content: ""; }
.bars::before { position: absolute; top: -8px; }
.bars::after { position: absolute; top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--sun); color: var(--ink); font-weight: 700; font-family: var(--title); font-size: 1.05rem; padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid var(--sun); cursor: pointer; box-shadow: 0 4px 0 var(--sun-strong); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sun-strong); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sun-strong); }
.nav a.btn { color: var(--ink); }
.btn-small { padding: 9px 18px; font-size: .98rem; }
.btn-ghost { background: #fff; border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-block { display: flex; width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 10%, #fdf0b5 0, transparent 45%), linear-gradient(180deg, var(--sun-soft) 0%, #fff 100%); padding: clamp(40px, 7vw, 88px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .85rem; color: var(--blue); margin: 0 0 16px; }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-media { position: relative; }
.hero-media > img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-review { position: absolute; left: -20px; bottom: -20px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 260px; font-size: .95rem; }
.hero-review p { margin: 4px 0; font-weight: 600; }
.hero-review span { color: var(--muted); font-size: .85rem; }
.stars { color: var(--sun-strong); letter-spacing: 2px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges .ico { flex: none; width: 20px; height: 20px; color: var(--ink); }
.included .ico { width: 18px; height: 18px; vertical-align: -3px; }
.badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-weight: 600; font-size: .98rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding-top: 32px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.page-head { background: linear-gradient(180deg, var(--sun-soft), #fff); padding: clamp(40px, 6vw, 72px) 0 16px; }
.breadcrumb { padding-top: 20px; font-size: .92rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s; }
.product-card:hover { transform: translateY(-4px); }
.product-card[hidden] { display: none; }
.product-link { color: inherit; text-decoration: none; flex: 1; }
.product-link img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; width: 100%; padding: 12px; }
.product-body { padding: 4px 20px 12px; }
.product-body h2, .product-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.product-body p { color: var(--muted); margin: 0 0 10px; font-size: .98rem; }
.product-body .price { color: var(--ink); }
.price strong { font-family: var(--title); font-size: 1.3rem; color: var(--red); }
.product-card .btn { margin: 0 20px 20px; width: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 600; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { color: var(--muted); }

/* Product page */
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.gallery-main { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 auto; padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.thumb[aria-current="true"] { border-color: var(--sun-strong); }
.thumb img { width: 96px; height: 64px; object-fit: contain; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { background: var(--sun-soft); border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 600; }
.price-big { font-size: 1.15rem; margin: 0 0 6px; }
.price-big strong { font-family: var(--title); font-size: 2.4rem; color: var(--red); }
.price-big span { color: var(--muted); }
.included { color: #1a7f37; font-weight: 600; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 30px; }
.product-info h2 { font-size: 1.4rem; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs th { font-weight: 500; color: var(--muted); width: 50%; }
.note { font-size: .92rem; color: var(--muted); }

/* Steps, features, audiences */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); font-family: var(--title); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; }
.features, .audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature, .audience { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sun-soft); color: var(--ink); margin-bottom: 12px; }
.feature-icon .ico { width: 26px; height: 26px; }
.feature p, .audience p { color: var(--muted); margin: 0; }

/* Reviews */

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { color: #d6d7de; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { box-shadow: 0 4px 0 #000; }

.seo-text { max-width: 860px; color: var(--muted); }
.seo-text h2, .seo-text h3 { color: var(--ink); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--title); font-size: 1.5rem; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "–"; }
details > div { color: var(--muted); padding-top: 8px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-family: var(--title); font-weight: 600; font-size: 1.25rem; margin-bottom: 10px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #d9d2c1; border-radius: 12px; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(31, 111, 235, .25); border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.form .check { display: flex; align-items: center; gap: 10px; font-weight: 500; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.form .check input { width: 20px; height: 20px; flex: none; accent-color: var(--blue); }
.check small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.check:has(input:checked) { border-color: var(--blue); background: #f0f6ff; }
.field-error { color: var(--red); font-weight: 600; margin: 0; }
.small { font-size: .88rem; color: var(--muted); margin: 0; }
.form-aside { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.form-aside h2 { font-size: 1.25rem; margin-top: 18px; }
.form-aside h2:first-child { margin-top: 0; }
.big-link { font-family: var(--title); font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1em; height: 1em; background: #1a7f37; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Legal */
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.2em; }
.todo { background: #ffe1e1; padding: 0 6px; border-radius: 4px; }

/* Footer */
.site-footer { background: #1b1b22; color: #c9cad3; padding: 56px 0 24px; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 8px 12px; width: auto; height: 64px; margin-bottom: 12px; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid #33333d; font-size: .88rem; }

.mobile-bar { display: none; }

@media (max-width: 980px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav .nav-tel { display: none; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; padding: 8px 16px 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.1rem; }
  .nav .nav-tel { display: block; }
  .nav a.btn { margin-top: 8px; }
  .hero-grid, .product-grid, .form-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-review { left: 12px; bottom: -16px; }
  .features { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .mobile-bar a { padding: 16px; text-align: center; font-weight: 700; color: var(--ink); text-decoration: none; font-family: var(--title); }
  .mobile-bar-cta { background: var(--sun); }
}
@media (max-width: 560px) {
  .products, .steps, .audiences, .footer-grid { grid-template-columns: 1fr; }
  .form-row, .checks, .badges { grid-template-columns: 1fr; }
  .hero-cta .btn, .product-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Avis Google sur la photo d'accueil */
a.hero-review { color: inherit; text-decoration: none; }
.reviews { position: relative; }
.reviews-track { list-style: none; margin: 0; padding: 4px 4px 16px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius); }
.review-card { flex: 0 0 min(380px, 85%); scroll-snap-align: start; }
.review-card figure { margin: 0; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card blockquote { margin: 12px 0 16px; flex: 1; }
.review-card p { margin: 0; }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.review-card figcaption span { color: var(--muted); font-size: .9rem; }
.reviews-nav { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.reviews-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.reviews-btn:hover { border-color: var(--ink); }
.reviews-btn .ico { width: 20px; height: 20px; }
.reviews-all { margin-left: auto; }
@media (max-width: 560px) { .reviews-all { margin-left: 0; width: 100%; } .reviews-nav { flex-wrap: wrap; } }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-source { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.g-logo { width: 16px; height: 16px; }

/* Bandeau « Ils nous ont fait confiance » */
.trust { padding: 28px 0 8px; overflow: hidden; }
.trust-title { text-align: center; font-family: var(--title); font-weight: 600; font-size: 1.15rem; color: var(--muted); margin: 0 0 18px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 48px; padding-right: 48px; flex: none; animation: defile 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.trust-item { flex: none; display: flex; align-items: center; height: 64px; }
.trust-item img { height: 56px; width: auto; max-width: 230px; object-fit: contain; }
.trust-text { font-family: var(--title); font-weight: 600; font-size: 1.1rem; color: var(--ink); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; height: auto; white-space: nowrap; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; flex: 1; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
.review-top .stars { font-size: 1.05rem; color: #f4b400; }
