/* Codamis — site de l entreprise.
   Un seul theme, clair, par jetons : aucun composant n a de couleur a lui. Palette de la charte : #1565FF, #0D47A1, #2B2B2B, #6B7280,
   #F5F7FA ; police Poppins. */
:root {
  --fond: #F5F7FA; --surface: #FFFFFF; --surface-2: #EDF1F7;
  --encre: #22262E; --encre-2: #4B5563; --encre-3: #6B7280; --trait: #E2E7EF; --trait-fort: #C7D0DD;
  --marque: #1565FF; --marque-fonce: #0D47A1; --marque-doux: #E8F0FF; --marque-encre: #FFFFFF;
  --ok: #1E7A4F; --attention: #B54708; --erreur: #B42318; --erreur-fond: #FEF3F2;
  --marine: #0D47A1; --marine-bord: #0B3B85; --marine-fil: rgba(255, 255, 255, .18); --marine-survol: rgba(255, 255, 255, .1);
  --sur-marine: #FFFFFF; --sur-marine-2: #B9CCF2;
  --rayon: 14px; --rayon-sm: 9px;
  --ombre-1: 0 1px 2px rgba(16, 24, 40, .06);
  --ombre-2: 0 18px 40px -22px rgba(13, 71, 161, .35);
  --ombre-3: 0 40px 80px -40px rgba(13, 71, 161, .45);
  --titre: "Poppins", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --texte: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--marque); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0; }
img { max-width: 100%; }
.cadre { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marque); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--marque); border-radius: 2px; }
.sous { color: var(--encre-2); font-size: 1.1rem; max-width: 58ch; }
.sauter { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 50; }
.sauter:focus { left: 1rem; top: 1rem; }

/* ---- En-tete : une barre claire, translucide, qui reste en haut ---- */
.entete { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--trait); transition: box-shadow .18s; }
.entete.defile { box-shadow: var(--ombre-2); }
.barre { display: flex; align-items: center; gap: 1rem; height: 70px; }
/* Le mot-symbole de la charte, tel quel. */
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 160px; height: auto; }
@media (max-width: 400px) { .logo img { width: 130px; } }
.liens { display: flex; gap: .1rem; margin-left: .6rem; font-weight: 500; font-size: .93rem; }
.liens a { position: relative; text-decoration: none; color: var(--encre-2); padding: .5rem .8rem; border-radius: 10px; white-space: nowrap; transition: background .12s, color .12s; }
.liens a:hover { color: var(--encre); background: var(--surface-2); }
.liens a[aria-current="page"] { color: var(--encre); font-weight: 600; }
.liens a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--marque); }
.barre .gestes { display: flex; align-items: center; gap: .7rem; margin-left: auto; }
.langue { display: inline-flex; padding: 2px; border: 1px solid var(--trait-fort); border-radius: 99px; text-decoration: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--encre-3); }
.langue span { padding: .25rem .5rem; border-radius: 99px; line-height: 1; }
.langue .actif { background: var(--encre); color: var(--surface); }
.langue:hover span:not(.actif) { color: var(--encre); }
.barre .btn { white-space: nowrap; min-height: 42px; padding: .55rem 1.1rem; font-size: .93rem; }
.bascule { display: none; width: 42px; height: 42px; border: 1px solid var(--trait-fort); border-radius: 12px; background: var(--surface); color: var(--encre); cursor: pointer; align-items: center; justify-content: center; flex: none; }
.bascule svg { width: 22px; height: 22px; }
.bascule .fermer { display: none; }
.bascule[aria-expanded="true"] .ouvrir { display: none; }
.bascule[aria-expanded="true"] .fermer { display: block; }
/* Cinq liens (16 sept. 2026) : l espacement d origine tient des 1121 px. Entre 1024
   et 1120 px, les liens rapetissent a peine, le logo et son ecart ne bougent pas ;
   plus etroit, le voile mobile prend le relais. */
