/* Iroise Studio : feuille de style commune
   Direction « Iroise la nuit, granit le jour » (2026-11-15) :
   encre #0B1B2B, granit #F5F3EF, bleu #2F5BEA pour l'action seulement, police Geist (OFL), coins 8 px. */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light only;
  --noir: #0B1B2B;          /* encre : texte, fonds sombres */
  --noir-2: #12263A;
  --bleu: #2F5BEA;          /* action seulement */
  --bleu-actif: #2449C4;
  --bleu-clair: #9DB4F5;    /* anneau de focus */
  --blanc: #FFFFFF;
  --gris: #F5F3EF;          /* granit clair : sections alternées */
  --trait-sombre: #22374D;
  --texte-sombre: #B9C5D3;
  --texte-gris: #4F5A66;
  --trait: #E4E0D9;
  --bord-bouton-sombre: #4A6078;
  --r: 8px;
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
}
::selection { background: var(--bleu); color: var(--blanc); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--noir); font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.55; padding-bottom: 76px; -webkit-font-smoothing: antialiased; }
a { color: var(--bleu); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--bleu-clair); outline-offset: 3px; border-radius: 4px; }
table, .prix { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.etroit { max-width: 760px; }
.afournir { outline: 2px dashed var(--bleu); outline-offset: 2px; background: var(--blanc); color: var(--noir); padding: 0 4px; }
.sombre .afournir { background: var(--noir); color: var(--blanc); outline-color: var(--bleu-clair); }
.saut { position: absolute; left: -999px; top: 0; background: var(--blanc); color: var(--noir); padding: 12px; z-index: 99; }
.saut:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.2; padding: 16px 24px; border: 1px solid var(--bleu); background: var(--bleu); color: var(--blanc); border-radius: var(--r); transition: background-color 0.15s, border-color 0.15s, transform 0.1s; }
.btn:hover { background: var(--bleu-actif); border-color: var(--bleu-actif); }
.btn:active { transform: scale(0.98); }
.btn .num { display: block; font-weight: 400; font-size: 16px; margin-top: 4px; }
.btn-ligne { background: rgba(255, 255, 255, 0.06); color: var(--blanc); border-color: var(--bord-bouton-sombre); }
.btn-ligne:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--blanc); }
.btn-ligne-clair { background: var(--blanc); color: var(--noir); border-color: #CFC9BF; }
.btn-ligne-clair:hover { background: var(--gris); border-color: var(--noir); }
.btn-blanc { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn-blanc:hover { background: var(--gris); border-color: var(--gris); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }

/* En-tête */
.entete { position: relative; background: var(--noir); color: var(--blanc); border-bottom: 1px solid var(--trait-sombre); z-index: 30; }
.entete .wrap { display: flex; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: block; line-height: 0; margin-right: auto; }
.logo svg { width: 124px; height: auto; }
.logo svg text { font-family: "Geist", "Helvetica Neue", Arial, sans-serif; }
.btn-entete { padding: 12px 16px; font-size: 16px; white-space: nowrap; }
.liens { display: none; gap: 24px; }
.liens a { color: var(--texte-sombre); text-decoration: none; font-size: 16px; }
.liens a:hover, .liens a[aria-current="page"] { color: var(--blanc); }
.liens a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bleu); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu { order: 3; }
.menu summary { list-style: none; cursor: pointer; color: var(--blanc); font-size: 16px; min-height: 44px; display: flex; align-items: center; padding: 0 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { text-decoration: underline; }
.menu ul { list-style: none; margin: 0; padding: 8px 20px 16px 20px; position: absolute; left: 0; right: 0; top: 100%; background: var(--noir); border-bottom: 1px solid var(--trait-sombre); }
.menu li a { display: block; padding: 12px 0; color: var(--blanc); text-decoration: none; border-top: 1px solid var(--trait-sombre); }
.menu li a[aria-current="page"] { text-decoration: underline; }

/* Haut de page */
.hero { position: relative; background: var(--noir); color: var(--blanc); padding-top: 48px; padding-bottom: 64px; overflow: hidden; }
h1 { font-size: clamp(2.6rem, 1.3rem + 5.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 24px 0; color: var(--blanc); max-width: 13ch; }
.hero-page h1 { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.2rem); max-width: 16ch; }
h1 .l { display: block; }
.hero .intro { font-size: 20px; color: var(--texte-sombre); margin: 0 0 32px 0; max-width: 40ch; }
.hero-page .intro { margin-bottom: 0; }
.rassure { margin: 16px 0 0 0; font-size: 16px; }
.hero .rassure { color: var(--texte-sombre); }
/* Photo du mur : voile d'encre uni (pas de dégradé), texte posé dessus */
.hero-photo { padding-top: 72px; padding-bottom: 88px; }
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: 0; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(11, 27, 43, 0.72); z-index: 1; }
.hero-photo .wrap, .hero-photo .credit { position: relative; z-index: 2; }
.hero-photo .intro, .hero-photo .rassure { color: #DCE3EB; }
.hero-photo .credit { position: absolute; right: 12px; bottom: 8px; margin: 0; font-size: 12px; color: #C9D2DC; }
.js h1 .l { opacity: 0; transform: translateY(0.22em); animation: monte 0.6s var(--sortie) forwards; }
.js h1 .l + .l { animation-delay: 0.12s; }
@keyframes monte { to { opacity: 1; transform: none; } }

/* Sections */
section { padding-top: 72px; padding-bottom: 72px; background: var(--blanc); color: var(--noir); }
section.fond-gris { background: var(--gris); }
section.sombre { background: var(--noir); color: var(--blanc); }
section.sombre h2 { color: var(--blanc); }
section.sombre p { color: var(--texte-sombre); }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; margin: 0 0 24px 0; color: var(--noir); max-width: 18ch; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 4px 0; color: var(--noir); }
p { max-width: 62ch; }
.chapo { font-size: 19px; color: var(--texte-gris); margin: 0 0 32px 0; }
.deux { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

/* Fausse recherche Google */
.serp { background: var(--blanc); color: var(--noir); padding: 16px 16px 8px 16px; border: 1px solid var(--trait-sombre); border-radius: 12px; }
.serp .barre-rech { border: 1px solid #C9CFD6; border-radius: 24px; padding: 12px 20px; font-size: 18px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; }
.serp .barre-rech span:last-child { color: var(--texte-gris); font-size: 15px; align-self: center; }
.serp ol { list-style: none; margin: 0; padding: 0; }
.serp li { padding: 16px 0; border-top: 1px solid #ECEEF0; }
.serp .type { display: block; font-size: 14px; color: var(--texte-gris); }
.serp .titre { display: block; font-size: 19px; font-weight: 600; color: #1A4FD6; }
.serp .ligne { display: block; font-size: 15px; color: var(--texte-gris); }
.serp li.vous .titre, .serp li.absent .titre { color: var(--noir); }
.serp li.absent { border: 2px dashed var(--bleu); border-radius: var(--r); padding: 16px 12px; margin: 8px 0; }
.legende { font-size: 14px; margin: 12px 0 0 0; color: var(--texte-sombre); }

/* Prestations : des lignes, pas des cartes */
.presta { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--trait); }
.presta li { border-top: 1px solid var(--trait); }
.presta a { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 24px 0; text-decoration: none; color: var(--noir); transition: transform 0.25s var(--sortie); }
.presta a:hover h3 { color: var(--bleu); }
.presta p { margin: 0; color: var(--texte-gris); }
.presta .voir { color: var(--bleu); font-size: 16px; font-weight: 500; }

/* Démo dans un téléphone */
.telephone { justify-self: center; width: 290px; max-width: 100%; background: var(--noir); padding: 12px; margin: 0; border-radius: 36px; box-shadow: 0 24px 48px -16px rgba(11, 27, 43, 0.35); }
.telephone .ecran { position: relative; width: 100%; aspect-ratio: 9 / 18; overflow: hidden; background: var(--blanc); border-radius: 26px; }
.telephone iframe { position: absolute; top: 0; left: 0; width: 375px; height: 750px; border: 0; transform-origin: 0 0; }
.telephone figcaption { margin: 12px 12px 4px 12px; font-size: 14px; color: var(--texte-sombre); text-align: center; }

/* Listes à coches */
.liste { list-style: none; margin: 0 0 28px 0; padding: 0; }
.liste li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--trait); }
.liste li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); transform: rotate(-45deg); }
.liste.neutre li::before { border-color: var(--texte-gris); }

/* Prix */
.offre { display: grid; grid-template-columns: 1fr; gap: 32px; }
.carte { border: 1px solid var(--noir); border-radius: 12px; padding: 28px 24px; background: var(--blanc); }
.carte-calme { border-color: var(--trait); }
.nom-formule { font-size: 24px; letter-spacing: -0.01em; margin: 0 0 12px 0; max-width: none; }
.prix { font-size: 72px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 0; color: var(--noir); }
.prix-sous { margin: 8px 0 24px 0; color: var(--texte-gris); font-size: 17px; }
.carte .btn { width: 100%; text-align: center; }
.carte .rassure { color: var(--texte-gris); text-align: center; }
.garanties { margin: 0; padding: 0; list-style: none; }
.garanties li { padding: 16px 0; border-top: 1px solid var(--trait); font-size: 19px; }
.garanties li strong { display: block; font-weight: 600; }
.garanties li span { color: var(--texte-gris); font-size: 17px; }
.encart { border-top: 1px solid var(--noir); padding-top: 16px; margin-top: 8px; }

/* Comparatif : cartes empilées sur téléphone, tableau sur ordinateur */
.table-defile { border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; background: var(--blanc); }
table { border-collapse: collapse; width: 100%; font-size: 17px; }
th, td { text-align: left; padding: 16px 16px; border-bottom: 1px solid var(--trait); vertical-align: top; }
thead th { background: var(--noir); color: var(--blanc); font-size: 16px; font-weight: 500; }
thead th.nous { background: var(--bleu); }
tbody th { font-weight: 600; color: var(--noir); }
td.nous { font-weight: 600; background: var(--gris); }
@media (max-width: 859px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { border-top: 1px solid var(--noir); padding: 4px 0; }
  tbody tr:first-child { border-top: 0; }
  tbody th { padding: 12px 16px 4px 16px; border: 0; }
  tbody td { border: 0; padding: 4px 16px; }
  tbody td::before { content: attr(data-col); display: block; font-size: 14px; font-weight: 400; color: var(--texte-gris); }
  tbody td:last-child { padding-bottom: 16px; }
}
.sources { font-size: 14px; color: var(--texte-gris); margin: 16px 0 0 0; max-width: none; }

/* Étapes */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: e; display: grid; grid-template-columns: 1fr; }
.etapes li { counter-increment: e; padding: 24px 0 24px 64px; position: relative; border-top: 1px solid var(--trait); }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--noir); color: var(--blanc); font-weight: 500; font-size: 18px; border-radius: var(--r); }
.etapes h3 { margin: 0; line-height: 1.3; min-height: 44px; display: flex; align-items: center; }

