/* ============================================================
   La mie Caline — Design system noir-or
   Basé sur starter-landing-craft-v2.css
   ============================================================ */

:root {
  --primary: #0d0d0d;
  --primary-d: #050505;
  --accent: #d4af37;
  --accent-d: #b08d25;
  --accent-soft: rgba(212, 175, 55, 0.12);
  --ink: #22201c;
  --ink-soft: #59544b;
  --muted: #8a8479;
  --bg: #fbfaf8;
  --bg-soft: #f1eee8;
  --line: #e4e0d8;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 28px 70px rgba(13, 11, 9, 0.16);
  --shadow-sm: 0 8px 28px rgba(13, 11, 9, 0.08);
  --maxw: 1180px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --curtain-delay: 600ms;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: inherit;
  color: var(--accent);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

/* Eyebrow avec liseret coloré */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent);
}
.eyebrow--light { color: rgba(255,255,255,.88); }
.eyebrow--light::before { background: var(--accent); }
.eyebrow-ink { color: var(--ink); }
.eyebrow-ink::before { background: var(--accent); }
.text-ink { color: var(--ink); }

.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.sec-head p { color: var(--ink-soft); margin-top: 18px; font-size: 1.08rem; }

.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-primary { background: var(--primary); color: #f3efe8; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .94rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: #12100d; box-shadow: 0 12px 28px rgba(212,175,55,.28); }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-sm { padding: 11px 22px; font-size: .86rem; }

/* Topbar */
.topbar { background: var(--primary); color: #cfc7ba; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; padding: 10px 0; }
.topbar-inner a, .topbar-inner span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.12); }
.topbar-inner a:last-child, .topbar-inner span:last-child { border-right: none; }
.topbar-inner svg { width: 15px; height: 15px; color: var(--accent); }
.topbar-inner a:hover { color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.nav-logo { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; font-weight: 600; color: var(--primary); letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .9rem; letter-spacing: .02em; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta-mobile { display: none; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { width: 26px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero : rideau + carte à cheval */
.hero { position: relative; min-height: 92vh; color: #fff; overflow: visible; z-index: 2; }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
html.js-ready .hero-media img { transform: scale(1); animation: heroZoom 14s ease forwards; }
@keyframes heroZoom { to { transform: scale(1.06); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.28) 42%, rgba(13,13,13,.78) 100%); }

.hero-curtain { position: absolute; inset: 0; z-index: 10; background: var(--primary); display: flex; align-items: center; justify-content: center; transform: translateY(-100%); opacity: 0; visibility: hidden; }
html.js-ready .hero-curtain.curtain-active { visibility: visible; opacity: 1; transform-origin: top; animation: curtainLift 1.1s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes curtainLift { 0% { transform: scaleY(1); } 100% { transform: scaleY(0); opacity: 0; } }

.hero-curtain__word { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--accent); letter-spacing: .08em; opacity: .9; }

.hero-main { width: min(var(--maxw), 92%); margin-inline: auto; padding: 140px 0 220px; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 16ch; }
.hero h1 em { color: var(--accent); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #efe9e0; margin: 24px 0 36px; max-width: 52ch; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-line { width: 120px; height: 2px; background: var(--accent); margin: 36px 0 0; opacity: 1; }

.hero-bottom { position: relative; width: min(var(--maxw), 92%); margin-inline: auto; z-index: 5; }
.hero-card {
  position: absolute; left: 0; bottom: 0;
  width: min(520px, 45%); background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--accent); padding: 34px 32px;
  transform: translateY(45%);
}
html.js-ready .hero-card { opacity: 0; transform: translateY(60%); animation: cardRise .9s cubic-bezier(.2,.7,.2,1) var(--curtain-delay) forwards; }
@keyframes cardRise { to { opacity: 1; transform: translateY(45%); } }
.hero-card .eyebrow:not(.eyebrow-ink) { color: var(--accent); }
.hero-card h3 { font-size: 1.45rem; margin-bottom: 14px; color: var(--primary); }
.hero-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 8px; }
.hero-card p strong { color: var(--ink); }
.hero-card .hero-card-cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Trust / badges */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-top: 160px; position: relative; z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding: 60px 0 80px; }
.trust-card { display: flex; align-items: flex-start; gap: 18px; }
.trust-card .ico { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.trust-card .ico svg { width: 26px; height: 26px; color: var(--accent); }
.trust-card h4 { font-size: 1.05rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.trust-card p { font-size: .92rem; color: var(--ink-soft); }

/* Problème */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pain-item { padding: 32px 28px; border-top: 2px solid var(--line); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm); }
.pain-item .ico { width: 48px; height: 48px; color: var(--accent); margin-bottom: 16px; }
.pain-item .ico svg { width: 32px; height: 32px; }
.pain-item h4 { font-size: 1.15rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.pain-item p { font-size: .96rem; color: var(--ink-soft); }

/* Services — bento asymétrique */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.bento-card--hero { grid-column: span 2; grid-row: span 2; min-height: 460px; color: #fff; }
.bento-card--photo { padding: 0; min-height: 220px; }
.bento-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento-card--photo:hover img { transform: scale(1.05); }
.bento-card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.35) 0%, rgba(13,13,13,.7) 100%); }
.bento-card--photo .bento-body { position: relative; z-index: 2; padding: 26px 24px; color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }

.bento-hero-bg { position: absolute; inset: 0; z-index: 0; }
.bento-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.bento-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,.25) 0%, rgba(13,13,13,.72) 100%); }