@media (min-width: 1024px) and (max-width: 1120px) {
  .liens { font-size: .85rem; }
  .liens a { padding: .5rem .52rem; }
}
/* Le voile mobile : cache sur grand ecran, quoi qu il arrive. */
.menu { display: none; }
@media (max-width: 1023px) {
  .liens, .barre .langue, .barre .btn { display: none; }
  .bascule { display: inline-flex; }
  .menu { position: fixed; inset: 0; z-index: 25; background: var(--marine); color: var(--sur-marine); padding: 6rem 1.5rem 2rem; flex-direction: column; overflow-y: auto; }
  .menu.ouvert { display: flex; }
  .menu nav { display: flex; flex-direction: column; }
  .menu nav a { font-family: var(--titre); font-size: clamp(1.5rem, 6vw, 1.9rem); font-weight: 700; letter-spacing: -.02em; padding: .75rem 0; border-bottom: 1px solid var(--marine-fil); color: var(--sur-marine); text-decoration: none; }
  .menu nav a[aria-current="page"] { color: var(--sur-marine-2); }
  .menu .gestes { margin-top: auto; padding-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
  .menu .gestes .rangee { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .menu .gestes .btn { width: 100%; background: var(--sur-marine); color: var(--marine); box-shadow: none; }
  .menu .langue { display: inline-flex; border-color: var(--marine-fil); color: var(--sur-marine-2); }
  .menu .langue .actif { background: var(--sur-marine); color: var(--marine); }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.3rem; border-radius: var(--rayon-sm); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--texte); transition: background .12s, border-color .12s, transform .12s, box-shadow .12s; }
.btn-principal { background: var(--marque); color: var(--marque-encre); box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--marque) 80%, transparent); }
.btn-principal:hover { background: var(--marque-fonce); transform: translateY(-1px); }
.btn-secondaire { border-color: var(--trait-fort); color: var(--encre); background: var(--surface); }
.btn-secondaire:hover { border-color: var(--encre); }
.btn[disabled] { opacity: .6; cursor: default; }
.lien-plus { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--marque); text-decoration: none; margin-top: 1.3rem; }
.lien-plus:hover { text-decoration: underline; }
.lien-plus::after { content: "→"; transition: transform .12s; }
.lien-plus:hover::after { transform: translateX(3px); }
.boutons-section { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
@media (max-width: 560px) { .boutons-section .btn { width: 100%; } }

/* ---- Accueil ---- */
.hero { position: relative; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 55% at 85% 30%, color-mix(in srgb, var(--marque) 14%, transparent), transparent 72%),
              radial-gradient(35% 45% at 8% 100%, color-mix(in srgb, var(--marque) 7%, transparent), transparent 70%); }
.hero .cadre { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.hero-texte { display: flex; flex-direction: column; gap: 1.3rem; }
.hero h1 { line-height: 1.08; }
.hero-gestes { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .4rem; }
.hero-image { position: relative; display: grid; place-items: center; }
.hero-image::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--marque) 22%, transparent), transparent 70%); }
.hero-image img { position: relative; width: min(100%, 460px); height: auto; filter: drop-shadow(0 30px 40px rgba(13, 71, 161, .25)); }
@media (max-width: 900px) {
  .hero { padding: 2.4rem 0 2.4rem; }
  .hero .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .hero-gestes .btn { flex: 1 1 100%; }
  .hero-image { order: -1; }
  .hero-image img { width: min(70%, 300px); }
}

/* La bande de confiance, sous l accueil */
.confiance-bande { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: var(--surface); }
.confiance-bande .cadre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.confiance-bande.quatre .cadre { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 1.6rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.confiance-bande.quatre .confiance-item { align-items: flex-start; }
.confiance-bande.quatre .confiance-item svg { margin-top: .1rem; }
.confiance-bande.quatre .confiance-item b { margin-bottom: .15rem; }
@media (max-width: 900px) { .confiance-bande.quatre .cadre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .confiance-bande.quatre .cadre { grid-template-columns: minmax(0, 1fr); } }
.confiance-item { display: flex; align-items: center; gap: .75rem; font-size: .86rem; color: var(--encre-2); }
.confiance-item svg { width: 24px; height: 24px; color: var(--marque); flex: none; }
.confiance-item b { color: var(--encre); display: block; font-size: .95rem; line-height: 1.25; }
@media (max-width: 900px) { .confiance-bande .cadre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .confiance-bande .cadre { grid-template-columns: minmax(0, 1fr); } }

section.bloc { padding: 5rem 0; }
section.bloc.serre { padding-top: 0; }
section.bloc.teinte { background: var(--surface); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
@media (max-width: 900px) { section.bloc { padding: 3rem 0; } }
.bloc-tete { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2.4rem; max-width: 62ch; }
.bloc-tete.centre { margin-inline: auto; align-items: center; text-align: center; }
.bloc[id] { scroll-margin-top: 5rem; }

/* ---- Trois raisons, trois colonnes ---- */
.raisons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.raison { border-top: 3px solid var(--trait-fort); padding-top: 1.1rem; display: flex; flex-direction: column; gap: .5rem; }
.raison:nth-child(2) { border-top-color: var(--marque); }
.raison p { color: var(--encre-2); }
.raison > svg { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--marque-doux); color: var(--marque); margin-bottom: .3rem; }
.raison .illu { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: .5rem; }
.raisons.quatre .raison { border-top: 0; padding-top: 0; }
.raisons.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.raisons.quatre .raison:nth-child(2) { border-top-color: var(--trait-fort); }
@media (max-width: 1000px) { .raisons.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .raisons, .raisons.quatre { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; } }

ul.coches { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; color: var(--encre-2); }
ul.coches li { display: flex; gap: .65rem; }
ul.coches li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; background: var(--marque-doux); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231565FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12l4 4 8-8'/></svg>"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.duo .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.duo.inverse .cadre > :first-child { order: 2; }
@media (max-width: 900px) { .duo .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } .duo.inverse .cadre > :first-child { order: 0; } }

