/* G.T.F : orange du logo (le chaud) et bleu glacier (le froid). Archivo, une seule famille, largeur variable. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --chaud: #E27300;      /* orange du logo, mesuré */
  --chaud-texte: #A34E00; /* orange lisible sur blanc */
  --froid: #0B4F6C;
  --glace: #E8F3F8;
  --encre: #0F2129;
  --gris: #48585F;
  --ligne: #D9E3E8;
  --fond: #ffffff;
  --g: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 "Archivo", "Segoe UI", system-ui, sans-serif; color: var(--gris); background: var(--fond); }
@media (min-width: 980px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--froid); text-underline-offset: .2em; }
h1, h2, h3 { color: var(--encre); line-height: 1.1; margin: 0 0 .45em; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-stretch: 118%; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; font-stretch: 105%; }
p { margin: 0 0 1em; max-width: 66ch; }
strong { color: var(--encre); }
:focus-visible { outline: 3px solid var(--chaud); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--g); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--encre); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }
.muted { color: var(--gris); }
mark.tbc { background: #fff1a8; color: inherit; outline: 2px dashed #d6b400; outline-offset: 2px; }

/* En-tête */
.entete { background: #fff; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 20; }
.entete-in { display: flex; align-items: center; gap: 12px 28px; min-height: 76px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); margin-right: auto; }
.marque span { display: flex; flex-direction: column; font-weight: 700; font-stretch: 100%; line-height: 1.2; font-size: .95rem; }
.marque small { font-weight: 400; color: var(--gris); font-size: .82rem; }
.entete nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-weight: 600; font-size: .97rem; }
.entete nav a { color: var(--encre); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.entete nav a:hover, .entete nav a[aria-current="page"] { border-bottom-color: var(--chaud); }
@media (max-width: 900px) { .marque span { display: none; } .entete nav { order: 3; width: 100%; gap: 2px 16px; padding-bottom: 8px; font-size: .9rem; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px; border-radius: 6px; font: 700 1rem "Archivo", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-chaud { background: var(--chaud); color: #1b0d00; border-color: var(--chaud); }
.btn-chaud:hover { background: #c96600; border-color: #c96600; color: #fff; }
.btn-ligne { color: var(--froid); border-color: var(--froid); background: #fff; }
.btn-ligne:hover { background: var(--glace); }
.btn-clair { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-clair:hover { background: rgba(255, 255, 255, .1); }
.btn-tel { background: var(--froid); color: #fff; min-height: 44px; padding: 8px 16px; }
.btn-tel:hover { background: #083b51; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lien { font-weight: 700; color: var(--chaud-texte); text-decoration-thickness: 2px; }

/* Ouverture : le thermomètre de Nîmes */
.ouverture { padding: clamp(40px, 6vw, 84px) 0; background: linear-gradient(90deg, #fff 0 60%, var(--glace) 60% 100%); }
.ouverture-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.chapeau { font-size: 1.15em; max-width: 54ch; }
.repere { margin-top: 22px; font-size: .97rem; }
.thermo { background: var(--froid); color: #e3eef3; border-radius: 16px; padding: 28px 28px 24px; box-shadow: 0 30px 50px -30px rgba(11, 79, 108, .6); }
.thermo.chaud { background: #3a2208; }
.thermo-lieu { margin: 0; font-weight: 600; letter-spacing: .01em; color: #bcd6e2; }
.thermo-valeur { margin: 6px 0 14px; line-height: .9; font-weight: 800; font-stretch: 125%; font-size: clamp(4.5rem, 9vw, 6.5rem); color: #fff; font-variant-numeric: tabular-nums; }
.thermo-unite { font-size: .4em; margin-left: 6px; vertical-align: top; font-stretch: 100%; color: #bcd6e2; }
.thermo-echelle { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #7fc4e3, #f2c24a 55%, var(--chaud)); margin-bottom: 18px; }
.thermo-echelle span { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0, 0, 0, .25); opacity: 0; transition: left .6s ease; }
.thermo.pret .thermo-echelle span { opacity: 1; }
.thermo-message { color: #fff; font-weight: 600; margin-bottom: 14px; }
.thermo-lien { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.thermo-lien svg { width: 20px; height: 20px; fill: var(--chaud); }
@media (max-width: 900px) { .ouverture { background: #fff; } .ouverture-grille { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.bloc { padding: clamp(56px, 7vw, 96px) 0; }
.bloc-glace { background: var(--glace); }
.titre-section { margin-bottom: clamp(24px, 3vw, 40px); }
.metiers { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--encre); }
.metier { display: grid; grid-template-columns: 44px minmax(0, 18rem) minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.metier h3, .metier p { margin: 0; }
.metier .lien { white-space: nowrap; }
.metier-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.metier-ico svg { width: 22px; height: 22px; }
.metier-chaud .metier-ico { background: #fde8d3; color: var(--chaud-texte); }
.metier-froid .metier-ico { background: #d8ebf3; color: var(--froid); }
@media (max-width: 860px) { .metier { grid-template-columns: 44px minmax(0, 1fr); } .metier p, .metier .lien { grid-column: 2; } }
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.duo-inverse > :first-child { order: 2; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo-inverse > :first-child { order: 0; } }
.photo { margin: 0; }
.photo img { border-radius: 10px; width: 100%; }
.photo-haute img { max-height: 520px; object-fit: cover; }
.photo figcaption { font-size: .88rem; color: var(--gris); margin-top: 8px; }
.liste { list-style: none; margin: 18px 0; padding: 0; }
.liste li { padding: 9px 0 9px 26px; border-top: 1px solid #c9dde6; position: relative; }
.liste li::before { content: ""; position: absolute; left: 4px; top: 1.1em; width: 10px; height: 2px; background: var(--chaud); }
.sections section { padding: 18px 0; border-top: 1px solid var(--ligne); }
.sections section:first-child { border-top: 0; padding-top: 0; }
.sections h2 { font-size: 1.3rem; font-stretch: 105%; }
.sections p { margin: 0; }

/* En-têtes de page intérieure */
.tete { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--ligne); }
.tete-chaud { border-top: 6px solid var(--chaud); }
.tete-froid { border-top: 6px solid var(--froid); }

/* Appel final */
.appel { background: var(--froid); color: #d6e7ef; padding: clamp(48px, 6vw, 80px) 0; }
.appel h2 { color: #fff; }
.appel p { color: #d6e7ef; }
.appel-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.appel .actions { margin-top: 0; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.contact-grille h2 { font-size: 1.15rem; margin-top: 1.2em; }
.contact-grille h2:first-child { margin-top: 0; }
.grand { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 115%; }
.grand a { color: var(--encre); text-decoration: none; }
.horaires { border-collapse: collapse; }
.horaires th, .horaires td { text-align: left; padding: 6px 18px 6px 0; border-bottom: 1px solid var(--ligne); }
@media (max-width: 760px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
.texte { max-width: 760px; }
.texte h2 { font-size: 1.3rem; margin-top: 1.4em; }
.actu { background: var(--chaud); color: #1b0d00; font-weight: 600; }
.actu p { margin: 0; padding: 12px 0; }

/* Pied */
.pied { background: #0a1a21; color: #b9c8cf; padding-top: 52px; font-size: .95rem; }
.pied a { color: #e4eef2; }
.pied h2 { font-size: .95rem; color: #fff; font-stretch: 100%; margin-bottom: 10px; }
.pied strong { color: #fff; }
.pied mark.tbc, .pied mark.tbc a { color: #1b1b1b; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.pied-grille img { margin-bottom: 12px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-block: 18px 22px; font-size: .85rem; }
.pied-bas p { margin: 0; }
.credit { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; opacity: .85; }
.credit img { border-radius: 5px; margin: 0; }
.credit:hover { opacity: 1; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Barre d'appel sur téléphone */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--ligne); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font-weight: 800; text-decoration: none; color: var(--encre); }
  .barre-mobile a:first-child { background: var(--chaud); color: #1b0d00; }
  .barre-mobile svg { width: 18px; height: 18px; fill: currentColor; }
  body { padding-bottom: 58px; }
  .btn-tel span { display: none; }
}

/* Bandeau de la version de test */
.bandeau-test { position: fixed; left: 12px; bottom: 12px; z-index: 40; max-width: min(520px, calc(100% - 24px)); background: #fff8d6; border: 2px solid #d6b400; border-radius: 8px; padding: 10px 14px; font-size: .88rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.bandeau-test summary { cursor: pointer; font-weight: 700; color: var(--encre); }
.bandeau-test ul { margin: 8px 0 0; padding-left: 18px; max-height: 50vh; overflow: auto; }
@media (max-width: 760px) { .bandeau-test { bottom: 70px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Qualifications et agréments */
.qualifs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; border-top: 3px solid var(--encre); }
.qualifs li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0 18px 18px; border-bottom: 1px solid #c9dde6; position: relative; }
.qualifs li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--froid); }
.qualifs li.rge::before { background: #2f8a4a; }
.qualifs strong { color: var(--encre); font-size: 1.05rem; }
.qualifs span { font-size: .95rem; }
.marques { margin-top: 26px; }
.qualifs .lien { font-size: .92rem; margin-top: 2px; }
.sous-titre { margin-top: 44px; font-size: 1.35rem; }
.refs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid #c9dde6; }
.refs li { padding: 18px 0; border-bottom: 1px solid #c9dde6; }
.refs p { margin: 4px 0 6px; font-size: .97rem; }
@media (max-width: 760px) { .refs { grid-template-columns: minmax(0, 1fr); } }
.qualifs li { padding-left: 0; }
.qualifs li::before { display: none; }
.qualifs .qualif-logo { display: flex; align-items: center; height: 76px; margin-bottom: 8px; background: #fff; border-radius: 6px; padding: 10px 16px; align-self: stretch; }
.qualifs .qualif-logo img { height: 54px; width: auto; max-width: 168px; object-fit: contain; object-position: left center; }
.qualifs li > span:not(.qualif-logo) { font-size: .95rem; }
.marques-logos { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.marques-logos li { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; height: 76px; padding: 10px 16px; }
.marques-logos .marque-rhoss img { height: 54px; }
.qualifs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.marques-logos img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.marques-aussi { margin: 18px 0 8px; font-weight: 700; color: var(--encre); }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 800; color: var(--chaud-texte); margin: 0 0 .6em; }
.hauteur { border-top: 6px solid var(--chaud); }
.avis { background: #fff; border-top: 1px solid var(--ligne); }
.avis-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.avis-in > div:first-child { max-width: 38rem; }
.avis .actions { margin-top: 0; }
@media (max-width: 520px) { .marques-logos { grid-template-columns: 1fr 1fr; } .marques-logos li { padding: 10px 12px; } .marques-logos img { max-width: 100%; height: 32px; } .marques-logos .marque-rhoss img { height: 44px; } }
.marque .marque-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.marque .depuis { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--chaud-texte); line-height: 1; }
