/* ==========================================================
   Acribia Services — feuille de style
   Couleurs et police tirées du logo d'Acribia Services Comptables
   ========================================================== */

/* Police Archivo hébergée sur le site (licence SIL Open Font License) : aucun appel à Google */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 100% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;   /* le site déclare gérer le mode sombre (Brave, Chrome, Samsung n'inversent donc pas ses couleurs)... */
  --navy: #1b3a4f;        /* marine du logo : couleur principale */
  --navy-dark: #132a3a;
  --navy-soft: #9fb4c5;    /* marine pâle, pour les fonds marine */
  --navy-tint: #e7edf2;    /* teinte très pâle, fonds d'icônes */
  --sage: #6a8b75;         /* vert sauge du figuier : accent pour les petits signaux positifs */
  --sage-dark: #4f7360;    /* version foncée, lisible pour du texte et sous du texte blanc */
  --sage-light: #a9c6b2;   /* version claire, pour les fonds marine */
  --sage-tint: #e6efe9;
  --graphite: #373737;     /* gris foncé du logo : texte courant */
  --muted: #676b70;
  --gray: #e6e6e6;         /* gris pâle du logo */
  --paper: #f6f6f6;        /* fond général */
  --white: #ffffff;
  --line: #dcdcdc;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 58, 79, .06), 0 8px 24px rgba(27, 58, 79, .08);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Titres : la même famille, en largeur étendue, comme le mot-symbole du logo */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-stretch: 125%;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 650; }

p { margin: 0 0 1em; }
a { color: var(--navy); }
img, svg { display: block; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Surtitres en capitales espacées, comme « SERVICES COMPTABLES » */
.eyebrow {
  font-size: .78rem; font-weight: 650; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: .8em;   /* surtitres en vert sauge (le marine reste pour les titres) */
}
.eyebrow-light { color: var(--sage-light); }

.placeholder {
  background: #fff4d6; outline: 1px dashed #c9a24a; border-radius: 4px; padding: 0 4px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 650 1rem var(--font);
  color: var(--white); background: var(--navy);
  padding: 14px 26px; border-radius: 6px; border: 2px solid var(--navy);
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(27, 58, 79, .28); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy-soft); outline-offset: 2px;
}
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 9px 18px; font-size: .95rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* Cellulaire : le flou derrière l'en-tête est recalculé à chaque défilement et alourdit beaucoup;
   un fond presque opaque donne le même rendu, sans ce calcul */
@media (max-width: 760px) { .site-header { backdrop-filter: none; background: rgba(255, 255, 255, .98); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

/* Logo horizontal : le texte « ACRIBIA / SERVICES COMPTABLES » a la même hauteur que l'icône du A
   (l'image du texte a ~4 % de marge transparente en haut et en bas, d'où 59 px pour 56 px de lettres) */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 56px; height: 56px; }
.brand-text { width: auto; height: 59px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 550; font-size: .97rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sage); text-decoration-thickness: 2px; }
.site-nav .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Accueil ---------- */
.hero { padding: 88px 0 56px; background: var(--white); }

