/* LFCD-Invest — site vitrine (maquette). Charte = thème « sable-cuivre » de la plateforme client. */
@font-face { font-family: "Lato"; src: url("../fonts/lato-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/lato-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --copper: #b05b3b;
  --copper-hover: #9a4d31;
  --copper-soft: #c77b5a;
  --copper-tint: #f6e9e2;
  --sand: #faf7f2;
  --sand-2: #f2ede4;
  --sand-3: #e7dfd2;
  --ink: #3d2418;
  --ink-2: #5c4336;
  --muted: #7a6355;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(61, 36, 24, 0.14), 0 4px 14px rgba(61, 36, 24, 0.06);
  --wrap: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
html, body { overflow-x: clip; }
body { background: var(--sand); color: var(--ink); font-family: "Lato", system-ui, sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.todo { background: #fff3c4; color: #6b4e00; border-radius: 6px; padding: 0 6px; font-style: normal; font-weight: 700; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 700 16px/1 "Lato", sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--copper); color: var(--white); }
.btn-primary:hover { background: var(--copper-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--sand); }
.btn-light { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }

/* En-tête */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s; }
.header.scrolled { background: rgba(250, 247, 242, 0.96); box-shadow: 0 1px 0 var(--sand-3); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: 16px; font-weight: 700; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--copper); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }

/* Accueil */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250,247,242,0.98) 0%, rgba(250,247,242,0.93) 38%, rgba(250,247,242,0.2) 66%, rgba(250,247,242,0) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 84px; }
.hero-copy { max-width: 620px; }
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper); }
.kicker::before { content: ""; width: 44px; height: 2px; background: var(--copper); }
.hero h1 { margin: 22px 0 22px; font-size: clamp(44px, 6vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -0.025em; }
.hero h1 b, .h2 b { font-weight: 900; color: var(--copper); }
.hero p { font-size: 20px; color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-year { position: absolute; right: 4vw; bottom: 4vh; z-index: 2; font-size: clamp(90px, 14vw, 200px); font-weight: 900; line-height: 0.8; color: rgba(255,255,255,0.85); letter-spacing: -0.04em; text-shadow: 0 10px 40px rgba(61,36,24,0.25); }

/* Sections */
.section { padding: 120px 0; }
.section.alt { background: var(--white); }
.section.ink { background: var(--ink); color: var(--sand); }
.h2 { margin: 18px 0 20px; font-size: clamp(34px, 4.2vw, 54px); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
.ink .h2 b { color: var(--copper-soft); }
.lead { font-size: 20px; color: var(--ink-2); max-width: 680px; }
.ink .lead { color: #e6d9cf; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.head.center .lead { margin-inline: auto; }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--sand-3); border-block: 1px solid var(--sand-3); }
.pillar { background: var(--sand); padding: 44px 32px; }
.pillar .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--copper-tint); display: grid; place-items: center; margin-bottom: 22px; }
.pillar .ico svg { width: 28px; height: 28px; stroke: var(--copper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.pillar p { font-size: 17px; color: var(--muted); }

/* La maison */
.maison { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.maison-visual { position: relative; }
.maison-visual img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.maison-badge { position: absolute; right: -28px; bottom: 40px; background: var(--copper); color: var(--white); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); }
.maison-badge strong { display: block; font-size: 54px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.maison-badge span { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--sand-3); }
.facts strong { display: block; font-size: 30px; font-weight: 900; color: var(--copper); line-height: 1.1; }
.facts span { font-size: 16px; color: var(--muted); }

/* Métaux */
.metals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metal { background: var(--sand); border: 1px solid var(--sand-3); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.metal:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.metal .pic { background: var(--white); aspect-ratio: 1; display: grid; place-items: center; padding: 26px; border-bottom: 1px solid var(--sand-3); }
.metal .pic img { max-height: 100%; object-fit: contain; }
.metal .txt { padding: 24px 24px 28px; }
.metal .tag { font-size: 13px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); }
.metal h3 { font-size: 22px; font-weight: 900; margin: 6px 0 8px; }
.metal p { font-size: 16px; color: var(--muted); }
.gold-band { margin-top: 40px; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--radius); background: var(--copper-tint); }
.gold-band svg { flex: none; width: 34px; height: 34px; stroke: var(--copper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gold-band p { font-size: 17px; color: var(--ink-2); }

/* Livrets */
.livrets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.livret { background: rgba(255,255,255,0.04); border: 1px solid rgba(250,247,242,0.14); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.livret img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.livret .txt { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.livret h3 { font-size: 24px; font-weight: 900; }
.livret .rate { font-size: 46px; font-weight: 900; color: var(--copper-soft); line-height: 1; letter-spacing: -0.02em; }
.livret .rate small { font-size: 17px; font-weight: 400; color: #d9c8bb; letter-spacing: 0; }
.livret dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding-top: 16px; border-top: 1px solid rgba(250,247,242,0.14); }
.livret dt { font-size: 13px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: #bfa898; }
.livret dd { font-size: 17px; font-weight: 700; }
.risk { margin-top: 40px; display: flex; gap: 16px; padding: 22px 26px; border-radius: 14px; border: 1px solid rgba(250,247,242,0.2); font-size: 16px; color: #e6d9cf; }
.risk svg { flex: none; width: 24px; height: 24px; stroke: var(--copper-soft); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* Espace en ligne */
.features { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 120px; }
.tab { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--sand-3); background: var(--white); cursor: pointer; font: inherit; color: inherit; transition: border-color 0.2s, background 0.2s; }
.tab svg { flex: none; width: 24px; height: 24px; stroke: var(--copper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.tab strong { display: block; font-size: 18px; font-weight: 900; }
.tab span { font-size: 16px; color: var(--muted); }
.tab[aria-selected="true"] { border-color: var(--copper); background: var(--copper-tint); }
.screen { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--sand-3); }
.screen .bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: var(--sand-2); border-bottom: 1px solid var(--sand-3); }
.screen .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--sand-3); }
.screen .bar span { margin-left: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.screen .shots { position: relative; aspect-ratio: 16 / 9; }
.screen .shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 0.45s; }
.screen .shots img.on { opacity: 1; }
.phone-mini { position: absolute; right: -22px; bottom: -30px; width: 190px; border-radius: 30px; border: 7px solid var(--ink); overflow: hidden; box-shadow: var(--shadow); background: var(--white); opacity: 0; transform: translateY(20px); transition: opacity 0.4s, transform 0.4s; }
.phone-mini.on { opacity: 1; transform: none; }
.features-visual { position: relative; }

/* Vidéo */
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); max-width: 1000px; margin-inline: auto; }
.video-box video { width: 100%; aspect-ratio: 16 / 9; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--sand-3); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -2px; left: 0; padding-top: 18px; border-top: 2px solid var(--copper); width: 54px; font-size: 15px; font-weight: 900; letter-spacing: 0.1em; color: var(--copper); }
.step h3 { font-size: 21px; font-weight: 900; margin: 18px 0 8px; }
.step p { font-size: 16px; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.coords { display: grid; gap: 22px; margin-top: 34px; }
.coord { display: flex; gap: 16px; }
.coord svg { flex: none; width: 24px; height: 24px; stroke: var(--copper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.coord strong { display: block; font-size: 15px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--sand-3); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea { font: 400 17px/1.4 "Lato", sans-serif; color: var(--ink); padding: 14px 16px; border: 1px solid var(--sand-3); border-radius: 12px; background: var(--sand); outline: none; transition: border-color 0.2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--copper); background: var(--white); }
.form textarea { min-height: 120px; resize: vertical; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--muted); }
.form .consent input { margin-top: 4px; accent-color: var(--copper); }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; background: var(--copper-tint); color: var(--ink); font-size: 16px; }
.form-msg.show { display: block; }

/* Pied de page */
.footer { background: var(--ink); color: #d9c8bb; padding: 72px 0 36px; font-size: 16px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(250,247,242,0.12); }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(0.92) sepia(0.2); }
.footer h4 { font-size: 14px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--copper-soft); }
.footer-risk { padding: 28px 0; font-size: 15px; line-height: 1.6; color: #bfa898; border-bottom: 1px solid rgba(250,247,242,0.12); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 15px; color: #bfa898; flex-wrap: wrap; }


/* Cours des métaux */
.quotes { background: var(--white); border: 1px solid var(--sand-3); border-radius: 22px; box-shadow: var(--shadow); padding: 30px; }
.quotes-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.metal-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.metal-tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--sand-3); background: var(--sand); font: 700 16px "Lato", sans-serif; color: var(--ink); cursor: pointer; }
.metal-tabs .sym { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sand-2); font-size: 14px; font-weight: 900; color: var(--muted); }
.metal-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--sand); }
.metal-tabs button[aria-selected="true"] .sym { background: var(--copper); color: var(--white); }
.selects { display: flex; gap: 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand-2); }
.seg button, .periods button { border: 0; background: none; font: 700 15px "Lato", sans-serif; color: var(--muted); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"], .periods button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(61,36,24,0.12); }
.quotes-main { display: grid; grid-template-columns: 290px 1fr; gap: 34px; }
.live { display: flex; flex-direction: column; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 13px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: #1e7a4c; background: #e7f4ec; border-radius: 999px; padding: 6px 12px; }
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #1e9a5a; animation: pulse 1.6s infinite; }
.live-badge.off { color: var(--muted); background: var(--sand-2); } .live-badge.off i { background: var(--muted); animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.live-price { margin-top: 16px; font-size: 46px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.live-unit { margin-top: 6px; font-size: 16px; color: var(--muted); }
.live-time { margin-top: 4px; font-size: 15px; color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--sand-3); }
.stats dt { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats dd { font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; }
.stats dd.up { color: #1e7a4c; } .stats dd.down { color: #b3261e; }
.stats-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.chart-box { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.periods { display: flex; gap: 4px; flex-wrap: wrap; align-self: flex-end; padding: 4px; border-radius: 999px; background: var(--sand-2); }
.chart { position: relative; height: 360px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .grid line { stroke: var(--sand-3); stroke-width: 1; }
.chart .axis text { font: 400 13px "Lato", sans-serif; fill: var(--muted); }
.chart .line { fill: none; stroke: var(--copper); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#chart-grad); }
.chart .cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .dot { fill: var(--white); stroke: var(--copper); stroke-width: 3; }
.chart-tip { position: absolute; top: 0; transform: translateX(-50%); pointer-events: none; background: var(--ink); color: var(--sand); border-radius: 10px; padding: 8px 12px; font-size: 14px; white-space: nowrap; box-shadow: var(--shadow); }
.chart-tip strong { display: block; font-size: 16px; }
.quotes-src { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sand-3); font-size: 14px; color: var(--muted); }

/* Questions fréquentes */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--sand-3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-size: 19px; font-weight: 900; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--copper-tint); color: var(--copper); font-size: 20px; font-weight: 700; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 17px; }

/* Prise de rendez-vous */
.rdv { margin: auto; border: 0; border-radius: 22px; padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: 0 40px 120px rgba(61,36,24,0.35); color: var(--ink); background: var(--white); }
.rdv::backdrop { background: rgba(61, 36, 24, 0.5); }
.rdv-inner { padding: 30px; display: grid; gap: 20px; }
.rdv-head { display: flex; justify-content: space-between; align-items: center; }
.rdv-head h2 { font-size: 26px; font-weight: 900; }
.rdv-close { border: 0; background: var(--sand-2); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.rdv-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.rdv-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: rs; }
.rdv-steps li { counter-increment: rs; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--sand-3); }
.rdv-steps li::before { content: counter(rs) ". "; }
.rdv-steps li.on { color: var(--copper); border-color: var(--copper); }
.rdv-step { display: none; gap: 14px; }
.rdv-step.on { display: grid; }
.rdv-q { font-size: 18px; font-weight: 900; }
.choices { display: grid; gap: 10px; }
.choices label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--sand-3); border-radius: 12px; cursor: pointer; font-size: 17px; }
.choices input { accent-color: var(--copper); width: 18px; height: 18px; }
.choices label:has(input:checked) { border-color: var(--copper); background: var(--copper-tint); }
.rdv label:not(.choices label) { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.rdv input:not([type=radio]), .rdv select { font: 400 17px "Lato", sans-serif; color: var(--ink); padding: 13px 14px; border: 1px solid var(--sand-3); border-radius: 12px; background: var(--sand); width: 100%; }
.rdv .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rdv-done { display: grid; gap: 10px; justify-items: center; text-align: center; }
.rdv-done svg { width: 56px; height: 56px; stroke: #1e7a4c; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rdv-note { font-size: 14px; color: var(--muted); background: var(--sand); padding: 12px 14px; border-radius: 12px; }
.rdv-foot { display: flex; justify-content: space-between; gap: 12px; }
#rdv-prev[hidden] { display: none; }
#rdv-next { margin-left: auto; }

@media (max-width: 1080px) {
  .quotes-main { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .periods { align-self: stretch; justify-content: space-between; }
}
@media (max-width: 820px) {
  .quotes { padding: 20px; border-radius: 18px; }
  .live-price { font-size: 38px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chart { height: 260px; }
  .periods { flex-wrap: nowrap; }
  .periods button { padding: 7px 8px; font-size: 13px; white-space: nowrap; }
  .rdv .row2 { grid-template-columns: 1fr; }
  .rdv-inner { padding: 22px; }
}


/* Animations au défilement (actives seulement si GSAP + Lenis chargés, cf. animations.js) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.gsap-on { scroll-behavior: auto; }
.gsap-on .reveal { opacity: 1; transform: none; transition: none; }
.gsap-on .hero-photo { animation: none; transform: none; will-change: transform; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.swi { display: inline-block; will-change: transform; }
.header { transition: background 0.3s, box-shadow 0.3s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.header.hide { transform: translateY(-100%); }
.gsap-on .chart .line { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1); }
.gsap-on .chart:not(.drawn) .line { stroke-dashoffset: 1; }
.gsap-on .chart .area { transition: opacity 1.2s ease 1s; }
.gsap-on .chart:not(.drawn) .area { opacity: 0; }
.steps { position: relative; }
.steps-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--copper); transform-origin: left center; z-index: 1; }
.video-box { will-change: transform; }

/* Bandeau maquette */
.mock-flag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: var(--ink); color: var(--sand); font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); }

/* Apparitions au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-photo { animation: none; transform: none; } html { scroll-behavior: auto; } }

/* Mentions légales */
.legal-page { padding: 150px 0 100px; }
.legal-page h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 300; margin: 16px 0 40px; }
.legal-page h2 { font-size: 24px; font-weight: 900; margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--ink-2); max-width: 820px; }
.legal-page ul { padding-left: 22px; display: grid; gap: 6px; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); padding: 12px var(--gutter) 24px; box-shadow: 0 20px 40px rgba(61,36,24,0.12); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--sand-3); font-size: 18px; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .menu-toggle { display: grid; place-items: center; }
  .header { background: rgba(250, 247, 242, 0.96); }
  .nav .btn + .btn { margin-top: 10px; }
}
@media (max-width: 1080px) {
  .pillars, .metals { grid-template-columns: repeat(2, 1fr); }
  .livrets { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .maison, .contact { grid-template-columns: 1fr; gap: 56px; }
  .maison-badge { right: 16px; }
  .features { grid-template-columns: 1fr; }
  .tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tab { min-width: 250px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero::before { background: linear-gradient(180deg, rgba(250,247,242,0.97) 0%, rgba(250,247,242,0.9) 55%, rgba(250,247,242,0.35) 100%); }
  .hero-year { display: none; }
  .section { padding: 84px 0; }
  .pillars, .metals { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .form { padding: 26px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .phone-mini { width: 130px; right: 8px; bottom: -20px; border-width: 5px; border-radius: 22px; }
  .brand img { height: 40px; }
}
