/*
Theme Name: ZAGABE ARSENE Editorial
Theme URI: https://zagabearsene.com/
Author: Arsene Zagabe
Description: Thème éditorial premium ARSÈNE ZAGABE, responsive, animé avec sobriété, carrousel photo, identité typographique forte et intégration des extensions ZAGABE Pro.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: zagabe-arsene-editorial
License: GNU General Public License v2 or later
*/

:root{
  --bbc-red:#B80000;
  --bbc-black:#121212;
  --bbc-white:#FFFFFF;
  --bbc-bg:#F6F6F6;
  --bbc-border:#E0E0E0;
  --bbc-muted:#5A5A5A;
  --bbc-container:1180px;
  --bbc-font:Arial,Helvetica,sans-serif;
  --bbc-focus:#005FCC;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bbc-bg);
  color:var(--bbc-black);
  font-family:var(--bbc-font);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;height:auto;display:block}
a{color:var(--bbc-black);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
button,input,textarea,select{font:inherit}
:focus-visible{outline:3px solid var(--bbc-focus);outline-offset:3px}

.container{
  width:min(calc(100% - 2rem),var(--bbc-container));
  margin-inline:auto;
}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.screen-reader-text:focus{
  position:fixed!important;
  width:auto;height:auto;
  clip:auto;
  top:1rem;left:1rem;
  background:#fff;color:#000;
  padding:.75rem 1rem;
  z-index:99999;
}

/* Ticker */
.news-ticker{
  background:var(--bbc-red);
  color:var(--bbc-white);
  overflow:hidden;
}
.ticker-inner{
  min-height:40px;
  display:flex;
  align-items:center;
  gap:1rem;
  overflow:hidden;
}
.ticker-label{
  flex:0 0 auto;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.ticker-window{
  overflow:hidden;
  min-width:0;
  flex:1;
}
.ticker-track{
  display:inline-block;
  white-space:nowrap;
  padding-left:100%;
  animation:ticker-scroll 26s linear infinite;
}
@keyframes ticker-scroll{
  to{transform:translateX(-100%)}
}
@media(prefers-reduced-motion:reduce){
  .ticker-track{animation:none;padding-left:0}
}

/* Header */
.site-header{
  background:var(--bbc-white);
  border-bottom:1px solid var(--bbc-border);
}
.header-main{
  min-height:90px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:2rem;
}
.branding{
  display:flex;
  align-items:center;
  gap:1rem;
  min-width:0;
}
.branding .custom-logo{
  max-height:68px;
  width:auto;
}
.site-title{
  font-size:1.2rem;
  font-weight:800;
  text-decoration:none;
}
.site-description{
  margin:.15rem 0 0;
  color:var(--bbc-muted);
  font-size:.86rem;
}
.nav-wrap{
  display:flex;
  align-items:center;
}
.menu-toggle{
  display:none;
  background:var(--bbc-red);
  color:#fff;
  border:0;
  padding:.65rem .85rem;
  font-weight:700;
  cursor:pointer;
}
.primary-nav ul{
  display:flex;
  align-items:center;
  gap:.2rem;
  list-style:none;
  padding:0;
  margin:0;
}
.primary-nav a{
  display:block;
  padding:.7rem .8rem;
  text-decoration:none;
  font-weight:700;
}
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item>a{
  color:var(--bbc-red);
}

/* Common editorial sections */
.section{
  padding:3.5rem 0;
}
.section.white{background:#fff}
.section-title{
  margin:0 0 1.25rem;
  padding-top:.75rem;
  border-top:4px solid var(--bbc-red);
  font-size:clamp(1.55rem,3vw,2.2rem);
  line-height:1.15;
  font-weight:800;
}
.section-subtitle{
  color:var(--bbc-muted);
  margin-top:-.75rem;
  margin-bottom:1.5rem;
}

/* Hero */
.hero{
  background:var(--bbc-white);
  border-bottom:1px solid var(--bbc-border);
}
.hero-grid{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:2rem;
  align-items:center;
  padding:2.5rem 0;
}
.profile-frame{
  border-top:6px solid var(--bbc-red);
  border-left:1px solid var(--bbc-border);
  border-right:1px solid var(--bbc-border);
  border-bottom:1px solid var(--bbc-border);
  background:#fff;
  padding:.65rem;
}
.profile-frame img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:cover;
}
.hero-kicker{
  color:var(--bbc-red);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.82rem;
  font-weight:800;
}
.hero h1{
  margin:.35rem 0 .75rem;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.02;
  font-weight:900;
}
.hero-message{
  font-size:1.12rem;
  max-width:760px;
}
.contact-block{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:1rem;
}
.contact-link{
  display:inline-block;
  background:var(--bbc-red);
  color:#fff;
  text-decoration:none;
  padding:.65rem .8rem;
  font-weight:700;
}

/* Carousel */
.carousel{
  overflow:hidden;
  border-top:1px solid var(--bbc-border);
  border-bottom:1px solid var(--bbc-border);
}
.carousel-track{
  display:flex;
  transition:transform .35s ease;
}
.carousel-slide{
  min-width:100%;
  display:grid;
  grid-template-columns:1fr;
  align-content:center;
  min-height:250px;
  padding:1.75rem;
  background:#fff;
}
.carousel-slide h3{
  font-size:clamp(1.5rem,3vw,2.35rem);
  line-height:1.08;
  margin:.4rem 0 .65rem;
}
.carousel-controls{
  display:flex;
  gap:.5rem;
  margin-top:1rem;
}
.carousel-btn{
  border:0;
  background:var(--bbc-black);
  color:#fff;
  padding:.6rem .8rem;
  cursor:pointer;
  font-weight:700;
}
.carousel-btn:hover{background:var(--bbc-red)}

/* Editorial cards */
.cards-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.editorial-card{
  background:#fff;
  border:1px solid var(--bbc-border);
  border-top:4px solid var(--bbc-red);
  padding:1.2rem;
}
.editorial-card h3{
  margin:.2rem 0 .6rem;
  font-size:1.25rem;
}
.alert-box{
  background:#fff;
  border:1px solid var(--bbc-border);
  border-left:7px solid var(--bbc-red);
  padding:1.25rem;
}
.alert-box h2{
  margin:0 0 .4rem;
  font-size:1.35rem;
}

/* Latest content */
.latest-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}
.post-card{
  background:#fff;
  border:1px solid var(--bbc-border);
  padding:1.2rem;
}
.post-card h3{
  font-size:1.3rem;
  line-height:1.15;
  margin:.35rem 0 .55rem;
}
.meta{
  color:var(--bbc-muted);
  font-size:.84rem;
}
.video-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.video-card{
  background:#fff;
  border:1px solid var(--bbc-border);
  border-top:4px solid var(--bbc-red);
  padding:1rem;
}
.video-card video{
  width:100%;
  background:#000;
}

/* Article */
.content-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:2rem;
  padding:2.5rem 0 4rem;
}
.main-content{
  background:#fff;
  border:1px solid var(--bbc-border);
  padding:clamp(1rem,3vw,2rem);
}
.sidebar .widget{
  background:#fff;
  border:1px solid var(--bbc-border);
  border-top:4px solid var(--bbc-red);
  padding:1rem;
  margin-bottom:1rem;
}
.breadcrumb{
  color:var(--bbc-muted);
  font-size:.84rem;
  margin-bottom:1rem;
}
.entry-title{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.04;
  margin:.4rem 0 1rem;
  font-weight:900;
}
.entry-content{
  font-size:1.04rem;
}
.entry-content h2,
.entry-content h3{
  margin-top:1.7rem;
  line-height:1.2;
}
.article-tools{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin:1rem 0 1.5rem;
}
.tool-btn{
  border:0;
  background:var(--bbc-red);
  color:#fff;
  padding:.55rem .75rem;
  cursor:pointer;
  font-weight:700;
}