/* ---- Pages interieures ---- */
.page-tete { position: relative; padding: 3.6rem 0 2.6rem; border-bottom: 1px solid var(--trait); background: var(--surface); overflow: hidden; }
.page-tete::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 90% 0%, color-mix(in srgb, var(--marque) 10%, transparent), transparent 70%); }
.page-tete .cadre { position: relative; display: flex; flex-direction: column; gap: .8rem; }
.page-tete h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.page-tete .boutons-section { margin-top: .6rem; }
/* En-tete avec une image de fond : le robot a droite, le texte a gauche sur un voile clair */
.page-tete.avec-fond { min-height: 340px; display: flex; align-items: center; padding: 2rem 0; background: linear-gradient(90deg, rgba(245, 247, 250, .97) 0%, rgba(245, 247, 250, .92) 42%, rgba(245, 247, 250, .3) 62%, rgba(245, 247, 250, 0) 75%), var(--fond) right center / auto 100% no-repeat #EEF5FE; }
.fond-solutions { --fond: url("/images/solutions-fond.jpg"); }
.fond-contact { --fond: url("/images/contact-fond.jpg"); }
.fond-pourquoi { --fond: url("/images/pourquoi-fond.jpg"); }
.fond-apropos { --fond: url("/images/a-propos-fond.jpg"); }
.page-tete.avec-fond::before { display: none; }
.page-tete.avec-fond .cadre { width: 100%; }
.page-tete.avec-fond .cadre > * { max-width: 58%; }
.page-tete.avec-fond .sommaire { max-width: none; }
.page-tete.avec-fond h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.page-tete.avec-fond .sous { font-size: 1.02rem; }
.page-tete.avec-fond .cadre { gap: .6rem; }
.page-tete.avec-fond .sous { max-width: 52ch; }
@media (max-width: 900px) { .page-tete.avec-fond { min-height: 0; padding: 2rem 0 1.8rem; background: linear-gradient(90deg, rgba(245, 247, 250, .97) 0%, rgba(245, 247, 250, .94) 60%, rgba(245, 247, 250, .82) 100%), var(--fond) 78% center / cover no-repeat; } .page-tete.avec-fond .cadre > * { max-width: none; } }
.sommaire { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.sommaire a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .55rem 1.05rem; border: 1px solid var(--trait-fort); border-radius: 99px; background: var(--surface); color: var(--encre); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .12s, color .12s; }
.sommaire a:hover { border-color: var(--marque); color: var(--marque); }
.sommaire a span { color: var(--marque); }
@media (max-width: 900px) { .page-tete { padding: 2.2rem 0 1.8rem; } }

.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; counter-reset: etape; }
.etape { counter-increment: etape; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.etape::before { content: counter(etape); font-family: var(--titre); font-weight: 800; font-size: 2.2rem; color: var(--marque); line-height: 1; margin-bottom: .4rem; }
.etape p { color: var(--encre-2); }
.etapes.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- Les cinq valeurs de la charte ---- */
.valeurs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.valeurs.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.valeur { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.valeur > svg { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--marque-doux); color: var(--marque); margin-bottom: .3rem; }
.valeur h3 { font-size: 1rem; }
.valeur p { color: var(--encre-2); font-size: .9rem; }
@media (max-width: 1000px) { .valeurs, .valeurs.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .valeurs.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .valeurs, .valeurs.six { grid-template-columns: minmax(0, 1fr); } }

/* ---- Pense pour le Canada ---- */
.canada { background: var(--surface); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.canada .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 4rem; align-items: start; }
.garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2.2rem; }
.garantie { border-left: 2px solid var(--marque); padding-left: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.garantie h3 { font-size: 1rem; }
.garantie p { color: var(--encre-2); font-size: .94rem; }
.garanties.trois { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
.garantie.avec-icone { flex-direction: row; gap: .9rem; border-left: 0; padding-left: 0; align-items: flex-start; }
.garantie.avec-icone > svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: var(--marque-doux); color: var(--marque); }
.garantie.avec-icone h3 { margin-bottom: .25rem; }
@media (max-width: 900px) { .canada .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } }
@media (max-width: 560px) { .garanties { grid-template-columns: minmax(0, 1fr); } }

.appel { background: linear-gradient(115deg, var(--marque-fonce), var(--marque)); color: #FFFFFF; }
.appel .cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-top: 3.4rem; padding-bottom: 3.4rem; }
.appel h2 { color: inherit; }
.appel p { opacity: .92; margin-top: .4rem; }
.appel .btn { background: #FFFFFF; color: var(--marque-fonce); box-shadow: none; }
@media (max-width: 560px) { .appel .btn { width: 100%; } }


/* ---- Prose (pages legales) ---- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .6rem; }
.prose h3 { margin: 1.4rem 0 .4rem; }
.prose p { margin: 0 0 .9rem; color: var(--encre-2); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--encre-2); }
.prose li { margin-bottom: .3rem; }
.prose strong { color: var(--encre); }
.prose a { color: var(--marque); }

/* ---- Formulaire de contact ---- */
.formulaire { display: grid; gap: 1rem; max-width: 560px; }
.formulaire label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .93rem; }
.formulaire input, .formulaire textarea { font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid var(--trait-fort); border-radius: var(--rayon-sm); background: var(--surface); color: var(--encre); min-height: 46px; }
.formulaire textarea { min-height: 140px; resize: vertical; }
.formulaire .facultatif { color: var(--encre-3); font-weight: 400; font-size: .85rem; }
.formulaire .miel { position: absolute; left: -9999px; }
.formulaire .etat-envoi { font-size: .95rem; padding: .7rem .9rem; border-radius: var(--rayon-sm); }
.formulaire .etat-envoi.ok { background: var(--surface-2); color: var(--ok); font-weight: 600; }
.formulaire .etat-envoi.erreur { background: var(--erreur-fond); color: var(--erreur); }
.contact-cote { color: var(--encre-2); display: flex; flex-direction: column; gap: 1rem; }
.contact-cote b { color: var(--encre); }
.contact-cote a { color: var(--marque); }

