/* Armacote, site vitrine. Couleurs du logo v5 (validé le 3/11/2026). */
:root {
  --ardoise: #2E4E5F;
  --ardoise-f: #213a47;
  --or: #ECB639;
  --or-f: #d9a21f;
  --jaune: #F1D038;
  --texte: #1c2a32;
  --gris: #5b6b74;
  --trait: #e3e8eb;
  --fond-clair: #f5f7f8;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--ardoise); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.6vw, 44px); }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 19px; }
.cadre { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.or { color: var(--or); }
.note { color: var(--gris); font-size: 14px; }
.fonce .note { color: #c5d1d7; }
.fonce .note a { color: #fff; }
.chapo { color: var(--gris); font-size: 18px; max-width: 62ch; }

/* Boutons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; text-align: center; border: 2px solid transparent; }
.btn-or { background: var(--or); color: var(--ardoise-f); }
.btn-or:hover { background: var(--or-f); }
.btn-clair { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-clair:hover { border-color: #fff; }
.btn.petit { padding: 8px 14px; font-size: 15px; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--trait); }
.entete-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 24px; color: var(--ardoise); }
.marque b { font-weight: 800; }
.marque + .btn { margin-left: auto; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--texte); font-weight: 500; }
.menu a:hover { color: var(--ardoise); text-decoration: underline; }

/* Accueil */
.accueil { background: var(--ardoise); color: #fff; padding: 56px 0 64px; }
.accueil-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.accueil .chapo { color: #d8e1e5; }
.accueil .note { color: #c5d1d7; }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--or); font-weight: 700; margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }

/* Emplacements de visuels (remplacés par des <img> quand les visuels arrivent) */
.emplacement { margin: 0; display: grid; place-items: center; text-align: center; border: 2px dashed #9aa9b1; border-radius: var(--r); color: var(--gris); background: repeating-linear-gradient(45deg, #f2f5f6, #f2f5f6 10px, #eaeef0 10px, #eaeef0 20px); font-weight: 600; }
.emplacement small { font-weight: 400; }
.emplacement.telephone { aspect-ratio: 9 / 16; max-height: 520px; width: 100%; justify-self: center; max-width: 290px; }
.emplacement.photo { aspect-ratio: 4 / 3; }
.emplacement img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 2px); }
/* Capture de l'écran principal (accueil) */
.capture-accueil { margin: 0; justify-self: center; width: 100%; max-width: 290px; }
.capture-accueil img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.accueil .emplacement { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.45); color: #d8e1e5; }

/* Blocs */
.bloc { padding: 64px 0; }
.bloc.clair { background: var(--fond-clair); }
.bloc.fonce { background: var(--ardoise); color: #fff; }
.grille3 { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.grille2 { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--r); padding: 22px; border-top: 4px solid var(--or); }
.carte p { margin: 0 0 12px; color: var(--gris); }
.fonce .carte { background: var(--ardoise-f); border-color: #3c5d6e; border-top-color: var(--or); }
.fonce .carte p { color: #d8e1e5; }
.sous { margin-top: 28px; color: var(--ardoise); }
/* Écrans de l'appli : grille sur ordinateur, défilement horizontal sur téléphone */
.defile { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.ecran, .doc { margin: 0; }
.ecran img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--trait); }
.ecran figcaption, .doc figcaption { text-align: center; font-weight: 600; color: var(--ardoise); margin-top: 8px; font-size: 15px; }
.docs { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.doc img { display: block; width: 100%; height: auto; border: 1px solid var(--trait); border-radius: 6px; background: #fff; }
.galerie { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.galerie.photos { grid-template-columns: repeat(3, 1fr); }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 1px solid var(--trait); }
.photo figcaption { text-align: center; font-weight: 600; color: var(--ardoise); margin-top: 8px; font-size: 15px; }

/* Tarifs : bascule an / mois sans JavaScript */
.duree > input { position: absolute; opacity: 0; pointer-events: none; }
.duree > label { display: inline-block; padding: 9px 18px; border: 1px solid #c4cfd5; border-radius: 999px; cursor: pointer; margin: 8px 6px 20px 0; font-weight: 600; }
.duree > label small { font-weight: 400; color: var(--gris); }
.duree > input:checked + label { background: var(--ardoise); border-color: var(--ardoise); color: #fff; }
.duree > input:checked + label small { color: var(--or); }
.duree > input:focus-visible + label { outline: 3px solid var(--or); outline-offset: 2px; }
#d-an:checked ~ .offres .mois, #d-mois:checked ~ .offres .an { display: none; }
.offres { display: grid; gap: 16px; grid-template-columns: 1.1fr 1.2fr 1fr; align-items: start; }
.offre { border: 1px solid var(--trait); border-radius: var(--r); padding: 22px; position: relative; }
.offre.pack { border: 2px solid var(--or); box-shadow: 0 6px 24px rgba(46,78,95,.12); }
.offre.bientot { background: var(--fond-clair); }
.offre ul { padding-left: 20px; margin: 12px 0 20px; }
.offre .btn { width: 100%; }
.badge { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: var(--or); color: var(--ardoise-f); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge.gris { background: #dfe5e8; color: var(--gris); }
.prix { font-size: 36px; font-weight: 800; color: var(--ardoise); margin: 4px 0; }
.prix small { font-size: 15px; font-weight: 500; color: var(--gris); }
.modules { width: 100%; border-collapse: collapse; }
.modules td { padding: 9px 0; border-top: 1px solid var(--trait); }
.modules td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.modules small { color: var(--gris); }
.conditions { color: var(--gris); font-size: 14px; margin-top: 20px; padding-left: 20px; }

/* Contact */
.contact { display: flex; gap: 40px; align-items: center; }
.contact img { flex: 0 0 auto; width: 260px; }
.coord { font-size: 20px; font-weight: 700; }
.coord a { text-decoration: none; }

/* Pied */
.pied { background: var(--ardoise-f); color: #c5d1d7; font-size: 14px; }
.pied-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 20px; padding-bottom: 20px; }
.pied a { color: #fff; }

/* Tablette et téléphone */
@media (max-width: 900px) {
  .grille3, .offres { grid-template-columns: 1fr 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie.photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .defile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 8px; }
  .defile .ecran { flex: 0 0 68%; scroll-snap-align: center; }
  .docs { grid-template-columns: 1fr; }
  .menu { display: none; }
  .entete-in .btn { margin-left: auto; }
  .accueil { padding: 36px 0 44px; }
  .accueil-in, .grille3, .grille2, .offres { grid-template-columns: 1fr; }
  .accueil .emplacement { max-width: 220px; }
  .capture-accueil { max-width: 220px; }
  .bloc { padding: 44px 0; }
  .contact { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact img { width: 200px; }
}


/* Pages métier : navigation accessible aussi sur téléphone. */
.liens-metier { display:flex; flex-wrap:wrap; gap:10px 20px; padding-top:14px; padding-bottom:14px; }
.liens-metier a { font-weight:600; text-underline-offset:3px; }
.editorial { max-width:850px; overflow-wrap:anywhere; }
.editorial h2 { margin-top:1.4em; }
.editorial h3 { margin-top:1.2em; }
.editorial figure { margin:24px 0; }
.editorial figure img { display:block; max-height:650px; width:auto; max-width:100%; margin:auto; border:3px solid var(--ardoise-f); border-radius:6px; box-shadow:0 6px 18px rgba(33,58,71,.18); }
.editorial figcaption { text-align:center; color:var(--gris); font-size:14px; }