/* Ce que vous pouvez vérifier */
.verif { display: grid; grid-template-columns: 1fr; }
.verif div { padding: 20px 0; border-top: 1px solid var(--noir); }
.verif p { margin: 0; color: var(--texte-gris); }

.moi { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.photo-moi { width: 180px; height: 220px; object-fit: cover; border-radius: 12px; display: block; }
.gros-tel { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--noir); text-decoration: none; display: inline-block; margin: 0 0 8px 0; padding: 4px 0; }
.gros-tel:hover { color: var(--bleu); }

/* Questions */
.qr details { border-top: 1px solid var(--trait); padding: 16px 0; }
.qr details:last-child { border-bottom: 1px solid var(--trait); }
.qr summary { font-weight: 600; cursor: pointer; font-size: 20px; min-height: 44px; padding: 8px 0; }
.qr details p { margin: 12px 0 0 0; color: var(--texte-gris); }

/* Appel final */
.final { background: var(--bleu); color: var(--blanc); padding-top: 72px; padding-bottom: 72px; }
.final h2 { color: var(--blanc); }
.final p { color: var(--blanc); font-size: 19px; margin: 0 0 28px 0; }

/* Pied de page « grand texte » */
.pied { background: var(--noir); color: var(--blanc); padding-top: 56px; padding-bottom: 36px; font-size: 15px; }
.pied .grand { font-size: clamp(3.4rem, 1rem + 13vw, 11rem); line-height: 0.88; letter-spacing: -0.04em; font-weight: 500; margin: 0 0 36px 0; color: var(--blanc); }
.pied .plan { list-style: none; margin: 0 0 24px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied .plan a { color: var(--blanc); text-decoration: none; font-size: 16px; display: inline-flex; align-items: center; min-height: 44px; }
.pied .plan a:hover { text-decoration: underline; }
.pied .infos { border-top: 1px solid var(--trait-sombre); padding-top: 20px; color: var(--texte-sombre); }
.pied p { margin: 0 0 8px 0; }
.pied .infos a { color: var(--blanc); }

/* Barre d'appel mobile */
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--noir); padding: 8px 12px; border-top: 1px solid var(--trait-sombre); transition: transform 0.25s var(--sortie); }
.barre.cachee { transform: translateY(110%); }
.barre a { display: block; text-align: center; padding: 16px 12px; font-size: 18px; }

