/* ═══════════════════════════════════════════════════════════
   THEME — habillage du site

   Chargée après foundation.css et professional.css.

   Elle possède l'apparence : navigation, pied de page, boutons,
   et les finitions de chaque section. Elle remplace index2.css
   et _responsive-nav.css, dont 72 % des sélecteurs ne
   correspondaient plus à aucun élément du site.

   Aucun !important : la cascade est désormais cohérente, les
   feuilles n'ont plus à se battre entre elles.
   ═══════════════════════════════════════════════════════════ */

/* ═══ 1. Preloader ══════════════════════════════════════════ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--e-3);
  background: var(--fond);
  transition: opacity var(--transition-lente), visibility var(--transition-lente);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-name {
  font-family: var(--police-titre);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--texte);
}

.preloader-subtitle {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ═══ 2. Navigation ═════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--hauteur-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
  padding: 0 var(--e-6);
  background: var(--marine-800);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Le logo etait une image PNG de 18 Ko chargee deux fois par page.
   Elle portait deux defauts : son sous-titre etait en corail, la
   couleur retiree partout ailleurs, et ce sous-titre etait du texte
   fige en francais qui ne se traduisait jamais. En vrai texte, il
   est net a toute taille, suit la palette et se traduit. */
.nav-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  height: 100%;
  flex-shrink: 0;
  line-height: 1;
}

.logo-nom {
  font-family: var(--police-titre);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
}

/* Le sous-titre retrecit avec l'ecran au lieu de disparaitre a un
   seuil : le logo garde la meme identite d'un format a l'autre.
   Il mesure 241 px a sa taille pleine et tient a partir de 480 px;
   en dessous, la taille et l'interlettrage se resserrent. */
.logo-role {
  font-size: clamp(0.44rem, 0.36rem + 0.356vw, 0.56rem);
  font-weight: 600;
  letter-spacing: clamp(0.3px, -0.633px + 0.259vw, 1.7px);
  text-transform: uppercase;
  color: var(--lavande-300);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--e-6);
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  height: var(--hauteur-nav);
  padding: 0 var(--e-1);
  color: #ffffff;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}

/* Un trait qui se déploie sous le lien survolé, plutôt qu'un
   changement de couleur : plus discret, plus net. */
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.language-toggle {
  flex-shrink: 0;
  padding: var(--e-2) var(--e-4);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--arrondi-plein);
  background: transparent;
  color: #ffffff;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  transition: background var(--transition), border-color var(--transition);
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Bouton du menu mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══ 3. Hero ═══════════════════════════════════════════════ */

.hero-section {
  margin-top: var(--hauteur-nav);
  display: flex;
  align-items: center;
  min-height: 70vh;
  background: var(--fond);
}

.hero-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Le fondu est incrusté dans le fichier image : la photo n'a pas
   de bord franc. Ni cadre ni ombre, qui dessineraient un
   rectangle là où l'œil ne voit aucun contour. */
.executive-hero .hero-image-container::after {
  display: none;
}

.executive-hero .hero-image {
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.72);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--e-8) var(--e-7) var(--e-8) var(--e-6);
}

.executive-hero .hero-title {
  margin-bottom: var(--e-5);
  font-family: var(--police-titre);
  font-size: var(--t-3xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--texte);
}

.executive-hero .hero-subtitle {
  max-width: 56ch;
  margin-bottom: var(--e-5);
  color: var(--texte-doux);
  font-size: var(--t-lg);
  line-height: var(--interligne-lache);
}

.hero-credential {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  padding: var(--e-2) var(--e-4);
  border: 1px solid var(--accent-trait);
  border-radius: var(--arrondi-plein);
  background: var(--accent-voile);
  color: var(--texte-doux);
  font-size: var(--t-sm);
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-4);
  margin-top: var(--e-5);
}

/* ═══ 4. Sections et titres ═════════════════════════════════ */

.section-title {
  margin-bottom: var(--e-4);
  font-family: var(--police-titre);
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--texte);
  letter-spacing: -0.015em;
}

.section-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  margin-top: var(--e-3);
  border-radius: 2px;
  background: var(--accent);
}

.services-header .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  margin-bottom: var(--e-5);
  color: var(--texte-doux);
  font-size: var(--t-md);
  line-height: var(--interligne-lache);
}

.executive-kicker {
  color: var(--accent-fort);
}

