/* ==========================================================================
   L'Échappée Belle Conciergerie — feuille de style
   DA : bleu marine / sable / terracotta · Playfair Display, Montserrat, Lato
   ========================================================================== */

:root {
  --navy: #1E3A5F;
  --navy-deep: #142B47;
  --navy-soft: #2C4F7C;
  --sand: #F4EDE4;
  --sand-soft: #FAF6F1;
  --sand-line: #E7DCCD;
  --terra: #E29578;
  --terra-deep: #B8674B;
  --text: #374151;
  --muted: #6B7280;
  --white: #FFFFFF;

  --font-title: "Playfair Display", Georgia, serif;
  --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-script: "The Nautigal", cursive;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 43, 71, .05), 0 8px 24px rgba(20, 43, 71, .07);
  --shadow-lg: 0 2px 4px rgba(20, 43, 71, .06), 0 20px 48px rgba(20, 43, 71, .12);
  --container: 1180px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--terra); text-underline-offset: 3px; }
a:hover { color: var(--terra-deep); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--navy); font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
em.accent { font-style: italic; color: var(--terra-deep); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }

/* ---------- Petits libellés ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 14px;
}
.kicker::before { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.center .kicker::after, .kicker.both::after { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; }
.lead { font-size: 1.15rem; color: var(--text); }
.section-head { margin-bottom: 56px; }
.section-head p { max-width: 680px; }
.section-head.center p { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--terra); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(226, 149, 120, .35); }
.btn-primary:hover { background: #E8A78E; color: var(--navy-deep); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icônes ---------- */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-badge {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand); color: var(--navy);
  margin-bottom: 22px;
}
.ico-badge .ico { width: 26px; height: 26px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: auto; transition: height .3s; }
.brand .logo-navy { display: none; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  font-family: var(--font-ui); font-size: .8rem; font-weight: 500; letter-spacing: .06em;
  color: var(--white); text-decoration: none; padding: 6px 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 22px; font-size: .74rem; }
.site-header.scrolled, .site-header.solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--sand-line); height: 72px; }
.site-header.scrolled .brand img, .site-header.solid .brand img { height: 46px; }
.site-header.scrolled .logo-white, .site-header.solid .logo-white { display: none; }
.site-header.scrolled .logo-navy, .site-header.solid .logo-navy { display: block; }
.site-header.scrolled .nav a:not(.btn), .site-header.solid .nav a:not(.btn) { color: var(--navy); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--white); }
.site-header.scrolled .burger, .site-header.solid .burger { color: var(--navy); }
.burger .ico { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  /* backdrop-filter créerait un bloc conteneur qui piégerait le menu plein écran */
  .site-header.scrolled, .site-header.solid { backdrop-filter: none; background: var(--white); }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 60; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 36px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav a:not(.btn), .site-header.scrolled .nav a:not(.btn), .site-header.solid .nav a:not(.btn) { color: var(--white); font-size: 1.05rem; }
  .nav-close { position: absolute; top: 22px; right: 22px; background: none; border: 0; color: var(--white); cursor: pointer; padding: 10px; }
  .nav-close .ico { width: 30px; height: 30px; }
}
@media (min-width: 1081px) { .nav-close { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 60px) 0 110px;
}
.hero--page { min-height: 62vh; padding-bottom: 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 43, 71, .55) 0%, rgba(20, 43, 71, 0) 65%),
    linear-gradient(180deg, rgba(20, 43, 71, .55) 0%, rgba(20, 43, 71, .15) 35%, rgba(20, 43, 71, .75) 100%);
}
.hero h1 { color: var(--white); max-width: 900px; margin-bottom: 18px; }
.hero h1 .script { display: block; font-family: var(--font-script); font-weight: 400; font-size: 1.05em; color: var(--sand); line-height: 1; margin-bottom: 6px; }
.hero .kicker { color: var(--sand); }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 640px; opacity: .92; margin-bottom: 34px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .25); font-family: var(--font-ui); font-size: .8rem; letter-spacing: .04em;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; opacity: .92; }
.hero__trust .ico { width: 18px; height: 18px; color: var(--terra); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; color: var(--white); }
.wave.to-sand { color: var(--sand-soft); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--sand { background: var(--sand-soft); }
.section--sand-strong { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .86); }
.section--navy h2, .section--navy h3, .section--navy strong { color: var(--white); }
.section--navy .kicker { color: var(--terra); }
.section--tight { padding: clamp(56px, 7vw, 80px) 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.card {
  background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card .card__lead { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 10px; }
.card p { font-size: .96rem; }
.section--sand .card { border-color: transparent; }

.card-media { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.card-media:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card-media__img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-media:hover .card-media__img img { transform: scale(1.04); }
.card-media__body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.card-media__body .link-arrow { margin-top: auto; padding-top: 18px; }
.tag {
  display: inline-block; align-self: flex-start; font-family: var(--font-ui); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--navy); margin-bottom: 14px;
}

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; isolation: isolate; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split__media::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--terra);
  border-radius: var(--radius-lg); z-index: -1;
}
.split--reverse .split__media::after { inset: 22px 22px -22px -22px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media::after { display: none; }
}

