/* ═══════════════════════════════════════════════
   ANIMALISENS — main.css
   MOBILE FIRST — base 375px → 768px → 1024px → 1200px
   Palette : bordeaux #5C2D3A, orange #E8722A, crème #F7F2F0
   Fonts : Cinzel Decorative + Poppins
═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --c-primaire:     #5C2D3A;
  --c-primaire2:    #8B3D52;
  --c-accent:       #E8722A;
  --c-accent-light: #F5A470;
  --c-fond:         #F7F2F0;
  --c-fond2:        #EDE5E8;
  --c-sombre:       #2A1820;
  --c-corps:        #3D2E35;
  --c-muted:        #9A8088;
  --c-blanc:        #FFFFFF;
  --c-bordure:      rgba(92,45,58,.15);

  --f-titre:  'Cinzel Decorative', Georgia, serif;
  --f-corps:  'Poppins', Arial, sans-serif;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  30px;
  --r-xl:  120px;

  --shadow:    0 4px 24px rgba(92,45,58,.10);
  --shadow-md: 0 8px 40px rgba(92,45,58,.15);
  --tr:        .25s ease;
  --max-w:     1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-corps);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-corps);
  background: var(--c-fond);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--c-primaire); }

/* ── CONTAINER ── */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }
@media (min-width: 1280px) { .container { max-width: var(--max-w); padding: 0 60px; } }

/* ── TYPO ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--f-corps);
  font-weight: 300;
  color: var(--c-primaire);
  line-height: 1.2;
}
.surtitre {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ── BOUTONS ── */
.btn {
  display: inline-block;
  font-family: var(--f-corps);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--r-lg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primaire  { background: var(--c-primaire); color: var(--c-blanc) !important; border-color: var(--c-primaire); }
.btn-primaire:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-blanc) !important; }
.btn-contour   { background: transparent; color: var(--c-primaire) !important; border-color: var(--c-primaire); }
.btn-contour:hover { background: var(--c-primaire); color: var(--c-blanc) !important; }
.btn-accent    { background: var(--c-accent); color: var(--c-blanc); border-color: var(--c-accent); }
.btn-accent:hover { background: var(--c-primaire); border-color: var(--c-primaire); color: var(--c-blanc) !important; }
.btn-blanc     { background: var(--c-blanc); color: var(--c-primaire); border-color: var(--c-blanc); }
.btn-blanc:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-blanc); }
.btn-contour-blanc {
  background: transparent;
  color: var(--c-blanc);
  border-color: rgba(255,255,255,.6);
}
.btn-contour-blanc:hover {
  background: var(--c-blanc);
  color: var(--c-primaire);
  border-color: var(--c-blanc);
}
.btn-group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── BADGES ── */
.badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-lg); }
.badge-accent  { background: var(--c-accent); color: var(--c-blanc); }
.badge-contour { border: 1px solid var(--c-bordure); color: var(--c-primaire); }
.certif-tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border: 1px solid var(--c-bordure); color: var(--c-primaire); border-radius: var(--r-lg); }

/* HEADER */
.site-header-custom {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(247,242,240,.96);
  border-bottom: 1px solid var(--c-bordure);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 768px) { .site-header-custom { height: 68px; } }

.header-inner {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 1024px) { .header-inner { padding: 0 48px; } }

.site-logo {
  font-family: var(--f-titre);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-primaire);
  text-decoration: none;
  letter-spacing: .02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 768px) { .site-logo { font-size: 16px; } }
.site-logo em { color: var(--c-accent); font-style: normal; }
.site-logo img {
  height: 56px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}
@media (min-width: 768px) {
  .site-logo img { height: 56px; }
}

/* Nav desktop — cachée sur mobile */
.nav-main {
  display: none;
  list-style: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-main { display: flex; }
}
.nav-main a {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-corps);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color var(--tr);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  min-height: auto;
  display: inline-flex;
  align-items: center;
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform var(--tr);
  transform-origin: left;
}
.nav-main a:hover { color: var(--c-accent); }
.nav-main a:hover::after,
.nav-main .current-menu-item > a::after { transform: scaleX(1); }
.nav-main .current-menu-item > a { color: var(--c-accent); }

