/* ============================================================
   Mon Webmaster à Foix : Design system
   "Château, Pyrénées & Terroir Ariégeois" : ardoise, calcaire, ocre, sapin
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

:root {
  --black:    #22303D; /* Bleu ardoise (assombri) : titres, nav, base sombre */
  --dark:     #273746; /* Bleu ardoise : fonds sombres, nav */
  --white:    #ffffff;
  --light:    #FBF8F3; /* Blanc cassé chaud : fond général */
  --gray-100: #F3ECDF; /* Beige calcaire clair : fonds secondaires */
  --gray-200: #E4D9C3; /* Beige calcaire */
  --gray-300: #D8C6A5; /* Beige calcaire (brief) */
  --gray-400: #A79C87; /* Gris pierre clair */
  --gray-500: #77736B; /* Gris pierre (brief) */
  --gray-600: #5B564E; /* Gris pierre foncé : texte courant */
  --gray-700: #423F3A; /* Texte courant foncé */
  --gray-800: #2C2A26;
  --accent:      #B8793E; /* Ocre chaud (brief) : CTA principal */
  --accent-deep: #96602E;
  --accent-ink:  #2A1B0C;
  --honey:       #D6A83D; /* Jaune miel (brief) : touches lumineuses */
  --pine:        #315844; /* Vert sapin (brief) : CTA secondaire, nature */
  --pine-deep:   #22402F;
  --rose:        #8C3030; /* Rouge profond (brief) : accent ponctuel rare */
  --rose-deep:   #6E2222;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;
  --max-w:   1200px;
  --nav-h:   76px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --radius:  14px;
  --radius-sm: 9px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
::selection { background: var(--honey); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

body {
  margin: 0;
  color: var(--gray-600);
  background: var(--light);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: min(var(--max-w), calc(100% - 48px)); margin: 0 auto; }
.container--wide { width: min(1360px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; color: var(--black); line-height: 1.1; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--honey); }
.on-dark .eyebrow::before { background: var(--honey); }

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gray-600); max-width: 62ch; }

/* ---------- Motifs décoratifs : montagne, rivière, pierre ---------- */
.galet-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--honey), var(--accent) 70%, var(--accent-deep) 100%);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(184,121,62,0.15);
}
.petals-rule {
  display: flex; align-items: center; gap: 8px; margin: 28px 0;
}
.petals-rule::before, .petals-rule::after {
  content: ""; height: 1px; flex: 1; background: var(--gray-300);
}
.on-dark .petals-rule::before, .on-dark .petals-rule::after { background: rgba(255,255,255,0.18); }

/* rivière divider : évoque le cours sinueux de l'Ariège */
.riviere-rule {
  width: 100%; height: 54px; margin: 0 auto;
  background: no-repeat center / 200px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M2 20c16-14 24 14 40 6s20-18 38-8 22 16 40 6 24-16 40-4 24 10 38 0' fill='none' stroke='%23B8793E' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M2 26c16-14 24 14 40 6s20-18 38-8 22 16 40 6 24-16 40-4' fill='none' stroke='%23315844' stroke-width='1.2' stroke-linecap='round' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.9;
}