/* Défilement : chaque bloc monte doucement une fois ; recherche Google et étapes ligne par ligne */
.monte { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--sortie), transform 0.7s var(--sortie); transition-delay: calc(var(--i, 0) * 70ms); }
.monte.vu { opacity: 1; transform: none; }
.anim .pas { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--sortie), transform 0.6s var(--sortie); transition-delay: calc(var(--i, 0) * 90ms); }
.anim.vu .pas { opacity: 1; transform: none; }

/* Ouverture de l'accueil : les trois pierres du logo s'arrachent */
.ouverture { position: fixed; inset: 0; z-index: 200; background: var(--noir); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.45s ease 0.55s, visibility 0s linear 1s; }
.ouverture .pierres { position: relative; width: 132px; height: 132px; }
.ouverture .pierres svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1); }
.ouverture.tremble .pierres { animation: tremble 0.32s linear; }
@keyframes tremble { 0%, 100% { transform: none; } 20% { transform: translate(-2px, 1px) rotate(-1deg); } 40% { transform: translate(2px, -1px) rotate(1deg); } 60% { transform: translate(-1px, -2px); } 80% { transform: translate(1px, 2px) rotate(-0.5deg); } }
.ouverture.part { opacity: 0; visibility: hidden; }
.ouverture.part .p1 { transform: translate(-6vw, -70vh) rotate(-18deg); }
.ouverture.part .p2 { transform: translate(-60vw, 60vh) rotate(-30deg); }
.ouverture.part .p3 { transform: translate(60vw, 60vh) rotate(26deg); }

