/* Olidian — prototype. Feuille de style unique, aucune dépendance externe. */

@font-face { font-family: "Kumbh Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/kumbh-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Kumbh Sans"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/kumbh-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --papier: #ffffff;
  --encre: #1f2124;
  --texte: #4a4d52;
  --prune: #1f2124;
  --prune-fonce: #3b3e44;
  --violet: #9a9da3;
  --lilas: #dfe1e4;
  --lilas-pale: #f3f4f5;
  --ambre: #fbb031;
  --logo-points: #c790ee;
  --ambre-pale: #fbf4ea;
  --trait: #e3e4e7;
  --titres: "Kumbh Sans", "IBM Plex Sans", system-ui, sans-serif;
  --corps: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 72rem;
  --marge: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
/* overscroll-behavior : pas d'effet élastique en haut ni en bas de page */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior: none; }
body { margin: 0; font-family: var(--corps); font-size: 1.0625rem; line-height: 1.6; color: var(--texte); background: var(--papier); }
h1, h2, h3 { font-family: var(--titres); color: var(--encre); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 650; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
a { color: var(--encre); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chapo { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--texte); max-width: 54ch; }

/* Mention à confirmer : visible dans le prototype, à faire disparaître avant mise en ligne */
mark.ac { background: none; color: inherit; border-bottom: 2px dashed var(--ambre); padding-bottom: 1px; cursor: help; }
.sombre mark.ac { color: inherit; }

/* Logo : SVG en ligne. Les lettres suivent la couleur du texte, les deux points gardent le violet de la marque. */
.logo { display: block; width: 6.75rem; height: auto; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.35rem;
  font: 600 1rem/1.2 var(--corps); text-decoration: none; border-radius: 0.5rem; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.bouton--plein { background: var(--prune); color: #fff; }
.bouton--plein:hover { background: var(--prune-fonce); color: #fff; }
.bouton--contour { border-color: var(--encre); color: var(--encre); background: transparent; }
.bouton--contour:hover { background: var(--encre); color: #fff; }
.bouton--clair { background: #fff; color: var(--encre); }
.bouton--clair:hover { background: var(--lilas); color: var(--encre); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.entete__barre { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.entete__logo { color: var(--encre); display: inline-flex; }
.entete__nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.entete__nav a { color: var(--encre); text-decoration: none; font-weight: 500; font-size: 0.98rem; padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.entete__nav a:hover, .entete__nav a[aria-current="page"] { border-bottom-color: var(--prune); }
.entete__nav .bouton { border-bottom: 2px solid transparent; color: #fff; min-height: 2.6rem; padding: 0.5rem 1rem; }
.entete__menu { display: none; margin-left: auto; background: none; border: 2px solid var(--encre); border-radius: 0.5rem; min-height: 2.6rem; padding: 0 0.9rem; font: 600 0.95rem var(--corps); color: var(--encre); cursor: pointer; }
@media (max-width: 62rem) {
  .entete__menu { display: inline-flex; align-items: center; }
  .entete__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0.5rem var(--marge) 1.25rem; background: #fff; border-bottom: 1px solid var(--trait); }
  .entete__nav.est-ouvert { display: flex; }
  .entete__nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--trait); }
  .entete__nav .bouton { margin-top: 1rem; }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--lilas { background: var(--lilas-pale); }
.section--ambre { background: var(--ambre-pale); }
.sombre { background: var(--encre); color: #d5d7db; }
.sombre h2, .sombre h3 { color: #fff; }
.sombre a:not(.bouton) { color: var(--lilas); }
.section__tete { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 46rem; }

/* Accueil : hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__texte { display: grid; gap: 1.75rem; justify-items: start; }
.hero__note { font-size: 0.95rem; color: var(--texte); }
@media (max-width: 62rem) { .hero__grille { grid-template-columns: 1fr; } }

/* La mosaïque : chaque outil est une tuile du même espace */
.mosaique { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 7.25rem; gap: 0.5rem;
  grid-template-areas: "mail mail mail mail visio visio" "mail mail mail mail visio visio" "tel tel drive drive tchat tchat" "app app app app site site";
  padding: 0.5rem; background: var(--lilas-pale); border-radius: 1.25rem; font-size: 0.8rem; line-height: 1.35; }
.tuile { border-radius: 0.6rem; padding: 0.8rem 0.9rem; overflow: hidden; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.tuile__nom { font: 650 0.95rem/1.1 var(--titres); letter-spacing: -0.01em; }
.tuile--mail { grid-area: mail; background: #fff; color: var(--encre); }
.tuile--visio { grid-area: visio; background: var(--encre); color: #fff; }
.tuile--tel { grid-area: tel; background: var(--prune); color: #fff; }
.tuile--drive { grid-area: drive; background: #fff; color: var(--encre); }
.tuile--tchat { grid-area: tchat; background: var(--lilas); color: var(--encre); }
.tuile--app { grid-area: app; background: var(--ambre); color: var(--encre); }
.tuile--site { grid-area: site; background: #fff; color: var(--encre); border: 2px dashed var(--ambre); }

.lignes { list-style: none; display: grid; gap: 0.35rem; }
.lignes li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.6rem; padding: 0.3rem 0; border-top: 1px solid var(--trait); white-space: nowrap; }
.lignes li > * { overflow: hidden; text-overflow: ellipsis; }
.lignes b { font-weight: 600; }
.lignes .nouveau b::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.35rem; border-radius: 50%; background: var(--prune); vertical-align: middle; }
.visages { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; flex: 1; }
.visages span { border-radius: 0.35rem; background: #34373c; display: grid; place-items: center; font: 600 0.8rem var(--titres); color: var(--lilas); }
.visages span:first-child { background: var(--prune); color: #fff; }
.tuile--tel .duree { font: 650 1.35rem/1 var(--titres); font-variant-numeric: tabular-nums; margin-top: auto; }
.fichiers { list-style: none; display: grid; gap: 0.25rem; }
.fichiers li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fichiers li::before { content: ""; display: inline-block; width: 0.6rem; height: 0.75rem; margin-right: 0.45rem; border-radius: 2px; background: var(--violet); vertical-align: -1px; }
.bulles { display: grid; gap: 0.3rem; }
.bulles span { background: #fff; border-radius: 0.5rem 0.5rem 0.5rem 0.1rem; padding: 0.25rem 0.5rem; justify-self: start; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bulles span:nth-child(2) { background: var(--prune); color: #fff; justify-self: end; border-radius: 0.5rem 0.5rem 0.1rem 0.5rem; }
.tuile--app .tableau { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 0.15rem 0.75rem; }
.tuile--app .tableau span:nth-child(-n+3) { font-weight: 600; border-bottom: 1px solid rgb(31 33 36 / 0.35); padding-bottom: 0.15rem; }
.tuile--app .tableau span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuile--site p { font-size: 0.78rem; }

@media (max-width: 30rem) {
  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 7.25rem;
    grid-template-areas: "mail mail" "mail mail" "visio tel" "drive tchat" "app app" "site site"; }
}

/* Un seul moment d'animation : les tuiles se posent à l'ouverture de la page */
@media (prefers-reduced-motion: no-preference) {
  .mosaique--pose .tuile { animation: pose 0.55s cubic-bezier(.2,.8,.2,1) both; }
  .mosaique--pose .tuile:nth-child(2) { animation-delay: .08s; }
  .mosaique--pose .tuile:nth-child(3) { animation-delay: .16s; }
  .mosaique--pose .tuile:nth-child(4) { animation-delay: .24s; }
  .mosaique--pose .tuile:nth-child(5) { animation-delay: .32s; }
  .mosaique--pose .tuile:nth-child(6) { animation-delay: .5s; }
  .mosaique--pose .tuile:nth-child(7) { animation-delay: .6s; }
  @keyframes pose { from { opacity: 0; transform: scale(.92) translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Le constat : deux colonnes, cinq lignes contre une */
.constat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.constat__titre { font: 600 1rem var(--corps); color: var(--texte); margin-bottom: 0.75rem; }
.constat__liste { list-style: none; border-top: 2px solid var(--encre); }
.constat__liste li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--trait); }
.constat__liste b { color: var(--encre); font-weight: 600; }
.constat__un { background: var(--encre); color: #d5d7db; border-radius: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.constat__un .constat__titre { color: var(--lilas); margin: 0; }
.constat__un strong { font: 650 clamp(1.6rem, 2.6vw, 2.1rem)/1.12 var(--titres); letter-spacing: -0.02em; color: #fff; }
@media (max-width: 52rem) { .constat { grid-template-columns: 1fr; } .constat__liste li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* Onglets des modules */
.onglets__liste { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.onglets__liste button { font: 600 1rem var(--corps); color: var(--encre); background: transparent; border: 2px solid transparent; border-radius: 2rem; padding: 0.55rem 1.1rem; min-height: 2.75rem; cursor: pointer; }
.onglets__liste button:hover { border-color: var(--lilas); }
.onglets__liste button[aria-selected="true"] { background: var(--encre); color: #fff; }
.onglets__panneau { background: #fff; border-radius: 1.25rem; padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.onglets__panneau[hidden] { display: none; }
.onglets__texte { display: grid; gap: 1rem; }
@media (max-width: 52rem) { .onglets__panneau { grid-template-columns: 1fr; } }

.points { list-style: none; display: grid; gap: 0.6rem; }
.points li { padding-left: 1.4rem; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55rem; height: 0.55rem; background: var(--prune); border-radius: 2px; }
.sombre .points li::before { background: var(--ambre); }

/* Aperçu d'un module : une tuile agrandie */
.apercu { background: var(--lilas-pale); border-radius: 1rem; padding: 0.6rem; font-size: 0.9rem; line-height: 1.4; }
.apercu .tuile { min-height: 13rem; padding: 1.1rem 1.2rem; gap: 0.8rem; }
.apercu .tuile__nom { font-size: 1.1rem; }
.apercu .lignes li { grid-template-columns: 7rem minmax(0, 1fr); padding: 0.5rem 0; }
.apercu .visages { min-height: 9rem; }
.apercu .fichiers { gap: 0.55rem; }
.apercu .bulles { gap: 0.5rem; }
.apercu .bulles span { padding: 0.4rem 0.7rem; }
.apercu .tuile--tel .duree { font-size: 2.2rem; }

/* Bloc texte + visuel */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo__texte { display: grid; gap: 1.25rem; justify-items: start; }
.duo--inverse .duo__texte { order: 2; }
@media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } .duo--inverse .duo__texte { order: 0; } }

/* Faits : liste terme / définition */
.faits { border-top: 1px solid rgb(255 255 255 / 0.25); }
.faits > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 2.5rem; padding: 1.4rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.25); }
.faits dt { font: 650 1.2rem/1.25 var(--titres); color: #fff; }
.faits--clair { border-top-color: var(--encre); border-top-width: 2px; }
.faits--clair > div { border-bottom-color: var(--trait); }
.faits--clair dt { color: var(--encre); }
@media (max-width: 44rem) { .faits > div { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Étapes : une vraie séquence, donc numérotée */
.etapes { list-style: none; counter-reset: etape; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.etapes li { counter-increment: etape; display: grid; gap: 0.6rem; align-content: start; border-top: 2px solid var(--encre); padding-top: 1rem; }
.etapes li::before { content: counter(etape); font: 700 2.4rem/1 var(--titres); color: var(--prune); }
@media (max-width: 60rem) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .etapes { grid-template-columns: 1fr; } }

/* Colonnes simples */
.colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.colonnes > * { display: grid; gap: 0.6rem; align-content: start; }
@media (max-width: 52rem) { .colonnes { grid-template-columns: 1fr; gap: 2rem; } }

/* Questions fréquentes */
.faq { border-top: 2px solid var(--encre); max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 650 1.15rem/1.3 var(--titres); color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font: 400 1.6rem/1 var(--corps); color: var(--prune); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 1.25rem; }

/* En-tête des pages intérieures */
.tete-page { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); background: var(--lilas-pale); }
.tete-page .conteneur { display: grid; gap: 1.5rem; }
.tete-page h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 18ch; }

/* Tableau comparatif */
.tableau-compare { width: 100%; border-collapse: collapse; }
.tableau-compare th, .tableau-compare td { text-align: left; vertical-align: top; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--trait); }
.tableau-compare thead th { font: 650 1.05rem var(--titres); color: var(--encre); border-bottom: 2px solid var(--encre); }
.tableau-compare tbody th { font-weight: 600; color: var(--encre); width: 28%; }
.defile { overflow-x: auto; }
.defile .tableau-compare { min-width: 38rem; }

/* Tarifs */
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.offre { border: 2px solid var(--trait); border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.offre--socle { border-color: var(--encre); }
.offre__prix { font: 700 2.2rem/1.1 var(--titres); color: var(--encre); letter-spacing: -0.02em; }
.offre__prix small { display: block; font: 400 0.95rem/1.4 var(--corps); color: var(--texte); letter-spacing: 0; margin-top: 0.35rem; }
.offre .bouton { margin-top: auto; }
@media (max-width: 60rem) { .offres { grid-template-columns: 1fr; } }

/* Formulaire */
.formulaire { display: grid; gap: 1.1rem; max-width: 34rem; }
.champ { display: grid; gap: 0.35rem; }
.champ label { font-weight: 600; color: var(--encre); font-size: 0.98rem; }
.champ input, .champ select, .champ textarea { font: inherit; color: var(--encre); background: #fff; border: 2px solid #aeb1b7; border-radius: 0.5rem; padding: 0.7rem 0.8rem; min-height: 3rem; width: 100%; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--prune); outline: 3px solid var(--lilas); outline-offset: 0; }
.champ small { color: var(--texte); }
.formulaire__retour { padding: 0.9rem 1rem; border-radius: 0.5rem; background: var(--ambre-pale); border-left: 4px solid var(--ambre); color: var(--encre); }
.formulaire__retour[hidden] { display: none; }

/* Bandeau final */
.appel { display: grid; gap: 1.5rem; justify-items: start; }
.appel h2 { max-width: 20ch; }

/* Pied de page */
.pied { background: var(--encre); color: #c2c5ca; padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; color: #fff; }
.pied__grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.pied__marque { display: grid; gap: 1rem; align-content: start; color: #fff; }
.pied__marque p { color: #c2c5ca; max-width: 30ch; }
.pied h2 { font: 600 0.95rem var(--corps); color: #fff; letter-spacing: 0; margin-bottom: 0.8rem; }
.pied ul { list-style: none; display: grid; gap: 0.5rem; }
.pied__bas { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.2); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }
.pied__bas p { max-width: none; }
@media (max-width: 52rem) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }

/* ---------- Captures réelles du produit ---------- */
.ecran { margin: 0; border-radius: 0.9rem; overflow: hidden; background: #fff; border: 1px solid #d3d5d9; box-shadow: 0 2rem 4rem -2rem rgb(31 33 36 / 0.4); }
.ecran img { display: block; width: 100%; height: auto; }
.legende { font-size: 0.9rem; color: var(--texte); margin-top: 0.75rem; }
.sombre .legende { color: #c2c5ca; }

.hero--ecran { padding-bottom: 0; background: linear-gradient(to bottom, #fff 0, #fff 62%, var(--lilas-pale) 62%); }
.hero--ecran .hero__texte { max-width: 50rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero--ecran .ecran { margin-bottom: clamp(3rem, 6vw, 5rem); }

/* Un module : texte sur deux colonnes, capture en pleine largeur dessous */
.module { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
.module__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
.module__tete > div { display: grid; gap: 1rem; }
@media (max-width: 52rem) { .module__tete { grid-template-columns: 1fr; } }

.onglets__panneau.module { grid-template-columns: 1fr; align-items: start; }

/* Liste de modules en ligne */
.modules { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modules li { border: 1.5px solid var(--encre); border-radius: 2rem; padding: 0.3rem 0.9rem; font-weight: 500; color: var(--encre); font-size: 0.98rem; }
.sombre .modules li { border-color: rgb(255 255 255 / 0.5); color: #fff; }

.offres--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offres--4 .offre { padding: 1.4rem; }
.offres--4 .offre__prix { font-size: 1.9rem; }
@media (max-width: 70rem) { .offres--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .offres--4 { grid-template-columns: 1fr; } }
.bientot { font-size: 0.8rem; font-weight: 600; background: var(--ambre-pale); border: 1px solid var(--ambre); color: var(--encre); border-radius: 1rem; padding: 0.05rem 0.5rem; margin-left: 0.3rem; white-space: nowrap; }

/* ---------- Mobile (jusqu'à 640 px) ---------- */
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .section { padding-block: 3.25rem; }
  .section__tete { margin-bottom: 2rem; }
  .hero { padding-top: 2.25rem; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 2.8rem); line-height: 1.04; }
  .tete-page h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); max-width: none; }
  h2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  .chapo { font-size: 1.08rem; }

  /* Boutons pleine largeur, faciles à toucher */
  .actions { flex-direction: column; align-self: stretch; width: 100%; }
  .actions .bouton, .duo__texte > .bouton, .offre .bouton, .formulaire .bouton { width: 100%; }
  .hero__texte, .duo__texte, .appel { justify-items: stretch; }
  .entete__barre { min-height: 3.75rem; }
  .entete__nav { max-height: calc(100dvh - 3.75rem); overflow-y: auto; }

  /* Captures : on masque le menu latéral de l'application pour que le contenu reste lisible */
  .ecran { border-radius: 0.7rem; }
  .ecran img { width: 205%; max-width: none; margin-left: -44.4%; }
  .hero--ecran { background: linear-gradient(to bottom, #fff 0, #fff 78%, var(--lilas-pale) 78%); }

  /* Onglets : une seule ligne qui défile au doigt, au lieu de quatre rangées */
  .onglets__liste { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding: 0.25rem var(--marge); scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .onglets__liste::-webkit-scrollbar { display: none; }
  .onglets__liste button { flex: none; scroll-snap-align: center; border-color: var(--lilas); }
  .onglets__liste button[aria-selected="true"] { border-color: var(--encre); }
  .onglets__panneau { padding: 1.25rem; border-radius: 1rem; }

  /* Tableau comparatif : une fiche par critère au lieu d'un défilement horizontal */
  .defile { overflow: visible; }
  .defile .tableau-compare { min-width: 0; display: block; }
  .tableau-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tableau-compare tbody { display: block; border-top: 2px solid var(--encre); }
  .tableau-compare tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--trait); }
  .tableau-compare tbody th { display: block; width: auto; padding: 0 0 0.5rem; border: 0; font: 650 1.1rem/1.25 var(--titres); }
  .tableau-compare td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.3rem 0; border: 0; }
  .tableau-compare td::before { content: attr(data-label); font-weight: 600; color: var(--encre); font-size: 0.9rem; }

  .etapes { gap: 1.5rem; }
  .etapes li::before { font-size: 2rem; }
  .colonnes { gap: 1.75rem; }
  .offres--4 .offre, .offre { padding: 1.35rem; }
  .faq summary { font-size: 1.08rem; padding-block: 1rem; }
  .modules { gap: 0.4rem; }
  .modules li { font-size: 0.92rem; padding: 0.25rem 0.75rem; }

  /* Pied de page : une colonne, liens espacés pour le doigt */
  .pied { padding-block: 2.5rem 1.5rem; }
  .pied__grille { grid-template-columns: 1fr; gap: 2rem; }
  .pied ul { gap: 0; }
  .pied li { padding-block: 0.45rem; }
  .pied li a { display: inline-block; padding-block: 0.7rem; margin-block: -0.45rem; }
  .pied__bas { flex-direction: column; margin-top: 2rem; }
}

/* Écrans tactiles : pas d'état de survol qui reste collé après un appui */
@media (hover: none) {
  .bouton--contour:hover { background: transparent; color: var(--encre); }
  .bouton--plein:hover { background: var(--prune); }
  .bouton--clair:hover { background: #fff; }
}

/* Nom du produit à côté du logo : ce site est celui de Teamworks */
/* Logo et nom du produit centrés sur le même axe horizontal que la navigation */
.entete__logo { align-items: center; gap: 0.8rem; text-decoration: none; }
.entete__logo .logo { flex: none; position: relative; top: -0.12rem; /* les points violets dépassent en haut : on remonte le logo pour centrer ses lettres */ }
.entete__produit { font: 600 1.4rem/1 var(--titres); letter-spacing: -0.015em; color: var(--encre); white-space: nowrap; }
.entete__produit::before { content: ""; display: inline-block; vertical-align: middle; width: 1.5px; height: 1.6rem; margin-right: 0.8rem; background: #c2c5ca; }
@media (max-width: 22rem) { .entete__produit { display: none; } }

/* Symbole ™ : petit, en exposant, sans décaler l'interligne */
.tm { font-size: 0.42em; font-weight: 500; line-height: 0; vertical-align: super; margin-left: 0.08em; letter-spacing: 0; }
.entete__produit .tm, .pied .tm { font-size: 0.6em; }

/* Hero sur grand écran : la capture passe à droite du titre et déborde vers le bord de la fenêtre */
@media (min-width: 64rem) {
  .hero--ecran { background: none; padding-bottom: clamp(4rem, 7vw, 6rem); }
  .hero--ecran > .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .hero--ecran .hero__texte { margin-bottom: 0; max-width: none; }
  .hero--ecran h1 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); }
  .hero--ecran .ecran { margin-bottom: 0; width: clamp(48rem, 62vw, 64rem); max-width: none; }
}