/* Forms */
.sef-form{
  display:grid;
  gap:.7rem;
}
.sef-form label{
  font-weight:700;
}
.sef-form input,
.sef-form textarea{
  width:100%;
  border:1px solid #555;
  background:#fff;
  color:#111;
  padding:.7rem;
}
.sef-form button{
  border:0;
  background:var(--bbc-red);
  color:#fff;
  padding:.7rem .9rem;
  font-weight:800;
  cursor:pointer;
}
.sef-message{
  background:#fff;
  color:#111;
  border-left:5px solid #287A28;
  padding:.7rem;
  margin-bottom:.7rem;
}
.sef-error{
  border-left-color:var(--bbc-red);
}

/* Footer */
.site-footer{
  background:var(--bbc-black);
  color:#fff;
  padding:3rem 0 1rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:2rem;
}
.site-footer h2{
  color:#fff;
  border-top:4px solid var(--bbc-red);
  padding-top:.7rem;
  font-size:1.05rem;
}
.site-footer a{color:#fff}
.footer-bottom{
  border-top:1px solid #444;
  margin-top:2rem;
  padding-top:1rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:1rem;
  color:#ccc;
  font-size:.84rem;
}

@media(max-width:980px){
  .hero-grid{grid-template-columns:260px 1fr}
  .cards-3{grid-template-columns:1fr}
  .content-wrap{grid-template-columns:1fr}
  .menu-toggle{display:inline-block}
  .primary-nav{
    position:absolute;
    left:1rem;
    right:1rem;
    top:130px;
    background:#fff;
    border:1px solid var(--bbc-border);
    z-index:9999;
  }
  .primary-nav[hidden]{display:none}
  .primary-nav ul{display:block}
}
@media(max-width:700px){
  .hero-grid{grid-template-columns:1fr}
  .profile-frame{max-width:300px}
  .latest-grid,
  .video-grid,
  .footer-grid{grid-template-columns:1fr}
  .site-description{display:none}
  .branding .custom-logo{max-height:54px}
  .section{padding:2.7rem 0}
}
@media print{
  .news-ticker,.site-header,.site-footer,.sidebar,.breadcrumb,.article-tools{display:none!important}
  body{background:#fff;color:#000}
  .content-wrap{display:block;padding:0}
  .main-content{border:0;padding:0}
}


/* ===== ZAGABE ARSENE V2 ===== */
.zagabe-wordmark{
  display:flex;
  align-items:center;
  gap:.55rem;
  text-decoration:none;
  white-space:nowrap;
}
.zagabe-wordmark-boxes{
  display:inline-flex;
  gap:3px;
}
.zagabe-wordmark-boxes span{
  display:inline-grid;
  place-items:center;
  min-width:28px;
  height:30px;
  padding:0 5px;
  background:#B80000;
  color:#fff;
  font-weight:900;
  font-size:.95rem;
  letter-spacing:-.02em;
}
.zagabe-wordmark-name{
  font-weight:900;
  font-size:1.05rem;
  letter-spacing:.035em;
  color:#121212;
}
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
}
.header-main{
  min-height:82px;
}
.branding{
  flex:1;
}
.branding .custom-logo-link{display:none}

/* Hero carousel replacing static photo */
.hero-carousel-section{
  background:#121212;
  color:#fff;
  border-bottom:6px solid #B80000;
}
.hero-media-carousel{
  position:relative;
  overflow:hidden;
  min-height:560px;
}
.hero-media-track{
  display:flex;
  height:100%;
  transition:transform .55s ease;
}
.hero-media-slide{
  position:relative;
  min-width:100%;
  min-height:560px;
  overflow:hidden;
}
.hero-media-slide img{
  width:100%;
  height:560px;
  object-fit:cover;
  object-position:center 28%;
}
.hero-media-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.43);
}
.hero-media-copy{
  position:absolute;
  left:max(1rem,calc((100vw - 1180px)/2 + 1rem));
  bottom:54px;
  width:min(720px,calc(100% - 2rem));
  color:#fff;
  z-index:2;
}
.hero-media-kicker{
  display:inline-block;
  background:#B80000;
  color:#fff;
  padding:.35rem .55rem;
  margin-bottom:.75rem;
  font-weight:800;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.hero-media-copy h1,
.hero-media-copy h2{
  margin:0 0 .7rem;
  color:#fff;
  font-size:clamp(2rem,5vw,4.6rem);
  line-height:1;
  font-weight:900;
  max-width:850px;
}
.hero-media-copy p{
  margin:0;
  font-size:clamp(1rem,2vw,1.25rem);
  line-height:1.45;
  max-width:720px;
}
.hero-media-contact{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:1rem;
}
.hero-media-contact a{
  background:#fff;
  color:#121212;
  padding:.55rem .7rem;
  font-weight:800;
  text-decoration:none;
}
.hero-media-controls{
  position:absolute;
  z-index:3;
  right:max(1rem,calc((100vw - 1180px)/2 + 1rem));
  bottom:26px;
  display:flex;
  gap:.45rem;
}
.hero-media-btn{
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.7);
  background:#121212;
  color:#fff;
  font-size:1.2rem;
  cursor:pointer;
}
.hero-media-dots{
  position:absolute;
  z-index:3;
  left:max(1rem,calc((100vw - 1180px)/2 + 1rem));
  bottom:20px;
  display:flex;
  gap:.45rem;
}
.hero-media-dot{
  width:34px;
  height:5px;
  border:0;
  background:rgba(255,255,255,.45);
  padding:0;
  cursor:pointer;
}
.hero-media-dot.is-active{background:#B80000}

/* Featured images */
.post-card{
  padding:0;
  overflow:hidden;
}
.post-card-body{padding:1.2rem}
.post-card-thumb{
  display:block;
  border-bottom:1px solid #E0E0E0;
}
.post-card-thumb img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.archive-card{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:0;
  margin-bottom:1rem;
}
.archive-card .post-card-thumb img{
  height:100%;
  aspect-ratio:auto;
  min-height:170px;
}
.entry-featured{
  margin:1rem 0 1.5rem;
}
.entry-featured img{
  width:100%;
  max-height:680px;
  object-fit:cover;
}

/* Better mobile */
@media(max-width:800px){
  .zagabe-wordmark-name{font-size:.92rem}
  .zagabe-wordmark-boxes span{min-width:24px;height:27px;font-size:.82rem}
  .hero-media-carousel,.hero-media-slide{min-height:520px}
  .hero-media-slide img{height:520px}
  .hero-media-copy{bottom:76px}
  .hero-media-controls{bottom:20px}
  .hero-media-dots{bottom:18px}
  .archive-card{grid-template-columns:1fr}
  .archive-card .post-card-thumb img{height:auto;aspect-ratio:16/9}
}
@media(max-width:520px){
  .site-description{display:none}
  .zagabe-wordmark-name{display:none}
  .hero-media-carousel,.hero-media-slide{min-height:500px}
  .hero-media-slide img{height:500px}
  .hero-media-copy h1,.hero-media-copy h2{font-size:2.25rem}
}


/* =========================================================
   ARSÈNE ZAGABE EDITORIAL — V3 PREMIUM
   ========================================================= */

:root{
  --az-red:#B80000;
  --az-black:#121212;
  --az-white:#FFFFFF;
  --az-bg:#F6F6F6;
  --az-border:#E0E0E0;
  --az-muted:#666666;
  --az-max:1180px;
  --az-shadow:0 10px 30px rgba(18,18,18,.08);
  --az-fast:180ms;
  --az-medium:320ms;
}

html{scroll-padding-top:110px}
body{overflow-x:hidden}

.container{
  width:min(calc(100% - 32px),var(--az-max));
}

/* --- Permanent expressive wordmark --- */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  box-shadow:0 1px 0 rgba(18,18,18,.08);
}
.header-main{
  min-height:84px;
}
.branding{
  min-width:max-content;
}
.az-wordmark{
  display:inline-flex;
  align-items:stretch;
  text-decoration:none!important;
  line-height:1;
  border:1px solid var(--az-black);
  background:#fff;
  transition:transform var(--az-fast) ease, box-shadow var(--az-fast) ease;
}
.az-wordmark:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(18,18,18,.10);
}
.az-wordmark-first{
  display:flex;
  align-items:center;
  padding:10px 13px;
  background:var(--az-red);
  color:#fff;
  font-weight:950;
  letter-spacing:.06em;
  font-size:1.08rem;
}
.az-wordmark-last{
  display:flex;
  align-items:center;
  padding:10px 13px;
  color:var(--az-black);
  font-weight:950;
  letter-spacing:.06em;
  font-size:1.08rem;
}
.az-wordmark-mark{
  width:8px;
  background:var(--az-black);
}