/* ---------- Listes ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li .ico { width: 22px; height: 22px; color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; margin-top: 3px; stroke-width: 2.4; }
.section--navy .checklist li .ico { background: var(--terra); color: var(--navy-deep); }
.xlist li .ico { background: #F6E1D8; color: var(--terra-deep); }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; padding: 38px 30px 32px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-title); font-size: 3.2rem; line-height: 1; color: var(--terra); font-style: italic;
  display: block; margin-bottom: 16px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Offres / tarifs ---------- */
.offer {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.offer__body { padding: clamp(32px, 5vw, 56px); }
.offer__price { background: var(--navy); color: rgba(255,255,255,.88); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.offer__price::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid rgba(226, 149, 120, .35); box-shadow: 0 0 0 40px rgba(226, 149, 120, .06);
}
.offer__name { font-family: var(--font-script); font-size: 2.6rem; color: var(--sand); line-height: 1.1; margin-bottom: 4px; }
.offer__amount { font-family: var(--font-title); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--white); line-height: 1; margin: 10px 0 4px; }
.offer__amount small { font-family: var(--font-ui); font-size: .9rem; letter-spacing: .06em; color: var(--terra); margin-left: 6px; }
.offer__note { font-size: .88rem; opacity: .75; margin-bottom: 26px; }
.offer__price .checklist { margin-bottom: 34px; font-size: .96rem; }
.offer__price .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.offer--reverse .offer__price { order: -1; }
.platforms { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.platforms img { height: 36px; width: auto; }
.platforms span { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 880px) { .offer { grid-template-columns: 1fr; } .offer--reverse .offer__price { order: 0; } }

.pack { background: var(--white); border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow); border-top: 4px solid var(--sand-line); display: flex; flex-direction: column; }
.pack--featured { border-top-color: var(--terra); }
.pack__price { font-family: var(--font-title); font-size: 2.6rem; color: var(--navy); line-height: 1; margin: 6px 0 22px; }
.pack__price small { font-family: var(--font-ui); font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.pack .checklist { margin-bottom: 30px; }
.pack .btn { margin-top: auto; align-self: flex-start; }

.cols-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.cols-list h4 { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 16px; }
.cols-list .checklist { font-size: .96rem; gap: 10px; }
@media (max-width: 560px) { .cols-list { grid-template-columns: 1fr; } }

/* ---------- Valeurs (fond photo) ---------- */
.values { position: relative; isolation: isolate; color: var(--white); }
.values__bg { position: absolute; inset: 0; z-index: -2; }
.values__bg img { width: 100%; height: 100%; object-fit: cover; }
.values::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 43, 71, .82); }
.values h2, .values h3 { color: var(--white); }
.values .kicker { color: var(--terra); }
.value { padding: 36px 30px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg); background: rgba(255,255,255,.05); backdrop-filter: blur(4px); }
.value .ico-badge { background: rgba(226, 149, 120, .18); color: var(--terra); }
.value p { color: rgba(255,255,255,.82); font-size: .98rem; }

