/* Synum — feuille de style du site vitrine. Polices hébergées sur place (aucun appel à Google). */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }

:root {
  --fond: #F6F4EF;
  --fond-2: #EDE9E0;
  --encre: #1C1B19;
  --texte-2: #46433D;
  --texte-3: #5C5850;
  --bordure: #E2DDD3;
  --accent: #B23A0B;
  --accent-texte: #8A3009;
  --accent-clair: #F08A55;
  --sur-sombre: #CFC9BE;
  --blanc: #FFFFFF;
  --titres: "Archivo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--encre); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2 { font-family: var(--titres); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.02em; line-height: 1.15; }

.lien-evitement { position: absolute; left: -999px; }
.lien-evitement:focus { left: 1rem; top: 1rem; background: var(--blanc); padding: .5rem 1rem; z-index: 10; }

.conteneur { max-width: 1160px; margin: 0 auto; }
.pile { display: flex; flex-direction: column; gap: 2.5rem; }
.section { padding: 5rem 1.5rem; }
.section--sombre { background: var(--encre); color: var(--fond); }
.section--grise { background: var(--fond-2); }
.intro { color: var(--texte-2); max-width: 40rem; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .95rem 1.5rem; border-radius: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--blanc); border: 1.5px solid var(--accent);
}
.bouton:hover { color: var(--blanc); background: #962F08; }
.bouton--contour { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton--contour:hover { background: var(--encre); color: var(--fond); }
.bouton--petit { min-height: 44px; padding: .7rem 1.2rem; }

/* En-tête */
.entete { border-bottom: 1px solid var(--bordure); }
.entete .conteneur { padding: 1.1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.marque span { font-family: var(--titres); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: 1.75rem; font-weight: 500; font-size: .98rem; }
.nav a { text-decoration: none; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero__texte { display: flex; flex-direction: column; gap: 1.5rem; }
.surtitre { font-weight: 600; color: var(--accent-texte); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
h1 { font-family: var(--titres); font-weight: 800; font-size: 3.6rem; line-height: 1.05; letter-spacing: -0.03em; }
.chapo { font-size: 1.2rem; color: var(--texte-2); max-width: 34rem; }
.actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.note { font-size: .95rem; color: var(--texte-3); }

/* Téléphone de démonstration */
.telephone { display: flex; justify-content: center; }
.telephone__cadre { width: 300px; max-width: 100%; background: var(--encre); border-radius: 36px; padding: 12px; box-shadow: 0 24px 48px rgba(28,27,25,.18); }
.telephone__ecran { background: var(--blanc); border-radius: 26px; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: .9rem; min-height: 540px; }
.telephone__titre { display: flex; justify-content: space-between; align-items: center; font-family: var(--titres); font-weight: 700; font-size: 1.05rem; }
.pastille { font-family: "Inter", sans-serif; font-weight: 400; font-size: .75rem; background: var(--fond-2); padding: .2rem .55rem; border-radius: 99px; color: var(--texte-2); }
.petit { font-size: .85rem; color: var(--texte-3); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.photos div { height: 82px; border-radius: 10px; display: flex; align-items: flex-end; padding: .4rem; font-size: .7rem; font-weight: 600; }
.photos div:first-child { background: #D9D3C7; color: var(--texte-2); }
.photos div:last-child { background: #BFB6A6; color: #2E2B26; }
.lignes { display: flex; flex-direction: column; gap: .45rem; font-size: .85rem; }
.lignes div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--fond-2); padding-bottom: .4rem; }
.signature { border: 1.5px dashed #BFB6A6; border-radius: 10px; height: 74px; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--texte-3); }
.telephone__bouton { margin-top: auto; background: var(--accent); color: var(--blanc); border-radius: 10px; padding: .8rem; text-align: center; font-weight: 600; font-size: .92rem; }

/* Panneau « Les outils Synum » (haut de l'accueil) */
.panneau-outils { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 24px 48px rgba(28,27,25,.08); }
.panneau-outils__titre { font-family: var(--titres); font-weight: 700; font-size: 1.15rem; }
.panneau-outils ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.panneau-outils li + li { border-top: 1px solid var(--fond-2); }
.panneau-outils__ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: .75rem 0; text-decoration: none; }
.panneau-outils__ligne > span:first-child { display: flex; flex-direction: column; }
.panneau-outils__ligne strong { font-family: var(--titres); font-size: 1.05rem; }
.panneau-outils__ligne strong + span { font-size: .9rem; color: var(--texte-3); }
a.panneau-outils__ligne:hover strong { color: var(--accent); }
.pastille { white-space: nowrap; }
.pastille--dispo, .etiquette.etiquette--dispo { background: #FBE3D6; color: var(--accent-texte); font-weight: 600; }
.sous-titre { font-family: var(--titres); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-3); margin-bottom: -1rem; }

/* Grilles */
.grille { display: grid; gap: 1.5rem; }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; }

.probleme { display: flex; flex-direction: column; gap: .6rem; }
.probleme h3 { font-size: 1.1rem; font-weight: 600; }
.probleme p { color: var(--sur-sombre); font-size: .98rem; }

.carte { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: .8rem; }
.carte__numero { font-family: var(--titres); font-weight: 800; color: var(--accent-texte); }
.carte h3 { font-family: var(--titres); font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.carte p { color: var(--texte-2); }
.etiquette { align-self: flex-start; font-size: .8rem; font-weight: 600; background: var(--fond-2); color: var(--texte-2); padding: .15rem .6rem; border-radius: 99px; }

.etapes { margin: 0; padding: 0; list-style: none; }
.etapes li { display: flex; flex-direction: column; gap: .5rem; border-top: 3px solid var(--encre); padding-top: 1rem; }
.etapes strong { font-family: var(--titres); font-size: 1.15rem; }
.etapes span { color: var(--texte-2); }

.metiers { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.metiers li { background: var(--blanc); border: 1px solid #D6D0C4; border-radius: 99px; padding: .35rem .9rem; font-size: .95rem; }
.metiers li:first-child { background: none; border: none; padding-left: 0; font-weight: 600; }

/* Qui suis-je */
.presentation { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; }
.avatar { aspect-ratio: 1; width: 100%; max-width: 260px; border-radius: 50%; background: var(--encre); display: flex; align-items: center; justify-content: center; font-family: var(--titres); font-weight: 800; font-size: 5rem; color: var(--fond); }
.presentation__texte { display: flex; flex-direction: column; gap: 1rem; max-width: 40rem; }
.presentation__texte p { color: var(--texte-2); }

/* Questions */
.faq { max-width: 820px; }
.faq details { background: var(--blanc); border-radius: 12px; padding: 1.1rem 1.5rem; }
.faq summary { font-weight: 600; font-size: 1.08rem; cursor: pointer; min-height: 32px; }
.faq details p { margin-top: .5rem; color: var(--texte-2); }
.faq details ol { margin: .35rem 0 0; padding-left: 1.4rem; color: var(--texte-2); }
.faq details li + li { margin-top: .25rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__texte { display: flex; flex-direction: column; gap: 1rem; }
.contact__texte p { color: var(--texte-2); }
.encadre { background: var(--blanc); border: 1px solid var(--bordure); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.encadre ol { margin: 0; padding-left: 1.2rem; color: var(--texte-2); }
.encadre .bouton { width: 100%; }
.coordonnee { font-weight: 600; font-size: 1.15rem; }
.coordonnee a { display: inline-flex; align-items: center; min-height: 44px; }
.coordonnee__aide { font-weight: 400; font-size: .95rem; color: var(--texte-3); margin-left: .4rem; }

/* Pied de page */
.pied { background: var(--encre); color: var(--sur-sombre); padding: 2rem 1.5rem; font-size: .92rem; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pied strong { color: var(--fond); font-family: var(--titres); }
.pied nav { display: flex; gap: 1.5rem; }
.pied a { color: var(--sur-sombre); }
.pied a:hover { color: var(--blanc); }

/* Pages de texte (mentions légales, confidentialité) */
.page-texte { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; display: flex; flex-direction: column; gap: 1rem; }
.page-texte h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.page-texte h2 { font-size: 1.45rem; margin-top: 1.5rem; }
.page-texte p, .page-texte li { color: var(--texte-2); }
.a-completer { background: #FFF1C2; padding: 0 .3rem; border-radius: 4px; }

@media (max-width: 960px) {
  .grille--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grille--4, .grille--3, .grille--2, .hero, .contact { grid-template-columns: 1fr; }
  .presentation { grid-template-columns: 1fr; }
  .avatar { max-width: 140px; font-size: 3rem; }
  .nav { display: none; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .section { padding: 3.5rem 1rem; }
  .entete .conteneur { padding: 1rem; }
}

/* Lien d'action dans une carte (« Essayer gratuitement… ») */
.lien-fleche { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent-texte); }
.lien-fleche::after { content: " →"; white-space: pre; }
.lien-fleche:hover { color: var(--accent); }