/* ---- Pied de page : une ligne, comme le menu ---- */
footer { padding: 2.4rem 0 1.8rem; color: var(--encre-3); font-size: .92rem; border-top: 1px solid var(--trait); background: var(--surface); }
.pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2.5rem; }
.pied-marque { display: flex; flex-direction: column; gap: .5rem; }
.pied-marque img { width: 170px; height: auto; }
.pied-marque > a { display: block; line-height: 0; }
.pied .slogan { margin: .1rem 0 0; color: var(--encre); font-weight: 600; font-size: .9rem; }
.pied .canada-ligne { margin: 0; color: var(--encre-2); font-size: .85rem; }
.pied-marque { gap: .15rem; }
.pied-adresse { margin-top: .9rem; font-style: normal; font-size: .85rem; line-height: 1.7; color: var(--encre-2); }
.pied-adresse a { display: inline-block; margin-top: .35rem; color: var(--marque-fonce); text-decoration: underline; text-underline-offset: 3px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.pied-liens { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.pied a { text-decoration: none; color: var(--encre-2); font-weight: 500; }
.pied a:hover { color: var(--marque); }
.pied-bas { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; font-size: .84rem; }
.pied-bas a { text-decoration: none; color: var(--encre-3); }
.pied-bas a:hover { color: var(--encre); }
.pied-bas .langue { margin-right: 3.5rem; }
@media (max-width: 760px) { .pied { flex-direction: column; align-items: flex-start; } .pied-liens { flex-direction: column; gap: .6rem; } }
@media (max-width: 560px) { .pied-bas { flex-direction: column; align-items: flex-start; } }

/* ---- Remonter en haut ---- */
.haut { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--marine-bord); background: var(--marine); color: var(--sur-marine); box-shadow: var(--ombre-2); cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .15s; }
.haut[hidden] { display: none; }
.haut svg { width: 22px; height: 22px; }
.haut:hover { transform: translateY(-2px); background: var(--marque); border-color: var(--marque); }
@media (max-width: 560px) { .haut { right: .9rem; bottom: .9rem; width: 42px; height: 42px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .lien-plus::after, .entete { transition: none; } .btn:hover { transform: none; } }

/* ---- Page Solutions : une solution, son texte, son illustration ---- */
.solution { padding: 4.5rem 0; }
.solution .cadre { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; align-items: center; }
.solution.inverse .cadre > :first-child { order: 2; }
.solution.teinte { background: #EDF3FE; border-top: 1px solid #DCE6FA; border-bottom: 1px solid #DCE6FA; }
.solution.teinte .exemples span { background: var(--surface); }
.solution.teinte .solution-visuel img { box-shadow: var(--ombre-2); }
.solution[id] { scroll-margin-top: 5rem; }
.solution h2 { margin-top: .8rem; }
.solution .sous { margin-top: .9rem; }
.solution .boutons-section { margin-top: 1.4rem; }
.exemples { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.exemples span { font-size: .86rem; font-weight: 500; padding: .32rem .75rem; border-radius: 99px; background: var(--marque-doux); color: var(--marque-fonce); }
.ideal { margin-top: 1.1rem; color: var(--encre-2); }
.ideal b { color: var(--encre); }
.citation { margin-top: 1.2rem; padding: .9rem 1.1rem; border-left: 3px solid var(--marque); background: var(--marque-doux); border-radius: 0 10px 10px 0; font-weight: 600; color: var(--marque-fonce); }
.solution-visuel img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--ombre-3); }
@media (max-width: 900px) {
  .solution { padding: 3rem 0; }
  .solution .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .solution.inverse .cadre > :first-child { order: 0; }
  .solution-visuel img { max-width: 420px; margin: 0 auto; }
}
.technos .raison p { color: var(--encre-2); }
.technos .raison > svg { margin-bottom: .1rem; }
.technos .raison .pile { color: var(--marque-fonce); font-weight: 600; font-size: .9rem; }
.phrase-cle { margin-top: 2.4rem; text-align: center; font-family: var(--titre); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--marque-fonce); text-wrap: balance; }
.appel p + p { margin-top: .6rem; font-weight: 600; opacity: 1; }
.appel .cadre > div { max-width: 62ch; }

/* ---- Page Contact : le formulaire et son bloc rassurant ---- */
.page-tete .delai { display: inline-flex; align-items: center; gap: .5rem; margin-top: .3rem; padding: .55rem .95rem; border-radius: 99px; background: var(--marque-doux); color: var(--marque-fonce); font-weight: 600; font-size: .95rem; align-self: flex-start; }
.page-tete .delai svg { width: 18px; height: 18px; flex: none; }
section.bloc.contact-bloc { padding-top: 2.4rem; }
.contact-bloc .cadre { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 3rem; align-items: start; }
.contact-bloc .formulaire { max-width: none; gap: 1.1rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.8rem 1.7rem; box-shadow: var(--ombre-1); }
.contact-bloc .formulaire h2 { font-size: 1.45rem; }
.contact-bloc .formulaire > .aide { margin-top: -.6rem; }
.champ { display: flex; flex-direction: column; gap: .35rem; }
.champ label { font-weight: 600; font-size: .93rem; display: flex; flex-direction: row; flex-wrap: wrap; gap: .35rem; align-items: baseline; }
.requis { color: var(--erreur); font-weight: 700; }
.rangee-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.formulaire select { font: inherit; font-weight: 400; padding: .7rem 2.4rem .7rem .8rem; border: 1px solid var(--trait-fort); border-radius: var(--rayon-sm); background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right .8rem center / 16px; color: var(--encre); min-height: 46px; appearance: none; -webkit-appearance: none; }
.formulaire input::placeholder, .formulaire textarea::placeholder { color: var(--encre-3); }
.formulaire input:hover, .formulaire textarea:hover, .formulaire select:hover { border-color: var(--encre-3); }
.formulaire input:focus-visible, .formulaire textarea:focus-visible, .formulaire select:focus-visible { outline: 2px solid var(--marque); outline-offset: 0; border-color: var(--marque); border-radius: var(--rayon-sm); }
.formulaire [aria-invalid="true"] { border-color: var(--erreur); }
.aide { color: var(--encre-3); font-size: .85rem; margin: 0; }
.erreur { color: var(--erreur); font-size: .86rem; font-weight: 500; margin: 0; }
.confidentialite { color: var(--encre-3); font-size: .85rem; line-height: 1.5; }
.confidentialite a { color: var(--marque); }
.contact-bloc .btn { justify-self: start; min-width: 220px; }
.rassurant { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.6rem 1.5rem; position: sticky; top: 90px; }
.rassurant h3 { font-size: 1.15rem; }
.rassurant > p { color: var(--encre-2); margin-top: .5rem; font-size: .97rem; }
.rassurant ul { list-style: none; margin: 1.3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.rassurant li { display: flex; gap: .8rem; align-items: flex-start; }
.rassurant li svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--marque-doux); color: var(--marque); }
.rassurant li b { display: block; font-size: .97rem; }
.rassurant li span { color: var(--encre-2); font-size: .9rem; line-height: 1.5; }
.rassurant li a { color: var(--marque); }
@media (max-width: 900px) { .contact-bloc .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } .rassurant { position: static; } .contact-bloc .btn { width: 100%; } }
@media (max-width: 560px) { .rangee-2 { grid-template-columns: minmax(0, 1fr); } .contact-bloc .formulaire { padding: 1.3rem 1.1rem; } }

