/* Observatoire du confort d'été — styles propres aux pages territoire.
   Hérite entièrement des variables de style.css (charte terracotta + ivoire). */

.fil { background: var(--ivory-soft); padding: 10px 0; font-size: 0.85rem; }
.fil a { color: var(--terracotta, #B55B47); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil-sep { opacity: 0.45; margin: 0 2px; }

.obs-hero { padding: 40px 0 24px; }
.obs-hero h1 { margin: 0 0 8px; line-height: 1.15; }
.obs-hero .obs-sous { font-size: 1.05rem; opacity: 0.8; margin: 0 0 14px; }
.obs-meta { font-size: 0.85rem; opacity: 0.65; }

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
            gap: 14px; margin: 26px 0; }
.chiffre { background: var(--ivory-soft); border-radius: 10px; padding: 18px 16px;
           border-left: 4px solid var(--terracotta, #B55B47); }
.chiffre .val { font-size: 1.9rem; font-weight: 700; line-height: 1.1;
                font-family: "Playfair Display", Georgia, serif; }
.chiffre .lib { font-size: 0.85rem; opacity: 0.75; margin-top: 4px; }
.chiffre .ref { font-size: 0.78rem; opacity: 0.55; margin-top: 6px; }

.accroche { font-size: 1.05rem; border-left: 4px solid var(--terracotta, #B55B47);
            padding: 4px 0 4px 18px; margin: 26px 0; }

.obs-carte { margin: 26px 0 8px; }
.obs-carte svg { display: block; width: 100%; height: auto; }
.legende-carte { font-size: 0.82rem; opacity: 0.65; margin: 6px 0 26px; }

.tableau-wrap { overflow-x: auto; margin: 18px 0; }
table.obs { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
table.obs th, table.obs td { padding: 8px 10px; text-align: left;
                             border-bottom: 1px solid rgba(0,0,0,0.08); }
table.obs th { font-weight: 600; background: var(--ivory-soft); white-space: nowrap; }
table.obs td.num, table.obs th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.obs tr.ici td { font-weight: 700; background: rgba(181, 91, 71, 0.07); }

.faq-obs details { border-bottom: 1px solid rgba(0,0,0,0.09); padding: 12px 0; }
.faq-obs summary { cursor: pointer; font-weight: 600; }
.faq-obs p { margin: 10px 0 0; }

.methode { background: var(--ivory-soft); border-radius: 10px; padding: 20px;
           font-size: 0.9rem; margin: 30px 0; }
.methode h2 { margin-top: 0; }

.cta-obs { background: var(--ivory-soft); padding: 34px 0; margin-top: 36px;
           border-top: 3px solid var(--terracotta, #B55B47); }
.cta-obs h2 { margin-top: 0; }
.btn-obs { display: inline-block; background: var(--terracotta, #B55B47); color: #fff;
           padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.btn-obs:hover { opacity: 0.9; }

/* Offre placée haut : visible sans dérouler la page.
   Fond légèrement teinté et non blanc : sur écran large le bloc occupe toute la
   largeur du contenu et, en blanc pur, il se lisait comme un simple paragraphe
   encadré au lieu d'une offre. La teinte + l'ombre le décollent de la page. */
.offre-haut { border: 2px solid var(--terracotta, #B55B47); border-radius: 12px;
              padding: 24px 26px; margin: 30px 0 34px;
              background: linear-gradient(180deg, rgba(181,91,71,0.075), rgba(181,91,71,0.035));
              box-shadow: 0 2px 14px rgba(181, 91, 71, 0.10); }
.offre-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem;
                 font-weight: 700; color: var(--terracotta, #B55B47); margin: 0 0 8px; }
.offre-accroche { font-size: 1.08rem; margin: 0 0 12px; }
.offre-liste { margin: 0 0 16px; padding-left: 20px; }
.offre-liste li { margin-bottom: 5px; font-size: 0.95rem; }
.offre-note { display: inline-block; margin-left: 12px; font-size: 0.84rem; opacity: 0.7; }

/* Sélecteur de territoire, en haut de page sous le fil d'Ariane */
.selecteur { border-bottom: 1px solid rgba(0,0,0,0.07); padding: 12px 0; }
.selecteur-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem;
            padding: 6px 14px; border-radius: 999px; text-decoration: none;
            color: var(--terracotta, #B55B47); border: 1px solid rgba(181, 91, 71, 0.35);
            background: rgba(181, 91, 71, 0.04); transition: background 0.15s, border-color 0.15s; }
.pastille::before { content: "↗"; font-size: 0.78rem; opacity: 0.55; }
.pastille:hover { background: rgba(181, 91, 71, 0.12); border-color: rgba(181, 91, 71, 0.6); }

/* Recherche de territoire, sur la page pivot */
.recherche { position: relative; margin: 28px 0 34px; }
.recherche-lab { display: block; font-size: 0.82rem; text-transform: uppercase;
                 letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 8px; }
.recherche-champ { width: 100%; padding: 14px 18px; font-size: 1.02rem; font-family: inherit;
                   border: 2px solid var(--terracotta, #B55B47); border-radius: 10px;
                   background: #fff; color: inherit; }
.recherche-champ:focus { outline: 3px solid rgba(181, 91, 71, 0.28); outline-offset: 1px; }
.recherche-aide { font-size: 0.82rem; opacity: 0.6; margin: 6px 0 0; }
.recherche-res { list-style: none; margin: 6px 0 0; padding: 0; display: none;
                 position: absolute; left: 0; right: 0; z-index: 20; background: #fff;
                 border: 1px solid rgba(0,0,0,0.14); border-radius: 10px; overflow: hidden;
                 box-shadow: 0 6px 24px rgba(0,0,0,0.13); }
.recherche-res.ouvert { display: block; }
.recherche-res li + li { border-top: 1px solid rgba(0,0,0,0.07); }
.recherche-res a { display: flex; justify-content: space-between; align-items: baseline;
                   gap: 12px; padding: 11px 16px; text-decoration: none; color: inherit; }
.recherche-res a:hover, .recherche-res a:focus { background: rgba(181, 91, 71, 0.09); outline: none; }
.r-nom { font-weight: 600; }
.r-meta { font-size: 0.82rem; opacity: 0.62; white-space: nowrap; }
.recherche-vide { padding: 12px 16px; font-size: 0.9rem; opacity: 0.7; }

/* Calendrier réglementaire : ce qui justifie d'agir maintenant */
.calendrier { background: var(--ivory-soft); border-radius: 10px; padding: 22px 24px;
              margin: 30px 0; }
.calendrier h2 { margin-top: 0; }
.calendrier ul { margin: 0; padding-left: 20px; }
.calendrier li { margin-bottom: 12px; font-size: 0.95rem; }
.calendrier-note { font-size: 0.8rem; opacity: 0.6; margin: 14px 0 0; }

@media (max-width: 640px) {
  .offre-note { display: block; margin: 8px 0 0; }
  .offre-haut { padding: 18px 16px; }
}

.liens-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
                gap: 8px 18px; margin: 18px 0; font-size: 0.92rem; }
.liens-grille a { text-decoration: none; color: var(--terracotta, #B55B47); }
.liens-grille a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .chiffre .val { font-size: 1.6rem; }
  .obs-hero { padding: 26px 0 18px; }
}