/* --- Navigation --- */
.primary-nav a{
  position:relative;
}
.primary-nav a::after{
  content:"";
  position:absolute;
  left:.8rem;
  right:.8rem;
  bottom:.42rem;
  height:3px;
  background:var(--az-red);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--az-fast) ease;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item>a::after{
  transform:scaleX(1);
}

/* --- Premium section titles --- */
.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.35rem;
  border-top:1px solid var(--az-black);
  padding-top:.9rem;
}
.section-heading-main{
  margin:0;
  font-size:clamp(1.65rem,3.2vw,2.55rem);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.025em;
}
.section-heading-main::before{
  content:"";
  display:block;
  width:58px;
  height:5px;
  background:var(--az-red);
  margin-bottom:.55rem;
}
.section-heading-note{
  margin:0 0 .2rem;
  color:var(--az-muted);
  font-size:.92rem;
}

/* Keep old section-title elegant */
.section-title{
  border-top:1px solid var(--az-black);
  padding-top:.9rem;
  letter-spacing:-.02em;
}
.section-title::before{
  content:"";
  display:block;
  width:54px;
  height:5px;
  background:var(--az-red);
  margin-bottom:.55rem;
}

/* --- Hero: no contact, stronger copy --- */
.hero-media-carousel,
.hero-media-slide{
  min-height:610px;
}
.hero-media-slide img{
  height:610px;
  object-position:center 24%;
}
.hero-media-overlay{
  background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.38) 50%,rgba(0,0,0,.12) 100%);
}
.hero-media-copy{
  bottom:78px;
  max-width:800px;
}
.hero-media-copy h1,
.hero-media-copy h2{
  text-wrap:balance;
}
.hero-media-copy p{
  text-wrap:pretty;
}
.hero-media-contact{
  display:none!important;
}
.hero-media-kicker{
  box-shadow:none;
}

