/* ==========================================================================
   Syndic Pro — Feuille de style
   Issue du design system « Syndic & Copropriété Prestige »
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* Couleurs */
  --peach: #ffdfd0;
  --peach-border: #f3cbba;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --terracotta: #c97a5e;
  --white: #ffffff;
  --surface: #f9f8f6;
  --line: #e8e6e1;
  --line-input: #d1cfc7;
  --footer: #111111;
  --footer-line: #262626;
  --footer-text: #a3a3a3;
  --star: #f59e0b;

  /* Typographie */
  --font: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Rayons */
  --r-sm: 0.25rem;
  --r-md: 0.5rem;
  --r-lg: 0.75rem;

  /* Espacements */
  --s-xs: 0.25rem;
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2.5rem;
  --s-2xl: 4rem;
  --s-3xl: 6rem;
  --gutter: 1.25rem;

  /* Ombres */
  --shadow-soft: 0 12px 32px -4px rgba(26, 26, 26, 0.05);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.06);

  /* Mouvement */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px)  { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 4rem; } }

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 16px/24px var(--font);
  color: var(--ink);
  background: var(--white);
  overscroll-behavior: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  user-select: none;
  font-variation-settings: "FILL" 0, "wght" 400;
}
.icon--fill { font-variation-settings: "FILL" 1, "wght" 400; }

/* 3. Typographie
   ========================================================================== */
.title-hero {
  font-size: 32px; line-height: 40px;
  font-weight: 700; letter-spacing: -0.03em;
}
.title-lg {
  font-size: 26px; line-height: 34px;
  font-weight: 600; letter-spacing: -0.02em;
}
.title-md { font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.01em; }
.title-sm { font-size: 20px; line-height: 28px; font-weight: 700; }
.lead     { font-size: 16px; line-height: 26px; }
.small    { font-size: 14px; line-height: 20px; }
.label    { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }
.eyebrow  {
  font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.muted { color: var(--ink-soft); }

@media (min-width: 768px) {
  .title-hero { font-size: 56px; line-height: 64px; }
  .title-lg   { font-size: 40px; line-height: 48px; }
  .title-md   { font-size: 28px; line-height: 36px; }
  .lead       { font-size: 18px; line-height: 28px; }
}

/* 4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-2xl); }
@media (min-width: 768px) { .section { padding-block: var(--s-3xl); } }

.section--alt { background: var(--surface); }
.section--center { text-align: center; }
.section__head { max-width: 36rem; margin: 0 auto var(--s-xl); text-align: center; }
@media (min-width: 768px) { .section__head { margin-bottom: var(--s-2xl); } }
.section__head .title-lg { margin-top: var(--s-xs); }
.section__head p { margin-top: var(--s-xs); }

/* 5. Composants
   ========================================================================== */

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-sm);
  padding: 0.875rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: 600 14px/20px var(--font);
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--dark   { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #333; }
.btn--accent { background: var(--peach); color: var(--ink); border-color: var(--peach-border); }
.btn--accent:hover { background: var(--peach-border); }
.btn--ghost  { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--line); }
.btn--block  { width: 100%; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  padding: 0.25rem 0.625rem;
  background: var(--peach); color: var(--ink);
  border-radius: var(--r-sm);
  font-size: 11px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
@media (min-width: 768px) { .badge { font-size: 12px; } }
.badge .icon { font-size: 14px; }

/* Lien flèche */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-xs);
  font-weight: 700; transition: color 0.2s;
}
.link-arrow .icon { font-size: 18px; transition: transform 0.2s; }
.link-arrow:hover { color: var(--terracotta); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 6. Header & Menu Burger Mobile
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.header__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  gap: var(--s-sm);
}
@media (min-width: 768px) { .header__bar { height: 80px; } }

.brand {
  display: flex; align-items: center; gap: var(--s-sm);
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
  min-width: 0;
}
.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) { .brand { font-size: 20px; } }
.brand img { height: 32px; width: auto; object-fit: contain; flex-shrink: 0; }

/* Navigation Mobile (Menu déroulant style carte prestige) */
.nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--s-xs);
  padding: var(--s-md);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 40px rgba(26, 26, 26, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav a:not(.btn) {
  padding: 0.75rem var(--s-md);
  border-radius: var(--r-md);
  font: 600 15px/20px var(--font);
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--peach); font-weight: 700; }