.nav-cta-btn {
  display: none;
  font-family: var(--f-corps);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 18px;
  background: var(--c-accent);
  color: var(--c-blanc) !important;
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: background var(--tr);
  flex-shrink: 0;
}
@media (min-width: 768px) { .nav-cta-btn { display: inline-block; } }
.nav-cta-btn:hover { background: var(--c-primaire); color: var(--c-blanc) !important; }

/* Compte utilisateur et lien Mon espace — masqués sur mobile */
.nav-account,
.nav-espace-client { display: none; }
@media (min-width: 768px) {
  .nav-account { display: block; }
  .nav-espace-client { display: inline-flex; align-items: center; gap: 5px; }
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primaire);
  transition: all var(--tr);
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--c-fond);
  border-bottom: 1px solid var(--c-bordure);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
@media (min-width: 768px) { .nav-mobile { display: none !important; } }
.nav-mobile a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-corps);
  text-decoration: none;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--c-bordure);
  min-height: 56px;
  display: flex;
  align-items: center;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--c-accent); }
.nav-mobile .mobile-cta {
  margin-top: 16px;
  background: var(--c-accent);
  color: var(--c-blanc) !important;
  border-radius: var(--r-lg);
  padding: 14px 20px;
  text-align: center;
  justify-content: center;
  border-bottom: none;
}

/* HERO — mobile first */
.hero {
  padding-top: 60px;
  background: var(--c-fond);
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) { .hero { padding-top: 68px; } }

/* Mobile : colonne unique, texte en haut, photo en bas */
.hero-left {
  padding: 40px 20px 32px;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px)  { .hero-left { padding: 48px 32px 40px; } }
@media (min-width: 1024px) {
  .hero {
    /* Pas de grille — position absolute gère le layout */
    display: block;
    min-height: calc(100vh - 68px);
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 0 72px 7vw;
    min-height: calc(100vh - 68px);
  }
}