/* --- Icon helpers --- */
.az-icon{
  width:20px;
  height:20px;
  display:inline-block;
  flex:0 0 auto;
}
.az-icon svg{
  width:100%;
  height:100%;
  display:block;
  fill:currentColor;
}

/* --- Cards, visual discipline --- */
.editorial-card,
.post-card,
.video-card,
.sidebar .widget{
  transition:transform var(--az-medium) ease, box-shadow var(--az-medium) ease, border-color var(--az-medium) ease;
}
.editorial-card:hover,
.post-card:hover,
.video-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--az-shadow);
}
.post-card h3,
.video-card h3{
  text-wrap:balance;
}
.post-card-thumb{
  overflow:hidden;
}
.post-card-thumb img{
  transition:transform 500ms ease;
}
.post-card:hover .post-card-thumb img{
  transform:scale(1.025);
}

/* --- Footer contact with icons --- */
.footer-contact-line{
  display:flex;
  align-items:center;
  gap:.65rem;
  margin:.65rem 0;
}
.footer-contact-line .az-icon{
  color:#fff;
}
.site-footer .az-footer-brand{
  display:inline-flex;
  align-items:stretch;
  margin-bottom:.7rem;
}
.site-footer .az-wordmark-last{
  color:#fff;
  border-color:#fff;
}
.site-footer .az-wordmark{
  border-color:#fff;
  background:transparent;
}
.site-footer .az-wordmark-mark{
  background:#fff;
}