.nav__mobile-actions {
  margin-top: var(--s-xs);
  padding-top: var(--s-sm);
  border-top: 1px solid var(--line);
}

button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
/* Bouton Burger (Carré arrondi dans la DA du site) */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  font-size: 0; /* Annule tout espace insécable résiduel dans le HTML */
  background: var(--peach);
  color: var(--ink);
  border: 1px solid var(--peach-border);
  border-radius: var(--r-md);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.burger:hover {
  background: var(--peach-border);
  box-shadow: var(--shadow-soft);
}
.burger:active { transform: scale(0.96); }
.burger[aria-expanded="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.burger .icon {
  font-size: 22px; /* Restaure la taille uniquement pour l'icône */
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__actions { display: flex; align-items: center; gap: var(--s-sm); }

/* Bouton texte "Espace client" : masqué sous 1024px (remplacé par l'icône compacte) */
.header__client-btn { display: none; }

/* Accès compact "Espace client" : visible sous 1024px, à gauche du burger */
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;           /* cible tactile recommandée */
  background: #71594e; color: var(--white);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.avatar:hover {
  background: #5c473d;
  box-shadow: var(--shadow-soft);
}
.avatar:active { transform: scale(0.96); }
.avatar:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 223, 208, 0.9), 0 0 0 5px var(--ink);
}
.avatar .icon { font-size: 22px; }

/* Navigation Desktop (à partir de 1024px) */
@media (min-width: 1024px) {
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--s-lg);
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a:not(.btn) {
    padding: var(--s-xs) var(--s-md);
    font-size: 14px;
  }
  .nav__mobile-actions { display: none; }
  .burger { display: none; }
  .header__actions { gap: var(--s-md); }

  /* Desktop : bouton texte visible, version compacte masquée */
  .header__client-btn { display: inline-flex; }
  .header__actions .avatar { display: none; }
}

/* 7. Hero
   ========================================================================== */
main { padding-top: 72px; }
@media (min-width: 768px) { main { padding-top: 80px; } }

.hero {
  position: relative;
  display: grid; place-items: center;
  min-height: 500px;
  padding: var(--s-xl) var(--gutter);
  overflow: hidden;
  background:
    linear-gradient(rgba(26, 28, 27, 0.2), rgba(26, 28, 27, 0.2)),
    url("Asset/main.jpg")
    center / cover no-repeat;
}
@media (min-width: 768px) {
  .hero { height: 82vh; min-height: 580px; max-height: 820px; }
}
.hero__card {
  width: 100%; max-width: 580px;
  padding: var(--s-xl) var(--s-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
  .hero__card { padding: var(--s-2xl) var(--s-xl); }
}
.hero__card .badge { margin-bottom: var(--s-md); }
.hero__card .title-hero { margin-bottom: var(--s-sm); }
.hero__card .title-hero span { color: var(--terracotta); }
.hero__card .lead { max-width: 28rem; margin: 0 auto var(--s-lg); color: var(--ink-soft); }
@media (min-width: 768px) { .hero__card .lead { margin-bottom: var(--s-xl); } }

/* 8. Tuile service
   ========================================================================== */
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: 100%; max-width: 256px; height: 256px;
  margin: var(--s-xl) auto 0;
  padding: var(--s-xl);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.tile:hover {
  transform: translateY(-6px);
  background: var(--peach);
  box-shadow: 0 16px 36px rgba(255, 223, 208, 0.45);
}
.tile__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  background: var(--peach);
  border-radius: var(--r-lg);
  transition: background 0.3s;
}
.tile__icon svg { width: 32px; height: 32px; fill: var(--ink); }
.tile:hover .tile__icon { background: var(--white); }
.tile__text { margin-block: auto; }
.tile__text small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.tile__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.tile__cta .icon { font-size: 16px; }

/* 9. Avis client
   ========================================================================== */
.reviews {
  display: grid;
  max-width: 42rem; margin-inline: auto;
}
.review {
  grid-area: 1 / 1;
  position: relative;
  padding: var(--s-lg);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 768px) { .review { padding: var(--s-2xl); } }