/* Rond autour du curseur, ordinateur seulement */
.curseur { display: none; }
@media (hover: hover) and (pointer: fine) {
  .curseur { display: block; position: fixed; left: 0; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border: 1.5px solid var(--blanc); border-radius: 50%; pointer-events: none; z-index: 100; mix-blend-mode: difference; opacity: 0; transition: opacity 0.2s; will-change: transform; }
  .curseur.actif { opacity: 1; }
  .presta a:hover { transform: translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .js h1 .l, .monte, .anim .pas { opacity: 1; transform: none; animation: none; transition: none; }
  .barre, .presta a { transition: none; }
  .ouverture { display: none; }
}

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .barre, .menu { display: none; }
  .entete { position: sticky; top: 0; }
  .liens { display: flex; margin-right: 8px; }
  .hero { padding-top: 88px; padding-bottom: 104px; }
  .hero-photo { padding-top: 128px; padding-bottom: 144px; }
  section, .final { padding-top: 112px; padding-bottom: 112px; }
  .deux { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .deux.demo { grid-template-columns: 1.2fr 1fr; }
  .presta a { grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: baseline; }
  .offre { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
  .carte { padding: 40px; }
  .etapes { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .verif { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .moi { grid-template-columns: 200px 1fr; }
  tbody th { width: 22%; }
}

/* ===== Typographie des titres : Bricolage Grotesque (OFL), grasse et serrée, comme les grandes startups ===== */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root { --titre: "Bricolage Grotesque", "Geist", "Helvetica Neue", Arial, sans-serif; }
h1, h2, .prix, .pied .grand, .gros-tel, .nom-formule { font-family: var(--titre); }
h1 { font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; }
h2 { font-weight: 700; letter-spacing: -0.035em; }
.prix { font-weight: 700; }
.pied .grand { font-weight: 800; }
.gros-tel, .nom-formule { font-weight: 700; }
h3 { font-weight: 600; }

/* ===== Boutons d'appel : icône, verbe à la 1re personne, numéro dessous ===== */
.ico { width: 22px; height: 22px; flex: none; }
.btn-cta { display: inline-flex; align-items: center; gap: 12px; text-align: left; padding: 14px 24px 14px 20px; font-size: 19px; }
.btn-cta .lib { display: block; }
.btn-cta .num { margin-top: 2px; font-size: 15px; font-weight: 400; }
.btn-ligne-blanc { background: transparent; color: var(--blanc); border-color: rgba(255, 255, 255, 0.6); }
.btn-ligne-blanc:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--blanc); }
.carte .btn-cta { justify-content: center; }
.btn-entete { display: inline-flex; align-items: center; gap: 8px; }
.btn-entete .ico { width: 18px; height: 18px; }
.num-entete { display: none; font-weight: 400; opacity: 0.85; }
.coches { list-style: none; margin: 20px 0 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: #DCE3EB; }
.coches li { position: relative; padding-left: 22px; }
.coches li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 5px; border-left: 2px solid #8FA8F5; border-bottom: 2px solid #8FA8F5; transform: rotate(-45deg); }
.barre { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; }
.barre a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; }
.barre .ico { width: 20px; height: 20px; }
@media (min-width: 860px) {
  .barre { display: none; }
  .num-entete { display: inline; }
  .num-entete::before { content: "· "; }
}
/* En-tête étroit (téléphone) : on gagne de la place pour garder « Menu » visible */
@media (max-width: 420px) {
  .entete .wrap { gap: 10px; padding-left: 16px; padding-right: 12px; }
  .logo svg { width: 108px; }
  .btn-entete { padding: 10px 12px; font-size: 15px; gap: 6px; }
  .btn-entete .ico { width: 16px; height: 16px; }
}
@media (max-width: 350px) {
  .logo svg { width: 92px; }
  .btn-entete .ico { display: none; }
}
/* Menu d'ordinateur : jamais sur deux lignes ; le numéro dans l'en-tête seulement sur grand écran */
.liens a { white-space: nowrap; }
@media (min-width: 860px) and (max-width: 1099px) {
  .num-entete { display: none; }
  .liens { gap: 18px; }
}

/* Bandeau chiffré (sources officielles seulement) */
.chiffres { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.chiffre { border-top: 1px solid var(--noir); padding-top: 16px; }
.chiffre .gros { font-family: var(--titre); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 8px 0; color: var(--noir); }
.chiffre p, .chiffre-texte p { margin: 0; color: var(--texte-gris); }
.chiffre-texte p:first-child { font-size: 20px; color: var(--noir); font-weight: 500; margin-bottom: 12px; }
@media (min-width: 860px) { .chiffres { grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; } }
.liste.recherches li { padding-left: 4px; }
.liste.recherches li::before { content: none; }