/* --- Motion / reveal --- */
.az-reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity 600ms ease,transform 600ms ease;
}
.az-reveal.is-visible{
  opacity:1;
  transform:none;
}
.hero-media-slide .hero-media-copy{
  opacity:.25;
  transform:translateY(14px);
  transition:opacity 500ms ease 120ms, transform 500ms ease 120ms;
}
.hero-media-slide.is-current .hero-media-copy{
  opacity:1;
  transform:none;
}

/* --- Article typography --- */
.entry-title{
  max-width:940px;
  text-wrap:balance;
  letter-spacing:-.035em;
}
.entry-content{
  max-width:820px;
}
.entry-content p{
  margin:0 0 1.2em;
}
.entry-content blockquote{
  margin:1.8rem 0;
  padding:1rem 1.2rem;
  border-left:6px solid var(--az-red);
  background:#F8F8F8;
  font-size:1.16rem;
  font-weight:700;
}

/* --- Responsive refinements --- */
@media(max-width:980px){
  .header-main{
    min-height:76px;
  }
  .primary-nav{
    top:calc(40px + 76px);
  }
  .hero-media-carousel,
  .hero-media-slide{
    min-height:570px;
  }
  .hero-media-slide img{
    height:570px;
  }
}
@media(max-width:760px){
  .container{width:min(calc(100% - 24px),var(--az-max))}
  .az-wordmark-first,
  .az-wordmark-last{
    padding:9px 10px;
    font-size:.93rem;
  }
  .az-wordmark-mark{width:6px}
  .hero-media-carousel,
  .hero-media-slide{
    min-height:540px;
  }
  .hero-media-slide img{
    height:540px;
    object-position:center 20%;
  }
  .hero-media-overlay{
    background:linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.36) 56%,rgba(0,0,0,.08) 100%);
  }
  .hero-media-copy{
    left:16px;
    right:16px;
    bottom:92px;
    width:auto;
  }
  .section-heading{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:480px){
  .news-ticker{font-size:.84rem}
  .ticker-label{display:none}
  .header-main{min-height:68px;gap:.7rem}
  .az-wordmark-first,
  .az-wordmark-last{
    padding:8px 8px;
    font-size:.78rem;
    letter-spacing:.035em;
  }
  .hero-media-carousel,
  .hero-media-slide{
    min-height:510px;
  }
  .hero-media-slide img{
    height:510px;
  }
  .hero-media-copy h1,
  .hero-media-copy h2{
    font-size:2.15rem;
  }
  .hero-media-copy p{
    font-size:.98rem;
  }
  .hero-media-controls{
    right:12px;
  }
  .hero-media-dots{
    left:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  .az-reveal{opacity:1;transform:none}
}


/* =========================================================
   V3.1 — PAGES INSTITUTIONNELLES
   ========================================================= */
.az-page-hero{
  background:#121212;
  color:#fff;
  border-bottom:6px solid #B80000;
}
.az-page-hero-inner{
  min-height:330px;
  display:flex;
  align-items:flex-end;
  padding:72px 0 46px;
}
.az-page-kicker{
  display:inline-block;
  background:#B80000;
  color:#fff;
  padding:.38rem .6rem;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:.8rem;
}
.az-page-title{
  margin:0;
  color:#fff;
  font-size:clamp(2.5rem,6vw,5.6rem);
  line-height:.95;
  font-weight:950;
  letter-spacing:-.05em;
  text-wrap:balance;
}
.az-page-lead{
  max-width:760px;
  margin:1rem 0 0;
  color:#e8e8e8;
  font-size:clamp(1.05rem,2vw,1.25rem);
}
.az-page-section{
  padding:64px 0;
}
.az-page-section.white{background:#fff}
.az-page-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:start;
}
.az-page-grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.az-feature-box{
  background:#fff;
  border:1px solid #E0E0E0;
  border-top:4px solid #B80000;
  padding:24px;
  transition:transform .25s ease,box-shadow .25s ease;
}
.az-feature-box:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(18,18,18,.08);
}
.az-feature-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:#B80000;
  color:#fff;
  margin-bottom:16px;
}
.az-feature-icon svg{
  width:24px;height:24px;fill:currentColor;
}
.az-feature-box h3{
  margin:.1rem 0 .65rem;
  font-size:1.35rem;
  line-height:1.15;
}
.az-profile-block{
  background:#fff;
  border:1px solid #E0E0E0;
  display:grid;
  grid-template-columns:360px minmax(0,1fr);
}
.az-profile-media img{
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:cover;
}
.az-profile-copy{
  padding:34px;
}
.az-profile-copy h2{
  margin-top:0;
  font-size:clamp(1.8rem,4vw,3.1rem);
  line-height:1;
}
.az-quote{
  border-left:6px solid #B80000;
  background:#fff;
  padding:22px 24px;
  font-size:1.15rem;
  font-weight:800;
}
.az-contact-layout{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:24px;
}
.az-contact-card{
  background:#121212;
  color:#fff;
  padding:28px;
}
.az-contact-card h2{color:#fff;margin-top:0}
.az-contact-list{
  display:grid;
  gap:16px;
  margin-top:22px;
}
.az-contact-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.az-contact-row .az-icon{
  color:#fff;
  margin-top:2px;
}
.az-contact-form-wrap{
  background:#fff;
  border:1px solid #E0E0E0;
  padding:28px;
}
.az-offer-card{
  background:#fff;
  border:1px solid #E0E0E0;
  padding:24px;
  position:relative;
  overflow:hidden;
}
.az-offer-card::before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:5px;
  background:#B80000;
}
.az-offer-card h3{
  margin-top:0;
  font-size:1.4rem;
}
.az-offer-card ul{
  padding-left:1.2rem;
}
.az-blog-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.az-blog-card{
  background:#fff;
  border:1px solid #E0E0E0;
  overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease;
}
.az-blog-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(18,18,18,.08);
}
.az-blog-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.az-blog-card-body{padding:20px}
.az-blog-card h2,
.az-blog-card h3{
  margin:.25rem 0 .55rem;
  line-height:1.12;
}
.az-blog-meta{
  color:#666;
  font-size:.84rem;
}
.az-empty{
  background:#fff;
  border:1px solid #E0E0E0;
  padding:24px;
}
.az-cta-band{
  background:#B80000;
  color:#fff;
  padding:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.az-cta-band h2{
  color:#fff;
  margin:0;
}
.az-cta-button{
  display:inline-block;
  background:#fff;
  color:#121212;
  text-decoration:none;
  padding:12px 16px;
  font-weight:900;
}
@media(max-width:900px){
  .az-page-grid-3{grid-template-columns:1fr}
  .az-profile-block{grid-template-columns:1fr}
  .az-profile-media img{min-height:auto;max-height:520px}
  .az-contact-layout{grid-template-columns:1fr}
}
@media(max-width:700px){
  .az-page-hero-inner{min-height:270px;padding:54px 0 34px}
  .az-page-section{padding:46px 0}
  .az-page-grid-2{grid-template-columns:1fr}
  .az-blog-grid{grid-template-columns:1fr}
  .az-profile-copy{padding:24px}
  .az-contact-card,.az-contact-form-wrap{padding:22px}
  .az-cta-band{align-items:flex-start;flex-direction:column;padding:26px}
}