/* filigrane topographique : courbes de niveau, utilisé comme repère discret */
.topo-mark {
  width: 46px; height: 46px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23B8793E' stroke-width='2'%3E%3Cpath d='M10 62c14 10 30 10 44 0s28-8 40 4'/%3E%3Cpath d='M6 46c16 12 34 10 48-2s26-10 42 2'/%3E%3Cpath d='M14 30c14 10 30 8 42-4s24-8 36 2'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='4' fill='%23D6A83D'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(34,48,61,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(214,168,61,0.2);
}
.nav__inner { width: min(var(--max-w), calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--white); min-width: 0; flex-shrink: 1; }
.nav__logo .mark { color: var(--honey); font-size: 1.4rem; line-height: 1; }
.nav__logo img.mark-img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.nav__logo small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); white-space: nowrap; }
.nav__logo > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 480px) {
  .nav__logo { font-size: 0.92rem; max-width: 150px; gap: 7px; }
  .nav__logo img.mark-img { width: 24px; height: 24px; }
  .nav__logo { line-height: 1.05; }
  .nav__logo small { font-size: 0.6rem; letter-spacing: 0.12em; margin-top: 2px; }
  .nav__logo .nav__tag { display: none; }
  .nav__logo > span { overflow: visible; }
  .nav__cta { gap: 6px; }
  .nav__cta .btn--sm { padding: 9px 10px; font-size: 0.74rem; }
  .nav__burger { width: 36px; height: 36px; }
}

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links > li { position: relative; }
.nav__links a.top-link {
  color: var(--gray-200); font-size: 0.92rem; font-weight: 600; padding: 10px 2px;
  border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav__links a.top-link:hover, .nav__links a.top-link.active { color: var(--honey); border-color: var(--honey); }

.dropdown { position: relative; }
.dropdown__panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--black); border: 1px solid rgba(214,168,61,0.22);
  min-width: 240px; padding: 10px; border-radius: var(--radius-sm);
  opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease);
  box-shadow: 0 20px 40px rgba(20,26,32,0.35);
}
.dropdown:hover .dropdown__panel, .dropdown:focus-within .dropdown__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown__panel a { display: block; padding: 10px 12px; color: var(--gray-200); font-size: 0.88rem; border-radius: var(--radius-sm); }
.dropdown__panel a:hover { background: rgba(214,168,61,0.12); color: var(--honey); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.01em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: var(--white); box-shadow: 0 0 0 0 rgba(184,121,62,0.5); }
.btn--accent:hover { background: var(--honey); color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(214,168,61,0.4); }
.btn--pine { background: var(--pine); color: var(--white); }
.btn--pine:hover { background: var(--pine-deep); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn--outline:hover { border-color: var(--honey); color: var(--honey); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--pine-deep); }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--block { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__tel { display: none; }
@media (min-width: 1100px) { .nav__tel { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-200); font-weight: 700; font-size: 0.88rem; } .nav__tel:hover { color: var(--honey); } }

.nav__burger { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); align-items: center; justify-content: center; background: transparent; color: var(--white); }
@media (max-width: 980px) {
  .nav__links, .nav__tel { display: none; }
  .nav__burger { display: inline-flex; }
}

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 490; background: var(--black);
  transform: translateX(100%); transition: transform .28s var(--ease);
  overflow-y: auto; padding: 30px 24px 60px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; color: var(--gray-100); border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a.sub { padding-left: 20px; font-size: 0.98rem; color: var(--gray-400); }
.mobile-menu a:hover { color: var(--honey); }
.mobile-menu .btn { margin-top: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: calc(var(--nav-h) + 76px) 0 88px;
  background: var(--black); color: var(--white); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0.46; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,48,61,0.55) 0%, rgba(34,48,61,0.8) 55%, var(--black) 100%),
              radial-gradient(ellipse at 15% 20%, rgba(214,168,61,0.16), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: end; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--honey); }
.hero .lede { color: var(--gray-300); margin: 22px 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.hero__tel .ico { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--honey); display: flex; align-items: center; justify-content: center; color: var(--honey); }

.hero__stat-card {
  background: rgba(251,248,243,0.07); border: 1px solid rgba(214,168,61,0.28);
  backdrop-filter: blur(6px); padding: 28px; border-radius: var(--radius);
}
.hero__stat-card .num { font-family: var(--display); font-size: 2.6rem; color: var(--honey); line-height: 1; }
.hero__stat-card .lbl { font-size: 0.85rem; color: var(--gray-300); margin-top: 6px; }
.hero__stat-card ul { margin-top: 18px; display: grid; gap: 10px; }
.hero__stat-card li { font-size: 0.88rem; color: var(--gray-200); display: flex; gap: 10px; align-items: flex-start; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray-400); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 1;
}
.scroll-cue .chev { animation: bob 1.8s ease-in-out infinite; color: var(--honey); }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }

/* ---------- Strip tarif ---------- */
.strip {
  background: var(--accent); color: var(--white); text-shadow: none;
  padding: 22px 0; position: relative; z-index: 2;
}
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.strip__item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.strip__item .big { font-family: var(--display); font-size: 1.5rem; font-weight: 700; white-space: nowrap; color: var(--white); }
.strip__sep { width: 1px; height: 26px; background: rgba(255,255,255,0.35); }
@media (max-width: 780px) { .strip__sep { display: none; } .strip__inner { justify-content: center; text-align: center; } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--black); color: var(--gray-200); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--cream {
  background:
    linear-gradient(rgba(240,231,216,0.94), rgba(240,231,216,0.94)),
    url('../images/texture-artisanat.jpg');
  background-size: auto, 560px auto;
  background-repeat: no-repeat, repeat;
  background-color: var(--gray-100);
}
.section--overlap { padding-top: 60px; }

.section-head { max-width: 700px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }

.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(214,168,61,0.4); border-radius: var(--radius); pointer-events: none; }

/* ---------- Cards / features ---------- */
.card {
  background: var(--white); border: 1px solid var(--gray-200); padding: 32px 28px;
  border-radius: var(--radius); box-shadow: 0 1px 2px rgba(34,48,61,0.04);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(34,48,61,0.1); border-color: var(--accent); }
