/* RestyOne — vitrine. Design system ancré (ui-ux-pro-max) :
   Style Bento Grids · Palette rose/framboise + bleu électrique · Playfair Display + Karla.
   Polices auto-hébergées (RGPD). */

/* ---------- Polices auto-hébergées ---------- */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/playfairdisplay-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/playfairdisplay-700.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/playfairdisplay-800.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/karla-400.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/karla-500.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/karla-600.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/karla-700.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
    --primary: #E11D48;       /* framboise */
    --primary-d: #BE123C;
    --secondary: #FB7185;
    --accent: #2563EB;        /* bleu électrique */
    --ink: #2A121B;           /* texte */
    --wine: #7A1030;          /* titres profonds */
    --wine-deep: #4C0519;     /* bandes sombres */
    --rose-bg: #FFF1F2;       /* fond rosé */
    --border: #FBD5DB;
    --muted: #8A6b73;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(76, 5, 25, .06);
    --shadow: 0 18px 50px -12px rgba(76, 5, 25, .18);
    --shadow-lg: 0 40px 90px -24px rgba(76, 5, 25, .30);
    --r: 22px;      /* rayon bento */
    --r-sm: 14px;
    --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--white); color: var(--ink);
    font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--wine); margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(38px, 6vw, 68px); }
h2 { font-weight: 700; font-size: clamp(28px, 4vw, 44px); }
h3 { font-weight: 700; font-size: 21px; }
.eyebrow { font-family: 'Karla', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
    font-size: 12.5px; color: var(--primary); }
.lede { font-size: clamp(17px, 2vw, 21px); color: #6b4a54; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
    font-family: 'Karla', sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -8px rgba(225, 29, 72, .6); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(225, 29, 72, .7); }