.review__quote-icon {
  position: absolute; top: 16px; right: 16px;
  font-size: 48px; color: var(--peach); opacity: 0.6;
}
@media (min-width: 768px) {
  .review__quote-icon { top: 24px; right: 24px; font-size: 72px; }
}
.review__stars { display: flex; align-items: center; gap: 4px; margin-bottom: var(--s-md); color: var(--star); }
.review__stars b { margin-left: var(--s-xs); font-size: 12px; color: var(--ink); }
.review blockquote {
  position: relative; z-index: 1;
  margin-bottom: var(--s-lg);
  font-style: italic;
}
.review__author {
  display: flex; align-items: center; gap: var(--s-md);
  padding: var(--s-md);
  background: var(--surface);
  border-radius: var(--r-md);
}
.review__avatar {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  background: var(--peach);
  border-radius: 50%;
  font-weight: 700;
}
.review__author p:first-child { font-weight: 700; }

.dots { display: flex; justify-content: center; gap: var(--s-sm); margin-top: var(--s-xl); }
.dots button {
  width: 12px; height: 12px; padding: 0;
  background: var(--peach); border-radius: 50%;
  transition: background 0.3s;
}
.dots button:hover { background: var(--ink-soft); }
.dots button[aria-current] { background: var(--ink); }

/* 10. Focus / Carte Statique (anciennement Article)
   ========================================================================== */
.news__head {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-md);
  margin-bottom: var(--s-xl);
}
.news__head .title-lg { margin-top: var(--s-xs); }

.article {
  display: grid; grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}
@media (min-width: 1024px) { .article { grid-template-columns: 5fr 7fr; } }

.article__media { position: relative; height: 240px; overflow: hidden; }
@media (min-width: 768px)  { .article__media { height: 340px; } }
@media (min-width: 1024px) { .article__media { height: auto; min-height: 100%; } }
.article__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.article__media .badge {
  position: absolute; top: var(--s-md); left: var(--s-md);
  background: rgba(255, 255, 255, 0.94);
}

.article__body {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--s-lg);
}
@media (min-width: 768px)  { .article__body { padding: var(--s-xl); } }
@media (min-width: 1024px) { .article__body { padding: var(--s-2xl); } }

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-sm);
  margin-bottom: var(--s-md);
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
}
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.meta .icon { font-size: 15px; color: var(--terracotta); }

.article__body .title-md { margin-bottom: var(--s-md); line-height: 1.3; }
.article__body > div > p { margin-bottom: var(--s-md); color: var(--ink-soft); }

/* Liste de points clés dans la carte statique */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  margin-bottom: var(--s-lg);
  padding: var(--s-md);
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-soft);
}
.feature-list li strong { color: var(--ink); }
.feature-list .icon {
  font-size: 18px;
  color: var(--terracotta);
  margin-top: 2px;
  flex-shrink: 0;
}

.article__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* 11. Contact
   ========================================================================== */
.contact { max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.contact .title-lg { margin-top: var(--s-xs); }
.contact__intro { margin: var(--s-xs) 0 var(--s-xl); color: var(--ink-soft); }
.contact__actions { display: flex; flex-direction: column; gap: var(--s-md); max-width: 28rem; margin-inline: auto; }
.contact__note {
  display: flex; align-items: center; justify-content: center; gap: var(--s-xs);
  margin-top: var(--s-lg);
  font-size: 14px; color: var(--ink-soft);
}
.contact__note .icon { font-size: 16px; color: var(--terracotta); }

/* 12. Footer
   ========================================================================== */
.footer { background: var(--footer); color: var(--footer-text); }
.footer__inner { padding-block: var(--s-2xl) var(--s-lg); }
@media (min-width: 768px) { .footer__inner { padding-block: var(--s-3xl) var(--s-lg); } }

.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--s-xl);
  margin-bottom: var(--s-2xl);
}
@media (min-width: 768px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer h4 { margin-bottom: var(--s-md); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.footer__brand { margin-bottom: var(--s-md); font-size: 20px; font-weight: 700; color: var(--white); }
.footer p { font-size: 14px; line-height: 20px; }
.footer .badge { margin-top: var(--s-md); }
.footer li + li { margin-top: var(--s-sm); }
.footer a { font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--peach); }

.footer__contact p { display: flex; align-items: center; gap: var(--s-sm); margin-top: var(--s-sm); }
.footer__contact .icon { font-size: 18px; color: var(--peach); }
.footer .btn { margin-top: var(--s-md); padding: var(--s-sm) var(--s-md); }
.footer .btn:hover { color: var(--ink); }

.footer__bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: var(--s-md);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--footer-line);
  font-size: 14px;
  text-align: center;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-lg); }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; text-align: left; } }

