/* =====================================================
   RAMONEUR HAUTE-SAVOIE — Design system (v2, maquette)
   Navy profond + orange. Poppins (titres) / Inter (corps).
   ===================================================== */

:root {
  --navy:        #0e1d33;
  --navy-2:      #14233b;
  --navy-3:      #1b2d49;
  --navy-card:   #182b46;
  --orange:      #f3792a;
  --orange-dk:   #db6312;
  --orange-soft: #fff1e7;
  --white:       #ffffff;
  --bg:          #ffffff;
  --bg-soft:     #f4f6f9;
  --bg-soft-2:   #eef2f7;
  --ink:         #14233b;
  --text:        #45505f;
  --muted:       #6b7686;
  --line:        #e6eaf0;

  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 10px rgba(14,29,51,.06);
  --shadow-md: 0 10px 30px rgba(14,29,51,.10);
  --shadow-lg: 0 24px 60px rgba(14,29,51,.28);

  --transition: .25s ease;
  --header-h: 76px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }
body { font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.7rem; border-radius: var(--radius);
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: all var(--transition);
  white-space: nowrap; text-align: center;
}
.btn-accent { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 8px 20px rgba(243,121,42,.28); }
.btn-accent:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: #cfd6e0; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-sm { padding: .62rem 1.25rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ============ TITRES DE SECTION ============ */
.eyebrow { display: inline-block; font-family: var(--head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.h2 { font-family: var(--head); font-size: clamp(1.7rem, 3.6vw, 2.45rem); font-weight: 700; color: var(--ink); margin-bottom: .9rem; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: 2.6rem; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ============ HEADER ============ */
.header { position: sticky; top: 0; z-index: 1000; background: var(--navy); box-shadow: 0 2px 18px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.logo a { display: flex; align-items: center; gap: .65rem; }
.logo-icon { width: 42px; height: 42px; color: #fff; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--head); font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: .01em; }
.logo-sub  { font-family: var(--head); font-size: .78rem; font-weight: 700; color: var(--orange); letter-spacing: .12em; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .15rem; }
.nav-link, .dropdown-toggle {
  font-family: var(--head); font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.9);
  padding: .6rem .85rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer; transition: color var(--transition);
}
.nav-link:hover, .dropdown-toggle:hover, .nav-link.active, .has-dropdown.open .dropdown-toggle { color: var(--orange); }
.caret { font-size: .6em; transition: transform .2s; }
.has-dropdown.open .caret { transform: rotate(180deg); }
.header-devis { margin-left: .6rem; }
.header-phone-link { font-family: var(--head); font-weight: 700; font-size: .95rem; color: #fff; white-space: nowrap; margin-left: .3rem; }
.header-phone-link:hover { color: var(--orange); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .6rem; border-top: 3px solid var(--orange); z-index: 1001;
}
.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: .55rem .8rem; border-radius: 8px; font-family: var(--head); font-size: .88rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--orange-soft); color: var(--orange-dk); }
.dropdown.dropdown-wide { min-width: 540px; columns: 2; column-gap: .5rem; }
.dropdown.dropdown-wide a { break-inside: avoid; }
.dropdown-foot { display: block; margin-top: .3rem; padding: .6rem .8rem; font-size: .82rem; font-weight: 600; color: var(--orange) !important; border-top: 1px solid var(--line); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: auto; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 1rem 1.25rem 2rem; border-top: 2px solid var(--orange); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link, .dropdown-toggle { width: 100%; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.05); border-top: none; min-width: 0; padding: .25rem .5rem; margin: .25rem 0; }
  .dropdown.dropdown-wide { columns: 1; min-width: 0; }
  .dropdown a { color: rgba(255,255,255,.85); }
  .dropdown a:hover { background: rgba(243,121,42,.18); color: #fff; }
  .dropdown-foot { color: var(--orange) !important; border-top-color: rgba(255,255,255,.1); }
  .header-devis { width: 100%; margin: .6rem 0 0; }
  .header-devis .btn { width: 100%; }
  .header-phone-link { display: block; margin: .8rem 0 0; }
}

/* ============ HERO ============ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-color: #0c1b30;
  background-image:
    linear-gradient(105deg, rgba(10,21,38,.92) 0%, rgba(10,21,38,.74) 45%, rgba(10,21,38,.42) 100%),
    url('/img/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 380px at 78% -10%, rgba(243,121,42,.16), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 0 4rem; align-items: start; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; font-family: var(--head); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .42rem 1rem; border-radius: 50px; margin-bottom: 1.4rem; }
.hero-badge .dot { color: var(--orange); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1.07; margin-bottom: 1.25rem; }
.hero h1 .accent { color: var(--orange); }
.hero-text > p { font-size: clamp(1rem, 1.6vw, 1.16rem); color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 1.6rem; }
.hero-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.4rem; max-width: 520px; margin-bottom: 1.9rem; }
.hero-checks li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500; }
.hero-checks .ck { color: var(--orange); font-weight: 800; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-trustcard { display: inline-flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: .85rem 1.2rem; }
.hero-trustcard .htc-icon { font-size: 1.5rem; color: var(--orange); }
.hero-trustcard strong { display: block; font-family: var(--head); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hero-trustcard span { font-size: .85rem; color: rgba(255,255,255,.75); }

@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1fr 420px; gap: 3rem; padding: 4.5rem 0 5rem; }
  .hero-form-col { position: relative; }
}

/* ============ CARTE DEVIS ============ */
.devis-card { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-lg); color: var(--text); }
.devis-title { font-family: var(--head); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.devis-sub { display: flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.devis-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800; }

/* ============ FORM ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.span-2 { grid-column: 1 / -1; }
.form-group label { font-family: var(--head); font-size: .8rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .72rem .9rem; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: var(--body); font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition); appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,121,42,.12); }
.form-group textarea { min-height: 84px; resize: vertical; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7686' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.2rem; }
.devis-card .btn-block { margin-top: 1.1rem; }
.form-notice { font-size: .76rem; color: var(--muted); margin-top: .7rem; text-align: center; }
.form-message { padding: .9rem 1.1rem; border-radius: 9px; font-weight: 600; margin-top: 1rem; display: none; font-size: .9rem; }
.form-message.success { background: #e8f7ee; color: #1b7a43; border: 1px solid #b6e3c8; }
.form-message.error { background: #fdecec; color: #c0392b; border: 1px solid #f3c0bb; }
.field-error { color: #c0392b; font-size: .78rem; font-weight: 600; }

/* ============ TRUST BAR ============ */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar.trustbar--dark { background: var(--navy-2); border-bottom: none; }
.trustbar-inner { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 1.4rem 0; }
.trust-it { display: flex; align-items: center; gap: .8rem; }
.trust-it .ti-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(243,121,42,.4); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.trust-it .ti-icon svg { width: 20px; height: 20px; }
.trust-it b { display: block; font-family: var(--head); font-size: .9rem; font-weight: 700; color: var(--ink); }
.trust-it span { font-size: .82rem; color: var(--muted); }
.trustbar--dark .trust-it b { color: #fff; }
.trustbar--dark .trust-it span { color: rgba(255,255,255,.6); }
.trustbar--dark .trust-it .ti-icon { background: rgba(243,121,42,.12); }
@media (min-width: 700px) { .trustbar-inner { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 992px) { .trustbar-inner { grid-template-columns: repeat(4, 1fr); } }

/* ============ SECTION : 4 TYPES ============ */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.otypes-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.otype-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.otype-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.otype-media { position: relative; height: 150px; background-size: cover; background-position: center; }
.otype-media--placeholder { background: linear-gradient(140deg, var(--navy-2), var(--navy-3)); display: flex; align-items: center; justify-content: center; }
.otype-media-ghost { font-size: 3rem; opacity: .5; filter: grayscale(.2); }
.otype-badge { position: absolute; left: 1.1rem; bottom: -22px; width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(243,121,42,.4); }
.otype-badge svg { width: 26px; height: 26px; }
.otype-body { padding: 2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.otype-body h3 { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-bottom: .55rem; }
.otype-desc { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.otype-bullets { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.2rem; flex: 1; }
.otype-bullets li { display: flex; align-items: center; gap: .55rem; font-size: .87rem; color: var(--text); }
.otype-bullets li::before { content: '✓'; color: var(--orange); font-weight: 800; }
.otype-link { font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--orange); align-self: flex-start; }
.otype-link:hover { color: var(--orange-dk); }
@media (min-width: 640px) { .otypes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .otypes-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ POURQUOI (dark) ============ */
.why { position: relative; padding: 4.5rem 0; color: #fff; background-color: #0e1d33; background-image: linear-gradient(rgba(10,21,38,.82), rgba(10,21,38,.9)), url('/img/mountains-dark.jpg'); background-size: cover; background-position: center; }
.why .eyebrow { color: var(--orange); }
.why .h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 2.4rem; }
.why-card { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 1.4rem; transition: all var(--transition); }
.why-card:hover { background: rgba(243,121,42,.1); border-color: rgba(243,121,42,.3); }
.why-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--orange); display: flex; align-items: center; justify-content: center; }
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.why-card p { font-size: .88rem; color: rgba(255,255,255,.72); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ ZONES ============ */
.zones-sec { padding: 4.5rem 0; background: var(--bg-soft); }
.zones-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.zones-map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.zones-map svg { width: 100%; height: auto; }
.zones-cols { display: grid; grid-template-columns: 1fr; gap: .3rem .5rem; }
.zone-li { display: flex; align-items: center; gap: .5rem; padding: .4rem .2rem; font-size: .9rem; font-weight: 500; color: var(--ink); border-bottom: 1px dashed var(--line); }
.zone-li .pin { color: var(--orange); flex-shrink: 0; }
.zone-li:hover { color: var(--orange); }
.zones-callout { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 1.1rem 1.4rem; }
.zones-callout .co-icon { font-size: 1.4rem; color: var(--orange); }
.zones-callout b { font-family: var(--head); color: var(--ink); display: block; font-size: .95rem; }
.zones-callout span { font-size: .88rem; color: var(--muted); }
.zones-callout a { color: var(--orange); font-weight: 600; }
@media (min-width: 640px) { .zones-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .zones-layout { grid-template-columns: 0.9fr 1.1fr; } .zones-cols { grid-template-columns: repeat(3, 1fr); } }

/* ============ CTA bandeau ============ */
.cta-band { padding: 4rem 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-dk)); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; margin-bottom: .7rem; }
.cta-band p { font-size: 1.05rem; opacity: .94; margin-bottom: 1.8rem; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============ PAGE INTÉRIEURE (offre/contact/zones/blog/404) ============ */
.page-hero { background-color: #0c1b30; background-image: linear-gradient(105deg, rgba(10,21,38,.9) 0%, rgba(10,21,38,.72) 55%, rgba(10,21,38,.5) 100%), url('/img/hero.jpg'); background-size: cover; background-position: center; color: #fff; padding: 3rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: .9rem; }
.page-hero h1 .accent { color: var(--orange); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.82); max-width: 660px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { opacity: .5; }

/* ============ PAGE VILLE ============ */
.vhero { position: relative; color: #fff; background-color: #0c1b30; background-image: linear-gradient(105deg, rgba(10,21,38,.9) 0%, rgba(10,21,38,.72) 48%, rgba(10,21,38,.45) 100%), url('/img/hero.jpg'); background-size: cover; background-position: center; }
.vhero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0 3.5rem; align-items: start; }
.vhero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: .6rem; }
.vhero h1 .accent { color: var(--orange); }
.vhero-tagline { font-family: var(--head); font-style: italic; font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .4rem; }
.vhero-tagline-line { width: 70px; height: 3px; background: var(--orange); border-radius: 2px; margin-bottom: 1.3rem; }
.vhero-text > p { color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 1.5rem; }
.vhero-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-bottom: 1.6rem; }
.vhero-checks li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.9); font-weight: 500; }
.vhero-checks .ck { color: var(--orange); font-weight: 800; }
@media (min-width: 992px) { .vhero-inner { grid-template-columns: 1fr 420px; gap: 3rem; padding: 1.5rem 0 4rem; } }

/* Contexte ville (2 col) */
.vcontext { padding: 4.5rem 0; background: var(--bg-soft); }
.vcontext-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.vcontext-main .eyebrow { color: var(--orange); }
.vcontext-main h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 700; margin-bottom: 1rem; }
.vcontext-main p { color: var(--text); margin-bottom: 1rem; }
.vcontext-main strong { color: var(--ink); }
.vcontext-cta { margin-top: 1.4rem; }
.vcontext-aside { display: flex; flex-direction: column; gap: 1rem; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.aside-card h4 { font-family: var(--head); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange); margin-bottom: .4rem; display: flex; align-items: center; gap: .4rem; }
.aside-card p { font-size: .92rem; color: var(--ink); }
.aside-card a { color: var(--ink); }
.aside-card a:hover { color: var(--orange); }
.aside-card .muted { color: var(--muted); font-size: .84rem; }
.aside-dark { background: var(--navy); border-color: var(--navy); }
.aside-dark h4 { color: #fff; }
.aside-dark ul { display: flex; flex-direction: column; gap: .55rem; margin-top: .3rem; }
.aside-dark li { font-size: .87rem; color: rgba(255,255,255,.84); display: flex; gap: .5rem; }
.aside-dark li::before { content: '✓'; color: var(--orange); font-weight: 800; }
@media (min-width: 940px) { .vcontext-layout { grid-template-columns: 1.7fr 1fr; gap: 2.5rem; } }

/* Communes proches + CTA box */
.vnear { padding: 4rem 0; background: #fff; }
.vnear-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.vnear h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1.2rem; }
.vnear-pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.vnear-pills a { font-family: var(--head); font-size: .85rem; font-weight: 500; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 50px; color: var(--ink); transition: all var(--transition); }
.vnear-pills a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.vnear-pills a.all { background: var(--bg-soft); border-color: var(--line); color: var(--orange); }
.vnear-ctabox { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; padding: 2rem; background: linear-gradient(120deg, rgba(243,121,42,.96), rgba(219,99,18,.96)), url('/img/cta-chalet.jpg') center/cover; }
.vnear-ctabox h3 { color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.vnear-ctabox p { color: rgba(255,255,255,.9); font-size: .95rem; margin-bottom: 1.3rem; }
@media (min-width: 940px) { .vnear-layout { grid-template-columns: 1.3fr 1fr; } }

/* ============ OFFRE détaillée ============ */
.offre-detail-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.offre-detail-row:last-child { border-bottom: none; }
.offre-detail-media { display: flex; align-items: center; gap: 1rem; }
.offre-detail-num { font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: rgba(20,35,59,.12); line-height: 1; }
.offre-detail-icon { width: 70px; height: 70px; background: var(--orange); color: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.offre-detail-icon svg { width: 34px; height: 34px; }
.offre-detail-body h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.offre-detail-lead { font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-bottom: .7rem; }
.offre-detail-body p { color: var(--muted); margin-bottom: 1rem; }
.offre-incl-full { display: grid; grid-template-columns: 1fr; gap: .45rem; margin-bottom: 1.3rem; }
.offre-incl-full li { display: flex; gap: .5rem; font-size: .9rem; color: var(--text); }
.offre-incl-full li::before { content: '✓'; color: var(--orange); font-weight: 800; }
@media (min-width: 640px) { .offre-incl-full { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .offre-detail-row { grid-template-columns: 230px 1fr; gap: 2.5rem; align-items: start; } .offre-detail-media { flex-direction: column; align-items: flex-start; } }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 1.3rem; font-family: var(--head); font-weight: 600; color: var(--ink); font-size: .97rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--orange); font-size: 1.4rem; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 0 1.3rem 1.2rem; }
.faq-body p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

/* ============ ZONES (page liste) ============ */
.zlist-block { margin-bottom: 2.5rem; }
.zlist-block h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.zlist-grid { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.zlink { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1.1rem; transition: all var(--transition); }
.zlink:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.zlink b { font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.zlink .cp { font-size: .8rem; color: var(--muted); }
@media (min-width: 600px) { .zlist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .zlist-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ CONTACT ============ */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.contact-info { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 1.8rem; }
.contact-info h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.3rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail-icon { font-size: 1.4rem; color: var(--orange); }
.contact-detail h4 { font-family: var(--head); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .25rem; }
.contact-detail a, .contact-detail p { font-size: .94rem; color: var(--ink); word-break: break-word; }
.contact-detail a:hover { color: var(--orange); }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 3fr 2fr; gap: 3rem; } }

/* ============ BLOG ============ */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card-media { height: 180px; background: linear-gradient(140deg, var(--navy-2), var(--navy-3)); background-size: cover; background-position: center; position: relative; }
.post-card-cat { position: absolute; left: 1rem; top: 1rem; background: var(--orange); color: #fff; font-family: var(--head); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 50px; }
.post-card-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: .55rem; }
.post-card-body h3 a:hover { color: var(--orange); }
.post-card-excerpt { font-size: .92rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.post-card-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); padding-top: .9rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.article { max-width: 760px; margin: 0 auto; }
.article-hero { background: var(--navy); color: #fff; padding: 2.5rem 0 3rem; }
.article-hero .cat { display: inline-block; background: var(--orange); color: #fff; font-family: var(--head); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 50px; margin-bottom: 1rem; }
.article-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; max-width: 820px; }
.article-hero .meta { margin-top: 1rem; font-size: .88rem; color: rgba(255,255,255,.7); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.article-body { padding: 3rem 0; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .8rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .6rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.2rem; }
.article-body li { margin-bottom: .5rem; color: var(--text); }
.article-body a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body blockquote { border-left: 4px solid var(--orange); background: var(--bg-soft); padding: 1rem 1.3rem; border-radius: 0 8px 8px 0; margin: 1.3rem 0; color: var(--ink); font-style: italic; }

/* ============ FOOTER ============ */
.footer-edge { display: block; width: 100%; height: 40px; color: var(--navy); }
.footer-edge svg { display: block; width: 100%; height: 100%; }
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 1rem 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 2.4rem; border-bottom: 1px solid rgba(255,255,255,.09); align-items: center; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.footer-brand .logo-icon { width: 40px; height: 40px; color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 320px; }
.footer-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.fbadge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.fbadge .fb-icon { color: var(--orange); }
.fbadge .fb-icon svg { width: 28px; height: 28px; }
.fbadge b { font-family: var(--head); font-size: .82rem; font-weight: 600; color: #fff; line-height: 1.2; }
.footer-cta { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }
.footer-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.footer-phone .fp-i { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding: 1.2rem 0; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom-links a:hover { color: var(--orange); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-nav-col h3 { font-family: var(--head); font-size: .92rem; color: #fff; margin-bottom: .7rem; }
.footer-nav-col ul li { margin-bottom: .4rem; }
.footer-nav-col a { font-size: .88rem; color: rgba(255,255,255,.7); }
.footer-nav-col a:hover { color: var(--orange); }
@media (min-width: 700px) { .footer-badges { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) {
  .footer-top { grid-template-columns: 1.4fr 2fr 1fr; gap: 2.5rem; }
  .footer-cta { align-items: flex-end; }
}

/* ============ ADMIN ============ */
.admin-body { background: var(--bg-soft); font-family: var(--body); min-height: 100vh; }
.admin-top { background: var(--navy); color: #fff; padding: .9rem 0; }
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-brand { font-family: var(--head); font-weight: 700; color: #fff; display: flex; align-items: center; gap: .5rem; }
.admin-brand .logo-icon { width: 30px; height: 30px; color: #fff; }
.admin-wrap { max-width: 980px; margin: 2rem auto; padding: 0 1.25rem; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.admin-login { max-width: 380px; margin: 8vh auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-family: var(--head); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .6rem .7rem; border-bottom: 2px solid var(--line); }
.admin-table td { padding: .7rem; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-soft); }
.badge-status { font-family: var(--head); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }
.badge-published { background: #e8f7ee; color: #1b7a43; }
.badge-draft { background: #fdeede; color: #b5701a; }
.admin-actions { display: flex; gap: .5rem; }
.admin-field { margin-bottom: 1.1rem; }
.admin-field label { display: block; font-family: var(--head); font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.admin-field input, .admin-field select, .admin-field textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 9px; font-family: var(--body); font-size: .95rem; }
.admin-field textarea { min-height: 320px; resize: vertical; font-family: ui-monospace, monospace; font-size: .88rem; line-height: 1.6; }
.admin-flash { padding: .8rem 1.1rem; border-radius: 9px; margin-bottom: 1.2rem; font-weight: 600; font-size: .9rem; }
.admin-flash.ok { background: #e8f7ee; color: #1b7a43; }
.admin-flash.err { background: #fdecec; color: #c0392b; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: 1rem; flex-wrap: wrap; }

/* ============ DIVERS ============ */
.muted-note { margin-top: 2rem; font-size: .92rem; color: var(--muted); text-align: center; }
.muted-note a { color: var(--orange); font-weight: 600; }
.err-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0; }
/* Animation au scroll : active uniquement si JS (classe .js sur <html>),
   sinon le contenu reste visible (no-JS, SEO, lecteurs d'écran). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
/* Image insérée dans le contenu d'article */
.article-inline-img{margin:2rem auto;max-width:760px}
.article-inline-img img{width:100%;height:auto;display:block;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