/* Bande de repères rapides, juste sous l'accueil */
.reperes { background: var(--white); padding: 0 0 56px; }
.reperes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 36px; }
.repere { display: flex; gap: 12px; align-items: flex-start; }
.repere svg {
  flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sage-tint);
  fill: none; stroke: var(--sage-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.repere p { margin: 0; line-height: 1.35; }
.repere strong { display: block; color: var(--navy); font-weight: 650; font-size: .98rem; }
.repere span { display: block; color: var(--muted); font-size: .9rem; margin-top: 3px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: stretch; }
.hero .eyebrow { font-stretch: 100%; letter-spacing: .1em; }
/* Coup de surligneur vert sauge sous le message clé du titre */
.surligne {
  background: linear-gradient(transparent 64%, rgba(169, 198, 178, .6) 64%, rgba(169, 198, 178, .6) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em;
}
.lead { font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Illustration du bureau : sur grand écran, elle prend exactement la hauteur du bloc de texte */
.hero-visual { position: relative; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 75%;
  border-radius: 16px; box-shadow: var(--shadow);
}

/* La carte chevauche seulement le bas de l'image, à droite, pour laisser la tasse visible */
.hero-card {
  position: relative; width: 250px; margin: -40px 20px 0 auto;
  background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--navy);
  border-radius: 10px; padding: 14px 16px; box-shadow: 0 2px 4px rgba(27, 58, 79, .08), 0 16px 40px rgba(27, 58, 79, .16);
  font-size: .85rem;
}
.hero-card .hero-card-head { padding-bottom: 10px; }
.hero-card .checklist li { padding: 5px 0; gap: 10px; }
.hero-card .hero-card-foot { display: none; }
.hero-card .check { width: 18px; height: 18px; }
.hero-card .check::after { left: 6px; top: 3px; width: 5px; height: 9px; }
.hero-card-head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 650; color: var(--navy); padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.pill { font-size: .78rem; background: var(--navy-tint); color: var(--navy); padding: 4px 12px; border-radius: 999px; }
.checklist { list-style: none; margin: 0; padding: 8px 0; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--graphite);
}
.checklist li:last-child { border-bottom: 0; }
.check {
  flex: none; width: 22px; height: 22px; border-radius: 4px; background: var(--navy);
  position: relative;
}
.check::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hero-card-foot { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--gray); }
/* Fonds alternés : vert très pâle pour l'Approche, blanc pour le Contact (sinon les deux se suivent sur le même gris) */
#approche { background: var(--sage-tint); }
#contact { background: var(--white); }

/* Petit trait vert sous les grands titres de section */
.section h2::after, .band h2::after {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: var(--sage); margin-top: .5em;
}
.band h2::after { background: var(--sage-light); }
/* Samsung Internet en mode sombre assombrit les fonds de couleur, mais éclaircit le texte :
   la barre y devient donc un soulignement (une espace soulignée, allongée par l'espacement des lettres) */