/* 13. Animations au scroll
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease) var(--delay, 0s),
    transform 0.9s var(--ease) var(--delay, 0s),
    filter 0.9s var(--ease) var(--delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="left"]  { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"]  { transform: scale(0.94); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Page Contact — styles spécifiques
   ========================================================================== */
.hero--page {
  height: 60vh; min-height: 520px; max-height: 640px;
  background:
    linear-gradient(rgba(26, 28, 27, 0.25), rgba(26, 28, 27, 0.25)),
    url("Asset/main.jpg")
    center / cover no-repeat;
}
.hero--page .hero__card { max-width: 640px; }
.hero--page .title-lg { margin-bottom: var(--s-md); }
.hero--page .lead { margin: 0 auto; }

.form-card {
  max-width: 640px;
  margin-inline: auto;
  padding: var(--s-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .form-card { padding: var(--s-xl); } }

.field { margin-bottom: var(--s-lg); }
.field label {
  display: block;
  margin-bottom: var(--s-sm);
  font: 600 14px/20px var(--font);
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.field input,
.field select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-input);
  border-radius: var(--r-sm);
  font: 400 16px/24px var(--font);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder { color: #9a9690; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 0.5px var(--ink), 0 0 0 3px rgba(255, 223, 208, 0.45);
}
.field input.invalid,
.field select.invalid {
  border-color: #ba1a1a;
  background: #fdf3f2;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231a1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field-row { display: grid; gap: 0 var(--s-md); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.phone { display: flex; gap: var(--s-sm); }
.phone select { flex: none; width: auto; background-color: var(--surface); }
.phone input  { flex: 1; min-width: 0; }

.consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.consent input {
  appearance: none;
  flex: none;
  width: 20px; height: 20px; margin: 2px 0 0; padding: 0;
  background: var(--white) center / 14px no-repeat;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.2s;
}
.consent input:checked {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23ffdfd0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.5l3 3 6-7'/%3E%3C/svg%3E");
}
.consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 223, 208, 0.7); }
.consent label {
  margin: 0;
  font: 400 13px/1.5 var(--font);
  letter-spacing: 0;
  color: var(--ink-soft);
}

.form .btn:disabled,
.form .btn:disabled:hover {
  background: #c9c7c2; color: var(--white);
  cursor: not-allowed; transform: none; box-shadow: none;
}
.form__msg { margin-top: var(--s-md); font-size: 14px; line-height: 20px; text-align: center; }
.form__note { margin-top: var(--s-md); font-size: 12px; text-align: center; color: var(--ink-soft); }

/* ==========================================================================
   Page Contact — styles spécifiques & optimisation Mobile Above-the-Fold
   ========================================================================== */
.hero--page {
  min-height: 360px;
  padding: var(--s-lg) var(--gutter);
  background:
    linear-gradient(rgba(26, 28, 27, 0.25), rgba(26, 28, 27, 0.25)),
    url("Asset/main.jpg")
    center / cover no-repeat;
}
@media (min-width: 768px) {
  .hero--page {
    height: 52vh;
    min-height: 440px;
    max-height: 560px;
  }
}
.hero--page .hero__card { max-width: 640px; }
.hero--page .title-lg { margin-bottom: var(--s-sm); }
.hero--page .lead { margin: 0 auto; }