/* ═══ 5. Boutons ════════════════════════════════════════════ */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--e-4) var(--e-6);
  border: 1px solid var(--marine-800);
  border-radius: var(--arrondi-sm);
  background: var(--marine-800);
  color: #ffffff;
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1.2;
  box-shadow: var(--ombre-2);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.cta-button:hover {
  background: var(--marine-700);
  border-color: var(--marine-700);
  box-shadow: var(--ombre-3);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

.executive-hero .cta-button {
  padding: var(--e-4) var(--e-7);
  font-size: var(--t-md);
}

.cta-button-secondary {
  background: transparent;
  border-color: var(--trait-fort);
  color: var(--texte);
  box-shadow: none;
}

.cta-button-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Remontée en haut de page */
.back-to-top {
  position: fixed;
  right: var(--e-5);
  bottom: var(--e-5);
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--arrondi-plein);
  background: var(--marine-800);
  color: #ffffff;
  box-shadow: var(--ombre-3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.visible {
  opacity: 0.92;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-fort);
  opacity: 1;
}

/* ═══ 6. Section de contact ═════════════════════════════════
   Sa grille à deux colonnes laissait la moitié droite vide.
   Elle devient un bloc marine centré qui ferme la page. */

.executive-cta {
  padding: var(--e-8) var(--e-6);
  margin-bottom: var(--e-4);
  border-radius: var(--arrondi-xl);
  background: var(--marine-800);
}

.executive-cta .executive-section-grid {
  grid-template-columns: 1fr;
  text-align: center;
}

.executive-cta .section-title {
  color: #ffffff;
}

.executive-cta .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.executive-cta .section-text {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--sur-sombre);
}

.executive-cta .cta-buttons {
  justify-content: center;
}

.executive-cta .cta-button {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--marine-800);
}

.executive-cta .cta-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ═══ 7. Pied de page ═══════════════════════════════════════ */

.footer {
  padding: var(--e-8) var(--e-6) var(--e-6);
  background: var(--marine-900);
  color: var(--sur-sombre);
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--e-5);
}

.footer-logo .logo-nom {
  font-size: 1.55rem;
}

.footer-tagline {
  margin-bottom: var(--e-2);
  font-family: var(--police-titre);
  font-size: var(--t-xl);
  font-weight: 700;
  color: #ffffff;
}

.footer-subtitle {
  margin-bottom: var(--e-1);
  color: var(--sur-sombre-doux);
  font-size: var(--t-sm);
}

.footer-location {
  position: relative;
  margin-bottom: var(--e-7);
  padding-bottom: var(--e-6);
  color: var(--sur-sombre-doux);
  font-size: var(--t-sm);
}

.footer-location::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--trait-sombre);
}

/* Les liens étaient des pilules grises d'aspect désactivé. */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--e-2) var(--e-6);
  margin-bottom: var(--e-6);
}

.footer-link {
  position: relative;
  padding: var(--e-1) 0;
  color: var(--sur-sombre-doux);
  font-size: var(--t-sm);
  font-weight: 500;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--e-4);
  margin-bottom: var(--e-6);
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--trait-sombre);
  border-radius: var(--arrondi-plein);
  background: rgba(255, 255, 255, 0.05);
  color: var(--sur-sombre);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.footer-copyright {
  padding-top: var(--e-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--sur-sombre-tenu);
  font-size: var(--t-xs);
}

/* ═══ 8. Finitions des sections d'accueil ═══════════════════ */

.services-section {
  background: var(--fond-doux);
}

/* Publications : les vignettes viennent de banques d'images très
   différentes. Cadrage et traitement communs pour qu'elles
   fassent série. */
.pub-article-card {
  overflow: hidden;
  border: 1px solid var(--trait);
  border-radius: var(--arrondi-lg);
  background: var(--fond);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pub-article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-3);
}

.pub-article-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: filter var(--transition-lente);
}

.pub-article-card:hover .pub-article-img {
  filter: saturate(1) contrast(1.04);
}

.pub-article-tag {
  border: 1px solid var(--accent-trait);
  background: var(--accent-voile);
  color: var(--accent-fort);
}

.pub-counter {
  border-color: var(--accent-trait);
  color: var(--texte-doux);
}

.pub-research-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--arrondi);
  object-fit: cover;
  filter: saturate(0.82);
}

.service-list li {
  color: var(--texte-doux);
}

.service-list li::before {
  background: var(--accent);
  opacity: 0.75;
}

.services-audience-title {
  color: var(--accent-fort);
}

.audience-item {
  border-color: var(--trait);
  border-radius: var(--arrondi);
}

/* À propos */
.section-lead {
  margin-bottom: var(--e-5);
  padding-left: var(--e-4);
  border-left: 3px solid var(--accent);
  font-family: var(--police-titre);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.45;
  color: var(--texte);
}

.executive-aside-photo {
  border-radius: var(--arrondi-lg);
  box-shadow: var(--ombre-4);
}

/* ═══ 9. Responsive ═════════════════════════════════════════ */

