/* ALTIS SALES — charte couleurs v3 (logo officiel + bleu anthracite) */
:root {
  --gold-light: #cba571;
  --gold: #b28451;
  --copper: #896038;
  --shadow: #372818;
  --navy: #14181b;
  --navy-2: #1c2227;
  --navy-3: #0c0f12;
  --line: #2c343a;
  --white: #fff;
  --text: #22282d;
  --muted: #5f6870;
  --bg: #f7f5f1;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--copper); }

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 24px;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-light); font-weight: 700; letter-spacing: 2px; }
.brand em { font-style: normal; font-weight: 400; letter-spacing: 4px; }
.topbar nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar nav a { color: var(--white); text-decoration: none; font-size: 0.95rem; }
.topbar nav a:hover { color: var(--gold-light); }

/* Boutons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--copper));
  color: var(--navy) !important; font: inherit; font-weight: 700; text-decoration: none;
  border: 1px solid var(--copper); cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn-small { padding: 6px 14px; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--gold-light) !important; border-color: var(--gold); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-light); text-decoration: underline; cursor: pointer; }

/* Accroche */
.hero {
  text-align: center;
  padding: 56px 24px 48px;
  background: radial-gradient(circle at 50% 0%, #26303a, var(--navy) 70%);
  color: var(--white);
}
.hero-logo { width: 150px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
.kicker { margin: 18px 0 0; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.25; margin: 10px auto 16px; max-width: 860px; color: var(--gold-light); }
.lead { max-width: 700px; margin: 0 auto 28px; font-size: 1.1rem; color: #dfe3e6; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 40px auto 0; max-width: 640px; display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 8px 32px; text-align: left; font-size: 0.9rem; color: #c9ced2; }
.trust li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; }
.eyebrow { margin: 0 0 6px; color: var(--copper); font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.section h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.25; margin: 0 0 32px; color: var(--navy); letter-spacing: -0.3px; }
.section h3 { font-size: 1.1rem; line-height: 1.35; }
/* Fond pleine largeur : contenu centré par le padding, aligné sur les sections blanches (max --max). */
.section-alt, .section-dark {
  max-width: none;
  padding-left: max(24px, calc((100% - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--max)) / 2 + 24px));
}
.section-alt { background: #ece8e1; }
.section-dark { background: var(--navy); color: #e4e7e9; }
.section-dark h2 { color: var(--gold-light); }
.section-dark .eyebrow { color: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid #e3ddd3; border-top: 4px solid var(--gold); border-radius: 8px; padding: 24px; }
.card h3 { margin-top: 0; color: var(--copper); }
.card p { margin-bottom: 0; color: var(--muted); }

.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.services li { border-top: 2px solid var(--gold); padding-top: 16px; }
.services h3 { margin: 0 0 8px; color: var(--navy); }
.services p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.about p { margin: 0 0 14px; }
.audience { background: var(--navy); color: #e4e7e9; border-radius: 10px; padding: 26px; border-top: 4px solid var(--gold); }
.audience h3 { margin: 0 0 12px; color: var(--gold-light); }
.audience ul { margin: 0; padding-left: 18px; }
.audience li { margin-bottom: 6px; }
.audience li::marker { color: var(--gold); }

.why { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.why li { background: var(--white); border-left: 4px solid var(--gold); padding: 14px 16px; border-radius: 4px; }
.why strong { color: var(--navy); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.steps li { background: var(--navy-2); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.steps span { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-weight: 700; }
.steps h3 { color: var(--gold-light); margin: 10px 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; font-size: 0.95rem; color: #c9ced2; }

.faq details { background: var(--white); border: 1px solid #e3ddd3; border-radius: 6px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.contact { text-align: center; }
.contact h2 { margin-bottom: 12px; }
.contact-lines { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 24px auto; }
.phone { color: var(--gold-light); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.small { font-size: 0.9rem; color: #aab2b8; }
.small a { color: var(--gold-light); }

/* Formulaire de devis */
.quote-dialog { border: 1px solid var(--gold); border-radius: 10px; padding: 0; width: min(480px, calc(100% - 32px)); background: var(--navy); color: #e4e7e9; }
.quote-dialog::backdrop { background: rgba(8, 10, 12, 0.75); }
.quote-form { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.quote-form h2 { margin: 0; color: var(--gold-light); }
.form-intro, .form-note { margin: 0; font-size: 0.9rem; color: #aab2b8; }
.quote-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
.quote-form input, .quote-form textarea { font: inherit; padding: 9px 11px; border-radius: 6px; border: 1px solid var(--line); background: var(--navy-2); color: var(--white); }
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.quote-form .btn { align-self: flex-start; }
.form-status { margin: 0; min-height: 1.2em; color: var(--gold-light); font-size: 0.9rem; }
.dialog-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #aab2b8; font-size: 1.6rem; cursor: pointer; }
.honey { position: absolute; left: -9999px; }

/* Pied de page */
.footer { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 22px; background: var(--navy-3); color: #9aa3a9; font-size: 0.85rem; }
.footer a { color: var(--gold-light); }

/* Mentions légales repliables dans le pied de page */
.legal-notice { flex-basis: 100%; max-width: 820px; text-align: left; }
.legal-notice summary { cursor: pointer; color: var(--gold-light); text-align: center; }
.legal-notice p { color: #a9b1b6; font-size: 0.8rem; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; gap: 20px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .topbar { padding: 10px 16px; }
  .topbar nav { gap: 10px; }
  .topbar nav a:not(.btn) { display: none; }
  .section, .section-alt, .section-dark { padding: 52px 16px; }
  .hero { padding: 44px 16px 40px; }
  .trust { grid-template-columns: auto; gap: 6px; }
}
