/* =========================================================
   01 — CHARTE GRAPHIQUE : tous les réglages principaux ici
   ========================================================= */
:root {
  /* Couleurs fournies */
  --rouge: #e1635a;
  --bleu: #454d69;
  --gris: #c7c6b2;
  --fond-page: rgba(69,77,105,.30);
  --fond-footer: rgba(199,198,178,.40);
  /* Le code titre fourni (#c7c6b2) est beige : bleu du PDF retenu
     pour le contraste. Remplacer par var(--gris) si souhaité. */
  --titre-couleur: #3f4c6a;
  --lien-couleur: var(--titre-couleur);
  --blanc: #fff;
  --texte: #171717;
  /* Typographies : Futura locale si disponible, sinon Jost (web). */
  --futura: "Futura Web", Futura, Jost, sans-serif;
  --oswald: Oswald, "Arial Narrow", sans-serif;
  --paragraphe: "Barlow Condensed", Oswald, "Arial Narrow", sans-serif;
  --graisse-bold: 700;
  --graisse-medium: 500;
  --graisse-light: 300;
  /* Tailles fluides et dimensions */
  --largeur-page: 1000px;
  --marge-rubrique: 3.8%;
  --marge-interne: 4.5%;
  --largeur-article: 100%;
  /* Format commun aux photos de rubrique et d’article */
  --ratio-photo: 1.53;
  --espace-photo-article: 16px;
  /* Respiration des en-têtes de tous les articles */
  --espace-titre-picto: 18px;
  --espace-picto-localisation: 24px;
  --taille-titre-principal: clamp(30px,5vw,54px);
  --taille-intro: clamp(21px,4vw,48px);
  --taille-entree: clamp(19px,3.8vw,42px);
  --taille-titre-article: clamp(22px,3vw,36px);
  --taille-region: 21px;
  --taille-ville: 16px;
  --taille-paragraphe: 24px;
  --taille-pratique: 20px;
  --taille-infos: 20px;
  --graisse-infos: 600;
  --espace-apres-cartouche: 34px;
  --taille-footer: 18px;
  --interligne: 1.28;
  --espace-article: 55px;
  --espace-rubrique: 42px;
  --picto-opacite: .30;
}
/* FUTURA WEB — facultatif, seulement si vous possédez des fichiers licenciés.
   Créez fonts/ et décommentez les règles correspondant à vos fichiers.
@font-face {font-family:"Futura Web";src:url("fonts/futura-bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face {font-family:"Futura Web";src:url("fonts/futura-medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face {font-family:"Futura Web";src:url("fonts/futura-medium-italic.woff2") format("woff2");font-weight:500;font-style:italic;font-display:swap;}
@font-face {font-family:"Futura Web";src:url("fonts/futura-light-italic.woff2") format("woff2");font-weight:300;font-style:italic;font-display:swap;}
*/
/* 02 — BASE / LARGEUR GÉNÉRALE */
*{box-sizing:border-box} html{scroll-behavior:smooth} body{margin:0;background:#fff;color:var(--texte);font-family:var(--futura)} img{display:block;max-width:100%} a{color:inherit;overflow-wrap:anywhere} a:hover{text-decoration:underline} a:focus-visible{outline:2px solid var(--bleu);outline-offset:4px} h1,h2,h3,p{margin:0} .page{max-width:var(--largeur-page);margin:auto;background:var(--fond-page);overflow:hidden}
/* 03 — HEADER / COUVERTURE / TITRE PRINCIPAL */
.hero{position:relative;aspect-ratio:800/608;background:var(--bleu);margin-bottom:20px;isolation:isolate} .hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2} .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(0,0,0,.24),transparent 65%);z-index:-1}
.hero-header{position:absolute;top:7%;right:0;display:flex;align-items:center;gap:14px;text-align:right;color:var(--rouge);font-size:clamp(10px,1.8vw,20px);line-height:1.04;letter-spacing:.11em} .header-picto{width:clamp(42px,10vw,105px)} .hero-header strong{font-weight:700}.hero-header span{font-weight:500}
.hero h1{position:absolute;left:11%;top:28%;color:var(--blanc);font:700 var(--taille-titre-principal)/1.07 var(--oswald);text-shadow:0 1px 5px #0005} .hero-pictos{position:absolute;left:0;top:25%;display:grid;width:8%;background:#fff}.hero-pictos img{width:100%;padding:20%}.hero-pictos .picto-soleil{background:var(--rouge);width:100%;aspect-ratio:1;display:grid;place-items:center}.hero-pictos .picto-soleil img{filter:brightness(0) invert(1);padding:20%}
.hero-brand,.rubrique-title{font-family:var(--futura);font-weight:var(--graisse-bold);background:var(--rouge);color:var(--blanc);text-align:center;letter-spacing:.055em;line-height:1.13}.hero-brand{position:absolute;bottom:0;left:50%;transform:translate(-50%,50%);white-space:nowrap;font-size:clamp(17px,3.3vw,34px);padding:.25em .6em}
/* 04 — TITRE INTRODUCTIF / SOMMAIRE (optionnel) */
.intro{padding:48px 4% 55px;text-align:center}.intro h2{color:var(--titre-couleur);font-size:var(--taille-intro);font-weight:500;line-height:1.12;letter-spacing:.035em}.sommaire{display:none; /* remplacer par flex pour afficher */ flex-wrap:wrap;justify-content:center;gap:12px;padding:0 4% 28px}.sommaire a{font-size:14px;text-decoration:none;padding:8px 12px;border:1px solid var(--bleu);color:var(--bleu)}
/* 05 — ENTRÉES DE RUBRIQUE : image + cartouche chevauchant */
.rubrique{position:relative;margin:0 var(--marge-rubrique) var(--espace-rubrique);padding-top:1px;isolation:isolate}.rubrique::before{content:"";position:absolute;inset:120px 0 0;background:white;z-index:-1}.rubrique-header{position:relative;margin:0 var(--marge-interne) 0}.rubrique-photo{width:100%;aspect-ratio:var(--ratio-photo);object-fit:cover}.rubrique-title{position:relative;left:auto;bottom:auto;transform:none;width:max-content;max-width:96%;font-size:var(--taille-entree);padding:.20em .55em;margin:0 auto;translate:0 -50%}
/* 06 — ARTICLES : gauche / droite / pictogrammes */
.articles{padding:var(--espace-apres-cartouche) var(--marge-interne) 25px}.article{position:relative;width:var(--largeur-article);margin:0 0 var(--espace-article);isolation:isolate}.article:last-child{margin-bottom:0}.article-right{text-align:right;margin-left:auto}.article-picto{position:absolute;top:0;right:-4%;width:24%;height:115px;object-fit:contain;object-position:right top;opacity:var(--picto-opacite);filter:grayscale(1) sepia(.25) hue-rotate(175deg);z-index:-1;pointer-events:none}.article-right .article-picto{right:auto;left:-4%;object-position:left top}
/* 07 — TITRE ARTICLE (Futura Bold) */
.article-title{font-family:var(--futura);font-weight:var(--graisse-bold);font-size:var(--taille-titre-article);line-height:1.08;color:var(--titre-couleur);max-width:78%;text-wrap:balance}.article-right .article-title{margin-left:auto}.article-line{width:130px;height:20px;object-fit:contain;object-position:left center;margin:var(--espace-titre-picto) 0 var(--espace-picto-localisation)}.article-right .article-line{margin-left:auto;object-position:right center}
/* 08 — RÉGION / DÉPARTEMENT / VILLE / STATION */
.article-location{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:8px;padding-bottom:10px;border-bottom:1px solid #454d6960;color:var(--titre-couleur)}.article-right .article-location{justify-content:flex-end}.article-region{font:italic 300 var(--taille-region)/1.2 var(--futura)}.geo{width:15px;height:20px;object-fit:contain}.article-city{font:700 var(--taille-ville)/1.25 var(--futura);color:var(--rouge)}
/* Suppression du filet uniquement lorsque la localisation précède une photo. */
.article-avec-photo .article-location{border-bottom:0;padding-bottom:0;}
/* 08 BIS — PHOTO ARTICLE (facultative) : même largeur et ratio que les entrées.
   Modifier --position-photo sur le bloc figure pour ajuster le cadrage.
   Le visuel publicitaire XPL’AURE reste entier dans le même cadre. */
.article-image{width:100%;aspect-ratio:var(--ratio-photo);margin:var(--espace-photo-article) 0;overflow:hidden}
.article-photo{width:100%;height:100%;object-fit:cover;object-position:var(--position-photo,50% 50%)}
.article-image-visuel{background:#00536a}
.article-image-visuel .article-photo{object-fit:contain}
/* 09 — PARAGRAPHE ARTICLE (Barlow Condensed Light) */
.article-text{font:300 var(--taille-paragraphe)/var(--interligne) var(--paragraphe);overflow-wrap:break-word}
/* 10 — EN PRATIQUE / INFOS + / LIENS */
.article-practical,.article-info{font-family:var(--futura);font-style:italic;font-weight:500;line-height:1.45;margin-top:6px}.article-practical{font-size:var(--taille-pratique);font-weight:var(--graisse-infos);color:var(--lien-couleur)}.article-info{font-size:var(--taille-infos);font-weight:var(--graisse-infos)}.article-practical span,.article-info span{color:var(--rouge)}.article-info a{color:var(--lien-couleur);text-decoration:none}.article-info a:hover{text-decoration:underline}
/* 11 — FOOTER / CONTACTS / LOGOS */
/* Zone contacts : titre rouge et deux colonnes autour d'un filet central. */
.footer{background:linear-gradient(var(--fond-footer),var(--fond-footer)),white;text-align:center;padding:0}
.footer-content{padding:38px 5% 34px}
.footer h2{color:var(--rouge);font:500 clamp(20px,3vw,30px)/1.12 var(--futura);letter-spacing:.045em;margin-bottom:30px}
.contacts{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:start}
.contacts address{font:italic 500 var(--taille-footer)/1.35 var(--futura);min-width:0}
.contacts address:first-child{text-align:right;padding-right:24px;border-right:1px solid var(--bleu)}
.contacts address:last-child{text-align:left;padding-left:24px}
.contacts strong{font-style:normal;font-weight:700;color:var(--titre-couleur);display:inline-block;margin-bottom:3px}
.contacts a{text-decoration:none;overflow-wrap:anywhere}
.credits{font-size:12px;font-style:italic;line-height:1.4;margin-top:30px}
/* Bandeau final : logo Agence blanc sur rouge / logo Pyrénées rouge sur blanc. */
.logos{position:relative;isolation:isolate;display:grid;grid-template-columns:65% 35%;align-items:center;min-height:145px;background:white;padding:28px 4%;gap:0}
.logos::before{content:"";position:absolute;inset:0;background:var(--rouge);clip-path:polygon(0 0,74% 0,49% 100%,0 100%);z-index:-1}
.logos img{width:100%;height:auto;object-fit:contain;justify-self:start}
.logos .logo-agence{width:84%;max-width:510px}
.logos .logo-pyrenees{width:80%;max-width:250px;justify-self:end}
/* 12 — RESPONSIVE / MOBILE */
@media(max-width:600px){:root{--marge-rubrique:3%;--marge-interne:5%;--taille-paragraphe:20px;--taille-region:17px;--taille-ville:13px;--taille-pratique:17px;--taille-infos:17px;--espace-apres-cartouche:20px;--espace-titre-picto:14px;--espace-picto-localisation:18px;--espace-article:38px;--espace-rubrique:28px}.hero{aspect-ratio:4/4.2}.hero h1{left:10%;top:31%}.hero-pictos{top:29%}.intro{padding:32px 4%}.rubrique-header{margin-bottom:0}.rubrique::before{top:65px}.rubrique-title{max-width:100%;text-wrap:balance}.article-picto{width:23%;height:75px}.article-title{max-width:82%}.article-line{width:90px;height:15px}.article-location{gap:5px}.contacts{grid-template-columns:1fr;gap:20px}.footer-content{padding:30px 6% 25px}.contacts address:first-child,.contacts address:last-child{text-align:center;padding:0;border:0}.logos{min-height:88px;padding:20px 4%}.logos .logo-agence{width:82%}.logos .logo-pyrenees{width:85%}.article-right .article-text,.article-right .article-practical,.article-right .article-info{text-align:left}.article-right .article-location{justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 13 — IMPRESSION / PDF */
@media print{.page{max-width:none}.article{break-inside:avoid}.back,.sommaire{display:none}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