@media (max-width: 900px) {
  .nav {
    padding: 0 var(--e-4);
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .language-toggle {
    order: 3;
    margin-left: auto;
    margin-right: var(--e-3);
  }

  /* Le menu glisse depuis la gauche, sous la barre fixe. */
  .nav-links {
    position: fixed;
    top: var(--hauteur-nav);
    left: 0;
    z-index: 999;
    width: min(82vw, 380px);
    height: calc(100vh - var(--hauteur-nav));
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--e-6) var(--e-5);
    background: var(--marine-800);
    border-radius: 0 var(--arrondi-lg) var(--arrondi-lg) 0;
    box-shadow: var(--ombre-4);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-12px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    height: 54px;
    font-size: var(--t-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    flex-direction: column;
  }

  .hero-content {
    align-items: center;
    padding: var(--e-6) var(--e-5) var(--e-7);
    text-align: center;
  }

  .executive-hero .hero-subtitle {
    max-width: none;
  }

  .hero-credential {
    align-self: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .executive-cta {
    padding: var(--e-7) var(--e-5);
    border-radius: var(--arrondi-lg);
  }
}

@media (max-width: 600px) {
  .footer {
    padding: var(--e-7) var(--e-4) var(--e-5);
  }

  .footer-links {
    gap: var(--e-1) var(--e-4);
  }

  .section-title::after {
    width: 44px;
  }

  .executive-cta {
    padding: var(--e-6) var(--e-4);
  }

  .pub-research-thumb {
    width: 54px;
    height: 54px;
  }

  .back-to-top {
    right: var(--e-4);
    bottom: var(--e-4);
  }
}

@media (max-width: 600px) {
  .logo-nom {
    font-size: 1.12rem;
  }
}

/* Dernier recours, sous 340 px : une largeur qu'on ne rencontre
   plus guere. Le nom seul suffit alors a identifier le site. */
@media (max-width: 340px) {
  .nav-logo .logo-role {
    display: none;
  }
}

/* ═══ 14. À propos : texte repliable ════════════════════════
   La colonne de texte faisait 1519 px contre 559 px pour la
   photo, laissant 960 px de vide à sa droite. Le texte se
   replie à la hauteur de la photo : les deux colonnes se
   terminent sur la même ligne, et le visiteur choisit d'aller
   plus loin.

   Le repli est posé par le script, jamais dans le HTML : si le
   JavaScript ne s'exécute pas, tout le texte reste lisible. */

.apropos-texte {
  position: relative;
}

.apropos-texte.est-replie {
  overflow: hidden;
  max-height: var(--apropos-hauteur, 420px);
}

/* Le fondu signale que le texte continue, sans le couper net. */
.apropos-texte.est-replie::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 55%,
    var(--fond) 100%);
}