.card .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.3rem; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }

.metier-card {
  display: block; background: var(--dark); border: 1px solid rgba(214,168,61,0.18); padding: 30px 26px;
  border-radius: var(--radius); transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.metier-card:hover { transform: translateY(-4px); border-color: var(--honey); background: var(--pine-deep); }
.metier-card .icon { color: var(--honey); font-size: 1.6rem; margin-bottom: 16px; }
.metier-card h3 { color: var(--white); margin-bottom: 8px; }
.metier-card p { color: var(--gray-400); font-size: 0.9rem; margin: 0 0 16px; }
.metier-card .go { color: var(--honey); font-weight: 700; font-size: 0.85rem; }

.step-card {
  background: var(--dark); border: 1px solid rgba(214,168,61,0.16); padding: 28px 24px; border-radius: var(--radius); position: relative;
}
.step-card .n { font-family: var(--display); font-size: 2.4rem; color: rgba(214,168,61,0.45); position: absolute; top: 16px; right: 20px; line-height: 1; }
.step-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; padding-right: 40px; }
.step-card p { color: var(--gray-400); font-size: 0.9rem; margin: 0; }

.feature-row { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--gray-200); }
.feature-row:last-child { border-bottom: none; }
.feature-row .num { font-family: var(--display); font-size: 1.6rem; color: var(--accent-deep); min-width: 44px; }
.feature-row h3 { margin-bottom: 8px; }
.feature-row p { color: var(--gray-600); margin: 0; }

/* ---------- Comparatif ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 0.92rem; }
.compare th { background: var(--dark); color: var(--white); font-family: var(--display); font-weight: 600; font-size: 1rem; }
.compare td:first-child, .compare th:first-child { font-weight: 700; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--pine-deep); font-weight: 700; }
.compare .no { color: var(--gray-400); }
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--black); gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { color: var(--accent-deep); font-size: 1.4rem; transition: transform .2s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 24px; color: var(--gray-600); max-width: 72ch; }
.section--dark .faq-item { border-color: rgba(255,255,255,0.12); }
.section--dark .faq-item summary { color: var(--white); }
.section--dark .faq-item p { color: var(--gray-400); }

/* ---------- CTA blocks ---------- */
.cta-block {
  background: var(--pine-deep); color: var(--white); border-radius: var(--radius);
  padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(214,168,61,0.25), transparent 55%);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: var(--white); }
.cta-block p { color: rgba(255,255,255,0.85); margin: 14px auto 30px; max-width: 56ch; }
.cta-block .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.cta-final { background: var(--black); color: var(--white); text-align: center; padding: 90px 0; }
.cta-final h2 { color: var(--white); }
.cta-final p { color: var(--gray-400); margin: 16px auto 32px; max-width: 60ch; }
.cta-final .actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* ---------- Geo band (HUB) ---------- */
.geo-band { background: var(--dark); color: var(--gray-300); }
.geo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 800px) { .geo-cols { grid-template-columns: 1fr; } }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag-cloud span { border: 1px solid rgba(214,168,61,0.35); color: var(--gray-200); padding: 7px 14px; border-radius: 20px; font-size: 0.84rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: var(--gray-400); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-family: var(--body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-brand .nav__logo { color: var(--white); }
.footer-brand p { margin: 16px 0 0; font-size: 0.9rem; max-width: 34ch; color: var(--gray-500); }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid a:hover { color: var(--honey); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; font-size: 0.8rem; color: var(--gray-600); }
.footer-bottom a:hover { color: var(--honey); }

/* ============================================================
   FORM
   ============================================================ */
.form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  background: var(--light); font-size: 0.95rem; transition: border-color .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--gray-600); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.92rem; font-weight: 600; }
.form-alert--ok { background: #e6efe8; color: var(--pine-deep); border: 1px solid #bcd6c4; }
.form-alert--err { background: #f6e6e3; color: var(--rose-deep); border: 1px solid #e2bcb4; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700;
}
.form-success h2 { margin-bottom: 12px; }
.form-success p { color: var(--gray-600); max-width: 44ch; margin: 0 auto 28px; }

/* ============================================================
   MISC PAGES (légales, plan du site)
   ============================================================ */
.legal { padding: calc(var(--nav-h) + 60px) 0 90px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--gray-600); font-size: 0.98rem; }
.legal li { margin-bottom: 8px; }
.legal ol, .legal ul { padding-left: 22px; }