.btn-ghost { background: #fff; color: var(--wine); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--wine); }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 25px; color: var(--wine); letter-spacing: -0.02em; }
.brand span { color: var(--primary); }
.nav .links { display: flex; gap: 26px; margin-left: 20px; }
.nav .links a { color: #6b4a54; font-weight: 600; font-size: 15px; transition: color .15s; }
.nav .links a:hover { color: var(--primary); }
.nav .cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .cta .btn { padding: 10px 20px; font-size: 15px; }
@media (max-width: 880px) { .nav .links { display: none; } .nav .cta .ghost-hide { display: none; } }

/* ---------- Slots d'image (placeholders cadrés, swappables) ---------- */
.shot { position: relative; aspect-ratio: var(--ar, 16/10); width: 100%; border-radius: var(--r-sm);
    overflow: hidden; background:
        repeating-linear-gradient(-45deg, #FFE4E9 0 12px, #FFF1F2 12px 24px);
    border: 1.5px dashed var(--secondary); display: grid; place-items: center; }
.shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__label { position: relative; z-index: 1; text-align: center; padding: 14px; max-width: 90%;
    font-family: 'Karla', sans-serif; }
.shot__label b { display: block; color: var(--wine); font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.shot__label span { color: var(--muted); font-size: 12px; }
.shot__label i { display: inline-block; margin-bottom: 8px; width: 30px; height: 30px; border-radius: 8px;
    background: var(--primary); opacity: .85; -webkit-mask: var(--ic) center/60% no-repeat; mask: var(--ic) center/60% no-repeat; }
/* cadre navigateur pour le shot héro (rend l'état vide crédible) */
.shot.browser { border-style: solid; border-color: var(--border); background: #fff; box-shadow: var(--shadow); }
.shot.browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 34px; background: #FFF1F2;
    border-bottom: 1px solid var(--border); z-index: 2; }
.shot.browser::after { content: ""; position: absolute; top: 12px; left: 16px; z-index: 3; width: 8px; height: 8px; border-radius: 50%;
    background: var(--secondary); box-shadow: 14px 0 0 #FDA4AF, 28px 0 0 #FECDD3; }
.shot.browser .shot__label, .shot.browser > img { top: 34px; height: calc(100% - 34px); }
.shot.phone { border-radius: 30px; aspect-ratio: 9/18.5; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 40px;
    background:
        radial-gradient(1100px 520px at 88% -8%, #FFE4E9 0%, transparent 60%),
        radial-gradient(760px 460px at -5% 8%, #EFF4FF 0%, transparent 55%),
        var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.hero h1 { margin: 16px 0 0; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lede { margin: 20px 0 26px; max-width: 540px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; color: var(--muted); font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.pill { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; font-size: 13.5px;
    font-weight: 600; color: var(--wine); box-shadow: var(--shadow-sm); }
.pill b { color: var(--primary); }
.hero-visual { position: relative; }
.hero-badge { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--wine); display: flex; align-items: center; gap: 8px; }
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.15); }
.hero-badge.b1 { top: 8%; left: -18px; }
.hero-badge.b2 { bottom: 10%; right: -14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-badge { display: none; } }

/* ---------- Bandeau modes de service ---------- */
.strip { background: var(--wine-deep); color: #FFE4E9; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; padding: 16px 22px; font-weight: 600; font-size: 15px; }
.strip b { color: #fff; }
.strip .sep { opacity: .4; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head .lede { margin-top: 14px; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(10px, auto); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 26px;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow); }
.tile .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid; place-items: center; margin-bottom: 14px; }
.tile .ic svg { width: 24px; height: 24px; stroke: #fff; }
.tile h3 { margin-bottom: 6px; }
.tile p { color: #6b4a54; margin: 0; font-size: 15.5px; }
.tile .shot { margin-top: 18px; }
/* tailles bento */
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.third { grid-column: span 2; }
.tile.feat { grid-column: span 4; background: linear-gradient(160deg, #fff, #FFF6F7); }
.tile.tall { grid-column: span 2; }
.tile.accent { background: linear-gradient(160deg, var(--wine-deep), #6d0a2a); color: #FFE4E9; border-color: transparent; }
.tile.accent h3 { color: #fff; } .tile.accent p { color: #FBD5DB; }
.tile.accent .ic { background: rgba(255,255,255,.14); }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); }
    .tile.wide, .tile.half, .tile.third, .tile.feat, .tile.tall { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.wide,.tile.half,.tile.third,.tile.feat,.tile.tall { grid-column: span 1; } }

/* ---------- Comment ça marche ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--rose-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800;
    display: grid; place-items: center; font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 14px; }
.step p { color: #6b4a54; margin: 6px 0 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Conformité (bande sombre + visuel) ---------- */
.compliance { background: var(--wine-deep); color: #FFE4E9; }
.compliance .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.compliance h2 { color: #fff; }
.compliance .lede { color: #FBD5DB; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid rgba(255,255,255,.12); }
.checklist li b { color: #fff; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
@media (max-width: 860px) { .compliance .grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: transform .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 26px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
    padding: 5px 13px; border-radius: 999px; }
.plan.featured .tag.alt, .plan .tag.alt { background: var(--accent); }
.plan h3 { font-size: 22px; }
.plan .price { font-family: 'Playfair Display', serif; font-size: 46px; font-weight: 800; color: var(--wine); margin: 10px 0 2px; }
.plan .price small { font-family: 'Karla', sans-serif; font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.plan li { padding: 8px 0 8px 26px; position: relative; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 22px; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-sm); padding: 4px 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--wine); padding: 16px 0; list-style: none; display: flex;
    justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 24px; font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #6b4a54; }

/* ---------- CTA final ---------- */
.final { background: linear-gradient(150deg, var(--primary), #9F1239); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .lede { color: #FFE4E9; max-width: 560px; margin: 14px auto 28px; }

/* ---------- Footer ---------- */
footer.site { background: var(--wine-deep); color: #E7B9C4; padding: 46px 0; font-size: 14px; }
footer.site .row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site .brand { color: #fff; }
footer.site a { color: #E7B9C4; } footer.site a:hover { color: #fff; }

/* ---------- Reveal au scroll (léger) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .btn, .tile, .plan { transition: none; }
}