.bento-card .ico { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 16px; }
.bento-card .ico svg { width: 24px; height: 24px; color: var(--accent); }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--primary); }
.bento-card--hero h3, .bento-card--photo h3 { color: #fff; }
.bento-card p { color: var(--ink-soft); font-size: .94rem; }
.bento-card--hero p, .bento-card--photo p { color: rgba(255,255,255,.82); }
.bento-card .tag { display: inline-block; margin-top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 11px; border-radius: 999px; }

/* À propos — split + collage */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-text ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.about-text li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.about-text li svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.about-collage { position: relative; min-height: 520px; }
.about-img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img--front { width: 68%; left: 0; top: 0; aspect-ratio: 4/5; z-index: 2; }
.about-img--back { width: 55%; right: 0; bottom: 0; aspect-ratio: 3/4; z-index: 1; }
.about-stat { position: absolute; right: 8%; top: 12%; z-index: 3; background: var(--primary); color: #fff; padding: 22px 26px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); box-shadow: var(--shadow); }
.about-stat b { font-family: var(--font-display); font-size: 2.2rem; display: block; line-height: 1; }
.about-stat span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #cfc7ba; margin-top: 8px; display: block; }

/* Citation parallax */
.quote { position: relative; padding: 130px 0; background-color: var(--primary); background-attachment: fixed; background-size: cover; background-position: center; color: #fff; text-align: center; }
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(13,13,13,.72); }
.quote-inner { position: relative; z-index: 2; width: min(var(--maxw), 92%); margin-inline: auto; }
.quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.7rem); max-width: 26ch; margin: 0 auto; line-height: 1.3; }
.quote cite { display: block; margin-top: 22px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--accent); }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { position: relative; padding: 38px 30px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--font-display); font-style: italic; font-size: 3.2rem; color: var(--primary); opacity: 1; line-height: 1; margin-bottom: 8px; }
.step .ico { width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.step .ico svg { width: 26px; height: 26px; color: var(--accent); }
.step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* Preuve : citation + compteurs */
.proof-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.proof-quote { border-left: 3px solid var(--accent); padding-left: 26px; }
.proof-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); }
.proof-quote cite { display: block; margin-top: 18px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--accent); }
.proof-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.counter { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.counter b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--primary); line-height: 1; }
.counter b span { color: var(--accent); font-size: .55em; vertical-align: super; }
.counter span { display: block; margin-top: 12px; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); transition: transform .25s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .a { padding: 0 26px 24px; color: var(--ink-soft); font-size: .97rem; }

/* CTA band */
.cta-band { background: var(--primary); color: #f3efe8; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 20ch; margin: 0 auto 18px; }
.cta-band h2 em { color: var(--accent); }
.cta-band p { color: #b8b0a3; max-width: 54ch; margin: 0 auto 30px; font-size: 1.08rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 18px; }
.contact-info .coord { display: grid; gap: 18px; margin-bottom: 28px; }
.contact-info .coord-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .coord-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info .coord-item strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info .coord-item a { color: var(--ink); font-weight: 600; }
.contact-info .coord-item a:hover { color: var(--accent); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form input, .form textarea, .form select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .96rem; background: var(--bg); transition: border-color .15s; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form button[type="submit"] { width: 100%; }
.form label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.form-success { display: none; padding: 14px 18px; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--ink); font-size: .95rem; margin-bottom: 18px; }
.form-success.is-visible { display: block; }

/* Footer */
.footer { background: var(--primary-d); color: #b5afa3; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer p { font-size: .94rem; line-height: 1.7; color: #9c968b; }
.footer h5 { color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.footer a { display: block; padding: 6px 0; font-size: .92rem; color: #b5afa3; transition: color .15s; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #7a756b; }

/* Reveal au scroll */
.reveal-el { opacity: 1; transform: translateY(0); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js-ready .reveal-el { opacity: 0; transform: translateY(30px); }
html.js-ready .reveal-el.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero-main { padding: 110px 0 200px; }
  .hero-card { width: min(460px, 70%); transform: translateY(42%); }
  html.js-ready .hero-card { transform: translateY(42%); }
  .trust { padding-top: 150px; }
  .trust-grid, .pain, .steps, .proof-counters { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .proof-split { grid-template-columns: 1fr; }
  .about-collage { min-height: 420px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--hero { grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
  .topbar-inner a, .topbar-inner span { border-right: none; padding: 2px 0; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 0 6%; max-height: 0; overflow: hidden; transition: max-height .35s, padding .35s; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line); }
  .nav-links.open { max-height: 420px; padding: 12px 6%; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-cta .btn:not(.burger) { display: none; }
  .nav-cta-mobile { display: block; color: var(--accent); font-weight: 700; margin-top: 8px; }
  .burger { display: flex; }
  .hero { min-height: 88vh; }
  .hero-main { padding: 90px 0 240px; }
  .hero-bottom { position: relative; width: 100%; }
  .hero-card { position: relative; width: 100%; left: auto; bottom: auto; transform: translateY(0); margin-top: -120px; }
  html.js-ready .hero-card { transform: translateY(0); animation: cardRiseMobile .9s cubic-bezier(.2,.7,.2,1) var(--curtain-delay) forwards; }
  @keyframes cardRiseMobile { to { opacity: 1; transform: translateY(0); } }
  .trust { padding-top: 50px; }
  .trust-grid, .pain, .steps, .bento, .proof-counters { grid-template-columns: 1fr; }
  .bento-card--hero { grid-column: span 1; min-height: 300px; }
  .about-collage { min-height: 360px; }
  .about-img--front { width: 75%; }
  .about-img--back { width: 60%; }
  .about-stat { right: 0; top: 0; padding: 16px 20px; }
  .quote { background-attachment: scroll; padding: 90px 0; }
  #histoire { padding-top: 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form .row2 { grid-template-columns: 1fr; }
}