.apropos-bascule {
  display: none;
  align-items: center;
  gap: var(--e-2);
  margin-top: var(--e-4);
  padding: var(--e-2) var(--e-4) var(--e-2) 0;
  color: var(--accent-fort);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

/* Affiché seulement lorsque le script a replié le texte. */
.apropos-bascule.est-actif {
  display: inline-flex;
}

.apropos-bascule:hover {
  color: var(--marine-700);
}

.bascule-chevron {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.apropos-bascule[aria-expanded="true"] .bascule-chevron {
  transform: rotate(180deg);
}

/* Un seul libellé à la fois. Les deux vivent dans le HTML pour
   que la bascule de langue et l'état du bouton restent
   indépendants l'un de l'autre. */
.apropos-bascule .bascule-moins,
.apropos-bascule[aria-expanded="true"] .bascule-plus {
  display: none;
}

.apropos-bascule[aria-expanded="true"] .bascule-moins {
  display: inline;
}

@media (max-width: 900px) {
  /* Plus de photo à côté : on replie sur une hauteur de lecture. */
  .apropos-texte.est-replie {
    max-height: var(--apropos-hauteur, 340px);
  }
}

/* ═══ 15. Services : accordéon ══════════════════════════════
   Les huit domaines s'affichaient en cartes ouvertes : 47 puces
   d'un même poids sur 1648 px de haut, sans hiérarchie, avec des
   rangées en dents de scie et une dernière ligne bancale.

   Seuls les titres restent visibles. Chacun s'ouvre à la demande.
   Le repli est posé par le script : sans JavaScript, tout est
   déplié et le contenu reste entièrement lisible. */

.services-accordeon {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--trait);
}

.service-item {
  border-bottom: 1px solid var(--trait);
}

.service-entete {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.service-bouton {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--e-4);
  padding: var(--e-5) var(--e-2);
  text-align: left;
  color: var(--texte);
  transition: color var(--transition);
}

/* Le numéro donne un rythme et une prise à l'œil sur la liste. */
.service-num {
  flex-shrink: 0;
  min-width: 2ch;
  color: var(--accent);
  font-size: var(--t-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.service-nom {
  flex: 1;
  font-family: var(--police-texte);
  font-size: var(--t-md);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform var(--transition), color var(--transition);
}

.service-bouton:hover {
  color: var(--accent-fort);
}

.service-bouton:hover .service-num,
.service-bouton:hover .service-chevron {
  color: var(--accent-fort);
}

.service-bouton[aria-expanded="true"] .service-chevron {
  transform: rotate(180deg);
}

.service-bouton[aria-expanded="true"] .service-nom {
  color: var(--accent-fort);
}

/* Panneau ─────────────────────────────────────────────────── */

.service-panneau {
  overflow: hidden;
}

.service-panneau[hidden] {
  display: none;
}

.service-panneau .service-list {
  /* Les listes vont de 3 à 10 items : deux colonnes évitent
     qu'une longue liste ne s'étire en un mince ruban. */
  columns: 2;
  column-gap: var(--e-6);
  margin: 0;
  padding: 0 var(--e-2) var(--e-5) calc(2ch + var(--e-4));
  list-style: none;
}

.service-panneau .service-list li {
  break-inside: avoid;
  position: relative;
  margin: 0 0 var(--e-3);
  padding-left: var(--e-4);
  color: var(--texte-doux);
  font-size: var(--t-sm);
  line-height: 1.55;
}

.service-panneau .service-list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

@media (max-width: 700px) {
  .service-bouton {
    gap: var(--e-3);
    padding: var(--e-4) 0;
  }

  .service-panneau .service-list {
    columns: 1;
    padding-left: calc(2ch + var(--e-3));
    padding-right: 0;
  }
}

/* ═══ 16. Contact : deux voies ══════════════════════════════
   La page n'offrait qu'un seul point de contact, la réservation
   d'un créneau. C'est un engagement fort : le visiteur qui veut
   seulement poser une question n'avait aucune porte d'entrée.

   Deux voies côte à côte, sur le même bloc marine : réserver
   pour qui sait ce qu'il veut, écrire pour les autres. */

.contact-deux-voies {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--e-7);
  align-items: start;
  margin-top: var(--e-7);
  text-align: left;
}

.contact-voie-titre {
  margin: 0 0 var(--e-4);
  color: var(--lavande-300);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-voie-rdv {
  padding-right: var(--e-6);
  border-right: 1px solid var(--trait-sombre);
}

.contact-voie-rdv .cta-buttons {
  margin-top: 0;
  justify-content: flex-start;
}

/* ── Champs ─────────────────────────────────────────────── */

.champ {
  display: flex;
  flex-direction: column;
  gap: var(--e-2);
  margin: 0 0 var(--e-4);
}

.champ label {
  color: var(--sur-sombre);
  font-size: var(--t-sm);
  font-weight: 600;
}

.champ input,
.champ textarea {
  width: 100%;
  padding: var(--e-3) var(--e-4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--arrondi-sm);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  font-size: var(--t-sm);
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
}

.champ textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: var(--sur-sombre-tenu);
}

.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

/* Signalé au moment de l'envoi seulement, pas pendant la saisie :
   souligner en rouge un champ qu'on est en train de remplir est
   décourageant sans être utile. */
.champ.est-invalide input,
.champ.est-invalide textarea {
  border-color: #ffb4a2;
}

.champ-erreur {
  margin: 0;
  color: #ffb4a2;
  font-size: var(--t-xs);
}

.champ-consentement {
  display: flex;
  align-items: flex-start;
  gap: var(--e-3);
  margin: 0 0 var(--e-5);
}

.champ-consentement input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.champ-consentement label {
  color: var(--sur-sombre-doux);
  font-size: var(--t-xs);
  line-height: 1.5;
}

.champ-consentement.est-invalide label {
  color: #ffb4a2;
}

.contact-envoi {
  width: 100%;
}

.contact-envoi[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* Le piège à robots doit rester dans le flux pour être rempli,
   tout en étant invisible et hors du parcours au clavier. */
.piege-robot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-retour {
  margin: var(--e-4) 0 0;
  font-size: var(--t-sm);
  line-height: 1.5;
  min-height: 1.2em;
}

.form-retour.est-succes {
  color: #a7e8c4;
}

.form-retour.est-erreur {
  color: #ffb4a2;
}

@media (max-width: 860px) {
  .contact-deux-voies {
    grid-template-columns: 1fr;
    gap: var(--e-6);
  }

  .contact-voie-rdv {
    padding-right: 0;
    padding-bottom: var(--e-6);
    border-right: none;
    border-bottom: 1px solid var(--trait-sombre);
  }

  .contact-voie-rdv .cta-buttons {
    justify-content: center;
  }
}

/* La marque de confirmation sur la page de remerciement. */
.merci-marque {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--e-5);
  border: 1px solid var(--accent-trait);
  border-radius: var(--arrondi-plein);
  background: var(--accent-voile);
  color: var(--accent-fort);
}

.merci-marque svg {
  width: 28px;
  height: 28px;
}