/* ---- Accueil : le heros sur la banniere du robot, le texte a gauche sur un voile clair ---- */
.fond-accueil { --fond: url("/images/accueil-fond.jpg"); }
.hero.avec-fond { min-height: 500px; display: flex; align-items: center; padding: 1.6rem 0; background: linear-gradient(90deg, rgba(245, 247, 250, .97) 0%, rgba(245, 247, 250, .92) 36%, rgba(245, 247, 250, .4) 56%, rgba(245, 247, 250, 0) 70%), var(--fond) right 100% / cover no-repeat; }
.hero.avec-fond::before { display: none; }
.hero.avec-fond .cadre { display: block; width: 100%; }
.hero.avec-fond .hero-texte { max-width: 56%; }
@media (max-width: 900px) {
  .hero.avec-fond { min-height: 0; padding: 2.4rem 0 2.2rem; background: linear-gradient(90deg, rgba(245, 247, 250, .97) 0%, rgba(245, 247, 250, .9) 55%, rgba(245, 247, 250, .6) 100%), var(--fond) 76% center / cover no-repeat; }
  .hero.avec-fond .hero-texte { max-width: none; }
}

/* La premiere section sous un en-tete de page commence tout de suite, sans grand vide. */
.page-tete + section.bloc, .page-tete + section.solution { padding-top: 2.4rem; }
@media (max-width: 900px) { .page-tete + section.bloc, .page-tete + section.solution { padding-top: 1.8rem; } }

/* ---- Page A propos : un recit centre, quatre valeurs ---- */
.recit { max-width: 66ch; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; text-align: center; align-items: center; }
.recit h2 { margin-bottom: .3rem; }
.recit p { color: var(--encre-2); font-size: 1.05rem; }
.citation.grande { border-left: 0; border-radius: 12px; padding: 1.1rem 1.4rem; font-family: var(--titre); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; text-wrap: balance; }
.valeurs.quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 1000px) { .valeurs.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .valeurs.quatre { grid-template-columns: minmax(0, 1fr); } }