/* ---------- Onglets (profil) ---------- */
.tabs { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.tabs__list { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--sand-line); }
.tabs__btn {
  font-family: var(--font-ui); font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  padding: 22px 20px; border: 0; background: var(--sand); color: var(--muted); cursor: pointer; text-align: left;
  display: flex; gap: 12px; align-items: center; border-bottom: 3px solid transparent; transition: background .2s, color .2s;
}
.tabs__btn small { display: block; font-weight: 500; font-size: .75rem; letter-spacing: .02em; color: var(--muted); margin-top: 2px; }
.tabs__btn[aria-selected="true"] { background: var(--white); color: var(--navy); border-bottom-color: var(--terra); }
.tabs__panel { padding: clamp(28px, 4vw, 48px); }
.tabs__panel[hidden] { display: none; }
.scenario { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.scenario__box { border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 26px; }
.scenario__box--no { background: #FBF4F1; border-color: #F1D9CE; }
.scenario__box--yes { background: #F1F5FA; border-color: #D5E0EE; }
.scenario__box h4 { display: flex; align-items: center; gap: 10px; }
.scenario__box--no h4 .ico { color: var(--terra-deep); }
.scenario__box--yes h4 .ico { color: var(--navy); }
.scenario__box p { font-size: .96rem; }
.scenario__box .link-arrow { margin-top: 14px; }
.zone-note { font-family: var(--font-ui); font-size: .78rem; color: var(--muted); letter-spacing: .03em; }
@media (max-width: 760px) { .scenario { grid-template-columns: 1fr; } .tabs__list { grid-template-columns: 1fr; } }

/* ---------- Témoignage ---------- */
.quote { max-width: 820px; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-title); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--navy); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--terra); margin-bottom: 16px; font-style: normal; }
.quote figcaption { margin-top: 26px; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h3 { margin-bottom: 20px; }
.faq details { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--font-title); font-size: 1.12rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--terra); }
.faq .faq__body { padding: 0 26px 24px; font-size: .98rem; }
.faq .faq__body ul { padding-left: 20px; margin: 0 0 1em; }
.faq .faq__body li { margin-bottom: 6px; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(20,43,71,.92), rgba(30,58,95,.78)); }
.cta-band h2 { color: var(--white); }
.cta-band .kicker { color: var(--terra); }
.cta-band p { max-width: 620px; margin: 0 auto 32px; opacity: .9; }

/* ---------- Formulaires ---------- */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-ui); font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 14px 16px; border: 1.5px solid var(--sand-line); border-radius: 10px; background: var(--sand-soft);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 5px; accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { margin-top: 8px; }
.form-status { padding: 16px 20px; border-radius: 10px; margin-bottom: 22px; font-weight: 700; }
.form-status.is-ok { background: #EAF3EC; color: #24613A; }
.form-status.is-error { background: #FBEDE7; color: #9A4A2F; }
.contact-lines { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; }
.contact-lines .ico { color: var(--terra-deep); }
.contact-lines a { text-decoration: none; font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 80px 0 30px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--terra); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-grid img { height: 84px; width: auto; margin-bottom: 18px; }
.footer-grid h4 { font-family: var(--font-ui); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; opacity: .7; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 460px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 10px 50px rgba(20, 43, 71, .25);
  padding: 26px 26px 22px; border-top: 4px solid var(--terra); font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 18px; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookie-banner .btn { justify-content: center; padding: 13px 18px; font-size: .74rem; }
@media (max-width: 520px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--terra); }

/* ==========================================================================
   Guide (article long)
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; }
.toc__title { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terra-deep); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0 0 0 14px; margin: 0 0 24px; border-left: 2px solid var(--sand-line); display: grid; gap: 9px; }
.toc a { color: var(--muted); text-decoration: none; line-height: 1.4; display: block; }
.toc a:hover { color: var(--navy); }
.toc__cta { padding: 13px 20px; font-size: .72rem; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; background: var(--sand-soft); border-radius: var(--radius); padding: 22px 24px; }
  .toc__cta { display: none; }
}

.prose { max-width: 760px; }
.prose > h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.prose h3 { font-size: 1.2rem; margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--terra); }
.prose a:not(.btn):not(.link-arrow) { font-weight: 700; }
.small { font-size: .88rem; color: var(--muted); }
.disclaimer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sand-line); }

.callout { background: var(--sand-soft); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 30px; margin: 30px 0; }
.callout h2 { font-size: 1.35rem; margin: 0 0 14px; }
.callout ul { margin-bottom: 0; }
.callout--cta { background: var(--navy); color: rgba(255,255,255,.88); border-left-color: var(--terra); margin: 48px 0; }
.callout--cta h2 { color: var(--white); }
.callout--cta p { margin-bottom: 22px; }

.compact { gap: 16px; margin-bottom: 1.2em; }
.mini-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 22px 24px; font-size: .94rem; }
.mini-card h3 { font-size: 1.05rem; }

.options { display: grid; gap: 16px; margin: 24px 0; }
.option { border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 24px 26px; background: var(--white); }
.option--alerte { background: #FBF4F1; border-color: #F1D9CE; }
.option .tag { margin-bottom: 10px; }
.option p, .option li { font-size: .96rem; }
.option__note { font-size: .88rem !important; color: var(--muted); margin: 0; }

.frise { margin: 26px 0 28px; }
.frise__barre { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; border-radius: 10px; overflow: hidden; }
.frise__mois { padding: 16px 0; text-align: center; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; }
.frise__mois--bail { background: var(--navy); color: var(--white); }
.frise__mois--tourisme { background: var(--terra); color: var(--navy-deep); }
.frise figcaption { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; font-size: .88rem; }
.frise__legende::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.frise__legende--bail::before { background: var(--navy); }
.frise__legende--tourisme::before { background: var(--terra); }
@media (max-width: 560px) { .frise__mois { font-size: .58rem; padding: 12px 0; } }

.table-wrap { overflow-x: auto; margin: 20px 0 10px; border: 1px solid var(--sand-line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.table-wrap th { background: var(--navy); color: var(--white); text-align: left; font-family: var(--font-ui); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; padding: 14px 16px; }
.table-wrap td { padding: 13px 16px; border-top: 1px solid var(--sand-line); vertical-align: top; }
.table-wrap td[rowspan] { background: var(--sand-soft); font-weight: 700; color: var(--navy); }
.table-wrap tbody tr:first-child td:first-child { background: var(--sand-soft); font-weight: 700; color: var(--navy); }

.sources { font-size: .92rem; }
@media (max-width: 1000px) and (min-width: 821px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pastilles de communes ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.chip {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--sand); color: var(--navy);
  font-family: var(--font-ui); font-size: .82rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s;
}
.chip:hover { background: var(--navy); color: var(--white); }
.chip--all { background: transparent; border: 1.5px solid var(--navy); }

/* ==========================================================================
   Simulateur
   ========================================================================== */
.simu { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); scroll-margin-top: 100px; }
.simu__step { border: 0; padding: 0; margin: 0 0 30px; }
.simu__step[hidden] { display: none; }
.simu__step legend { font-family: var(--font-title); font-size: 1.3rem; color: var(--navy); margin-bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 0; }
.simu__step legend span { display: inline-grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--terra); color: var(--navy-deep); font-family: var(--font-ui); font-size: .85rem; font-weight: 600; }
.simu__choix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.simu__choix-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .simu__choix-grid, .simu__choix-grid--2 { grid-template-columns: 1fr; } }
.simu__choix { position: relative; cursor: pointer; }
.simu__choix input { position: absolute; opacity: 0; }
.simu__choix span { display: block; height: 100%; padding: 18px 18px 16px; border: 1.5px solid var(--sand-line); border-radius: var(--radius); background: var(--sand-soft); transition: border-color .2s, background .2s, box-shadow .2s; }
.simu__choix strong { display: block; color: var(--navy); margin-bottom: 4px; }
.simu__choix small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.simu__choix:hover span { border-color: var(--navy-soft); }
.simu__choix input:checked + span { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(30, 58, 95, .12); }
.simu__choix input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.simu .field select { font-size: 1.05rem; }

