@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:wght@300;400;700&family=Square+Peg&display=swap');

:root {
  --green: #11794f;
  --green-dark: #0d6843;
  --green-soft: #d8ead0;
  --text: #353535;
  --light: #f7f5f5;
  --white: #ffffff;
  --title-font: 'Square Peg', cursive;
  --text-font: 'Bellota Text', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--text-font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
}

.page-without-hero {
  padding-top: 165px !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  transition: all .25s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.handwritten {
  font-family: var(--title-font);
  font-style: italic;
  font-weight: 400;
  line-height: .95;
}

p,
li,
label,
input,
textarea,
select {
  font-family: var(--text-font);
}

/* NAVIGATION */

.main-navbar {
  background: var(--light);
  padding: 18px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

.navbar-brand {
  font-family: var(--title-font);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.nav-link {
    font-family: var(--title-font);
    font-style: italic;
    font-weight: 400;
    font-size: 29px;
    line-height: 1;
    color: #2d2d2d;
    margin: 0 12px;
    padding: 8px 0;
    transition: all .25s ease;
}

.nav-link:hover {
    color: #22b543;
}

.nav-link.active {
    color: #000;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* HERO ACCUEIL */

.hero {
  position: relative;
  min-height: 520px;
  background: url('../img/hero.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  margin-top: 78px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(70px, 9vw, 125px);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 28px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* BOUTONS */

.btn {
  font-family: var(--text-font);
  border-radius: 22px;
  padding: 17px 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  line-height: 1.2;
}

.btn-light-custom {
  background: #e6f0df;
  color: #111;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover,
.btn-light-custom:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* CARTES ACCUEIL */

.cards-section {
  margin-top: -80px;
  position: relative;
  z-index: 4;
  padding-bottom: 45px;
}

.info-card {
  min-height: 420px;
  padding: 48px 42px;
  position: relative;
}

.info-card h2 {
  font-size: 54px;
  margin-bottom: 28px;
}

.info-card p {
  font-size: 17px;
  line-height: 1.7;
}

.info-card a {
  position: absolute;
  bottom: 28px;
  right: 38px;
  font-family: var(--text-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.info-card a:hover {
  opacity: .75;
}

.dark-card {
  background: var(--green);
  color: var(--white);
  border-radius: 48px 0 0 0;
}

.light-green-card {
  background: var(--green-soft);
  color: #4f5a54;
}

.light-green-card h2,
.white-card h2 {
  color: var(--green);
}

.white-card {
  background: var(--light);
  border-radius: 0 48px 0 0;
}

/* CITATION */

.quote-section {
  background: #f7f7f7;
  padding: 70px 0 80px;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: .5;
  color: var(--green-soft);
  font-weight: bold;
}

.quote-section p {
  font-family: var(--title-font);
  font-style: italic;
  font-size: 46px;
  line-height: 1;
  color: #666;
}

.dots {
  margin-top: 35px;
}

.dots span {
  width: 8px;
  height: 8px;
  background: #8ab7a2;
  border-radius: 50%;
  display: inline-block;
  margin: 0 7px;
}

.dots span:nth-child(2) {
  background: var(--green);
}

/* PAGES INTERNES */

.page-hero {
  margin-top: 78px;
  padding: 115px 0 80px;
  background: linear-gradient(rgba(17,121,79,.82), rgba(17,121,79,.82)), url('../img/hero.jpg') center / cover no-repeat;
  color: var(--white);
}

.page-hero h1 {
  font-size: clamp(64px, 8vw, 110px);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 22px;
  margin: 0;
}

.content-section.page-without-hero {
  padding-top: 165px !important;
  padding-bottom: 80px;
}

.content-section.page-without-hero {
  padding-top: 165px !important;
  padding-bottom: 80px;
}

.content-box {
  background: var(--light);
  border-radius: 45px 0 45px 0;
  padding: 45px;
}

.content-box h2 {
  color: var(--green);
  font-size: 58px;
  margin-bottom: 25px;
}

.content-box p,
.content-box li {
  font-size: 18px;
  line-height: 1.8;
}

.content-box ul {
  padding-left: 22px;
}

.contact-card {
  background: var(--green-soft);
  border-radius: 45px 0 45px 0;
  padding: 40px;
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 700;
}

/* ===========================
   FOOTER
=========================== */

.site-footer{
    background:var(--green);
    color:#fff;
    padding:70px 0 40px;
    overflow:hidden;
}

.site-footer p{
    margin-bottom:.5rem;
    color:#fff;
}

.site-footer a{
    color:#fff;
    text-decoration:none;
    transition:.25s;
}

.site-footer a:hover{
    color:#d8ead0;
}

/* Carte logo */

.footer-brand{
    background:rgba(0,0,0,.10);
    border-radius:70px 0 70px 70px;
    padding:35px 40px;
    display:inline-block;
    min-width:280px;
}

.footer-brand h3{
    margin:0;
    font-size:52px;
    line-height:.9;
}

.footer-brand p{
    font-size:26px;
    margin-top:12px;
    font-family:'Square Peg',cursive;
}

/* Colonnes */

.footer-col{
    text-align:center;
}

.footer-col i{
    font-size:28px;
    color:#d8ead0;
    margin-bottom:15px;
}

.footer-col p{
    font-size:17px;
    line-height:1.8;
}

/* Réseaux */

.socials{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:8px;
}

.socials a{
    width:42px;
    height:42px;
    border-radius:8px;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.3s;
}

.socials a:hover{
    transform:translateY(-3px);
}

/* Copyright */

.footer-bottom{
    margin-top:50px;
}

.footer-copyright{
    background:rgba(0,0,0,.10);
    border-radius:60px 0 60px 60px;
    display:inline-block;
    padding:28px 55px;
}

.footer-copyright p{
    margin:6px 0;
    font-size:16px;
}

/* Responsive */

@media (max-width:991px){

.site-footer{
    text-align:center;
}

.footer-brand{
    margin-bottom:40px;
}

.footer-col{
    margin-bottom:40px;
}

.footer-bottom{
    margin-top:20px;
}

}

@media (max-width:576px){

.site-footer{
    padding:55px 0;
}

.footer-brand{
    width:100%;
    min-width:inherit;
    padding:30px;
    border-radius:45px;
}

.footer-brand h3{
    font-size:44px;
}

.footer-brand p{
    font-size:22px;
}

.footer-copyright{
    width:100%;
    border-radius:45px;
    padding:22px;
}

}


/* RESPONSIVE */

@media (max-width: 1199px) {
  .nav-link {
    font-size: 28px;
    margin: 0 8px;
  }
}

@media (max-width: 991px) {
  .main-navbar {
    padding: 12px 0;
  }

  .navbar-collapse {
    background: var(--light);
    padding: 20px;
    margin-top: 15px;
  }

  .nav-link {
    text-align: center;
    padding: 10px 0;
    font-size: 34px;
  }

  .hero {
    margin-top: 65px;
    min-height: 470px;
  }

  .cards-section {
    margin-top: -45px;
  }

  .info-card {
    min-height: auto;
    border-radius: 35px 35px 0 0;
  }

  .page-hero {
    margin-top: 65px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero p {
    font-size: 22px;
  }

  .btn {
    width: 100%;
    font-size: 14px;
  }

  .info-card {
    padding: 35px 28px 70px;
  }

  .info-card h2 {
    font-size: 46px;
  }

  .quote-section p {
    font-size: 36px;
  }

  .content-box,
  .contact-card {
    padding: 30px;
  }

  .content-box h2 {
    font-size: 46px;
  }

  .footer-brand h3 {
    font-size: 48px;
  }

  .footer-brand p {
    font-size: 30px;
  }
}


/* QUOTE */

.quote-section {
  background: #f7f7f7;
  padding: 65px 0 80px;
}

.quote-mark {
  font-size: 100px;
  line-height: .5;
  color: var(--green-soft);
  font-weight: 700;
  text-align: left;
  max-width: 760px;
  margin: 0 auto 10px;
}

.quote-carousel {
  max-width: 760px;
  margin: 0 auto;
  min-height: 130px;
}

.quote-carousel p {
  font-family: 'Square Peg', cursive;
  font-size: 30px;
  font-style: italic;
  line-height: 1.05;
  color: #555;
  margin: 0 auto;
}

.quote-dots {
  position: static;
  margin: 32px 0 0;
}

.quote-dots button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  background-color: #8ab7a2 !important;
  border: none !important;
  opacity: 1 !important;
  margin: 0 7px !important;
}

.quote-dots button.active {
  background-color: var(--green) !important;
}

/* PRESENTATION */

.presentation-page {
  padding: 55px 0 90px;
  background: #fff;
}

.presentation-container {
  max-width: 1210px;
}

.small-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: 16px;
  margin-bottom: 18px;
  color: #1f2b3a;
}

.presentation-page h1 {
  font-family: 'Square Peg', cursive;
  font-style: italic;
  font-size: 42px;
  line-height: 1;
  color: #16bb1f;
  margin-bottom: 28px;
}

.presentation-page p {
  font-family: 'Bellota Text', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #253040;
}

.presentation-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 90px 90px 90px 0;
}
.photo-caption {
  font-size: 15px;
  margin-top: 8px;
  color: #253040;
}

.content-section {
  padding: 60px 0 80px;
}

.content-section h2 {
  font-family: 'Bellota Text', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #253040;
  margin-bottom: 20px;
}

.section-hand-title {
  font-family: 'Square Peg', cursive;
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: .95;
  color: #31c421;
  margin-bottom: 25px;
  padding: 0;
  background: transparent;
}

.content-section p {
  font-family: 'Bellota Text', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #253040;
}

.second-life-section{
    background:#197548;
    padding:90px 0;
    color:#f5f5f5;
}

.second-small-title{
    font-family:'Bellota Text',sans-serif;
    font-size:22px;
    font-weight:600;
    color:#fff;
    margin-bottom:15px;
}

.second-title{
    font-family:'Square Peg',cursive;
    font-size:58px;
    line-height:.9;
    color:#fff;
    margin-bottom:35px;
}

.second-life-section p{
    font-family:'Bellota Text',sans-serif;
    font-size:16px;
    line-height:1.8;
    color:#f3f3f3;
}

.second-life-section strong{
    font-weight:700;
    color:#fff;
}

.second-life-list{
    margin:25px 0 30px;
    padding-left:18px;
}

.second-life-list li{
    margin-bottom:10px;
    color:#f5f5f5;
    font-size:17px;
}

.second-life-photo{
    width:100%;
    max-width:240px;
    border-radius:90px 90px 0 90px;
    display:block;
    margin:auto;
}

@media(max-width:991px){

    .second-life-section{
        padding:60px 0;
    }

    .second-title{
        font-size:46px;
    }

}


/* Auteur conf */


.author-container {
  max-width: 1210px;
}

.author-page {
  background: #fff;
}

.book-section {
  padding-bottom: 70px;
}

.book-cover {
  width: 100%;
  max-width: 180px;
  border-radius: 0 0 0 60px;
  margin-bottom: 35px;
}

.book-btn,
.contact-author-btn {
  font-family: 'Bellota Text', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #d8ead0;
  color: #111;
  border-radius: 0;
  padding: 18px 35px;
}

.conference-section {
  background: #e6f2e1;
  padding: 90px 0;
}

.conference-poster {
  width: 100%;
  max-width: 360px;
  border-radius: 45px 45px 0 45px;
}

.green-lead {
  color: #087c13 !important;
  font-size: 21px !important;
}

.music-section {
  background: #e6f2e1;
  padding: 90px 0;
}

.music-embed-img {
  width: 100%;
  border-radius: 12px;
}

.wamango-photo {
  width: 100%;
  border-radius: 45px 45px 0 0;
}

.author-page ul,
.conference-section ul {
  font-family: 'Bellota Text', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #303c49;
}

.conference-section p,
.music-section p {
  font-size: 17px;
  line-height: 1.75;
}

.media-section {
  background: #f7f7f7;
  padding: 90px 0 80px;
}

.media-section .section-hand-title {
  margin-bottom: 50px;
}

.media-section ul {
  font-family: 'Bellota Text', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #303c49;
  padding-left: 20px;
  margin-bottom: 28px;
}

.media-section li {
  margin-bottom: 8px;
}

.media-section p {
  font-size: 17px;
  color: #303c49;
}

.media-photo {
  width: 100%;
  max-width: 420px;
  border-radius: 70px 70px 0 70px;
  display: block;
  margin: 0 auto;
}

.gallery-photo{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:18px;
    transition:.3s;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

.gallery-photo:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(0,0,0,.18);
}

.gallery-title{
    margin-top:12px;
    margin-bottom:5px;
    text-align:center;
    font-family:'Square Peg',cursive;
    font-size:34px;
    color:var(--green);
}

.gallery-lightbox{
    display:block;
    overflow:hidden;
    border-radius:18px;
}

.gallery-lightbox img{
    transition:.35s;
}

.gallery-lightbox:hover img{
    transform:scale(1.04);
}

@media(max-width:991px){

.gallery-title{
    font-size:30px;
}

}

/* CONTACT */

.contact-page {
  background: #fff;
}

.contact-infos {
  padding-top: 45px;
}

.contact-icon {
  color: var(--green-soft);
  font-size: 24px;
  margin-bottom: 18px;
}

.contact-infos p {
  font-size: 17px;
  line-height: 1.7;
}

.contact-infos a {
  color: #303c49;
  text-decoration: none;
}

.contact-form-title {
  font-family: 'Square Peg', cursive;
  font-size: 58px;
  color: #111;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  background: #f1f1f1;
  padding: 20px;
  font-family: 'Bellota Text', sans-serif;
  font-size: 17px;
  color: #303c49;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #e9e9e9;
}

.contact-socials {
  margin-top: 45px;
}

.contact-socials a {
  color: var(--green);
  font-size: 28px;
}

.contact-quote {
  margin-top: 65px;
  text-align: center;
  font-family: 'Square Peg', cursive !important;
  font-size: 34px !important;
  line-height: 1.1 !important;
  color: var(--green) !important;
}

@media(max-width:991px) {
  .contact-infos {
    margin-bottom: 45px;
  }

  .contact-form-title {
    font-size: 46px;
  }

  .contact-quote {
    font-size: 28px !important;
  }
}

.politique-center-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 25px auto 35px;
}

.wa-success-message,
.wa-error-message{
    padding:20px;
    margin-bottom:30px;
    border-radius:10px;
    font-size:16px;
    animation:fadeIn .35s ease;
}

.wa-success-message{
    background:#edf8ee;
    border-left:5px solid #22b543;
    color:#1c6b2d;
}

.wa-error-message{
    background:#fdecec;
    border-left:5px solid #d62828;
    color:#8a1f1f;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.ml-success-message,
.ml-error-message{
    padding:20px 24px;
    margin-bottom:35px;
    border-radius:16px;
    font-size:17px;
    animation:fadeIn .35s ease;
}

.ml-success-message{
    background:#edf8ee;
    border-left:5px solid #11794f;
    color:#11794f;
}

.ml-error-message{
    background:#fdecec;
    border-left:5px solid #d83d3d;
    color:#a31e1e;
}

.contact-form input,
.contact-form textarea{
    transition:.25s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#11794f;
    box-shadow:0 0 0 .2rem rgba(17,121,79,.15);
}

@keyframes fadeIn{

from{
    opacity:0;
    transform:translateY(-12px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}

/* ===========================
   PORTRAIT ACCUEIL + AGENDA
=========================== */
.author-home-card{overflow:hidden}
.author-card-portrait{
  width:112px;
  height:112px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #fff;
  float:right;
  margin:-14px -8px 14px 18px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.home-agenda-section{
  padding:78px 0 86px;
  background:#fff;
}
.home-agenda-heading{max-width:720px;margin:0 auto 38px}
.home-agenda-heading>span{
  display:block;
  font-family:var(--text-font);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  color:var(--green);
  font-weight:700;
}
.home-agenda-heading h2{
  margin:4px 0 10px;
  font-family:var(--title-font);
  font-size:58px;
  line-height:.95;
  color:var(--green);
}
.home-agenda-heading p{margin:0;color:#66716b}
.agenda-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.agenda-home-card{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:132px;
  padding:20px;
  border:1px solid #dfe9db;
  border-radius:26px 26px 0 26px;
  background:#f4f8f1;
  box-shadow:0 10px 28px rgba(23,117,72,.07);
}
.agenda-date-badge{
  flex:0 0 72px;
  width:72px;
  height:78px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:22px 22px 0 22px;
  color:#fff;
  background:var(--green);
  line-height:1;
}
.agenda-date-badge strong{font-family:var(--text-font);font-size:27px}
.agenda-date-badge span{text-transform:uppercase;font-size:12px;letter-spacing:1px;margin-top:7px}
.agenda-card-content h3,
.agenda-author-content h5{
  margin:0 0 4px;
  font-family:var(--text-font);
  font-style:normal;
  font-weight:700;
  line-height:1.25;
  color:#26342e;
}
.agenda-card-content h3{font-size:19px}
.agenda-card-content p,
.agenda-author-content p{margin:0;color:#5c6962;font-size:15px;line-height:1.45}
.agenda-time{display:inline-block;margin-top:7px;color:var(--green);font-size:13px}
.agenda-all-link{width:auto!important}
.agenda-loading,.agenda-empty{grid-column:1/-1;text-align:center;margin:0;color:#728078}

.conference-agenda{margin-top:30px}
.conference-dates-title{
  font-family:var(--text-font);
  font-style:normal;
  font-size:18px;
  font-weight:700;
  color:#26342e;
  margin:0 0 16px;
}
.agenda-author-list{display:grid;gap:12px}
.agenda-author-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 16px;
  border-radius:18px 18px 0 18px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(17,121,79,.12);
}
.agenda-author-item .agenda-date-badge{flex-basis:62px;width:62px;height:66px;border-radius:18px 18px 0 18px}
.agenda-author-item .agenda-date-badge strong{font-size:23px}
.agenda-author-topline{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.agenda-author-content h5{font-size:17px}
.agenda-author-topline>span{font-size:13px;color:#708078}

@media(max-width:991px){
  .agenda-home-grid{grid-template-columns:1fr}
  .author-card-portrait{width:98px;height:98px}
  .conference-poster{max-width:320px}
}
@media(max-width:576px){
  .home-agenda-section{padding:58px 0 64px}
  .home-agenda-heading h2{font-size:48px}
  .author-card-portrait{float:none;display:block;width:105px;height:105px;margin:-5px auto 18px}
  .agenda-home-card{padding:16px;gap:14px}
  .agenda-date-badge{flex-basis:62px;width:62px;height:68px}
  .agenda-author-topline{display:block}
  .agenda-author-topline>span{display:block;margin-top:2px}
}


/* ==========================================================
   Ajustements Marc Lemaire - portrait / agenda / auteur
   ========================================================== */

/* Portrait accueil : plus grand, visage mieux visible */
.author-card-portrait{
  width:140px;
  height:140px;
  object-fit:cover;
  object-position:center 18%;
  border-radius:50%;
  border:6px solid #fff;
  float:right;
  margin:-18px -8px 14px 18px;
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}

/* Nouvelle affiche conférence : plus présente */
.conference-poster{
  max-width:420px;
}

/* Conférence-spectacle + Wamango conservent le même fond,
   mais les sections respirent mieux et restent lisibles. */
.conference-section{
  padding:82px 0 70px;
}

.music-section{
  padding:78px 0 92px;
  background:#f5f1e8;
  border:0;
  box-shadow:none;
}

.music-section .section-hand-title{
  margin-bottom:22px;
}

.music-section .row.mt-5{
  margin-top:2.5rem !important;
}

/* Identification explicite du spectacle dans l'agenda */
.agenda-event-type{
  display:block;
  margin-bottom:5px;
  color:var(--green);
  font-size:11px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:.035em;
}

/* Agenda de la page Auteur : 3 colonnes pour rester compact */
.agenda-author-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.agenda-author-item{
  min-width:0;
  align-items:flex-start;
  padding:16px;
  gap:13px;
}

.agenda-author-item .agenda-date-badge{
  flex:0 0 58px;
  width:58px;
  height:64px;
}

.agenda-author-content{
  min-width:0;
}

.agenda-author-topline{
  display:block;
}

.agenda-author-content h5{
  font-size:16px;
  margin-bottom:2px;
}

.agenda-author-topline>span{
  display:block;
  margin-bottom:3px;
  font-size:12px;
}

.agenda-author-content p{
  font-size:14px;
}

@media(max-width:991px){
  .author-card-portrait{
    width:122px;
    height:122px;
  }

  .conference-poster{
    max-width:360px;
  }

  .agenda-author-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:576px){
  .author-card-portrait{
    float:none;
    display:block;
    width:125px;
    height:125px;
    margin:-5px auto 18px;
  }

  .agenda-author-list{
    grid-template-columns:1fr;
  }

  .conference-section,
  .music-section{
    padding:58px 0 64px;
  }
}


/* ==========================================================
   Agenda générique + micro-interactions discrètes
   ========================================================== */

/* L'accueil reste un agenda général : la catégorie vient du manager. */
.home-agenda-heading h2{
  margin-top:0;
}

.agenda-event-type{
  display:inline-block;
  width:max-content;
  max-width:100%;
  margin-bottom:7px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(17,121,79,.09);
  color:var(--green);
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.035em;
}

/* Sur la page conférence, la catégorie n'est volontairement pas répétée. */
.conference-agenda .agenda-event-type{
  display:none;
}

/* Musique : teinte propre, sans bordure ni séparation artificielle. */
.music-section{
  background:#f5f1e8;
  border-top:0 !important;
  box-shadow:none !important;
}

/* Effets très légers au survol. */
.info-card,
.agenda-home-card,
.agenda-author-item,
.gallery-photo,
.book-cover,
.conference-poster,
.media-photo,
.presentation-photo,
.second-life-photo,
.wamango-photo,
.politique-center-image{
  transition:transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

@media (hover:hover){
  .info-card:hover,
  .agenda-home-card:hover,
  .agenda-author-item:hover{
    transform:translateY(-4px);
  }

  .agenda-home-card:hover,
  .agenda-author-item:hover{
    box-shadow:0 14px 32px rgba(17,121,79,.10);
  }

  .gallery-photo:hover,
  .book-cover:hover,
  .conference-poster:hover,
  .media-photo:hover,
  .presentation-photo:hover,
  .second-life-photo:hover,
  .wamango-photo:hover,
  .politique-center-image:hover{
    transform:translateY(-3px);
  }
}

/* Apparition discrète au scroll. */
.aw-soft-reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .6s ease, transform .6s ease;
}

.aw-soft-reveal.is-visible{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion:reduce){
  .aw-soft-reveal,
  .aw-soft-reveal.is-visible{
    opacity:1;
    transform:none;
    transition:none;
  }
}


/* ==========================================================
   VISUELS DE SECTION — traitement cohérent et discret
   (affiche Conférence-spectacle + galerie Matagnère exclues)
========================================================== */
.section-visual{
  display:block;
  position:relative;
  margin-left:auto;
  margin-right:auto;
  background:#fff;
  border:5px solid rgba(255,255,255,.96);
  border-radius:68px 68px 12px 68px;
  box-shadow:
    0 14px 32px rgba(22,61,43,.13),
    0 0 0 1px rgba(17,121,79,.08);
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s ease,
    filter .35s ease;
  filter:saturate(.98) contrast(1.01);
}

/* Photos latérales : même gabarit d'une section à l'autre. */
.section-visual--side{
  width:min(100%, 285px) !important;
  height:225px !important;
  max-width:285px !important;
  object-fit:cover;
  object-position:center;
}

/* Visuels verticaux (livre / affiche Buen Vivir) : pas de recadrage. */
.section-visual--cover{
  width:auto !important;
  max-width:230px !important;
  height:auto !important;
  object-fit:contain;
}

/* Grand visuel Wamango : même signature graphique sans le contraindre. */
.section-visual--wide{
  width:100% !important;
  height:auto !important;
  border-radius:68px 68px 12px 68px !important;
}

/* Schéma politique : on conserve ses proportions et sa lisibilité. */
.section-visual--diagram{
  width:100% !important;
  max-width:600px !important;
  height:auto !important;
  object-fit:contain;
  padding:12px;
  border-radius:44px 44px 10px 44px;
}

@media (hover:hover){
  .section-visual:hover{
    transform:translateY(-5px) scale(1.012);
    box-shadow:
      0 20px 42px rgba(22,61,43,.18),
      0 0 0 1px rgba(17,121,79,.12);
    filter:saturate(1.04) contrast(1.02);
  }
}

@media (max-width:767px){
  .section-visual--side{
    width:min(100%, 320px) !important;
    max-width:320px !important;
    height:235px !important;
  }

  .section-visual--cover{
    max-width:220px !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .section-visual,
  .section-visual:hover{
    transform:none;
    transition:none;
  }
}
