/* =========================
   STYLE GLOBAL — WHITE / BLACK / RED
   Sans ombres — Angles droits partout
   Police: Raleway
   ========================= */

@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap");

:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:rgba(0,0,0,.65);
  --line:rgba(0,0,0,.14);

  --red:#c1121f;
  --red2:#ff2b3a;

  --max:1100px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: "Raleway", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: .2px;
}
/*bouton back-top 
.back-to-top{
    color: #111111;
    background-color: #ddc752;
    position: fixed;
    z-index: 100000;
    opacity: 0.85;
    border-radius: 50%;
    line-height: 0;
    border-width: 0px;
    cursor: pointer;

}*/
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #111;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.85;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, border-color .2s ease, color .2s ease;
  z-index: 9998;
}

.back-to-top:hover{
  border-color: rgba(255,43,58,.75);
  color: #ff2b3a;
}

.back-to-top.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}
/****/
a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--red2); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0;
  z-index:9999;
}

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background:#ffffff;
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:74px;
}

/* bloc gauche : 2 liens brand */
.header .header-inner > div{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.header a.brand{
  color:#111;
  line-height:0.2;
}

.brand-top{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-logo{
  width:34px;
  height:auto;
  display:block;
}

.brand strong{
  font-size:16px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#111;
}

.header a.brand span{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:none;
  color: rgba(0,0,0,.55);
}
.header a.brand:hover span{
  color: var(--red2);
}

/* NAV */
.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  padding:10px 10px;
  border:1px solid transparent;
  border-radius:0;
  color:#111;
}
.nav a:hover{
  color: var(--red2);
  border-color: rgba(255,43,58,.30);
}
.nav a.active{ 
    color: var(--red);
    font-weight: 800; 
}

.nav a.cta{
  border:1px solid rgba(0,0,0,.20);
  color:#111;
}
.nav a.cta:hover{
  background: var(--red2);
  border-color: var(--red2);
  color:#111;
}

/* Burger */
.burger{
  display:none;
  border:1px solid rgba(0,0,0,.20);
  background:transparent;
  color:#111;
  padding:10px 12px;
  border-radius:0;
}
.burger:focus{
  outline:2px solid rgba(255,43,58,.25);
  outline-offset:3px;
}

/* Mobile panel */
.mobile-panel{
  display:none;
  background:#fff;
  border-top:1px solid var(--line);
}
.mobile-panel.open{ display:block; }

.mobile-panel a{
  display:block;
  padding:14px 20px;
  border-bottom:1px solid var(--line);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#111;
}
.mobile-panel a:hover{ color: var(--red2); }
.mobile-panel a.active{ color: var(--red); }

@media (max-width: 880px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }
}

/* HERO */
.hero{ padding:64px 0 28px; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: var(--muted);
}
.kicker::before{
  content:"";
  width:22px;
  height:2px;
  background: var(--red);
}

.h1, h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing:.02em;
  color:#111;
}

.sub, .lead{
  max-width:70ch;
  color: rgba(0,0,0,.72);
  font-size:16px;
  margin:0 0 22px;
}

.hero-actions, .actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:0;
  border:1px solid rgba(0,0,0,.18);
  background:transparent;
  color:#111;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{
  background: rgba(255,43,58,.10);
  border-color: rgba(255,43,58,.55);
  color:#111;
}
.btn.primary{
  border-color: rgba(12, 7, 7, 0.18);
  background:rgba(8, 5, 5);
  color:#fff;
}
.btn.primary:hover{
  background: var(--red2);
  border-color: var(--red2);
  color:#111;
}

/* Sections */
.section1, .section2, .section3, .section4, .final-cta{
  padding: 22px 0 64px;
}

.section1 h2, .section2 h2, .section3 h2, .section4 h2{
  margin:0 0 14px;
  font-size:14px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: rgba(0,0,0,.92);
}

/* Grid + cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}

.card{
  border:1px solid var(--line);
  border-radius:0;
  overflow:hidden;
  background:#fff;
}

.card .meta{ padding:14px 14px 16px; }

.tag{
  display:inline-flex;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color: rgba(0,0,0,.60);
}
.title{
  margin:8px 0 0;
  font-size:16px;
  color:#111;
}
.note{
  margin:6px 0 0;
  font-size:13px;
  color: rgba(0,0,0,.70);
}

.thumb{
  aspect-ratio: 16/10;
  background:#f0f0f2;
  position:relative;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.thumb .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,0));
  opacity:.65;
  pointer-events:none;
}

/* spans */
.span-12{ grid-column: span 12; }
.span-8{ grid-column: span 8; }
.span-6{ grid-column: span 6; }
.span-4{ grid-column: span 4; }

@media (max-width: 900px){
  .span-8, .span-6, .span-4{ grid-column: span 12; }
}

.post-thumb{ aspect-ratio: 16/10; }
/*.post-card .btn{ pointer-events:none; }*/