/* Sur la page contact, bandeau ultra-compact sur mobile + chevauchement du formulaire */
.hero--contact {
  min-height: auto;
  padding: var(--s-md) var(--gutter) calc(var(--s-xl) + 1.5rem);
}
.hero--contact .hero__card {
  padding: var(--s-lg) var(--s-md);
}
.hero--contact .hero__card .lead {
  font-size: 14px;
  line-height: 21px;
}
@media (min-width: 768px) {
  .hero--contact {
    min-height: 380px;
    padding: var(--s-xl) var(--gutter) calc(var(--s-2xl) + 2rem);
  }
  .hero--contact .hero__card {
    padding: var(--s-xl);
  }
  .hero--contact .hero__card .lead {
    font-size: 17px;
    line-height: 26px;
  }
}

/* Remonte la carte du formulaire sur le bas du Hero pour qu'il soit visible sans scroller */
.section--contact-form {
  padding-top: 0;
}
.section--contact-form .form-card {
  position: relative;
  z-index: 10;
  margin-top: -2.25rem;
}
@media (min-width: 768px) {
  .section--contact-form .form-card {
    margin-top: -3.5rem;
  }
}

/* En-tête de champ avec badge "Facultatif" aligné à droite */
.field__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-sm);
}
.field__label-row label {
  margin-bottom: 0;
}
.field__optional {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
/* ==========================================================================
   Page Équipe (Qui sommes-nous ?) — Direction & Collaborateurs
   ========================================================================== */

.team-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
  max-width: 1080px;
  margin-inline: auto;
}

/* 1. Carte Fondatrice (Mise en avant éditoriale) */
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--peach-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}
@media (min-width: 960px) {
  .founder-card {
    grid-template-columns: 5fr 7fr;
  }
}

.founder-card__media {
  position: relative;
  min-height: 300px;
  background: linear-gradient(145deg, var(--peach) 0%, var(--surface) 100%);
  overflow: hidden;
}
@media (min-width: 768px) {
  .founder-card__media { min-height: 380px; }
}
.founder-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.founder-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(201, 122, 94, 0.2);
}
.founder-card__media .badge {
  position: absolute;
  top: var(--s-md);
  left: var(--s-md);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.founder-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-lg);
  padding: var(--s-lg);
}
@media (min-width: 768px) {
  .founder-card__body { padding: var(--s-2xl); }
}

.founder-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-sm);
}
.founder-card__header .title-md {
  margin-top: 4px;
}
.founder-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.375rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.founder-card__tag .icon {
  font-size: 16px;
  color: var(--terracotta);
}

.founder-card__quote {
  position: relative;
  padding: var(--s-md) var(--s-lg);
  background: var(--surface);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16px;
  line-height: 26px;
  font-style: italic;
  color: var(--ink);
}
.founder-card__quote-icon {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 40px;
  color: var(--peach-border);
  opacity: 0.45;
  pointer-events: none;
}

.founder-card__bio {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 24px;
}

.founder-card__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
}
.pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.75rem;
  background: var(--peach);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pillar-chip .icon {
  font-size: 16px;
  color: var(--ink);
}

.founder-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-sm);
  padding-top: var(--s-md);
  border-top: 1px solid var(--line);
}

/* 2. Grille des collaborateurs & cohésion d'équipe */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
}
@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.member-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-md);
  padding: var(--s-lg);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--peach-border);
  box-shadow: var(--shadow-card);
}
.member-card--synergy {
  background: var(--surface);
}
.member-card--join {
  border-style: dashed;
  border-color: var(--peach-border);
}

.member-card__top {
  display: flex;
  align-items: center;
  gap: var(--s-md);
}
.member-card__top .badge {
  margin-bottom: 6px;
}

.member-card__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.member-card__avatar--accent {
  background: var(--peach);
  border-color: var(--peach-border);
}
.member-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card__avatar .icon {
  font-size: 26px;
  color: var(--ink);
}

.member-card__quote {
  padding-left: var(--s-md);
  border-left: 2px solid var(--peach-border);
  font-size: 14px;
  line-height: 22px;
  font-style: italic;
  color: var(--ink-soft);
}

.member-card__text {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-soft);
}

.member-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm) var(--s-md);
  padding-top: var(--s-sm);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.member-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.member-card__meta .icon {
  font-size: 16px;
  color: var(--terracotta);
}