.samsung .section h2::after, .samsung .band h2::after {
  content: "\00a0"; width: auto; height: auto; background: none; border-radius: 0;
  font: 400 12px/1 Arial, sans-serif; letter-spacing: 45px;
  text-decoration: underline 3px var(--sage); text-underline-offset: 2px;
}
.samsung .band h2::after { text-decoration-color: var(--sage-light); }
/* Même principe pour les trois lignes du menu ☰ : des soulignements, qui s'éclaircissent comme le texte */
.samsung .nav-toggle span { background: none; position: relative; }
.samsung .nav-toggle span::before {
  content: "\00a0"; position: absolute; left: 0; top: -9px;
  font: 400 10px/1 Arial, sans-serif; letter-spacing: 21.5px;
  text-decoration: underline 2.5px var(--navy); text-underline-offset: 0;
}
.section-head { max-width: 680px; margin-bottom: 48px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 3px 0 var(--sage), var(--shadow); }   /* fine bordure verte en haut au survol */
.card p { margin: 0; font-size: .97rem; }
.card p + p { margin-top: 10px; }
.card a { font-weight: 600; }
.card-icon {
  width: 48px; height: 48px; border-radius: 8px; background: var(--sage-tint);
  display: grid; place-items: center; margin-bottom: 18px;
}
.cards .card-icon svg { stroke: var(--sage-dark); }
.card-icon svg, .quickbooks-note svg {
  width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.quickbooks-note {
  display: flex; align-items: center; gap: 10px; margin: 32px 0 0;
  color: var(--graphite); font-size: .97rem;
}
.quickbooks-note svg { flex: none; align-self: flex-start; margin-top: 2px; stroke: var(--sage); stroke-width: 2.2; }
.quickbooks-note span { max-width: 62em; }

/* ---------- Bande fin d'année ---------- */
.band { background: var(--navy); color: #d3dde6; padding: 88px 0; position: relative; overflow: hidden; }
.band::after {                      /* grand A du logo en filigrane */
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 380px; height: 310px;
  background: url("../images/logo-a-blanc.svg") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.band h2 { color: var(--white); }
.band-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.band-list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.band-list li {
  counter-increment: item; display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-weight: 550;
}
.band-list li::before {                 /* crochet vert sauge : « c'est fait, c'est en ordre » */
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%231b3a4f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 100%;
}

/* ---------- Grand A du logo en filigrane (sections pâles) ---------- */
.filigrane { position: relative; overflow: hidden; }
.filigrane > .container { position: relative; z-index: 1; }
.filigrane::before {
  content: ""; position: absolute; width: 420px; height: 343px; pointer-events: none;
  background: url("../images/logo-a-marine.svg") no-repeat center / contain; opacity: .045;
}
.filigrane-gauche::before { left: -80px; bottom: -50px; }

/* À propos : très grand A en filigrane, centré derrière la photo */
#a-propos { overflow: hidden; }
.arch::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 900px; height: 734px; transform: translate(-50%, -46%);
  background: url("../images/logo-a-marine.svg") no-repeat center / contain; opacity: .06;
  pointer-events: none;
}
.arch-photo { z-index: 1; }

/* Double arche : fin contour vert sauge, décalé derrière la photo (rappel de la fenêtre de l'illustration) */
.arch::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border: 2px solid var(--sage); border-radius: 999px 999px 18px 18px;
  transform: translate(16px, -16px); pointer-events: none;
}

/* Sur grand écran : le haut du A est aligné avec le haut du surtitre « À propos »,
   et le A reste centré sur la colonne de la photo */
@media (min-width: 961px) {
  #a-propos .about { position: relative; align-items: start; }
  .about > * { position: relative; z-index: 1; }
  /* La photo prend la place du triangle du A et repose sur sa barre (barre à 459 px du haut du A de 900 px) */
  #a-propos .arch { margin-top: 163px; }   /* espace sous la photo = épaisseur de la barre du A (41 px) ; barre à 462 px, photo de 257 px */
  .arch::before { display: none; }
  .about::before {
    content: ""; position: absolute; top: 0; left: calc((100% - 64px) / 4.8); z-index: 0;
    width: 900px; height: 734px; transform: translateX(-50%);
    background: url("../images/logo-a-marine.svg") no-repeat center top / contain; opacity: .06;
    pointer-events: none;
  }
}

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-top: 3px solid var(--navy); padding-top: 24px; }
.step-num { display: block; font-stretch: 125%; font-weight: 800; font-size: 2.3rem; color: var(--sage); line-height: 1; margin-bottom: 14px; }

/* ---------- Modes de rencontre ---------- */
.modes {
  margin-top: 64px; background: var(--white); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
}
.modes-title { font-size: 1.3rem; margin-bottom: 24px; }
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mode { display: flex; gap: 14px; align-items: flex-start; }
.mode svg {
  flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 8px; background: var(--sage-tint);
  fill: none; stroke: var(--sage-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mode h4 { margin: 0 0 2px; font-size: 1rem; font-stretch: 100%; font-weight: 650; }
.mode p { margin: 0; font-size: .95rem; }

/* Bloc « Vos documents, en toute sécurité » */
.modes-docs { margin-top: 24px; }
.modes-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mode-tag {
  display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px;
  background: var(--sage-dark); color: var(--white); font-size: .72rem; font-weight: 600; vertical-align: 2px;
}
.mode-tag-light { background: var(--navy-tint); color: var(--navy); }
.modes-docs .mode:first-child svg { background: var(--sage-tint); stroke: var(--sage-dark); }   /* option en ligne, recommandée */
.modes-note {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }

/* Photo dans une arche */
.arch {
  position: relative; margin: 0; width: 100%; max-width: 206px; justify-self: center;   /* même largeur que la barre du grand A (69,5/304 × 900 px) */
  aspect-ratio: 4 / 5;
}
.arch-photo, .arch-placeholder {
  position: relative; width: 100%; height: 100%;
  border-radius: 999px 999px 18px 18px;
}
/* Photo détourée (fond transparent) posée sur un dégradé marine pâle, ancrée en bas de l'arche */
.arch-photo {
  overflow: hidden;
  background: #f3f5f7;                            /* blanc cassé légèrement bleuté (même teinte que le fond de la photo) */
  box-shadow: 0 4px 10px rgba(27, 58, 79, .16), 0 24px 56px rgba(27, 58, 79, .34);
}
.arch-photo img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-44%);
  height: 90%; width: auto; max-width: none;
}
.arch-placeholder {
  display: grid; place-items: center; background: var(--navy-tint);
  color: var(--navy); font-weight: 550; border: 1px dashed var(--navy);
}