/* Carousel (si utilisé) */
.carousel{
  position:relative;
  border:1px solid var(--line);
  border-radius:0;
  overflow:hidden;
  background:#fff;
}
.carousel-track{
  display:flex;
  transition: transform .45s ease;
  will-change: transform;
}
.carousel-slide{
  flex:0 0 100%;
  position:relative;
  aspect-ratio: 16/9;
  background:#f0f0f2;
}
.carousel-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 25%;
  display:block;
}
.carousel-slide img.is-portrait{
  object-fit:contain;
  object-position:center center;
  background:#f0f0f2;
  padding:10px;
}
.carousel-slide .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0));
  opacity:.6;
}
.carousel-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:0;
  background: rgba(255,255,255,.92);
  color:#111;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.carousel-btn:hover{
  background: var(--red2);
  border-color: var(--red2);
}
.carousel-btn.prev{ left:12px; }
.carousel-btn.next{ right:12px; }
.carousel-dots{
  position:absolute;
  left:12px; right:12px; bottom:10px;
  display:flex;
  gap:8px;
  justify-content:center;
}
.carousel-dot{
  width:9px;
  height:9px;
  border:1px solid rgba(0,0,0,.22);
  border-radius:0;
  background: rgba(0,0,0,.10);
  cursor:pointer;
}
.carousel-dot.active{
  background: var(--red2);
  border-color: var(--red2);
}

/* Dropdown section 3 <details> */
.dd{
  margin-top:10px;
  border:1px solid rgba(0,0,0,.14);
  border-radius:0;
  background:#fff;
}
.dd-summary{
  list-style:none;
  cursor:pointer;
  padding:12px 12px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  border-color: rgba(12, 7, 7, 0.18);
  background:rgba(8, 5, 5);
  border-radius:0;
  color: #fff;
  user-select:none;
}
.dd-summary::-webkit-details-marker{ display:none; }
.dd-summary:hover{
  background: var(--red2);
  border-color: var(--red2);
  color:#111;
}
.dd-menu{
  display:none;
  border-top:1px solid rgba(0,0,0,.12);
  padding:8px;
  gap:6px;
}
.dd[open] .dd-menu{ display:grid; }

.dd-item{
  display:block;
  padding:10px 10px;
  border:1px solid transparent;
  border-radius:0;
  color: rgba(0,0,0,.88);
  line-height:1.35;
}
.dd-item:hover{
  border-color: rgba(255,43,58,.35);
  background: rgba(255,43,58,.06);
  color: var(--red2);
}
.dd-item strong{ font-weight:700; }
/*section4
.section4 .btn{
 border:1px solid rgba(0,0,0,.18);
 background:rgba(0,0,0,.18);
color:#fff;
}
.section4 .btn:hover{
  color: var(--red2);
  border-color: var(--red2);
  background:#fff;
}*/
/* Final CTA */
.final-cta-inner{
  border:1px solid var(--line);
  border-radius:0;
  background:#fff;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.final-title{
  margin:10px 0 8px;
  font-size:22px;
  color:#111;
}
.final-sub{
  margin:0;
  color: rgba(0,0,0,.70);
  max-width:70ch;
  font-size:14px;
  line-height:1.7;
}
.final-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width: 860px){
  .final-cta-inner{
    flex-direction: column;
    align-items:flex-start;
  }
  .final-cta-actions{
    width:100%;
    justify-content:flex-start;
  }
}

/* Footer simple */
.footer-simple{
  padding:24px 0 34px;
  border-top:1px solid var(--line);
  background:#fff;
}
.footer-simple-inner{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.footer-links a{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: rgba(0,0,0,.78);
  border:1px solid transparent;
  padding:8px 10px;
  border-radius:0;
}
.footer-links a:hover{
  color: var(--red2);
  border-color: rgba(255,43,58,.30);
}
.footer-meta{ display:grid; gap:8px; }
.footer-credit{
  color: rgba(0,0,0,.65);
  font-size:13px;
}
.footer-credit a{
  color: rgba(0,0,0,.80);
  text-decoration: underline;
  text-underline-offset:3px;
}
.footer-credit a:hover{ color: var(--red2); }
.footer-rights{
  margin:0;
  color: rgba(0,0,0,.60);
  font-size:12.5px;
  line-height:1.65;
  max-width:1100px;
}


/* =========================
   MESSAGE TEMPORAIRE — SITE EN MAINTENANCE
   ========================= */

.maintenance-panel{
  margin: 22px 0 24px;
  border: 1px solid var(--red);
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 22px;
  padding: 22px;
}

.maintenance-label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.maintenance-label::before{
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}

.maintenance-panel p{
  margin: 10px 0 0;
  max-width: 72ch;
  color: rgba(0,0,0,.76);
  font-size: 15px;
}

.maintenance-panel .maintenance-note{
  color: rgba(0,0,0,.58);
  font-size: 13px;
}

.maintenance-visual{
  width: 100%;
  max-width: 170px;
  justify-self: end;
  display: block;
}

.maintenance-disabled-link{
  cursor: default;
}

a.maintenance-disabled-link:hover{
  color: var(--red2);
}

@media (max-width: 760px){
  .maintenance-panel{
    grid-template-columns: 1fr;
  }

  .maintenance-visual{
    justify-self: start;
    max-width: 140px;
  }
}

