/* ==========================================================
   OPTIQUE BELLEDONNE — DÉMO SITE VITRINE OPTICIEN
   Identité : moderne, épurée, sauge / encre / corail doux
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
    --bg: #f4f7f5;
    --bg-alt: #e8efec;
    --ink: #16232a;
    --muted: #5b6b6a;
    --line: #dde6e2;
    --sage: #2f6f62;
    --sage-dark: #204e44;
    --coral: #e8785a;
    --surface: #ffffff;
    --radius: 18px;
    --maxw: 1160px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
    font-family:'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height:1.65;
}
h1,h2,h3,h4{ font-family:'Outfit', sans-serif; font-weight:700; line-height:1.15; letter-spacing:-.01em; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
svg{ display:block; }
.container{ width:min(var(--maxw), calc(100% - 2.5rem)); margin:0 auto; }
section{ padding:5.5rem 0; }
.eyebrow{
    display:inline-flex; align-items:center; gap:.5rem;
    font-size:.78rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
    color: var(--sage-dark); margin-bottom:1rem;
}
.eyebrow::before{ content:""; width:18px; height:2px; background:var(--sage); display:inline-block; }
.muted{ color:var(--muted); }

.demo-bar{ background:#4f46e5; color:#fff; font-size:.82rem; font-weight:600; text-align:center; padding:.55rem 1rem; }
.demo-bar a{ text-decoration:underline; text-underline-offset:2px; }

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(244,247,245,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:1.1rem 0; }
.brand{ display:flex; align-items:center; gap:.65rem; font-family:'Outfit'; font-weight:700; font-size:1.2rem; }
.brand__mark{ width:16px; height:16px; }
.nav__menu{ display:flex; gap:2rem; }
.nav__menu a{ font-size:.92rem; font-weight:600; color:var(--ink); }
.nav__menu a:hover{ color:var(--sage-dark); }
.nav__actions{ display:flex; align-items:center; gap:1rem; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; padding:.8rem 1.5rem; border-radius:999px; font-weight:700; font-size:.9rem; border:1px solid transparent; cursor:pointer; }
.btn--primary{ background:var(--sage); color:#fff; }
.btn--primary:hover{ background:var(--sage-dark); }
.btn--ghost{ border-color:var(--ink); color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:#fff; }
.menu-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:8px; padding:.5rem; color:var(--ink); }

/* ---------- hero (signature : cadre double-cercle "lunettes") ---------- */
.hero{ padding-top:4.5rem; }
.hero__grid{ display:grid; grid-template-columns:1fr .95fr; gap:3.5rem; align-items:center; }
.hero h1{ font-size:clamp(2.2rem, 3.8vw, 3.3rem); margin-bottom:1.15rem; }
.hero h1 span{ color:var(--sage); }
.hero__lead{ color:var(--muted); font-size:1.08rem; max-width:480px; margin-bottom:1.8rem; }
.hero__ctas{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1.8rem; }
.trust-row{ display:flex; gap:1.5rem; flex-wrap:wrap; }
.trust-row div{ display:flex; align-items:center; gap:.5rem; font-size:.85rem; color:var(--muted); }
.trust-row svg{ color:var(--sage); flex:none; }

.hero__media{ position:relative; display:flex; justify-content:center; align-items:center; height:440px; }
.lens{ position:absolute; border-radius:50%; overflow:hidden; border:8px solid var(--surface); box-shadow:0 25px 50px rgba(22,35,42,.18); }
.lens--main{ width:320px; height:320px; z-index:2; }
.lens--main img{ width:100%; height:100%; object-fit:cover; }
.lens--ring{ width:320px; height:320px; right:0; top:20px; border:3px solid var(--sage); background:none; box-shadow:none; z-index:1; opacity:.5; }
.bridge{ position:absolute; top:180px; left:calc(50% - 40px); width:80px; height:6px; background:var(--surface); border-radius:3px; z-index:3; box-shadow:0 4px 10px rgba(22,35,42,.12); }