.member-card__foot {
  padding-top: var(--s-sm);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* 3. Grille des 3 Piliers / Valeurs */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-lg);
}
@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: var(--s-xl);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
}
.value-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--s-md);
  background: var(--peach);
  border-radius: var(--r-md);
}
.value-card__icon .icon {
  font-size: 24px;
  color: var(--ink);
}
.value-card .title-sm {
  margin-bottom: var(--s-xs);
}
.value-card p {
  font-size: 14px;
  line-height: 22px;
}

/* 7. Hero (Calibré pour laisser apparaître le 1er élément de la page en bas d'écran)
   ========================================================================== */
main { padding-top: 72px; }
@media (min-width: 768px) { main { padding-top: 80px; } }

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: var(--s-lg) var(--gutter);
  overflow: hidden;
  background:
    linear-gradient(rgba(26, 28, 27, 0.22), rgba(26, 28, 27, 0.22)),
    url("Asset/main.jpg")
    center / cover no-repeat;
}
@media (min-width: 768px) {
  /* 68vh laisse toujours ~22% d'écran visible en bas pour voir la 1re section s'animer */
  .hero { height: 68vh; min-height: 480px; max-height: 680px; }
}
.hero__card {
   width: 100%; max-width: 580px;
  padding: var(--s-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
  .hero__card { padding: var(--s-2xl) var(--s-xl); }
}
.hero__card .badge { margin-bottom: var(--s-md); }
.hero__card .title-hero { margin-bottom: var(--s-sm); }
.hero__card .title-hero span { color: var(--terracotta); }
.hero__card .lead { max-width: 28rem; margin: 0 auto var(--s-lg); color: var(--ink-soft); }
@media (min-width: 768px) { .hero__card .lead { margin-bottom: var(--s-xl); } }

/* ==========================================================================
   Bannières Pages Internes (Équipe & Contact) — Effet d'appel au scroll
   ========================================================================== */
.hero--page {
  height: auto;
  min-height: 260px;
  padding: var(--s-md) var(--gutter) calc(var(--s-xl) + 1.5rem);
  background:
    linear-gradient(rgba(26, 28, 27, 0.25), rgba(26, 28, 27, 0.25)),
    url("Asset/main.jpg")
    center / cover no-repeat;
}
@media (min-width: 768px) {
  .hero--page {
    height: 42vh;
    min-height: 340px;
    max-height: 440px;
    padding: var(--s-xl) var(--gutter) calc(var(--s-2xl) + 1.5rem);
  }
}
.hero--page .hero__card {
  max-width: 640px;
  padding: var(--s-lg) var(--s-md);
}
@media (min-width: 768px) {
  .hero--page .hero__card { padding: var(--s-xl); }
}
.hero--page .title-lg { margin-bottom: var(--s-xs); }
.hero--page .lead { margin: 0 auto; font-size: 15px; line-height: 22px; }
@media (min-width: 768px) {
  .hero--page .lead { font-size: 17px; line-height: 26px; }
}

/* ==========================================================================
   Pages Légales — Style minimaliste (H1, H2, H3)
   ========================================================================== */
.legal {
  padding-block: var(--s-2xl) var(--s-3xl);
  background: var(--white);
}

.legal__inner {
  max-width: 720px;
}

/* H1 : Titre principal du document */
.legal h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-xs);
}
@media (min-width: 768px) {
  .legal h1 {
    font-size: 40px;
    line-height: 48px;
  }
}

.legal__updated {
  font-size: 14px;
  color: var(--ink-soft);
  padding-bottom: var(--s-lg);
  margin-bottom: var(--s-xl);
  border-bottom: 1px solid var(--line);
}

/* H2 : Grandes sections numérotées */
.legal h2 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-top: var(--s-2xl);
  margin-bottom: var(--s-md);
}

/* H3 : Sous-sections */
.legal h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-top: var(--s-lg);
  margin-bottom: var(--s-xs);
}

/* Paragraphes, listes et liens */
.legal p,
.legal li {
  font-size: 15px;
  line-height: 26px;
  color: var(--ink-soft);
}

.legal p {
  margin-bottom: var(--s-md);
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--s-md);
}

.legal li + li {
  margin-top: var(--s-xs);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal a,
.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal a:hover,
.consent a:hover {
  color: var(--terracotta);
}