.sitemap-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s var(--ease); }
.sitemap-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.sitemap-card h3 { margin-bottom: 6px; }
.sitemap-card p { color: var(--gray-500); font-size: 0.88rem; margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 900; max-width: 560px;
  background: var(--dark); color: var(--gray-200); border: 1px solid rgba(214,168,61,0.32);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 20px 50px rgba(20,26,32,0.4);
  transform: translateY(140%); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.88rem; margin: 0 0 14px; color: var(--gray-300); }
.cookie-banner p a { color: var(--honey); text-decoration: underline; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack { display: grid; gap: 18px; }
.badge-emblem { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }

/* ============================================================
   Améliorations réseau (16/10/2026) : avis, photo, alternance des fonds
   ============================================================ */
.review-proof { margin: 20px 0 0; font-size: 0.92rem; line-height: 1.55; color: #c2bfb8; }
.review-proof .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.review-proof strong { color: var(--white); }
.review-proof a { color: var(--honey); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.review-proof a:hover { color: var(--white); }
.review-proof small { color: #9c9890; font-size: 0.8rem; white-space: nowrap; }

.hero-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.hero-author img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--honey); object-fit: cover; flex-shrink: 0; }
.hero-author p { margin: 0; line-height: 1.3; color: var(--white); font-size: 0.95rem; }
.hero-author span { display: block; color: #c2bfb8; font-size: 0.82rem; margin-top: 2px; }

.hero__grid--portrait { align-items: center; }
.about-portrait { margin: 0; justify-self: end; max-width: 360px; }
.about-portrait img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(214,168,61,0.45); box-shadow: 14px 14px 0 rgba(214,168,61,0.22); }
.about-portrait figcaption { margin-top: 22px; font-size: 0.85rem; color: #c2bfb8; }
.contact-card { text-align: center; max-width: 360px; justify-self: end; }
.contact-card img { width: 180px; height: auto; margin: 0 auto 18px; border-radius: var(--radius); border: 1px solid rgba(214,168,61,0.45); box-shadow: 8px 8px 0 rgba(214,168,61,0.22); }
.contact-card .contact-card__name { font-family: var(--display); font-size: 1.5rem; color: var(--white); margin: 0; line-height: 1.1; }
.contact-card .contact-card__role { color: var(--honey); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 12px; }
.contact-card .contact-card__note { color: #c2bfb8; font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) {
  .about-portrait, .contact-card { justify-self: start; max-width: 300px; }
  .scroll-cue { display: none; }
}

/* CTA final en vert sapin foncé : évite deux sections noires consécutives avec le pied de page */
.cta-final { background: radial-gradient(circle at 85% 15%, rgba(214,168,61,0.22), transparent 55%), var(--pine-deep); }
.cta-final p { color: rgba(255,255,255,0.84); }

/* Lisibilité des fonds sombres */
.hero .eyebrow, .section--dark .eyebrow, .geo-band .eyebrow { color: var(--honey); }
.hero .eyebrow::before, .section--dark .eyebrow::before, .geo-band .eyebrow::before { background: var(--honey); }
.section--dark .feature-row { border-bottom-color: rgba(255,255,255,0.12); }
.section--dark .feature-row p { color: var(--gray-300); }
.section--dark .feature-row .num { color: var(--honey); }
.geo-band h2, .geo-band h3 { color: var(--white); }
.tag-cloud a:hover span { border-color: var(--honey); color: var(--honey); }
.section--dark .metier-card:hover, .section--dark .metier-card { background: var(--dark); }
.section--dark .metier-card:hover { background: var(--pine-deep); }

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 48px; }
  .hero .lede { margin: 16px 0 24px; font-size: 1rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .review-proof { margin-top: 16px; }
  .hero-author { margin-top: 14px; }
}

/* hero : portrait colonne droite (desktop), avatar compact (mobile) */
.hero__grid--portrait{grid-template-columns:1.25fr .75fr;align-items:center}
.hero__grid--portrait h1{max-width:none!important;font-size:clamp(2rem,3.6vw,3.2rem)}
.hero-portrait{position:relative;margin:0;justify-self:end;width:100%;max-width:380px;aspect-ratio:4/5;border-radius:18px;overflow:hidden;border:1px solid rgba(214,168,61,.5);box-shadow:0 24px 60px rgba(0,0,0,.45)}
.hero-portrait picture,.hero-portrait img{display:block;width:100%;height:100%}
.hero-portrait img{object-fit:cover;object-position:50% 18%;border:0;box-shadow:none;border-radius:0}
.hero-portrait figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:64px 22px 20px;background:linear-gradient(to top,rgba(14,22,32,.92) 0%,rgba(14,22,32,.7) 55%,transparent 100%);color:#d9d6cf;font-size:.82rem;line-height:1.35}
.hero-portrait figcaption strong{display:block;color:#fff;font-family:var(--display);font-size:1.45rem;font-weight:600;line-height:1.1}
.hero-portrait figcaption span{display:block;margin-top:6px;color:var(--honey);font-weight:700;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase}
.hero-portrait figcaption em{display:block;margin-top:8px;font-style:normal;color:#c2bfb8}
@media (min-width:901px){.hero__grid .hero-author{display:none}}
@media (max-width:900px){.hero-portrait:not(.hero-portrait--keep){display:none}.hero-portrait--keep{justify-self:start;max-width:260px}.hero__grid--portrait{grid-template-columns:1fr}}

/* intro : texte + image, pas de colonne vide */
.intro-grid{align-items:start;gap:56px}
.intro-grid .section-head{max-width:none;margin:0}
.intro-grid .media-frame{aspect-ratio:4/5;max-height:620px;width:100%}
@media (min-width:901px){.intro-grid .media-frame{position:sticky;top:110px}}
@media (max-width:900px){.intro-grid .media-frame{aspect-ratio:16/10;max-height:none}}

@media (max-width: 360px) { .nav__logo { font-size: 0.85rem; max-width: 128px; } .nav__logo img.mark-img { width: 22px; height: 22px; } .nav__cta .btn--sm { padding: 8px 8px; font-size: 0.7rem; } }


/* ============================================================
   Pages webmaster + ville (11/11/2026)
   ============================================================ */
.hero--wm { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 56px; }
.hero--wm .lede { margin: 16px 0 18px; }
.hero--wm h1 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.hero-checks { display: grid; gap: 7px; margin: 0 0 24px; padding: 0; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-200); font-size: 0.95rem; line-height: 1.4; }
.hero-checks li::before { content: "✓"; color: var(--honey); font-weight: 800; flex-shrink: 0; }
.hero-micro { margin: 14px 0 0; max-width: 62ch; color: var(--gray-400); font-size: 0.82rem; line-height: 1.5; }
.offer-note { margin: 44px auto 0; max-width: 860px; background: var(--white); border: 1px solid var(--gray-200); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 30px 32px; }
.offer-note h3 { margin-bottom: 10px; }
.offer-note p { margin: 0 0 14px; }
.offer-note .small { font-size: 0.88rem; color: var(--gray-500); }
.offer-note p:last-child { margin-bottom: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1100px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card .ico { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(214,168,61,0.5); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step-card .ico svg { width: 22px; height: 22px; fill: none; stroke: var(--honey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.steps-cta { text-align: center; margin: 40px 0 0; }
.faq-list { max-width: 860px; margin: 0 auto; }
.wm-note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--gray-500); font-size: 0.88rem; }
.wm-note a { color: var(--accent-deep); font-weight: 700; }
.wm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wm-chips a { border: 1px solid var(--gray-300); background: var(--white); color: var(--black); padding: 9px 16px; border-radius: 22px; font-size: 0.88rem; font-weight: 600; transition: border-color .2s, color .2s; }
.wm-chips a:hover { border-color: var(--accent); color: var(--accent-deep); }
.wm-chips + p { margin-top: 22px; color: var(--gray-600); }
/* Dernière section distincte du pied de page : vert sapin, image décorative, liseré miel */
.cta-final { background: linear-gradient(rgba(34,64,47,0.84), rgba(34,64,47,0.9)), url('../images/fond-cta.webp') center / cover no-repeat, var(--pine-deep); border-top: 5px solid var(--honey); }
/* Barre mobile fixe */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 480; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 8px 10px; background: rgba(34,48,61,0.97); border-top: 1px solid rgba(214,168,61,0.3); }
  .mbar .btn { padding: 12px 10px; }
  body.has-mbar { padding-bottom: 64px; }
  body.has-mbar .cookie-banner { bottom: 64px; }
  .offer-note { padding: 24px 20px; }
  .hero--wm .hero-checks li { font-size: 0.9rem; }
}
/* Très petits écrans : colonnes shrinkables, bouton sur plusieurs lignes si besoin */
.hero--wm .hero__grid > * { min-width: 0; }
.hero--wm .btn { white-space: normal; text-align: center; }
@media (max-width: 400px) { .hero--wm .hero__cta .btn { width: 100%; justify-content: center; } }
body.has-mbar .btn { white-space: normal; text-align: center; }
body.has-mbar .grid-2 > *, body.has-mbar .split > *, body.has-mbar .two-col > * { min-width: 0; }
