:root {
    /* Palette Toto Baby */
    --logo-teal: #33a5a8;
    --teal: #0f6469;        /* turquoise profond (titres, boutons) */
    --teal-dark: #0b4f53;
    --teal-soft: #e9f5f3;
    --yellow: #fbcf33;
    --yellow-2: #fada63;
    --yellow-soft: #fdf2c7;
    --yellow-light: #fce797;
    --orange: #e99c43;
    --sky: #e9f5f3;
    --ink: #2a2314;
    --muted: #6b6250;
    --line: #efe9d6;
    --radius: 18px;
    --shadow: 0 6px 22px rgba(42, 35, 20, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Nunito, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }

.wrap { width: min(1440px, 100% - max(32px, 10.6vw)); margin-inline: auto; }
.icon { flex: none; }
.script { font-family: Caveat, cursive; font-weight: 700; color: var(--teal); line-height: 1.05; }

/* Boutons / pastilles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 26px; font-weight: 600; font-size: .9rem; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: #fff; color: var(--teal); border: 1.5px solid #bcdadd; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-block { width: 100%; padding: 10px 12px; font-size: .78rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pill-yellow { background: var(--yellow); color: var(--ink); }
.pill-outline { background: #fff; border: 1px solid #cfe3e5; color: var(--teal); }

/* Barre du haut */
.topbar { background: var(--teal-dark); color: #fff; font-size: .75rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-main { display: flex; align-items: center; gap: 32px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text b { font-family: Caveat, cursive; font-size: 2.8rem; line-height: .85; color: var(--teal); }
.logo-text small { font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-light .logo-text b { color: #fff; }
.logo-light .logo-text small { color: #a9d3d6; }
.search { flex: 1; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 22px; box-shadow: var(--shadow); max-width: 620px; }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: .85rem; min-width: 0; }
.search button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; color: var(--teal); }
.cart-link { position: relative; }
.count { position: absolute; top: -8px; right: -10px; background: var(--teal); color: #fff; font-size: .65rem; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.burger { display: none; background: none; border: 0; color: var(--teal); padding: 0; }
.nav { display: flex; align-items: center; gap: 26px; padding-block: 10px; font-size: .8rem; font-weight: 500; }
.nav a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.nav a:hover { color: var(--teal); }
.nav-all { font-weight: 600; }
.nav-promo { margin-left: auto; background: var(--yellow); border-radius: 12px; padding: 6px 16px; flex-direction: column; align-items: flex-start !important; gap: 0 !important; font-weight: 700; line-height: 1.2; }
.nav-promo small { font-weight: 500; font-size: .65rem; }

/* Hero */
.hero { background: linear-gradient(120deg, #fffdf5 0%, #f1f8fb 55%, #e8f3f8 100%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; padding-top: 40px; }
.hero-copy { display: grid; gap: 18px; justify-items: start; padding-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; color: var(--teal); font-weight: 600; }
.hero h1 .script { font-size: 1.2em; font-weight: 500; }
.hero p { color: var(--muted); max-width: 420px; font-size: .9rem; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-note { position: absolute; top: 10px; right: 5%; font-size: 1.6rem; text-align: center; transform: rotate(-6deg); }
.hero-baby { position: relative; width: min(520px, 100%); margin-top: 30px; }
.hero-products { position: absolute; right: -6%; bottom: 6%; display: flex; align-items: flex-end; gap: 0; }
.hero-products svg { width: 90px; margin-left: -14px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.12)); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0 26px; position: relative; }
.trust li { display: flex; gap: 12px; align-items: center; font-size: .72rem; color: var(--muted); }
.trust li:not(:last-child) { border-right: 1px solid var(--line); }
.trust .icon { color: var(--teal); background: #fff; border-radius: 50%; padding: 9px; width: 44px; height: 44px; box-shadow: var(--shadow); }
.trust b { display: block; color: var(--teal); font-size: .75rem; }

/* Sections */
.section { padding: 56px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-head > div { display: grid; gap: 10px; justify-items: start; }
.section h2, .newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; color: var(--teal); line-height: 1.2; }
.section h2 .script, .newsletter h2 .script { font-size: 1.25em; font-weight: 500; }
.section-head p:not(.script) { color: var(--muted); font-size: .85rem; max-width: 560px; }
.side-note { font-size: 1.4rem; text-align: center; transform: rotate(-4deg); flex: none; }
.side-cta { display: flex; align-items: center; gap: 24px; }

/* Cartes produit */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product { position: relative; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge-off { background: var(--yellow-2); font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.badge-new { background: var(--teal); color: #fff; }
.badge-soldout { background: #6b7280; color: #fff; }
.badge-bestseller { background: #fbbf2c; color: #3a2a00; }
.fav { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--teal); display: grid; place-items: center; z-index: 1; }
.fav.active { color: #e0457b; border-color: #f3b3c8; }
.fav.active svg { fill: currentColor; }
.product-img { height: 170px; display: grid; place-items: center; position: relative; }
.product-img::before { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: var(--teal-soft); }
.product-img .art { position: relative; height: 150px; width: auto; }
.product h3 { font-size: .78rem; font-weight: 600; line-height: 1.35; }
.product .meta { font-size: .68rem; color: var(--muted); }
.stars { display: flex; align-items: center; gap: 2px; font-size: .68rem; color: var(--muted); }
.stars .icon { color: #d3dde0; fill: currentColor; stroke: none; }
.stars .icon.on { color: var(--yellow); }
.stars span { margin-left: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price strong { font-size: .95rem; }
.price s { font-size: .68rem; color: #9fb0b3; }
.promo-countdown { display: flex; align-items: center; gap: 4px; margin: -2px 0 6px; font-size: .68rem; font-weight: 700; color: #c2335f; }

.promo-grid { display: grid; grid-template-columns: 1.15fr repeat(4, 1fr); gap: 20px; }
.promo-feature { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(160deg, #e5f3fa, #f3fafb); padding: 22px; display: grid; align-content: start; gap: 12px; justify-items: start; min-height: 340px; box-shadow: var(--shadow); }
.promo-feature h3 { font-size: 1.3rem; color: var(--teal); line-height: 1.2; }
.promo-feature p { font-size: .75rem; color: var(--muted); max-width: 190px; }
.feature-art { position: absolute; right: -10px; bottom: -6px; width: 140px; opacity: .95; }

/* Carrousel */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.track::-webkit-scrollbar { display: none; }
.track .card { scroll-snap-align: start; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--teal); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.car-btn.prev { left: -18px; }
.car-btn.next { right: -18px; }

/* Catégories */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { position: relative; overflow: hidden; min-height: 150px; border-radius: var(--radius); padding: 16px; display: grid; align-content: start; gap: 4px; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat h3 { font-size: .85rem; margin-top: 4px; }
.cat p { font-size: .62rem; color: var(--muted); max-width: 55%; }
.cat-icon { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--c); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cat-go { position: absolute; left: 16px; bottom: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
.cat-art { position: absolute; right: -6px; bottom: -4px; width: 96px; height: auto; opacity: .95; }
.cat-badge { position: absolute; right: 12px; bottom: 12px; width: 82px; height: 82px; background: var(--yellow); border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: .6rem; line-height: 1.1; transform: rotate(12deg); }
.cat-badge b { font-size: 1.15rem; }
.cat-brands { position: absolute; right: 10px; bottom: 12px; display: grid; gap: 4px; }
.cat-brands i { background: #fff; border-radius: 6px; padding: 2px 8px; font-size: .65rem; font-weight: 700; font-style: normal; color: #2b6fb8; }
.tone-blue { --c: #3a8fd0; background: linear-gradient(135deg, #e3f2fb, #f4fafd); }
.tone-pink { --c: #e0617f; background: linear-gradient(135deg, #fde6ea, #fff4f6); }
.tone-yellow { --c: #e0a200; background: linear-gradient(135deg, #fff1c9, #fffaf0); }
.tone-teal { --c: var(--logo-teal); background: linear-gradient(135deg, #dff3f1, #f3fbfa); }
.tone-sky { --c: #1c7be0; background: linear-gradient(135deg, #e0efff, #f4f9ff); }
.tone-rose { --c: #e5605a; background: linear-gradient(135deg, #ffe4e0, #fff5f3); }
.tone-green { --c: #2da36a; background: linear-gradient(135deg, #e0f4e8, #f3fbf6); }
.tone-lilac { --c: #7a6ad8; background: linear-gradient(135deg, #e8e5fa, #f6f5fd); }
.tone-cyan { --c: #20a0b8; background: linear-gradient(135deg, #dff3f7, #f3fafc); }
.tone-cream { --c: #e0a200; background: linear-gradient(135deg, #fff1c9, #fffaf0); }

/* Marques */
.brands-section { padding-bottom: 10px; }
.brands-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.brands-copy { display: grid; gap: 12px; justify-items: start; }
.brands-copy h2 { font-size: 1.5rem !important; }
.brands-copy p { font-size: .8rem; color: var(--muted); }
.brand-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-logos a { display: grid; place-items: center; height: 64px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); font-weight: 700; text-align: center; padding: 0 8px; font-size: 1rem; }
.b-mustela { color: #1f5fa8; text-transform: lowercase; }
.b-pampers { color: #1f9a8a; }
.b-cerelac { color: #fff; background: #d9261c !important; font-style: italic; }
.b-bioderma { color: #444; letter-spacing: .12em; font-size: .72rem !important; font-weight: 500 !important; }
.b-chicco { color: #fff; background: #1a6fbf !important; text-transform: lowercase; }
.b-lrp { color: #333; font-size: .6rem !important; letter-spacing: .06em; }
.b-vichy { color: #222; letter-spacing: .14em; font-weight: 500 !important; }
.b-uriage { color: #1e4f8e; letter-spacing: .04em; }

/* Newsletter */
.newsletter { margin-top: 56px; background: linear-gradient(100deg, #e6f2f9, #f4f9fb 60%, #e9f4f6); padding: 44px 0; }
.news-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.news-grid > div { display: grid; gap: 10px; justify-items: start; max-width: 560px; }
.newsletter p { font-size: .85rem; color: var(--muted); }
.news-form { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 5px 5px 18px; width: 100%; color: var(--muted); margin-top: 8px; }
.news-form input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: .82rem; }
.news-note { font-size: 1.7rem; text-align: center; transform: rotate(-5deg); }

/* Pied de page */
.footer { background: var(--teal-dark); color: #cfe6e8; padding-top: 44px; font-size: .78rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1fr; gap: 32px; }
.f-brand { display: grid; gap: 14px; align-content: start; }
.f-brand p { max-width: 300px; line-height: 1.6; }
.social { display: flex; gap: 10px; }
.social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; }
.footer h4 { color: #fff; font-size: .85rem; margin-bottom: 12px; }
.footer li { margin-bottom: 7px; }
.footer li a:hover { color: #fff; text-decoration: underline; }
.footer li a { display: inline-flex; align-items: center; gap: 6px; }
.footer-phones { margin-top: 8px; }
.footer-phones li { margin-bottom: 5px; }
.pay { display: flex; gap: 8px; margin-bottom: 8px; }
.pay span { background: #fff; color: #1a3d8f; font-weight: 700; font-size: .7rem; border-radius: 6px; padding: 4px 10px; }
.pay .mc { color: #e8412c; letter-spacing: -4px; }
.small { display: flex; align-items: center; gap: 6px; font-size: .68rem; }
.thanks { color: #fff !important; font-size: 1.3rem; margin-top: 14px; transform: rotate(-4deg); }
.copy { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: .68rem; }

/* Responsive */
@media (max-width: 1100px) {
    .promo-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-feature { grid-column: 1 / -1; min-height: 200px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .track { grid-auto-columns: calc((100% - 40px) / 3); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .header-main { gap: 14px; flex-wrap: wrap; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .burger { display: block; }
    .nav { display: none; flex-direction: column; align-items: flex-start; gap: 14px; }
    .nav.open { display: flex; }
    .nav-promo { margin-left: 0; }
    .topbar .hide-sm { display: none; }
    .hero-grid, .brands-grid { grid-template-columns: 1fr; }
    .hero-note { display: none; }
    .trust { grid-template-columns: 1fr 1fr; }
    .trust li:nth-child(2) { border-right: 0; }
    .side-note, .news-note { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .side-cta .side-note { display: none; }
    .news-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .promo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .track { grid-auto-columns: 70%; }
    .brand-logos { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .copy { flex-direction: column; }
    .car-btn { display: none; }
    .topbar .wrap > a { display: none; }
}

/* Logo image */
.logo img { height: 64px; width: auto; display: block; margin-block: -6px; }
.logo-light { background: #fff; border-radius: 16px; padding: 4px 14px; justify-self: start; }
.logo-light img { height: 54px; margin: 0; }