/* Titre fantôme — desktop uniquement */
.hero-ghost {
  display: none;
  position: absolute;
  bottom: -10px; left: -5px;
  font-family: var(--f-titre);
  font-size: clamp(80px, 13vw, 180px);
  font-weight: 600;
  color: rgba(92,45,58,.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
@media (min-width: 1024px) { .hero-ghost { display: block; } }

/* Points déco — desktop uniquement */
.hero-dot { display: none; }
@media (min-width: 1024px) {
  .hero-dot {
    display: block;
    position: absolute;
    border-radius: 50%;
    background: var(--c-primaire);
  }
  .hero-dot-1 { width: 12px; height: 12px; top: 22%; left: 4%; }
  .hero-dot-2 { width: 8px;  height: 8px;  top: 65%; left: 50%; }
  .hero-dot-3 { width: 10px; height: 10px; bottom: 18%; right: 47%; }
}

.hero-surtitre {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.hero-h1 {
  font-family: var(--f-titre);
  font-size: clamp(36px, 10vw, 90px);
  font-weight: 400;
  color: var(--c-primaire);
  line-height: .95;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.hero-h1 em { color: var(--c-accent); font-style: normal; }

.hero-typewriter {
  min-height: 26px;
  margin-bottom: 24px;
}
.hero-typewriter span {
  font-size: clamp(13px, 4vw, 18px);
  font-weight: 300;
  color: var(--c-muted);
}
.tw-cursor {
  color: var(--c-accent);
  animation: blink .9s step-end infinite;
}

.hero-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hero-tab {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-muted);
  padding: 6px 16px 6px 0;
  border-bottom: 1px solid var(--c-bordure);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-tab.active {
  color: var(--c-primaire);
  border-bottom-color: var(--c-primaire);
  border-bottom-width: 1.5px;
}

/* HERO PHOTO */

/* Mobile : hero a une hauteur min pour que la photo absolute soit visible */
.hero {
  min-height: 520px;
}
@media (min-width: 480px) { .hero { min-height: 580px; } }
@media (min-width: 640px) { .hero { min-height: 640px; } }

.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Fondu gauche — couvre complètement la jointure */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--c-fond) 0%,
    var(--c-fond) 5%,
    rgba(247,242,240,.92) 20%,
    rgba(247,242,240,.5) 40%,
    transparent 70%
  );
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(.9) brightness(1.03);
  animation: heroZoom 1.8s ease-out forwards;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #D4A5B0 0%, #A06070 40%, #5C2D3A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-photo-placeholder p {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Texte devant la photo */
.hero-left {
  position: relative;
  z-index: 3;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  right: 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: 0 4px 20px rgba(92,45,58,.1);
  z-index: 4;
}
.hero-badge strong { display: block; font-size: 11px; font-weight: 600; color: var(--c-primaire); margin-bottom: 2px; }
.hero-badge span   { font-size: 10px; color: var(--c-muted); }

@media (min-width: 640px) {
  .hero-right { width: 58%; }
  .hero-badge { padding: 12px 16px; }
  .hero-badge strong { font-size: 12px; }
  .hero-badge span   { font-size: 11px; }
}

@media (min-width: 1024px) {
  .hero { min-height: calc(100vh - 68px); }
  .hero-right {
    /* Desktop : reste en absolute, couvre toute la moitié droite */
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    margin-left: 0;
    border-left: none;
  }
  .hero-left {
    /* Le texte occupe ~55% et passe devant */
    position: relative;
    z-index: 3;
    width: 55%;
  }
  .hero-right::before {
    background:
      linear-gradient(to right,
        var(--c-fond) 0%,
        rgba(247,242,240,.98) 15%,
        rgba(247,242,240,.85) 28%,
        rgba(247,242,240,.5) 42%,
        rgba(247,242,240,.15) 58%,
        transparent 78%
      );
  }
  .hero-badge {
    bottom: 48px;
    right: auto;
    left: 24px;
    padding: 14px 20px;
  }
  .hero-badge strong { font-size: 13px; }
  .hero-badge span   { font-size: 11px; }
}

@keyframes heroZoom {
  from { transform: scale(1.12); opacity: 0; }
  20%  { opacity: 1; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes blink    { 50% { opacity: 0; } }

/* SERVICES */
.services-section { background: var(--c-sombre); }

.services-header {
  padding: 40px 20px 28px;
}
@media (min-width: 768px)  { .services-header { padding: 48px 32px 32px; } }
@media (min-width: 1024px) { .services-header { padding: 52px 7vw 36px; } }

.services-header .surtitre { color: var(--c-accent-light); }
.services-header h2 {
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 300;
  color: var(--c-blanc);
  letter-spacing: .01em;
}

/* Mobile : 1 colonne → 2 colonnes → 4 colonnes */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--r-md);
}
@media (min-width: 1024px) { .service-card { min-height: 360px; } }

.service-card-bg { position: absolute; inset: 0; transition: transform .5s ease; overflow: hidden; }
.service-card:hover .service-card-bg { transform: scale(1.04); }
.service-card-1 .service-card-bg { background: linear-gradient(160deg, #E8722A 0%, #c45015 100%); }
.service-card-2 .service-card-bg { background: linear-gradient(160deg, #7A3D52 0%, #4a1f30 100%); }
.service-card-3 .service-card-bg { background: linear-gradient(160deg, #A05060 0%, #6a2d3d 100%); }
.service-card-4 .service-card-bg { background: linear-gradient(160deg, #5C2D3A 0%, #2a1520 100%); }
.service-card-5 .service-card-bg { background: linear-gradient(160deg, #3d1f2a 0%, #5C2D3A 100%); }

.service-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  z-index: 2;
}
@media (min-width: 768px) { .service-card-body { padding: 24px; } }

.service-card-num   { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.service-card-title { font-size: clamp(15px, 3vw, 18px); font-weight: 500; color: var(--c-blanc); line-height: 1.25; margin-bottom: 6px; }
.service-card-desc  { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 12px; display: none; }
@media (min-width: 480px) { .service-card-desc { display: block; } }

.service-card-link {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  display: inline-block;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
}
.service-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--c-accent);
  color: var(--c-blanc);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-lg);
  z-index: 3;
}

/* BÉNÉFICES */
.benefices-section { padding: 52px 0; background: var(--c-fond); }
@media (min-width: 768px)  { .benefices-section { padding: 72px 0; } }
@media (min-width: 1024px) { .benefices-section { padding: 88px 0; } }

.benefices-intro { margin-bottom: 36px; }
@media (min-width: 768px) {
  .benefices-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
  }
}
.benefices-intro h2 { font-size: clamp(22px, 5vw, 36px); font-weight: 300; letter-spacing: .01em; margin-bottom: 12px; }
.benefices-intro-text { font-size: 13px; color: var(--c-muted); line-height: 1.8; }

/* 1 col → 2 col → 3 col */
.benefices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 640px)  { .benefices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefices-grid { grid-template-columns: repeat(3, 1fr); } }

.benefice-card {
  background: var(--c-blanc);
  padding: 24px 20px;
  border-top: 2px solid transparent;
  border-radius: var(--r-md);
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
@media (min-width: 768px) { .benefice-card { padding: 32px 26px; } }
.benefice-card:hover { border-top-color: var(--c-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefice-num { font-size: 11px; font-weight: 600; color: var(--c-accent); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.benefice-card strong { display: block; font-size: 15px; font-weight: 500; color: var(--c-primaire); margin-bottom: 8px; line-height: 1.3; }
.benefice-card p { font-size: 13px; color: var(--c-muted); line-height: 1.7; margin: 0; }

/* BLOG */
.blog-section { padding: 52px 0; background: var(--c-blanc); }
@media (min-width: 768px)  { .blog-section { padding: 72px 0; } }
@media (min-width: 1024px) { .blog-section { padding: 88px 0; } }

.blog-header { margin-bottom: 32px; }
@media (min-width: 768px) {
  .blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
  }
}
.blog-header h2 { font-size: clamp(20px, 5vw, 34px); font-weight: 300; line-height: 1.2; letter-spacing: .01em; margin-bottom: 12px; }
@media (min-width: 768px) { .blog-header h2 { margin-bottom: 0; max-width: 380px; } }
.blog-header-link {
  display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-accent); text-decoration: none;
  border-bottom: 1px solid var(--c-accent); padding-bottom: 2px;
  min-height: 56px; display: inline-flex; align-items: center;
}

/* 1 col → 2 col → 3 col asymétrique */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
  .blog-grid > .blog-card:first-child .blog-card-img { height: 260px; }
}

.blog-card { background: var(--c-fond2); border-radius: var(--r-md); overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { position: relative; overflow: hidden; height: 180px; }
@media (min-width: 768px) { .blog-card-img { height: 200px; } }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card-img-placeholder svg { opacity: .2; }
.blog-card-cat { position: absolute; top: 12px; left: 12px; background: var(--c-accent); color: var(--c-blanc); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.blog-card-body { padding: 16px; }
@media (min-width: 768px) { .blog-card-body { padding: 20px; } }
.blog-card-body h3 { font-size: 14px; font-weight: 500; color: var(--c-primaire); line-height: 1.45; margin-bottom: 8px; }
.blog-card-body p  { font-size: 12px; color: var(--c-muted); line-height: 1.6; margin-bottom: 12px; }
.blog-card-link { font-size: 11px; font-weight: 500; color: var(--c-accent); text-decoration: none; min-height: 56px; display: inline-flex; align-items: center; }

/* DORIANE */
.doriane-section { padding: 52px 0; background: var(--c-fond2); }
@media (min-width: 768px)  { .doriane-section { padding: 72px 0; } }
@media (min-width: 1024px) { .doriane-section { padding: 88px 0; } }

/* Mobile : photo d'abord, texte dessous */
.doriane-inner { display: flex; flex-direction: column; gap: 36px; }
@media (min-width: 1024px) {
  .doriane-inner {
    display: grid;
    grid-template-columns: 42fr 58fr;
    gap: 72px;
    align-items: center;
  }
}

.doriane-visuel { position: relative; padding-bottom: 32px; }
@media (min-width: 1024px) { .doriane-visuel { padding-bottom: 40px; } }

.doriane-photo,
.doriane-photo-placeholder {
  width: 100%;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.doriane-photo { aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 1024px) { .doriane-photo { aspect-ratio: 3/4; } }

.doriane-photo-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #D4A5B0 0%, #A06070 50%, #5C2D3A 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
@media (min-width: 1024px) { .doriane-photo-placeholder { aspect-ratio: 3/4; } }
.doriane-photo-placeholder p { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .1em; text-transform: uppercase; }

.doriane-decor {
  display: none;
  position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 56px;
  border: 1px solid rgba(232,114,42,.3);
  pointer-events: none;
}
@media (min-width: 1024px) { .doriane-decor { display: block; } }

.doriane-tag {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--c-primaire);
  color: var(--c-blanc);
  padding: 12px 16px;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
@media (min-width: 1024px) { .doriane-tag { right: -16px; padding: 16px 20px; } }
.doriane-tag strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 2px; color: var(--c-blanc); }
.doriane-tag span   { font-size: 10px; color: rgba(255,255,255,.45); letter-spacing: .06em; text-transform: uppercase; }

.doriane-texte h2 { font-size: clamp(22px, 5vw, 34px); font-weight: 300; letter-spacing: .01em; margin-bottom: 18px; }
.doriane-quote { border-left: 3px solid var(--c-accent); padding: 16px 18px; margin-bottom: 18px; background: rgba(232,114,42,.06); border-radius: 0 var(--r-md) var(--r-md) 0; }
.doriane-quote p { font-size: 14px; color: var(--c-primaire2); font-style: italic; line-height: 1.7; margin: 0; }
.doriane-texte > p { font-size: 13px; color: var(--c-muted); line-height: 1.8; margin-bottom: 18px; }
.certifs-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }

/* CTA */
.cta-section {
  padding: 64px 0;
  background: var(--c-sombre);
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-section { padding: 88px 0; } }
@media (min-width: 1024px) { .cta-section { padding: 100px 0; } }
.cta-section::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(232,114,42,.06); pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section .surtitre { color: var(--c-accent-light); }
.cta-section h2 { font-size: clamp(24px, 6vw, 50px); font-weight: 300; color: var(--c-blanc); line-height: 1.15; margin-bottom: 14px; letter-spacing: .02em; }
.cta-section p  { font-size: 14px; color: rgba(255,255,255,.45); max-width: 420px; margin: 0 auto 28px; line-height: 1.7; }
.cta-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 480px) { .cta-btns { flex-direction: row; justify-content: center; } }

/* FOOTER */
.site-footer-custom {
  background: var(--c-sombre);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px 0 24px;
}

/* 1 col → 2 col → 3 col */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; } }

.footer-logo { font-family: var(--f-titre); font-size: 16px; color: var(--c-blanc); display: block; margin-bottom: 10px; text-decoration: none; }
.footer-logo em { color: var(--c-accent); font-style: normal; }
.footer-desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-soc {
  width: 44px; height: 56px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,.35); text-decoration: none;
  transition: all var(--tr);
}
@media (min-width: 768px) { .footer-soc { width: 32px; height: 32px; } }
.footer-soc:hover { border-color: var(--c-accent); color: var(--c-accent); }

.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 4px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--tr); min-height: 28px; display: inline-flex; align-items: center; }
.footer-col a:hover { color: var(--c-accent); }
.footer-address { font-style: normal; font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.7; }
.footer-address a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-address a:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copy  { font-size: 11px; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--tr); min-height: 28px; display: inline-flex; align-items: center; }
.footer-legal a:hover { color: rgba(255,255,255,.5); }

/* PAGE RÉSERVATION */
.reservation-page { min-height: 100vh; padding: calc(60px + 40px) 0 60px; background: var(--c-fond); }
@media (min-width: 768px) { .reservation-page { padding: calc(68px + 52px) 0 80px; } }

.reservation-header { text-align: center; margin-bottom: 36px; }
.reservation-header h1 { font-size: clamp(24px, 6vw, 42px); font-weight: 300; margin-bottom: 12px; }
.reservation-header p  { font-size: 14px; color: var(--c-muted); max-width: 440px; margin: 0 auto; }

.resa-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 40px; flex-wrap: wrap; row-gap: 8px; }
.resa-step { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--c-muted); letter-spacing: .04em; }
.resa-step.active { color: var(--c-primaire); }
.resa-step.done   { color: var(--c-accent); }
.resa-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.resa-step.active .resa-step-num { background: var(--c-primaire); color: var(--c-blanc); border-color: var(--c-primaire); }
.resa-step.done   .resa-step-num { background: var(--c-accent);   color: var(--c-blanc); border-color: var(--c-accent); }
.resa-step-sep { width: 32px; height: 1px; background: var(--c-bordure); margin: 0 6px; }
@media (min-width: 480px) { .resa-step-sep { width: 48px; } }

