/* MA'COM · site une page, trois pôles (19 novembre 2026) */

@font-face {
  font-family: "Rubik";
  src: url("/fonts/rubik-latin-var.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/videos-verticales/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --rouge: #FF0000;
  --rouge-encre: #DA0000;
  --rouge-profond: #870000;
  --encre: #121010;
  --encre-douce: #5E5757;
  --fond-doux: #F6F4F4;
  --trait: #EBE6E6;
  --gris: #BDB5B5;
  --gris-clair: #E4DEDE;
  --titre: "Rubik", "Arial Black", sans-serif;
  --texte: "Montserrat", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #FFFFFF; color: var(--encre); font-family: var(--texte); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--rouge-encre); }
a:hover { color: var(--rouge-profond); }
:focus-visible { outline: 3px solid var(--rouge-encre); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }
.nowrap { white-space: nowrap; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* Typographie */
.etiquette { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: var(--encre-douce); }
.etiquette--rouge { color: var(--rouge-encre); }
.etiquette--clair { color: var(--gris); }
.titre { margin-top: 16px; font-family: var(--titre); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.01em; }
.delie { font-weight: 300; }
.plein { font-weight: 900; }
.rouge { color: var(--rouge); }
.ligne { display: block; }
.chapo { margin-top: 20px; max-width: 620px; font-size: 19px; line-height: 1.6; }
.note { font-size: 13px; line-height: 1.5; color: var(--encre-douce); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--rouge-encre); color: #FFFFFF; font-family: var(--texte); font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--rouge-profond); color: #FFFFFF; }
.btn--petit { min-height: 48px; padding: 0 24px; font-size: 15px; }
.btn--contour { background: #FFFFFF; color: var(--encre); border: 1.5px solid var(--encre); }
.btn--contour:hover { background: var(--fond-doux); color: var(--encre); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.lien-fort { display: inline-flex; align-items: center; min-height: 44px; color: var(--encre); font-weight: 700; text-underline-offset: 5px; }
.lien-fort:hover { color: var(--rouge-encre); }

/* En-tête */
.entete { border-bottom: 1px solid var(--trait); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.nav__logo img { width: 136px; height: auto; }
.nav__liens { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav__liens a { color: var(--encre); text-decoration: none; }
.nav__liens a:hover { color: var(--rouge-encre); }
.nav__actions { display: flex; align-items: center; gap: 12px 20px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--encre); font-size: 15px; font-weight: 700; text-decoration: none; }

/* Sections */
.section { padding: 104px 0; }
.section--noire { background: var(--encre); color: #FFFFFF; }
.section--douce { background: var(--fond-doux); }
.section--rouge { background: var(--rouge); color: #FFFFFF; }
.section--filet { border-top: 1px solid var(--trait); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero__grille { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero__texte { flex: 1 1 520px; min-width: 0; }
.hero h1 { margin-top: 20px; font-family: var(--titre); font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
.hero__chapo { margin-top: 28px; max-width: 560px; font-size: 19px; line-height: 1.6; }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.rassurance { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; line-height: 1.5; color: var(--encre-douce); }
.rassurance li { display: flex; align-items: center; gap: 8px; }
.hero__visuel { position: relative; flex: 0 1 420px; min-width: 280px; padding: 0 0 40px 40px; }
.hero__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: linear-gradient(180deg, var(--rouge-profond), var(--rouge)); }
.hero__video { position: absolute; left: 0; bottom: 0; width: 150px; aspect-ratio: 9 / 16; overflow: hidden; border: 4px solid #FFFFFF; border-radius: 10px; background: var(--encre); }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__legende { position: absolute; right: 0; bottom: 0; max-width: 220px; text-align: right; font-size: 13px; line-height: 1.5; color: var(--encre-douce); }
.hero__legende strong { color: var(--encre); }

/* Chiffres */
.chiffres { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 40px 0; }
.grille-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.chiffre { font-family: var(--titre); font-size: 44px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.chiffre__legende { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.chiffres .note { margin-top: 24px; }

/* Situations */
.situations { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; }
.situation { display: flex; flex-direction: column; gap: 16px; }
.situation__citation { font-family: var(--titre); font-size: 28px; font-weight: 300; line-height: 1.2; }
.lien-pole { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.pour-qui { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--trait); font-size: 15px; color: var(--encre-douce); }
.pour-qui strong { color: var(--encre); }

/* Vidéos */
.entete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.entete-section > div { flex: 1 1 480px; min-width: 0; }
.entete-section > p { flex: 1 1 360px; max-width: 460px; }
.texte-clair { color: var(--gris-clair); }
.videos { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 16px; }
.video-tuile__cadre { position: relative; }
.video-tuile__lire { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--rouge); cursor: pointer; }
.video-tuile__lire:hover { background: var(--rouge-encre); }
.video-tuile__lire svg { margin-left: 3px; }
.video-tuile__lire[hidden] { display: none; }
.video-tuile video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: #2B2626; }
.video-tuile figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.video-tuile__titre { font-family: var(--titre); font-size: 16px; font-weight: 700; line-height: 1.25; color: #FFFFFF; }
.video-tuile__source { font-size: 12px; line-height: 1.4; color: var(--gris); }
.videos-pied { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Offres */
.offres { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px 48px; }
.offre { display: flex; flex-direction: column; padding-top: 28px; border-top: 3px solid var(--encre); }
.offre__num { font-family: var(--titre); font-size: 32px; font-weight: 900; line-height: 1; color: var(--rouge); }
.offre .etiquette { margin-top: 20px; }
.offre h3 { margin-top: 8px; font-family: var(--titre); font-size: 24px; font-weight: 700; line-height: 1.2; }
.offre__texte { margin-top: 14px; }
.offre__pour { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--encre-douce); }
.offre__pour strong { color: var(--encre); }
.coches { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.coches li { display: flex; gap: 12px; }
.coches svg { flex: 0 0 auto; margin-top: 1px; }
.prix { margin-top: auto; padding-top: 28px; }
.prix__boite { padding: 22px 24px; border-radius: 8px; background: var(--fond-doux); }
.prix__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.prix__ligne + .prix__ligne { margin-top: 10px; }
.prix__montant { font-family: var(--titre); font-size: 24px; font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prix__boite .note { margin-top: 14px; }

.formule { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 64px; padding: clamp(28px, 4vw, 56px); border-radius: 12px; background: var(--encre); color: #FFFFFF; }
.formule__texte { flex: 1 1 460px; min-width: 0; }
.formule h3 { margin-top: 14px; font-family: var(--titre); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.formule .coches { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 32px; }
.formule__prix { flex: 0 1 320px; min-width: min(260px, 100%); display: flex; flex-direction: column; gap: 10px; }
.formule__avant { font-size: 14px; color: var(--gris); }
.formule__montant { font-family: var(--titre); font-size: 64px; font-weight: 900; line-height: 1; color: var(--rouge); font-variant-numeric: tabular-nums; }
.formule__conditions { font-size: 15px; }
.formule .btn { margin-top: 16px; }
.formule__note { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--gris); }

/* Clients */
.clients { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px 48px; }
.client { display: flex; flex-direction: column; }
.client img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--fond-doux); }
.client .etiquette { margin-top: 24px; }
.client h3 { margin-top: 10px; font-family: var(--titre); font-size: 28px; font-weight: 700; line-height: 1.15; }
.client__secteur { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--encre-douce); }
.client dl { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.client dl > div { padding-top: 14px; border-top: 1px solid var(--trait); }
.client dd { margin-top: 6px; }
.client dd.fort { font-family: var(--titre); font-size: 19px; font-weight: 700; line-height: 1.45; }

.postes { margin-top: 88px; }
.postes > h3 { font-family: var(--titre); font-size: 24px; font-weight: 700; line-height: 1.2; }
.poste { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 40px; padding: 28px 0; border-top: 1px solid var(--trait); }
.poste:first-of-type { margin-top: 24px; }
.poste__nom { flex: 1 1 260px; min-width: 0; }
.poste__nom p:first-child { font-family: var(--titre); font-size: 22px; font-weight: 700; line-height: 1.2; }
.poste__texte { flex: 2 1 380px; min-width: 0; }
.poste__texte p { max-width: 60ch; }
.poste__texte .etiquette { margin-top: 12px; }
.poste__chiffre { flex: 0 1 220px; min-width: 160px; }
.poste__chiffre .chiffre { font-size: 36px; }
.poste__chiffre .note { margin-top: 8px; }

.signature-marius { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-top: 40px; border-top: 1px solid var(--trait); }
.signature-marius__phrase { flex: 1 1 480px; font-family: var(--titre); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; }
.signature-marius__bio { flex: 1 1 320px; font-size: 15px; color: var(--encre-douce); }

/* Méthode */
.etapes { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px 32px; }
.etapes li { padding-top: 24px; border-top: 3px solid var(--encre); }
.etape__n { font-family: var(--titre); font-size: 44px; font-weight: 900; line-height: 1; }
.etapes h3 { margin-top: 16px; font-family: var(--titre); font-size: 22px; font-weight: 700; line-height: 1.2; }
.etapes p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.garanties { margin-top: 64px; padding-top: 32px; border-top: 1px solid #DCD5D5; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px 32px; }
.garanties li { display: flex; align-items: flex-start; gap: 14px; }
.garanties svg { flex: 0 0 auto; margin-top: 2px; }
.garanties strong { display: block; font-size: 15px; line-height: 1.4; }
.garanties span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--encre-douce); }

/* Questions */
.faq { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.faq__intro { flex: 1 1 300px; min-width: 0; }
.faq__intro p { margin-top: 20px; }
.faq__liste { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 16px 0; font-family: var(--titre); font-size: 19px; font-weight: 700; line-height: 1.3; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.contact__texte { flex: 1 1 440px; min-width: 0; }
.contact h2 { font-family: var(--titre); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.02em; }
.contact__promesse { margin-top: 28px; max-width: 480px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.contact__tel { display: inline-block; margin-top: 24px; font-family: var(--titre); font-size: 36px; font-weight: 900; color: #FFFFFF; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__tel:hover, .contact__mail:hover { color: #FFFFFF; text-decoration: underline; }
.contact__mail { display: inline-block; margin-top: 12px; font-size: 19px; font-weight: 700; color: #FFFFFF; }
.section--rouge :focus-visible { outline-color: #FFFFFF; }

.formulaire { position: relative; flex: 1 1 400px; min-width: 0; max-width: 480px; display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: 12px; background: #FFFFFF; color: var(--encre); }
.formulaire :focus-visible { outline-color: var(--rouge-encre); }
.formulaire__titre { font-family: var(--titre); font-size: 24px; font-weight: 700; line-height: 1.2; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-size: 14px; font-weight: 600; }
.champ input, .champ select { height: 52px; padding: 0 16px; border: 1.5px solid var(--encre-douce); border-radius: 8px; background: #FFFFFF; color: var(--encre); font-family: var(--texte); font-size: 16px; }
.champ select { padding: 0 12px; }
.champ input:focus, .champ select:focus { outline: 3px solid var(--rouge-encre); outline-offset: 1px; }
.formulaire__etat { font-size: 15px; font-weight: 700; line-height: 1.5; }
.formulaire__etat:empty { display: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pied de page */
.pied { padding: 56px 0; background: var(--encre); color: #FFFFFF; }
.pied .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.pied img { width: 136px; height: auto; }
.pied .note { margin-top: 14px; color: var(--gris); }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; font-weight: 600; }
.pied__liens a { display: inline-flex; align-items: center; min-height: 44px; color: #FFFFFF; }

/* Barre d'appel sur téléphone */
.barre-mobile { display: none; }

/* Pages légales et 404 */
.page-simple { padding: 72px 0 104px; }
.page-simple .wrap { max-width: 820px; }
.page-simple h1 { font-family: var(--titre); font-size: clamp(36px, 4.4vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
.page-simple h2 { margin-top: 48px; font-family: var(--titre); font-size: 24px; font-weight: 700; line-height: 1.2; }
.page-simple p, .page-simple ul { margin-top: 14px; max-width: 68ch; }
.page-simple ul { list-style: disc; padding-left: 22px; }
.page-simple .chapo { max-width: 620px; }
.page-simple .btn { margin-top: 32px; }

/* Téléphone */
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .section { padding: 72px 0; }
  .nav__liens, .nav__actions .btn, .nav__tel span { display: none; }
  .nav__tel { justify-content: center; width: 44px; border: 1.5px solid var(--encre); border-radius: 999px; }
  .nav__logo img { width: 120px; }
  .hero { padding: 40px 0 56px; }
  .hero__grille { gap: 40px; }
  .hero__chapo { font-size: 17px; }
  .hero__visuel { flex-basis: 100%; min-width: 0; max-width: 400px; padding: 0 0 32px 28px; }
  .hero__video { width: 112px; }
  .hero__legende { max-width: 170px; font-size: 12px; }
  .chiffre { font-size: 36px; }
  .situation__citation { font-size: 24px; }
  .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-tuile { scroll-snap-align: start; }
  .formule__montant { font-size: 52px; }
  .formulaire { padding: 28px 22px; }
  .faq details p { padding-right: 0; }
  .contact__tel { font-size: 30px; }
  .barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); background: #FFFFFF; }
  .barre-mobile .btn { min-height: 52px; padding: 0 20px; font-size: 15px; }
  .barre-mobile .btn:last-child { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .faq summary svg { transition: none; }
}
