/* Ochyro — site vitrine automatisation IA. CSS autonome (aucune dépendance de build). */
:root {
    --navy: #22304a;
    --navy-deep: #182235;
    --cream: #f5f2ea;
    --cream-2: #ece7da;
    --white: #ffffff;
    --cyan: #38d0e0;
    --teal: #0a7f8c;          /* cyan lisible sur fond clair */
    --blue: #0f52ea;
    --ink: #2d2d2d;
    --muted: #5b6577;
    --line: rgba(34, 48, 74, .12);
    --radius: 20px;
    --shadow: 0 18px 50px rgba(34, 48, 74, .10);
    --font-head: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
iconify-icon { display: inline-block; flex-shrink: 0; }
.accent { color: var(--cyan); }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
    font: 700 1rem/1 var(--font-head); text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: 0 10px 24px rgba(34, 48, 74, .25); }
.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 14px 30px rgba(34, 48, 74, .32); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(34, 48, 74, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .7); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-cyan { background: var(--cyan); color: var(--navy); box-shadow: 0 10px 28px rgba(56, 208, 224, .35); }
.btn-cyan:hover { filter: brightness(1.05); }
.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 234, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; overflow: hidden; }
.brand-light .brand-mark { background: var(--cream); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 800 1.05rem var(--font-head); }
.brand-text small { font-size: .74rem; color: var(--muted); }
.brand-light .brand-text small { color: rgba(245, 242, 234, .7); }
.nav-desktop { display: none; gap: 30px; font-size: .95rem; font-weight: 500; }
.nav-desktop a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-desktop a:hover, .nav-desktop a[aria-current] { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--navy); cursor: pointer; }
.nav-mobile { border-top: 1px solid var(--line); background: var(--cream); padding: 12px 0 22px; }
.nav-mobile .container { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a:not(.btn) { padding: 13px 8px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.nav-mobile a:not(.btn):hover { background: rgba(255, 255, 255, .7); }
.nav-mobile .btn { margin-top: 12px; }
@media (min-width: 960px) {
    .nav-desktop { display: flex; }
    .menu-btn, .nav-mobile { display: none !important; }
}
@media (min-width: 1100px) { .header-phone { display: inline-flex; } }
@media (max-width: 420px) { .header-actions .btn { display: none; } }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-white { background: rgba(255, 255, 255, .55); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(245, 242, 234, .78); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
    padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6);
    font: 700 .74rem var(--font-head); letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.section-dark .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: rgba(245, 242, 234, .8); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero::before {
    content: ''; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; pointer-events: none;
    background: radial-gradient(circle at 40% 40%, rgba(56, 208, 224, .38), transparent 62%); filter: blur(30px);
}
.hero-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-lead { margin-top: 24px; font-size: 1.2rem; color: var(--muted); max-width: 590px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.checks { margin-top: 30px; display: grid; gap: 10px; font-size: .98rem; font-weight: 500; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks iconify-icon { color: var(--teal); margin-top: 3px; }
.section-dark .checks iconify-icon { color: var(--cyan); }

/* Carte « workflow » du hero */
.flow-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.flow-tag { position: absolute; top: -13px; left: 26px; background: var(--navy); color: var(--cream); font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.flow-title { font: 700 .95rem var(--font-head); margin: 6px 0 20px; color: var(--muted); }
.flow-steps { display: grid; gap: 0; }
.flow-step { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--line) 0 5px, transparent 5px 10px); }
.flow-step:last-child::before { display: none; }
.flow-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--navy); }
.flow-step.ai .flow-ico { background: var(--navy); color: var(--cyan); box-shadow: 0 0 0 6px rgba(56, 208, 224, .18); }
.flow-step strong { display: block; font: 700 1rem var(--font-head); }
.flow-step span { font-size: .9rem; color: var(--muted); }
.flow-foot { margin-top: 24px; padding: 14px 16px; border-radius: 14px; background: rgba(56, 208, 224, .14); font-size: .92rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }

/* ── Bandeau de réassurance ──────────────────────────────── */
.trust { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 26px 0; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.trust-item iconify-icon { color: var(--teal); }

/* ── Cartes ──────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); margin-bottom: 20px; }
.card p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.card .example { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--navy); }
.card .example b { color: var(--teal); font-weight: 700; }
.card ul.mini { margin-top: 14px; display: grid; gap: 8px; font-size: .94rem; }
.card ul.mini li { display: flex; gap: 9px; align-items: flex-start; }
.card ul.mini iconify-icon { color: var(--teal); margin-top: 4px; }

/* Pains */
.pain { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.pain iconify-icon { color: var(--cyan); margin-top: 3px; }
.pain strong { display: block; font: 700 1.05rem var(--font-head); color: var(--cream); }
.pain span { font-size: .95rem; color: rgba(245, 242, 234, .75); }

/* Bon / pas bon candidat */
.fit-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); background: var(--white); }
.fit.good { border-color: rgba(10, 127, 140, .4); background: linear-gradient(180deg, rgba(56, 208, 224, .12), var(--white) 60%); }
.fit h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.fit li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: .98rem; }
.fit.good li iconify-icon { color: var(--teal); margin-top: 4px; }
.fit.warn li iconify-icon { color: #b45309; margin-top: 4px; }

/* Étapes */
.steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font: 800 2.4rem var(--font-head); color: rgba(34, 48, 74, .16); margin-bottom: 8px; }
.step.highlight { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.step.highlight h3 { color: var(--cream); }
.step.highlight p { color: rgba(245, 242, 234, .8); }
.step.highlight::before { color: var(--cyan); }
.step p { margin-top: 10px; font-size: .96rem; color: var(--muted); }
.step .badge { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; font: 700 .72rem var(--font-head); letter-spacing: .05em; text-transform: uppercase; background: var(--cyan); color: var(--navy); }

/* Livrable du devis */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; } }
.deliverable { background: var(--white); color: var(--navy); border-radius: 26px; padding: 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.deliverable h3 { color: var(--navy); margin-bottom: 4px; }
.deliverable .sub { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.d-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.d-row b { font-weight: 600; }
.pill { padding: 4px 11px; border-radius: 999px; font: 700 .72rem var(--font-head); white-space: nowrap; }
.pill.hi { background: rgba(56, 208, 224, .25); color: #075e68; }
.pill.mid { background: rgba(15, 82, 234, .12); color: #0b3fb8; }
.pill.lo { background: var(--cream-2); color: var(--muted); }
.d-foot { margin-top: 6px; padding-top: 16px; border-top: 2px solid var(--navy); display: flex; justify-content: space-between; font-weight: 700; font-size: .95rem; }
.d-note { margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* Avant / après (cas d'usage) */
.case { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.case-head { padding: 26px 28px 8px; }
.case-head .tag { display: inline-block; margin-bottom: 12px; font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.case-body { display: grid; gap: 0; }
@media (min-width: 760px) { .case-body { grid-template-columns: 1fr 1fr; } }
.case-col { padding: 22px 28px 28px; }
.case-col h4 { margin: 0 0 12px; font: 700 .8rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-col.after { background: linear-gradient(180deg, rgba(56, 208, 224, .14), rgba(56, 208, 224, .04)); }
.case-col.after h4 { color: var(--teal); }
.case-col li { display: flex; gap: 10px; padding: 6px 0; font-size: .96rem; }
.case-col li iconify-icon { margin-top: 4px; color: var(--muted); }
.case-col.after li iconify-icon { color: var(--teal); }
.case-foot { padding: 16px 28px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.case-foot b { color: var(--navy); }
.cases { display: grid; gap: 26px; }

/* FAQ (details natifs, sans JS) */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font: 700 1.05rem var(--font-head); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 26px 24px; color: var(--muted); }

/* ── Réservation / contact ───────────────────────────────── */
.booking { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .booking { grid-template-columns: .85fr 1.15fr; } }
.booking-panel { background: var(--white); border: 1px solid rgba(56, 208, 224, .45); border-radius: 28px; padding: 14px; box-shadow: 0 24px 70px rgba(56, 208, 224, .16); }
.booking-panel .calendly-inline-widget { min-width: 300px; height: 700px; border-radius: 18px; overflow: hidden; }
.booking-fallback { padding: 36px 22px; text-align: center; }
.booking-fallback p { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.cta-band { text-align: center; }
.cta-band .hero-cta { justify-content: center; }
.contact-lines { display: grid; gap: 14px; margin-top: 28px; }
.contact-lines a { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 600; }
.contact-lines iconify-icon { color: var(--teal); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: .96rem; }
form .field { margin-top: 18px; }
form label { display: block; margin-bottom: 7px; font: 700 .85rem var(--font-head); }
form label small { font-weight: 500; color: var(--muted); }
form input, form textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid rgba(34, 48, 74, .18); border-radius: 14px;
    background: var(--cream); font: inherit; color: var(--navy);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(15, 82, 234, .12); }
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-legal { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.form-legal a { color: var(--blue); }
.alert { margin-top: 18px; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.alert-ok { background: rgba(10, 127, 140, .12); color: #075e68; }
.alert-err { background: rgba(190, 40, 40, .1); color: #9b1c1c; }
.hp { position: absolute; left: -9999px; }

/* ── Page simple (légal, 404, merci) ─────────────────────── */
.prose-page { padding: 72px 0 40px; }
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose .updated { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.prose section { margin-top: 38px; }
.prose h2 { font-size: 1.3rem; margin-bottom: 12px; }
.prose p, .prose li { color: rgba(34, 48, 74, .88); }
.prose ul { margin-top: 12px; padding-left: 20px; list-style: disc; display: grid; gap: 8px; }
.prose a { color: var(--blue); }
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.center-page p { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 1.1rem; }
.center-page .hero-cta { justify-content: center; }
.big-num { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: rgba(34, 48, 74, .12); }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { margin-top: 0; background: var(--navy); color: var(--cream); padding-top: 64px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr .8fr 1fr; } }
.footer-about { margin-top: 18px; max-width: 380px; font-size: .95rem; color: rgba(245, 242, 234, .78); }
.footer-title { font: 700 .76rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 242, 234, .6); margin-bottom: 16px; }
.footer-links { display: grid; gap: 11px; margin-bottom: 22px; }
.footer-links a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-size: .96rem; color: rgba(245, 242, 234, .9); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 52px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(245, 242, 234, .65); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-legal a, .footer-legal button { color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; }

/* Bouton d'appel flottant (mobile) */
.call-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; gap: 8px; align-items: center;
    padding: 14px 22px; border-radius: 999px; background: var(--navy); color: var(--cream); text-decoration: none;
    font: 700 .95rem var(--font-head); box-shadow: 0 16px 36px rgba(34, 48, 74, .35);
}
.call-fab iconify-icon { color: var(--cyan); }
@media (min-width: 960px) { .call-fab { display: none; } }

/* Apparition au scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .card { transition: none; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .hero { padding: 48px 0 64px; }
    .btn-lg { width: 100%; }
    .hero-cta .btn { width: 100%; }
    .booking-panel .calendly-inline-widget { height: 640px; }
}

/* Calendly : widget inline sur grand écran, popup sur mobile */
.only-mobile { display: block; }
.only-desktop { display: none; }
@media (min-width: 760px) { .only-mobile { display: none; } .only-desktop { display: block; } }
.booking-alt { margin: 8px 12px 6px; font-size: .85rem; color: var(--muted); text-align: center; }
.booking-alt a { color: var(--blue); }