/* ---------- bande stats ---------- */
.stat-strip{ background:var(--sage-dark); color:#fff; }
.stat-strip .container{ display:grid; grid-template-columns:repeat(4,1fr); }
.stat{ padding:1.8rem 1rem; text-align:center; border-right:1px solid rgba(255,255,255,.14); }
.stat:last-child{ border-right:none; }
.stat strong{ display:block; font-family:'Outfit'; font-size:1.6rem; }
.stat span{ font-size:.78rem; opacity:.8; }

/* ---------- section header ---------- */
.section__head{ max-width:640px; margin-bottom:3rem; }
.section__head p{ color:var(--muted); margin-top:.8rem; }

/* ---------- services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.service-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem; }
.service-card .icon{ width:46px; height:46px; border-radius:14px; background:var(--bg-alt); color:var(--sage); display:grid; place-items:center; margin-bottom:1.1rem; }
.service-card h3{ font-size:1.1rem; margin-bottom:.5rem; }
.service-card p{ color:var(--muted); font-size:.93rem; }

/* ---------- pourquoi nous ---------- */
.why{ background:var(--bg-alt); }
.why__grid{ display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:center; }
.why__media{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }
.why__media img{ width:100%; height:360px; object-fit:cover; }
.check-list{ display:grid; gap:1rem; margin-top:1.6rem; }
.check-list li{ display:flex; gap:.8rem; align-items:flex-start; color:var(--muted); font-size:.96rem; }
.check-list .mark{ flex:none; width:22px; height:22px; border-radius:50%; background:rgba(47,111,98,.15); color:var(--sage-dark); display:grid; place-items:center; margin-top:.1rem; }

/* ---------- galerie ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
.gallery-item{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/3; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-item span{ position:absolute; left:0; right:0; bottom:0; padding:.9rem 1rem .8rem; background:linear-gradient(0deg, rgba(22,35,42,.75), transparent); color:#fff; font-size:.85rem; font-weight:700; }

/* ---------- avis ---------- */
.reviews-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.review-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem; }
.stars{ color:var(--coral); letter-spacing:.15em; margin-bottom:.9rem; }
.review-card p{ font-size:.95rem; margin-bottom:1.1rem; }
.review-card footer{ font-size:.82rem; color:var(--muted); }

/* ---------- cta ---------- */
.cta-band{ background:var(--sage); color:#fff; }
.cta-band__inner{ display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-band h2{ font-size:1.7rem; max-width:520px; color:#fff; }
.cta-band .btn--primary{ background:#fff; color:var(--sage-dark); }
.cta-band .btn--primary:hover{ background:var(--bg-alt); }

/* ---------- contact ---------- */
.contact__grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:3.5rem; }
.contact-cards{ display:grid; gap:1rem; margin-top:1.8rem; }
.contact-card{ display:flex; gap:1rem; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:1rem 1.2rem; }
.contact-card .icon{ width:40px; height:40px; border-radius:10px; background:var(--bg-alt); color:var(--sage); display:grid; place-items:center; flex:none; }
.contact-card strong{ display:block; font-size:.95rem; }
.contact-card span{ font-size:.82rem; color:var(--muted); }
.contact-form{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:2rem; display:grid; gap:1.1rem; }
.contact-form label{ display:grid; gap:.5rem; font-size:.88rem; font-weight:600; color:var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea{ background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:.75rem .9rem; color:var(--ink); font-family:inherit; font-size:.95rem; }
.contact-form textarea{ resize:vertical; }
.form-note{ font-size:.78rem; color:var(--muted); }

/* ---------- footer ---------- */
.footer{ padding:3rem 0 2.2rem; border-top:1px solid var(--line); }
.footer__grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:1.5rem; align-items:center; }
.footer small{ color:var(--muted); font-size:.8rem; }
.footer__links{ display:flex; gap:1.6rem; font-size:.85rem; color:var(--muted); }

@media (max-width:900px){
    .hero__grid, .why__grid, .contact__grid{ grid-template-columns:1fr; }
    .services-grid, .reviews-grid{ grid-template-columns:1fr 1fr; }
    .gallery-grid{ grid-template-columns:1fr 1fr; }
    .stat-strip .container{ grid-template-columns:1fr 1fr; }
    .stat{ border-bottom:1px solid rgba(255,255,255,.14); }
    .nav__menu{ display:none; }
    .menu-toggle{ display:inline-grid; }
    .hero__media{ height:340px; }
    .lens--main, .lens--ring{ width:240px; height:240px; }
}
@media (max-width:600px){
    section{ padding:3.5rem 0; }
    .services-grid, .reviews-grid, .gallery-grid{ grid-template-columns:1fr; }
    .cta-band__inner{ flex-direction:column; align-items:flex-start; }
}