/* Sous un bandeau a image, la section qui suit est blanche : le bandeau bleute se detache. */
.page-tete.avec-fond { border-bottom: 1px solid #D5E1F5; }
.page-tete.avec-fond + section { background: var(--surface); }
.solution:not(.teinte) { background: var(--surface); }

/* ---- Page Pourquoi Codamis : trois piliers, quatre grandes raisons ---- */
.piliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.pilier { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.7rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; border-top: 3px solid var(--marque); }
.pilier h3 { font-size: 1.2rem; }
.pilier p { color: var(--encre-2); }
.pilier .devise { margin-top: auto; padding-top: .6rem; font-family: var(--titre); font-weight: 600; color: var(--marque-fonce); }
@media (max-width: 900px) { .piliers { grid-template-columns: minmax(0, 1fr); } }
.valeurs.grandes .valeur { padding: 1.8rem 1.5rem; text-align: center; align-items: center; }
.valeurs.grandes .valeur > svg { width: 56px; height: 56px; padding: 14px; border-radius: 14px; }
.valeurs.grandes h3 { font-size: 1.15rem; }
.recit .eyebrow { justify-content: center; }

/* Les quatre etapes de l accueil : deux par deux sur tablette, une par une sur telephone. */
@media (max-width: 1000px) { .etapes.quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .etapes.quatre { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.canada.sur-fond { background: var(--fond); }

/* ---- « Une solution qui evolue avec vous » : une carte bleu pale, et une trajectoire qui monte ---- */
.evolue { padding: 3rem 0; background: var(--surface); }
.evolue-carte { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: center; padding: 2rem 2.4rem; border-radius: 20px; background: linear-gradient(120deg, #EDF3FE, #FFFFFF 70%); border: 1px solid #DCE6FA; box-shadow: var(--ombre-1); }
.evolue-texte { display: flex; flex-direction: column; gap: .5rem; }
.evolue h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.evolue p { color: var(--encre-2); max-width: 46ch; }
.trajet { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .evolue-carte { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding: 1.6rem 1.4rem; } .trajet { max-width: 480px; } }section.bloc.teinte.bleu-pale { background: #EDF3FE; border-color: #DCE6FA; }
.bleu-pale .raison { border-top-color: #C9D8F5; }

/* ---- Le bandeau bleu avec le robot : texte et bouton a gauche, robot a droite qui depasse ---- */
.appel.avec-robot .cadre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding-top: 2.2rem; padding-bottom: 2.2rem; }
.appel.avec-robot .cadre > div { max-width: 60ch; }
.appel.avec-robot .btn { margin-top: 1.3rem; }
.appel.avec-robot img { width: 250px; height: 250px; margin: -3.2rem 0 -1.6rem; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); justify-self: end; }
@media (max-width: 760px) {
  .appel.avec-robot .cadre { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .appel.avec-robot img { width: 180px; height: 180px; margin: -2.4rem auto 0; justify-self: center; order: -1; }
}
.bloc .evolue-carte { margin-top: 1.6rem; }
.eyebrow .drapeau { width: 24px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; object-fit: cover; }
/* Accueil : « Ce que nous faisons » et « Notre approche » se suivent de pres. */
section.bloc#solutions { padding-bottom: 3rem; }
section.bloc#approche, section.bloc#approach { padding-top: 3.4rem; }

/* ---- Rythme vertical resserre : moins d air entre les sections, sur toutes les pages ---- */
section.bloc { padding: 3.4rem 0; }
.solution { padding: 3.2rem 0; }
.bloc-tete { margin-bottom: 1.8rem; }
.appel .cadre { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.appel.avec-robot .cadre { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.evolue { padding: 2.4rem 0; }
.page-tete + section.bloc, .page-tete + section.solution { padding-top: 2.2rem; }
section.bloc#solutions { padding-bottom: 2.4rem; }
section.bloc#approche, section.bloc#approach { padding-top: 2.8rem; }
section.bloc.contact-bloc { padding-top: 2.2rem; }
@media (max-width: 900px) { section.bloc { padding: 2.4rem 0; } .solution { padding: 2.4rem 0; } .page-tete + section.bloc, .page-tete + section.solution { padding-top: 1.6rem; } }
.pilier .accroche { font-weight: 600; color: var(--marque-fonce); font-size: 1.02rem; margin-top: -.2rem; }
.recit p b { color: var(--encre); }

/* ---- Visuels des pages Pourquoi Codamis et A propos ---- */
.recit.gauche { text-align: left; align-items: flex-start; margin: 0; }
.recit.gauche .eyebrow { justify-content: flex-start; }
.recit.gauche .citation.grande { text-align: left; }
.carte-visuel { padding: 1.6rem 1.8rem; border-radius: 20px; background: linear-gradient(120deg, #EDF3FE, #FFFFFF 70%); border: 1px solid #DCE6FA; box-shadow: var(--ombre-1); }
.teinte .carte-visuel { background: #FFFFFF; }
.carte-visuel .trajet { width: 100%; height: auto; display: block; }
.drapeau-carte { display: grid; place-items: center; padding: 2.2rem; }
.drapeau-carte img { width: min(100%, 300px); height: auto; border-radius: 8px; box-shadow: var(--ombre-2); }
.duo .citation { margin-top: 1.2rem; }

/* ---- Page Realisations : un projet, son recit, sa vignette ---- */
.projet h3 { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); margin-top: 1.2rem; }
.projet h3 + p { color: var(--encre-2); margin-top: .35rem; }
.projet h3 + p + p { color: var(--encre-2); margin-top: .6rem; }
.projet .accroche { margin-top: .6rem; font-weight: 600; color: var(--marque-fonce); font-size: 1.05rem; }
.projet .exemples { margin-top: .6rem; }
.projet .citation { margin-top: 1.2rem; }
.projet .boutons-section { margin-top: 1.4rem; }
.projet-visuel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; min-height: 260px; padding: 2rem; border-radius: 20px; background: linear-gradient(135deg, #EDF3FE, #FFFFFF 75%); border: 1px solid #DCE6FA; box-shadow: var(--ombre-2); }
.teinte .projet-visuel { background: #FFFFFF; }
.projet-visuel > svg { width: 64px; height: 64px; padding: 16px; border-radius: 18px; background: var(--marque-doux); color: var(--marque); margin-bottom: .4rem; }
.projet-visuel b { font-family: var(--titre); font-size: 1.35rem; letter-spacing: -.02em; color: var(--encre); }
.projet-visuel span { color: var(--encre-3); font-size: .92rem; }
@media (max-width: 900px) { .projet-visuel { min-height: 200px; max-width: 420px; margin: 0 auto; width: 100%; } }

/* Ce que nous faisons : le lien « En savoir plus » au bas de chaque carte,
   sur une meme ligne quel que soit la longueur du texte. */
.raisons.quatre .raison .lien-plus { margin-top: auto; padding-top: .5rem; }

/* ---- Pages legales : sommaire et lecture par sections ---- */
.legal-grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.legal-sommaire { position: sticky; top: 94px; padding: 1.3rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); }
.legal-sommaire > p { font-weight: 700; margin-bottom: .8rem; }
.legal-sommaire nav { display: flex; flex-direction: column; gap: .35rem; }
.legal-sommaire a { padding: .3rem 0; font-size: .87rem; line-height: 1.5; color: var(--encre-2); text-decoration: none; }
.legal-sommaire a:hover { color: var(--marque); text-decoration: underline; }
.legal-page .prose { min-width: 0; }
.legal-page .legal-intro { color: var(--encre); font-size: 1.07rem; }
.legal-page .prose h2 { scroll-margin-top: 100px; line-height: 1.35; }
.legal-page .prose section + section { border-top: 1px solid var(--trait); margin-top: 1.7rem; }
.pied-legal a { display: inline-block; }
@media (max-width: 900px) {
  .legal-grille { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .legal-sommaire { position: static; }
  .legal-sommaire nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1rem; }
}
@media (max-width: 420px) { .legal-sommaire nav { grid-template-columns: minmax(0, 1fr); } }

/* ---- Contact : accompagner la demande sans modifier le formulaire ---- */
.contact-tete .delai { font-size: .88rem; margin-top: .6rem; }
.contact-accompagnement { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-suite { padding: 1.8rem; border-radius: 18px; background: var(--marque-fonce); color: var(--sur-marine); }
.contact-suite .eyebrow { color: var(--sur-marine-2); font-size: .7rem; }
.contact-suite .eyebrow::before { background: var(--sur-marine-2); }
.contact-suite h2 { font-size: 1.5rem; line-height: 1.25; margin-top: .8rem; }
.contact-suite ol { list-style: none; padding: 0; margin: 1.8rem 0; counter-reset: contact-etape; }
.contact-suite li { display: flex; gap: .9rem; counter-increment: contact-etape; }
.contact-suite li + li { margin-top: 1.4rem; }
.contact-suite li::before { content: counter(contact-etape); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--marine-fil); border-radius: 50%; color: var(--sur-marine); font-size: .8rem; font-weight: 600; }
.contact-suite h3 { font-size: .96rem; line-height: 1.4; }
.contact-suite li p { font-size: .88rem; margin-top: .3rem; color: var(--sur-marine); opacity: .9; }
.contact-note { border-top: 1px solid var(--marine-fil); padding-top: 1rem; font-size: .86rem; }
.contact-disponibilite { margin: 1rem 0 1.4rem; font-size: .96rem; }
.avis-disponibilite { background: var(--marque-doux); color: var(--marque-fonce); border-bottom: 1px solid var(--trait); }
.avis-disponibilite .cadre { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; padding-block: .85rem; font-size: .85rem; }
.avis-disponibilite strong { font-weight: 600; }
.avis-disponibilite a { flex: none; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 760px) { .avis-disponibilite .cadre { flex-direction: column; align-items: flex-start; } }
.contact-conseil { padding: .3rem .4rem; }
.contact-conseil h3 { font-size: 1.06rem; }
.contact-conseil p { color: var(--encre-2); font-size: .95rem; margin-top: .6rem; }
.contact-conseil a { display: inline-block; margin-top: 1rem; font-size: .83rem; color: var(--marque-fonce); text-underline-offset: 3px; }
.contact-bureau { background: var(--surface); border-top: 1px solid var(--trait); }
.contact-bureau .sous { font-size: 1rem; }
@media (max-width: 560px) { .contact-suite { padding: 1.5rem; } }

/* ---- A propos : un recit humain, des engagements et des projets concrets ---- */
.apropos-tete .lien-plus { margin-top: .5rem; font-size: .94rem; }
.apropos-partage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.apropos-recit { display: flex; flex-direction: column; gap: 1rem; }
.apropos-recit p { color: var(--encre-2); max-width: 60ch; }
.apropos-conviction { padding: 2.4rem; border-radius: 20px; background: var(--marque-fonce); color: var(--sur-marine); box-shadow: var(--ombre-2); }
.apropos-repere { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.apropos-conviction > .apropos-repere { color: var(--sur-marine-2); }
.apropos-conviction h2 { margin: 1.1rem 0; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; }
.apropos-conviction > p { font-size: .97rem; }
.apropos-signature { display: flex; gap: .8rem; align-items: center; margin-top: 1.7rem; padding-top: 1.3rem; border-top: 1px solid var(--marine-fil); font-size: .85rem; }
.apropos-signature img { flex: none; object-fit: contain; background: var(--surface); border-radius: 12px; padding: 7px; }
.apropos-engagements { border-block: 1px solid var(--trait); }
.apropos-engagements .apropos-partage { align-items: start; }
.apropos-principes article { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--trait-fort); }
.apropos-principes article:first-child { padding-top: 0; border-top: 0; }
.apropos-principes article:last-child { padding-bottom: 0; }
.apropos-principes article > span { color: var(--marque); font-weight: 700; font-size: .85rem; padding-top: .1rem; }
.apropos-principes p { margin-top: .5rem; color: var(--encre-2); font-size: .95rem; }
.apropos-preuves { background: var(--surface); }
.apropos-section-tete { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.apropos-section-tete > .lien-plus { flex: none; font-size: .92rem; }
.apropos-projets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.apropos-projets > a { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem; border: 1px solid var(--trait); border-radius: var(--rayon); text-decoration: none; background: var(--fond); }
.apropos-projets > a:hover { border-color: var(--marque); }
.apropos-projets .apropos-repere { color: var(--marque-fonce); }
.apropos-projets h3 { font-size: 1.2rem; }
.apropos-projets p { color: var(--encre-2); font-size: .94rem; }
.apropos-projet-lien { display: flex; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .8rem; color: var(--marque-fonce); font-size: .86rem; font-weight: 600; }
.apropos-ici { border-top: 1px solid var(--trait); }
.apropos-ici .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 3rem; align-items: center; }
.apropos-origine { display: flex; gap: 1.2rem; align-items: center; font-size: 1.15rem; }
.apropos-origine img { width: 48px; height: 24px; flex: none; }
.apropos-appel .cadre { flex-wrap: nowrap; gap: 2rem; }
.apropos-appel .btn { flex: none; }
.apropos-appel h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
@media (max-width: 900px) {
  .apropos-partage { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .apropos-section-tete { align-items: start; flex-direction: column; }
  .apropos-section-tete > .lien-plus { margin-top: 0; }
  .apropos-projets { grid-template-columns: minmax(0, 1fr); }
  .apropos-ici .cadre { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .apropos-appel .cadre { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  .apropos-conviction { padding: 1.6rem; }
  .apropos-projets > a { padding: 1.3rem; }
}

/* ---- Contact : le bureau, l adresse a gauche, la carte a droite. Avant le clic,
   un plan stylise tient la place de la carte Google, qui ne recoit rien. ---- */
.bureau .cadre { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 3.5rem; align-items: center; }
.bureau-texte { display: flex; flex-direction: column; gap: .8rem; }
.bureau .adresse { color: var(--encre-2); font-size: 1.05rem; line-height: 1.7; }
.bureau .adresse strong { color: var(--encre); }
.bureau .lien-plus { margin-top: .2rem; }
.carte { position: relative; min-height: 320px; border-radius: 16px; overflow: hidden; border: 1px solid #DCE6FA; box-shadow: var(--ombre-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.6rem; text-align: center;
  background-color: #E9F0FB;
  background-image:
    linear-gradient(118deg, transparent 47%, #FFFFFF 47%, #FFFFFF 50.5%, transparent 50.5%),
    linear-gradient(28deg, transparent 60%, rgba(255, 255, 255, .9) 60%, rgba(255, 255, 255, .9) 62.5%, transparent 62.5%),
    linear-gradient(rgba(255, 255, 255, .65) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, .65) 2px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px; }
.carte .epingle { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: #FFFFFF; color: var(--marque); box-shadow: var(--ombre-2); }
.carte .note { margin: 0; max-width: 44ch; padding: .4rem .75rem; border-radius: 8px; background: rgba(255, 255, 255, .88); color: var(--encre-2); font-size: .82rem; }
.carte.chargee { padding: 0; }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .bureau .cadre { grid-template-columns: minmax(0, 1fr); } .carte { min-height: 280px; } }