.simu__result { border-top: 1px solid var(--sand-line); padding-top: 30px; animation: simuIn .4s ease; }
@keyframes simuIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.simu__result h4 { font-family: var(--font-ui); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep); margin: 24px 0 12px; }
.simu__result .checklist { gap: 10px; font-size: .96rem; }
.simu__verdict { border-radius: var(--radius); padding: 24px 26px; border-left: 5px solid; }
.simu__verdict .kicker { margin-bottom: 8px; }
.simu__verdict h3 { margin-bottom: 8px; }
.simu__verdict p { margin: 0; }
.simu__verdict--ok { background: #EEF5EF; border-color: #3E8A5A; }
.simu__verdict--info { background: #F1F5FA; border-color: var(--navy-soft); }
.simu__verdict--attention { background: #FFF6EC; border-color: #D9924A; }
.simu__verdict--alerte { background: #FBEDE7; border-color: var(--terra-deep); }
.simu__options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
@media (max-width: 680px) { .simu__options { grid-template-columns: 1fr; } }
.simu__option { border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.simu__option h4 { font-family: var(--font-title); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--navy); margin: 0 0 12px; }
.simu__option .checklist { margin-bottom: 16px; font-size: .9rem; }
.simu__option .link-arrow { margin-top: auto; }
.simu__cta { margin: 26px 0 18px; background: var(--navy); color: rgba(255,255,255,.86); border-radius: var(--radius); padding: 24px 26px; display: grid; gap: 16px; }
.simu__cta strong { color: var(--white); font-family: var(--font-title); font-size: 1.2rem; font-weight: 500; }
.simu__cta p { margin: 6px 0 0; font-size: .95rem; }
.simu__cta .btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.simu__cta .btn-outline:hover { background: var(--white); color: var(--navy); }
.simu__reset { color: var(--muted); font-size: .9rem; }
.site-footer li { overflow-wrap: anywhere; }

/* Pages légales */
.section--legal { padding-top: calc(var(--header-h) + 60px); }
.section--legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.prose code { background: var(--sand); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