.creneaux-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 640px)  { .creneaux-types { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .creneaux-types { grid-template-columns: repeat(4, 1fr); } }

.creneau-type-card {
  background: var(--c-blanc); border: 2px solid var(--c-bordure); border-radius: var(--r-md);
  padding: 20px; cursor: pointer; transition: all var(--tr), box-shadow var(--tr); min-height: 56px;
  display: flex; flex-direction: column;
}
.creneau-type-card:hover, .creneau-type-card.selected { border-color: var(--c-accent); box-shadow: var(--shadow); }
.creneau-type-card.selected { background: rgba(232,114,42,.04); }
.creneau-type-icon { width: 44px; height: 56px; background: rgba(232,114,42,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--c-accent); }
.creneau-type-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.creneau-type-card p  { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin-bottom: 12px; flex-grow: 1; }
.creneau-prix { font-size: 18px; font-weight: 600; color: var(--c-accent); text-align: center; margin-top: auto; padding-top: 8px; }
.creneau-prix.gratuit { color: var(--c-primaire); }

.creneaux-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 480px) { .creneaux-liste { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .creneaux-liste { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

.creneau-slot {
  background: var(--c-blanc); border: 1.5px solid var(--c-bordure); border-radius: var(--r-sm);
  padding: 14px 12px; text-align: center; cursor: pointer; transition: all var(--tr); min-height: 56px;
}
.creneau-slot:hover, .creneau-slot.selected { border-color: var(--c-accent); background: rgba(232,114,42,.05); }
.creneau-slot.indisponible { opacity: .4; cursor: not-allowed; pointer-events: none; }
.slot-date  { font-size: 11px; color: var(--c-muted); margin-bottom: 4px; }
.slot-heure { font-size: 16px; font-weight: 600; color: var(--c-primaire); }

.resa-form { background: var(--c-blanc); border-radius: var(--r-md); padding: 24px; max-width: 560px; margin: 0 auto; box-shadow: var(--shadow); }
@media (min-width: 640px) { .resa-form { padding: 36px 40px; } }

.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: var(--c-corps); letter-spacing: .04em; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--c-bordure); border-radius: var(--r-sm);
  font-family: var(--f-corps); font-size: 14px; color: var(--c-corps);
  background: var(--c-fond); transition: border-color var(--tr); outline: none;
  -webkit-appearance: none;
  min-height: 48px;
}
.form-input:focus { border-color: var(--c-accent); background: var(--c-blanc); }
.form-textarea { min-height: 100px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.resa-recap { background: var(--c-fond2); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.resa-recap h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.resa-recap-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--c-corps); padding: 6px 0; border-bottom: 1px solid var(--c-bordure); }
.resa-recap-row:last-child { border-bottom: none; font-weight: 600; }

.resa-message { padding: 14px 16px; border-radius: var(--r-sm); font-size: 13px; margin-bottom: 14px; display: none; }
.resa-message.success { background: rgba(52,168,83,.1); color: #1a7340; border: 1px solid rgba(52,168,83,.3); display: block; }
.resa-message.error   { background: rgba(234,67,53,.1);  color: #b31412; border: 1px solid rgba(234,67,53,.3); display: block; }

/* ANIMATIONS PROFESSIONNELLES */

/* Fade up — déjà défini, on améliore */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

/* Fade in simple */
.fade-in {
  opacity: 0;
  transition: opacity .8s ease;
}
.fade-in.visible { opacity: 1; }

/* Scale up — pour les cards */
.scale-up {
  opacity: 0;
  transform: scale(.96) translateY(16px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.scale-up.visible { opacity: 1; transform: scale(1) translateY(0); }
.scale-up.delay-1 { transition-delay: .08s; }
.scale-up.delay-2 { transition-delay: .16s; }
.scale-up.delay-3 { transition-delay: .24s; }
.scale-up.delay-4 { transition-delay: .32s; }
.scale-up.delay-5 { transition-delay: .40s; }
.scale-up.delay-6 { transition-delay: .48s; }

/* Slide from left */
.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Animation ligne décorative sous les titres */
.underline-anim {
  position: relative;
  display: inline-block;
}
.underline-anim::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width .8s cubic-bezier(.16,1,.3,1);
  transition-delay: .4s;
}
.underline-anim.visible::after { width: 100%; }

/* Compteur pulse — pour les chiffres clés si ajoutés */
@keyframes pulse-accent {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,114,42,.3); }
  50%       { box-shadow: 0 0 0 8px rgba(232,114,42,.0); }
}

/* Hero image zoom — amélioré */
@keyframes heroZoom {
  from { transform: scale(1.06); opacity: .9; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Floating badge hero */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.hero-badge {
  animation: float 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Hover service cards */
.service-card {
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(42,24,32,.3);
}

/* Hover bénéfices — déjà en CSS, on ajoute un glow accent */
.benefice-card:hover .benefice-num {
  transform: scale(1.1);
  transition: transform .3s ease;
}
.benefice-num {
  transition: transform .3s ease;
  display: inline-block;
}

/* Boutons — micro-interaction */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease;
}
.btn:active::before { width: 200px; height: 200px; }

/* Nav link hover — déjà en CSS, améliorer la transition */
.nav-main a::after {
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}

/* Typewriter cursor pulse */
.tw-cursor {
  animation: blink .9s step-end infinite;
  font-weight: 300;
}

/* CTA section — cercles décoratifs animés */
.cta-section::before {
  animation: expand 8s ease-in-out infinite;
}
@keyframes expand {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .06; }
  50%       { transform: translateX(-50%) scale(1.05); opacity: .1; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .scale-up, .slide-left, .slide-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-badge { animation: none; }
  .cta-section::before { animation: none; }
  .hero-photo, .hero-photo-placeholder { animation: none; }
}

/* DASHBOARD ADMIN */
.animalisens-dashboard { max-width: 900px; padding: 20px; }
.dashboard-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.dashboard-header h1 { font-size: 22px; font-weight: 600; color: #1d2327; }
.dashboard-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
@media (min-width: 640px) { .dashboard-cards { grid-template-columns: repeat(3, 1fr); } }
.dashboard-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 18px; border-left: 4px solid #5C2D3A; }
.dashboard-card h3 { font-size: 13px; color: #666; margin-bottom: 6px; }
.dashboard-card .stat { font-size: 28px; font-weight: 700; color: #5C2D3A; }

/* GENERATEPRESS — NEUTRALISER LAYOUT */
.site-header   { display: none !important; }
.site-footer   { display: none !important; }
#page, .site   { display: block !important; }
#content, .site-content { display: block !important; float: none !important; }
.entry-header  { display: none !important; }
.inside-article { padding: 0 !important; margin: 0 !important; }
.entry-content { max-width: 100% !important; }
.site-content  { padding: 0 !important; margin: 0 !important; }
.content-area  { width: 100% !important; float: none !important; max-width: 100% !important; }
.hfeed         { display: block !important; }
article.post   { display: block !important; }
.generate-sidebar-layout-no-sidebar .content { width: 100% !important; }

/* ACCESSIBILITÉ — TOUCH TARGETS */
input[type="submit"] {
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}
a.btn, .nav-cta-btn, .site-logo, .footer-logo { display: inline-flex; align-items: center; }

/* Rétablir les liens normaux dans le texte */
p a, li a, .blog-card-link, .blog-header-link,
.service-card-link, .doriane-texte a {
  min-height: auto;
  display: inline;
}

/* ARTICLE SINGLE — STYLES */
.anim-single { background: var(--c-fond); }

.anim-container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
@media (min-width: 640px)  { .anim-container { padding: 0 32px; } }
@media (min-width: 1024px) { .anim-container { padding: 0 48px; } }
@media (min-width: 1280px) { .anim-container { max-width: var(--max-w); padding: 0 60px; } }

.anim-article-hero {
  background: var(--c-fond2);
  padding: 52px 0 40px;
}
.anim-article-title {
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 300;
  color: var(--c-primaire);
  line-height: 1.2;
  margin: 0 0 14px;
}
.anim-article-meta {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0;
}

.anim-article-body {
  padding: 48px 0 80px;
}
.anim-article-thumb {
  margin-bottom: 36px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.anim-article-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contenu article — styles typographiques */
.anim-article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-corps);
}
.anim-article-content h2 {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 400;
  color: var(--c-primaire);
  margin: 40px 0 14px;
  line-height: 1.3;
}
.anim-article-content h3 {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 500;
  color: var(--c-primaire);
  margin: 28px 0 10px;
}
.anim-article-content p {
  margin: 0 0 18px;
}
.anim-article-content ul, .anim-article-content ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.anim-article-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.anim-article-content strong { color: var(--c-primaire); font-weight: 600; }
.anim-article-content em { font-style: italic; color: var(--c-primaire); }
.anim-article-content a { color: var(--c-accent); text-decoration: underline; min-height: auto; display: inline; }
.anim-article-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 14px 18px;
  margin: 24px 0;
  background: rgba(232,114,42,.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--c-primaire);
}

.anim-article-cta {
  background: var(--c-fond2);
  border-radius: var(--r-md);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}
.anim-article-cta h3 {
  font-size: 20px;
  font-weight: 300;
  color: var(--c-primaire);
  margin-bottom: 10px;
}
.anim-article-cta p {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.anim-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--c-bordure);
  flex-wrap: wrap;
}
.anim-article-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-accent);
  text-decoration: none;
  min-height: auto;
  display: inline;
}

.anim-related {
  background: var(--c-fond);
  padding: 60px 0;
}
.anim-related-title {
  font-size: 24px;
  font-weight: 300;
  color: var(--c-primaire);
  margin-bottom: 28px;
}

/* Neutraliser GP sur les articles */
.anim-single .entry-title { display: none !important; }
.anim-single .entry-header { display: none !important; }
.anim-single .entry-meta { display: none !important; }
.anim-single .entry-footer { display: none !important; }
.anim-single .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.anim-single .inside-article {
  padding: 0 !important;
  margin: 0 !important;
}

/* Fix wp_nav_menu container */
.site-header-custom nav > div { display: contents; }
.site-header-custom nav ul.nav-main { display: none; list-style: none; gap: 20px; align-items: center; padding: 0; margin: 0; }
@media (min-width: 768px) { .site-header-custom nav ul.nav-main { display: flex; } }
.site-header-custom nav ul.nav-main li { list-style: none; padding: 0; margin: 0; }
.site-header-custom nav ul.nav-main li a { min-height: auto; display: inline-flex; align-items: center; }

/* DROPDOWN NAV INDÉPENDANT */
.nav-dropdown {
  display: none;
  position: fixed;
  top: 68px;
  background: var(--c-blanc);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 220px;
  z-index: 9999;
  border-top: 2px solid var(--c-accent);
}
.nav-dropdown.visible { display: block; }
.nav-dropdown a {
  display: flex !important;
  align-items: center;
  padding: 11px 20px;
  font-size: 12px;
  color: var(--c-corps) !important;
  text-decoration: none;
  letter-spacing: .04em;
  min-height: 56px;
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
  border-bottom: none !important;
}
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover {
  color: var(--c-accent) !important;
  background: var(--c-fond);
}
/* Pas de sous-menu visible dans nav-main */
.nav-main li ul { display: none !important; }

/* Image mise en avant article */
.anim-article-featured {
  background: var(--c-fond2);
  padding: 0 0 40px;
}
.anim-article-featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* Images dans le contenu Gutenberg */
.anim-article-content img {
  border-radius: var(--r-md);
  margin: 24px 0;
  width: 100%;
  height: auto;
}
.anim-article-content figure {
  margin: 28px 0;
}
.anim-article-content figcaption {
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}
.anim-article-content .wp-block-image {
  margin: 28px 0;
}
.anim-article-content .wp-block-gallery {
  margin: 28px 0;
}
.anim-article-content .wp-block-gallery img {
  border-radius: var(--r-sm);
}

/* Alignements Gutenberg */
.anim-article-content .alignleft {
  float: left;
  margin: 0 24px 16px 0;
  max-width: 45%;
  border-radius: var(--r-sm);
}
.anim-article-content .alignright {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 45%;
  border-radius: var(--r-sm);
}
.anim-article-content .aligncenter {
  display: block;
  margin: 24px auto;
  border-radius: var(--r-sm);
}
.anim-article-content .alignwide {
  width: calc(100% + 80px);
  margin-left: -40px;
  border-radius: var(--r-sm);
}
@media (max-width: 768px) {
  .anim-article-content .alignleft,
  .anim-article-content .alignright {
    float: none;
    max-width: 100%;
    margin: 16px 0;
  }
  .anim-article-content .alignwide {
    width: 100%;
    margin-left: 0;
  }
}

/* Partenaires — responsive */
@media (max-width: 768px) {
  .partenaires-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) and (min-width: 769px) {
  .partenaires-grid { grid-template-columns: repeat(2,1fr) !important; }
}