.nom-marque { text-transform: uppercase; letter-spacing: .02em; }   /* ACRIBIA en capitales, comme dans le logo */
.about-name { color: var(--muted); }.about-person {
  font-stretch: 125%; font-weight: 700; font-size: 1.3rem; color: var(--navy);
  margin: 1.4em 0 .25em;
}
.about-role { font-size: 1.1rem; color: var(--graphite); }
.about-role strong { color: var(--navy); }
.greek { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 1.1em; font-weight: 600; color: var(--sage-dark); }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.values li { padding-left: 20px; border-left: 3px solid var(--sage); }
.values strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact-info strong { color: var(--navy); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--muted); font-size: .92rem; }
.contact-list a { word-break: break-word; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--sage);
  border-radius: 10px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 550; font-size: .93rem; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--graphite);
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 3px var(--sage-tint);   /* case active encadrée de vert */
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.choices { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choices legend { font-weight: 550; font-size: .93rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.contact-form .choices label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--graphite); }
.contact-form .choices input { width: auto; accent-color: var(--sage-dark); }
.contact-form .choices input:focus { box-shadow: none; }
.contact-form textarea::placeholder { color: #8a8f94; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-privacy { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 550; }
.form-status.ok { color: var(--sage-dark); }
.form-status.err { color: #a63b2a; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #c3d0db; padding: 40px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
/* Comme dans l'en-tête : le texte « ACRIBIA / SERVICES COMPTABLES » a la même hauteur que le A
   (l'image du texte a ~5 % de marge transparente en haut et en bas, d'où 39 px pour 37 px de lettres) */
.footer-brand img:first-of-type { width: auto; height: 37px; }
.footer-brand img:last-of-type { width: auto; height: 39px; }

/* « MC » (marque de commerce) en petit exposant, collé au nom dans le logo */
.mc { align-self: flex-start; margin-left: -9px; font-size: .58rem; font-weight: 700; letter-spacing: .03em; line-height: 1; color: var(--navy); }
.footer-brand .mc { margin-left: -11px; color: #c3d0db; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0; }
.amp { font-family: Arial, "Helvetica Neue", sans-serif; }   /* « & » classique (celui d'Archivo est stylisé) */
.footer-meta a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-meta a:hover { text-decoration: underline; color: var(--sage-light); }
.footer-meta .footer-legal a:hover { color: var(--sage-light); }
.footer-meta .footer-conception { opacity: .7; font-size: .85em; }   /* signature discrète, sous le © */
.site-footer .amp { color: var(--sage-light); }
.footer-meta .footer-legal a { font-weight: 400; color: #c3d0db; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a { color: var(--navy); }

.lien-temoins {
  font: inherit; color: #c3d0db; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.lien-temoins:hover { color: var(--sage-light); }

/* ---------- Bannière des témoins (Loi 25 : Accepter et Refuser également visibles) ---------- */
.temoins {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100% - 32px));
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--sage);
  border-radius: 12px; padding: 18px 20px; box-shadow: 0 2px 6px rgba(27, 58, 79, .1), 0 18px 44px rgba(27, 58, 79, .22);
  font-size: .92rem; line-height: 1.5;
}
.temoins p { margin: 0 0 12px; }
.temoins .temoins-titre { font-weight: 650; font-stretch: 125%; color: var(--navy); margin-bottom: 6px; }
.temoins-actions { display: flex; gap: 10px; }
.temoins-actions .btn { flex: 1; }
.temoins-perso {
  display: block; width: 100%; margin-top: 10px; font: inherit; font-size: .88rem; color: var(--navy);
  background: none; border: 0; padding: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* Centre de préférences : fenêtre centrée, un interrupteur par catégorie */
.temoins-fond {
  position: fixed; inset: 0; z-index: 70; background: rgba(19, 42, 58, .55);
  display: grid; place-items: center; padding: 16px;
}
.temoins-panneau {
  position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--white); border-radius: 14px; border-top: 5px solid var(--sage);
  padding: 28px 28px 24px; box-shadow: 0 24px 60px rgba(19, 42, 58, .35); font-size: .93rem; line-height: 1.55;
}
.temoins-panneau h2 { font-size: 1.35rem; margin-bottom: .4em; }
.temoins-panneau h2::after { display: none; }
.temoins-intro { color: var(--muted); }
.temoins-fermer {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--navy); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.temoins-fermer:hover { background: var(--gray); }
.temoins-liste { list-style: none; margin: 18px 0 22px; padding: 0; border-top: 1px solid var(--line); }
.temoins-liste li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.temoins-liste p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.temoins-ligne { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.temoins-cat { font-weight: 650; color: var(--navy); }
.temoins-toujours { font-size: .8rem; font-weight: 600; color: var(--sage-dark); white-space: nowrap; }

/* Interrupteur on/off */
.interrupteur {
  flex: none; position: relative; width: 50px; height: 28px; padding: 0; border: 0; border-radius: 999px;
  background: #c4c9cd; cursor: pointer; transition: background .2s;
}
.interrupteur span {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.interrupteur[aria-checked="true"] { background: var(--sage-dark); }
.interrupteur[aria-checked="true"] span { transform: translateX(22px); }
.temoins-actions-3 { flex-wrap: wrap; }
.temoins-actions-3 .btn { flex: 1 1 150px; }

/* Zone de la vérification anti-robot (Cloudflare Turnstile) : place réservée pour éviter un saut de page */
.verif-robot { min-height: 65px; }

/* ---------- Page Politique de confidentialité ---------- */
.legal { padding: 72px 0 96px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .3em; }
.legal-date { color: var(--muted); font-size: .92rem; margin-bottom: 2.2em; }
.legal h2 { font-size: 1.25rem; margin: 2.2em 0 .6em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal-card {
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--navy);
  border-radius: 10px; padding: 20px 24px; margin: 0 0 1em;
}
.legal-card p { margin: 0; }
.legal-card p + p { margin-top: 4px; }
.legal-back { display: inline-block; margin-top: 2.5em; font-weight: 600; }

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
  .hero-inner, .band-inner, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0 48px; }
  .reperes-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { max-width: 620px; }
  .hero-img { position: static; height: auto; }
  .hero-card { width: auto; max-width: 420px; margin: -48px 16px 0 auto; font-size: .92rem; }
  .hero-card .hero-card-foot { display: block; }
}

/* ---------- Cellulaire ---------- */
@media (max-width: 760px) {
  .header-inner { height: 72px; }
  .brand-icon { width: 46px; height: 46px; }
  .brand-text { height: 48px; }
  .brand { gap: 10px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }

  .section { padding: 72px 0; }
  .band { padding: 72px 0; }
  .cards, .steps, .field-row, .modes-grid, .modes-grid-2 { grid-template-columns: 1fr; }
  .modes { padding: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-card { margin: -32px 12px 0; max-width: none; }
  .contact-form { padding: 22px; }
  .arch { max-width: 182px; }
  .arch::before { width: 600px; height: 489px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 560px) {
  .reperes-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; }
}

@media (max-width: 380px) {
  .brand-icon { width: 36px; height: 36px; }
  .brand-text { height: 38px; }
}

/* Apparition douce au défilement (classes ajoutées par main.js) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mode sombre de l'appareil : le site le prend en charge lui-même en restant clair, tel qu'il a été conçu
   (sans ce bloc, certains navigateurs, dont Samsung Internet, inverseraient eux-mêmes les couleurs) */
@media (prefers-color-scheme: dark) {
  html, body { background: var(--paper); color: var(--graphite); }
}
/* ...mais tout reste en clair : les champs du formulaire aussi */
input, select, textarea, button { color-scheme: light; }

/* Bas de page : lien Facebook avec le logo, pour qu'on le repère du premier coup d'œil */
.footer-meta .footer-facebook { display: inline-flex; align-items: center; gap: 8px; }
.footer-facebook svg { width: 20px; height: 20px; flex: none; }
