/* ==========================================================================
   OTA TENNIS CAMEROUN — feuille de style principale
   Reproduction du design d'origine, sans aucune dépendance externe.
   ========================================================================== */
@import url("../fonts/fonts.css");

:root {
  --green: #057838;
  --green-dark: #04602d;
  --blue: #427CF0;
  --blue-dark: #2763DB;
  --lime: #AFD639;
  --lime-dark: #AEDB2B;
  --bg: #F6F5F9;
  --white: #fff;
  --text: #656565;
  --text-light: #A1A1A1;
  --dark: #0F0F0F;
  --border: #E6E4E0;
  --border-dark: #D1CFCB;
  --extra-bg: #1E1E1E;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --page-width: 1290px;
  --gap: 30px;
  --header-h: 110px;
  --ease: cubic-bezier(.25, .8, .25, 1);
}
@media (max-width: 1679px) { :root { --page-width: 1100px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.62em; letter-spacing: .1px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; vertical-align: top; }
a { color: var(--green); text-decoration: none; transition: color .3s ease, background-color .3s ease, border-color .3s ease, opacity .3s ease; }
a:hover { color: var(--green-dark); }
p { margin: 0 0 1.57em; }
figure { margin: 0 0 1.5em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; color: var(--dark);
  margin: 0 0 .5em;
}
h1 { font-size: 3.167em; line-height: 1em; letter-spacing: -.6px; }
h2 { font-size: 2.611em; line-height: 1.021em; letter-spacing: -.5px; }
h3 { font-size: 1.944em; line-height: 1.086em; letter-spacing: -.35px; }
h4 { font-size: 1.556em; line-height: 1.214em; }
h5 { font-size: 1.333em; line-height: 1.417em; }
h6 { font-size: 1.167em; line-height: 1.333em; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: var(--green); }
ul, ol { padding-left: 1.5em; margin: 0 0 1.5em; }
blockquote {
  margin: 0 0 1.5em; padding: 2em 2.5em; background: var(--white); border-left: 4px solid var(--green);
  font-family: var(--font-head); font-size: 1.4em; line-height: 1.3; color: var(--dark); text-transform: uppercase;
}
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
th, td { padding: .6em .8em; border: 1px solid var(--border); text-align: left; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; z-index: 10000; clip: auto; width: auto; height: auto; padding: 10px 16px; background: var(--white); color: var(--dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { width: var(--page-width); max-width: calc(100% - 120px); margin: 0 auto; }
@media (max-width: 1279px) { .container { max-width: calc(100% - 80px); } }
@media (max-width: 767px) { .container { max-width: calc(100% - 40px); } }

/* ---------- Boutons ---------- */
.sc_button, .btn, button.btn, input[type="submit"], .b-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 12px 40px; border: 0; border-radius: 0; cursor: pointer;
  background: var(--green); color: var(--white); text-align: center;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.sc_button:hover, .btn:hover, input[type="submit"]:hover, .b-btn:hover { background: var(--dark); color: var(--white); }
.sc_button.color_style_link2, .btn-blue { background: var(--blue); }
.sc_button.color_style_link2:hover, .btn-blue:hover { background: var(--blue-dark); }
.btn-lime { background: var(--lime); color: var(--dark); }
.btn-lime:hover { background: var(--white); color: var(--dark); }
.btn-outline { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1px var(--border-dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ---------- Formulaires ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; font: 400 16px/1.5em var(--font-body); color: var(--dark); letter-spacing: .1px;
  background: transparent; border: 0; border-bottom: 1px solid var(--border-dark); border-radius: 0;
  padding: .9em 0; transition: border-color .3s ease; -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--dark); }
textarea { min-height: 7em; resize: vertical; }
::placeholder { color: var(--text-light); opacity: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.form-field { margin-bottom: 1.6em; }
.check { display: flex; gap: .7em; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-light); cursor: pointer; }
.check input { margin: .25em 0 0; width: 16px; height: 16px; accent-color: var(--green); flex: none; }
.check a { color: inherit; text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px !important; }
.notice { padding: 1em 1.4em; margin: 0 0 1.5em; border-left: 4px solid var(--green); background: #e9f6ee; color: #1d4d2f; font-size: 16px; }
.notice.error { border-color: #d63638; background: #fcebec; color: #8a1f21; }
@media (max-width: 767px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.site-header { position: relative; z-index: 100; color: var(--dark); background: var(--white); }
.site-header .header-row {
  display: flex; align-items: center; gap: 20px; height: var(--header-h);
  width: calc(100% - 140px); max-width: 1780px; margin: 0 auto;
}
.header-transparent .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; color: var(--white); }
.header-dark .site-header { background: #111; color: var(--white); }
.site-logo { flex: none; display: block; line-height: 0; }
.site-logo img { height: 54px; width: auto; }
.header-transparent .site-logo img, .header-dark .site-logo img { height: 52px; }

.main-nav { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block; position: relative; padding: .8em .8em; color: inherit; white-space: nowrap;
  font: 600 17px/1.5em var(--font-head); text-transform: uppercase;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: .35em; height: 2px; background: currentColor;
  transition: left .3s ease, right .3s ease;
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.current > a::after { left: .5em; right: .5em; }
.main-nav > ul > li > a:hover { color: inherit; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 1.2em 0;
  background: var(--white); box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 10;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: .4em 1.6em; color: var(--text); font: 400 15px/1.5em var(--font-body); }
.main-nav .sub-menu a:hover { color: var(--dark); }
.main-nav li.more-item > a { padding-left: .6em; padding-right: .6em; }
.main-nav li.more-item > a::after { display: none; }
.main-nav li.more-item .sub-menu { left: auto; right: 0; }
.main-nav li.more-item .sub-menu a { font: 600 17px/1.5em var(--font-head); text-transform: uppercase; color: var(--dark); }

.header-tools { flex: none; display: flex; align-items: center; gap: 26px; margin-left: 20px; }
.header-icon { position: relative; color: inherit; display: inline-flex; padding: 4px; background: none; border: 0; cursor: pointer; }
.header-icon .ico { width: 27px; height: 27px; stroke-width: 1.3; }
.header-icon:hover { color: var(--green); }
.header-transparent .header-icon:hover, .header-dark .header-icon:hover { color: var(--lime); }
.cart-count {
  position: absolute; right: -2px; bottom: 0; min-width: 15px; height: 15px; border-radius: 50%;
  background: var(--lime); color: var(--white); font: 700 10px/15px var(--font-body); text-align: center;
}
.header-btn { padding: 12px 40px; margin-left: 24px; height: 45px; background: var(--blue); }
.header-btn:hover { background: var(--white); color: var(--dark); }
.site-header:not(.is-sticky) .header-light-btn:hover, .header-light .header-btn:hover { background: var(--dark); color: var(--white); }
.menu-toggle { display: none; }

/* En-tête fixe au défilement */
.site-header.is-sticky {
  position: fixed; top: 0; left: 0; right: 0; background: var(--white) !important; color: var(--dark) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08); animation: slideDown .4s var(--ease);
}
.site-header.is-sticky .header-row { height: 84px; }
.site-header.is-sticky .site-logo img { height: 46px; }
.site-header.is-sticky .logo-light { display: none; }
.site-header.is-sticky .logo-dark { display: block !important; }
.site-header .logo-dark { display: none; }
.header-light .site-header .logo-dark { display: block; }
.header-light .site-header .logo-light { display: none; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-spacer { display: none; }

/* Recherche plein écran */
.search-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(15, 15, 15, .96); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay form { width: min(800px, 90vw); position: relative; }
.search-overlay input[type="search"] {
  font: 600 3em/1.2 var(--font-head); color: var(--white); text-transform: uppercase; border-bottom: 2px solid rgba(255, 255, 255, .3); padding: .3em 2em .3em 0;
}
.search-overlay input[type="search"]::placeholder { color: rgba(255, 255, 255, .45); }
.search-overlay input[type="search"]:focus { border-color: var(--lime); }
.search-overlay .search-submit { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--white); cursor: pointer; }
.search-overlay .search-submit .ico { width: 34px; height: 34px; }
.overlay-close { position: absolute; top: 30px; right: 40px; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.overlay-close .ico { width: 34px; height: 34px; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--dark); color: var(--white); overflow-y: auto;
  padding: 100px 40px 60px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .site-logo { position: absolute; top: 24px; left: 30px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > nav > ul > li > a { display: block; padding: .3em 0; color: var(--white); font: 600 2em/1.25 var(--font-head); text-transform: uppercase; }
.mobile-menu a:hover, .mobile-menu li.current > a { color: var(--lime); }
.mobile-menu .sub-menu { padding: .3em 0 .6em 1em; }
.mobile-menu .sub-menu a { color: rgba(255, 255, 255, .7); font-size: 16px; }
.mobile-menu .mobile-cta { margin-top: 2em; }
.mobile-menu .mobile-social { display: flex; gap: 14px; margin-top: 2.5em; }
.mobile-menu .mobile-social a { color: var(--white); }

@media (max-width: 1279px) {
  .site-header .header-row { width: calc(100% - 80px); height: 90px; }
  .main-nav, .header-btn { display: none; }
  .header-tools { margin-left: auto; gap: 18px; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 767px) {
  .site-header .header-row { width: calc(100% - 40px); height: 76px; }
  .site-logo img, .header-transparent .site-logo img, .header-dark .site-logo img { height: 42px; }
  .header-icon .ico { width: 24px; height: 24px; }
  .search-overlay input[type="search"] { font-size: 2em; }
}

/* ==========================================================================
   SLIDER (remplace Revolution Slider)
   ========================================================================== */
.hero-slider { position: relative; height: 710px; min-height: 480px; margin: 0 9px; overflow: hidden; background: #111; color: var(--white); }
.hero-slider.slider-campus { height: 760px; margin: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide .slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1);
}
.hero-slide.active .slide-bg { animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-slide .slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 60%); }
.hero-slide .slide-content {
  position: absolute; left: 79px; top: 50%; transform: translateY(-38%); max-width: 820px; z-index: 2;
}
.slider-campus .slide-content { left: 0; right: 0; text-align: center; margin: 0 auto; transform: translateY(-30%); }
.hero-slide .slide-subtitle { font: 400 19px/1.4 var(--font-body); margin: 0 0 22px; }
.hero-slide .slide-title {
  font: 600 69px/1 var(--font-head); letter-spacing: -1px; text-transform: uppercase; color: var(--white); margin: 0;
}
.slider-campus .slide-title { font-size: 150px; letter-spacing: -2px; }
.hero-slide .slide-btn { margin-top: 36px; }
.hero-slide .anim { opacity: 0; transform: translateY(50px); }
.hero-slide.active .anim { animation: slideIn 1.1s var(--ease) forwards; }
.hero-slide.active .anim.d1 { animation-delay: .45s; }
.hero-slide.active .anim.d2 { animation-delay: .6s; }
.hero-slide.active .anim.d3 { animation-delay: .8s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.hero-bottom {
  position: absolute; left: 79px; right: 79px; bottom: 50px; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  font: 500 17px/1 var(--font-head); text-transform: uppercase;
}
.hero-bottom a { color: var(--white); }
.hero-bottom a:hover { color: var(--lime); }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero-scroll .ico { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.hero-social { display: flex; gap: 20px; }
.hero-nav { position: absolute; z-index: 4; right: 79px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.hero-nav button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; cursor: pointer; }
.hero-nav button.active { background: var(--white); }
.hero-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .15); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s;
}
.hero-arrow:hover { background: var(--lime); color: var(--dark); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
.hero-slider.single .hero-arrow, .hero-slider.single .hero-nav { display: none; }
@media (max-width: 1279px) {
  .hero-slider { height: 620px; }
  .hero-slide .slide-content, .hero-bottom { left: 40px; right: 40px; }
  .slider-campus .slide-title { font-size: 110px; }
}
@media (max-width: 767px) {
  .hero-slider { height: 560px; margin: 0; }
  .hero-slide .slide-content { left: 20px; right: 20px; }
  .hero-slide .slide-subtitle { font-size: 16px; }
  .hero-slide .slide-title { font-size: 44px; }
  .slider-campus .slide-title { font-size: 64px; }
  .hero-bottom { left: 20px; right: 20px; bottom: 26px; }
  .hero-social { display: none; }
  .hero-arrow { display: none; }
}

/* ==========================================================================
   BANNIÈRE DE TITRE DES PAGES
   ========================================================================== */
.page-banner {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 225px; padding: 40px 0 44px;
  background: #8fc95a url("../img/bg-title.png") center / cover no-repeat;
  margin: 0 120px;
}
.page-banner.has-image { background-size: cover; }
.page-banner.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(175, 214, 57, .55); mix-blend-mode: multiply; }
.page-banner h1 { position: relative; margin: 0; font-size: 60px; line-height: 1; letter-spacing: -1px; color: var(--dark); }
.page-banner .banner-arrow { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); color: var(--dark); }
.page-banner .banner-arrow .ico { width: 20px; height: 20px; stroke-width: 2.4; }
@media (max-width: 1279px) { .page-banner { margin: 0; } }
@media (max-width: 767px) { .page-banner { min-height: 160px; } .page-banner h1 { font-size: 40px; } }

/* ==========================================================================
   ZONE DE CONTENU + BARRE LATÉRALE
   ========================================================================== */
.page-content { padding: 100px 0 110px; }
.page-content.no-pad { padding: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 35px; align-items: start; }
.content-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.content-main { min-width: 0; }
.entry-content { color: var(--text); }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content img { height: auto; }
.entry-content a:not(.sc_button):not(.b-btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content .alignleft { float: left; margin: .4em 2em 1.5em 0; }
.entry-content .alignright { float: right; margin: .4em 0 1.5em 2em; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.entry-content figcaption, .wp-caption-text { font-size: 14px; color: var(--text-light); margin-top: .5em; }
.entry-content iframe { max-width: 100%; }
.entry-content .embed { position: relative; padding-top: 56.25%; margin-bottom: 1.5em; }
.entry-content .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; margin-bottom: 1.5em; }
.entry-content .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.page-box { background: var(--white); }

.sidebar { background: var(--white); padding: 50px 30px; }
.widget { margin-bottom: 50px; }
.widget:last-child { margin-bottom: 0; }
.widget-title { font: 600 24px/1.2 var(--font-head); text-transform: uppercase; color: var(--dark); margin: 0 0 1.2em; }
.widget-search form { position: relative; }
.widget-search input[type="search"] { border: 1px solid var(--border-dark); padding: 12px 18px 12px 48px; font-size: 16px; }
.widget-search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text); }
.recent-post { display: grid; grid-template-columns: 100px 1fr; gap: 26px; align-items: center; margin-bottom: 30px; }
.recent-post:last-child { margin-bottom: 0; }
.recent-post img { width: 100px; height: 100px; object-fit: cover; }
.post-meta-cats { font: 700 13px/1.3 var(--font-body); letter-spacing: 1.3px; text-transform: uppercase; color: var(--dark); }
.post-meta-cats a { color: var(--dark); }
.post-meta-cats a:hover { color: var(--green); }
.post-meta-date { font-size: 14px; color: var(--text-light); }
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--text-light); margin: 0 10px; vertical-align: middle; opacity: .6; }
.recent-post .post-meta { line-height: 1.2; margin-bottom: .6em; }
.recent-post h4 { font-size: 22px; line-height: 1.25; margin: 0; }
.widget-banner { padding: 15px; background: #f2f2f2; }
.widget-banner img { width: 100%; }
@media (max-width: 1023px) { .content-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   LISTE D'ARTICLES « ACTUALITE » (vignette à gauche)
   ========================================================================== */
.post-list-item { display: grid; grid-template-columns: 49% 1fr; background: var(--white); margin-bottom: 30px; }
.post-list-item .thumb { position: relative; display: block; overflow: hidden; min-height: 365px; }
.post-list-item .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-list-item:hover .thumb img { transform: scale(1.06); }
.post-list-item .body { padding: 40px 40px 42px; display: flex; flex-direction: column; justify-content: center; }
.cat-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.cat-badge {
  display: inline-block; padding: 5px 16px 4px; background: var(--blue); color: var(--white) !important;
  font: 700 12px/16px var(--font-body); letter-spacing: 1.2px; text-transform: uppercase;
}
.cat-badge:hover { background: var(--dark); }
.post-list-item h3 { font-size: 27px; line-height: 1.1; margin: 0 0 .9em; }
.post-list-item .excerpt { font-size: 17px; line-height: 1.6; margin: 0; }
.post-list-item .sep { width: 60px; height: 1px; background: var(--dark); margin: 26px 0 22px; }
@media (max-width: 767px) {
  .post-list-item { grid-template-columns: 1fr; }
  .post-list-item .thumb { min-height: 240px; }
  .post-list-item .body { padding: 30px 24px; }
}

/* Grille d'articles (catégories, recherche) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; }
.post-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.post-card .thumb { display: block; overflow: hidden; margin-bottom: 26px; aspect-ratio: 347 / 259; background: #e9e8ec; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .post-meta { margin-bottom: 14px; line-height: 1.3; }
.post-card h4 { font-size: 30px; line-height: 1.13; margin: 0; }
.post-grid.cols-2 .post-card h4 { font-size: 26px; }
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid, .post-grid.cols-2 { grid-template-columns: 1fr; } }

.pagination { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 60px; }
.page-numbers {
  min-width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
  border: 1px solid var(--border); background: var(--white); color: var(--dark); font: 600 18px/1 var(--font-head);
}
.page-numbers.current, a.page-numbers:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.page-numbers.dots { background: none; border: 0; }
.no-results { padding: 40px; background: var(--white); text-align: center; }

/* ==========================================================================
   ARTICLE SEUL
   ========================================================================== */
.post-hero {
  position: relative; min-height: 576px; display: flex; align-items: flex-end; color: var(--white);
  background: #222 center / cover no-repeat; padding: calc(var(--header-h) + 60px) 0 80px;
}
.post-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .55) 100%); }
.post-hero .container { position: relative; }
.post-hero h1 { color: var(--white); font-size: 60px; line-height: 1; letter-spacing: -1px; margin: 26px 0 30px; max-width: 900px; }
.post-hero .cat-badges { margin: 0; }
.post-author-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.post-author-meta .avatar { width: 32px; height: 32px; border-radius: 50%; background: #ddd; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: #999; }
.post-author-meta .avatar .ico { width: 22px; height: 22px; }
.post-author-meta .author { font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--white); }
.post-author-meta .dot-sep { background: rgba(255, 255, 255, .6); margin: 0 4px; }
.post-author-meta .date { color: rgba(255, 255, 255, .8); }
.post-hero.centered { min-height: 576px; align-items: center; text-align: center; padding: 60px 0; }
.post-hero.centered .cat-badges, .post-hero.centered .post-author-meta { justify-content: center; }
.post-hero.centered h1 { margin-left: auto; margin-right: auto; }
.post-hero.centered::before { background: rgba(0, 0, 0, .35); }
.video-play {
  display: inline-flex; align-items: center; justify-content: center; width: 85px; height: 85px; border-radius: 50%;
  background: var(--white); color: var(--dark); margin-bottom: 76px; transition: transform .3s ease, background .3s ease;
}
.video-play:hover { transform: scale(1.08); background: var(--lime); color: var(--dark); }
.video-play .ico { width: 26px; height: 26px; margin-left: 4px; }
.post-plain-header { padding-top: 60px; }
.post-plain-header h1 { font-size: 54px; margin: 16px 0 20px; }
.post-plain-header .post-author-meta .author { color: var(--dark); }
.post-plain-header .post-author-meta .date { color: var(--text-light); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.post-tags a { padding: 6px 18px; border: 1px solid var(--border-dark); color: var(--text); font-size: 14px; background: var(--white); text-decoration: none !important; }
.post-tags a:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.post-footer-bar { border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); margin: 60px 0 0; padding: 30px 0; display: flex; align-items: center; justify-content: space-between; }
.like-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; color: var(--text-light); font: 400 16px var(--font-body); padding: 0; }
.like-btn .circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--dark); transition: all .3s; }
.like-btn .circle .ico { width: 18px; height: 18px; }
.like-btn:hover .circle, .like-btn.liked .circle { background: var(--dark); color: var(--white); border-color: var(--dark); }
.like-btn.liked .ico { fill: currentColor; }
.share-links { display: flex; gap: 10px; }
.share-links a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--dark); }
.share-links a:hover { background: var(--dark); color: var(--white); }
.share-links .ico { width: 17px; height: 17px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 50px 0; }
.post-nav .label { display: flex; width: max-content; align-items: center; gap: 6px; font: 500 14px/1 var(--font-body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.post-nav .label .ico { width: 14px; height: 14px; }
.post-nav a { display: block; color: var(--dark); }
.post-nav a:hover { color: var(--green); }
.post-nav .title { font: 600 20px/1.2 var(--font-head); text-transform: uppercase; }
.post-nav .next { text-align: right; }
.post-nav .next .label { margin-left: auto; }
.author-box { display: flex; gap: 20px; background: var(--white); padding: 30px; margin-bottom: 70px; }
.author-box .avatar { width: 78px; height: 78px; border-radius: 50%; background: #d8d8d8; color: #fff; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.author-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box .avatar .ico { width: 50px; height: 50px; }
.author-box h5 { margin: 12px 0 6px; font-size: 21px; }
.author-box .about { font: 500 13px/1 var(--font-body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-light); }
.author-box .bio { margin: 12px 0 0; font-size: 16px; }
.related-title { font-size: 36px; margin: 0 0 40px; }

/* Commentaires */
.comments-area { margin-top: 70px; }
.comments-area h3 { font-size: 36px; margin-bottom: 30px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 50px; }
.comment-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.comment-list .avatar { width: 60px; height: 60px; border-radius: 50%; background: #ddd; display: flex; align-items: center; justify-content: center; color: #fff; }
.comment-list .avatar .ico { width: 34px; height: 34px; }
.comment-list .name { font: 600 19px var(--font-head); color: var(--dark); text-transform: uppercase; }
.comment-list .date { font-size: 14px; color: var(--text-light); margin-left: 10px; }
.comment-list p { margin: .5em 0 0; }
.comment-form .btn { margin-top: 1.4em; padding: 16px 40px; }

/* ==========================================================================
   PIEDS DE PAGE
   ========================================================================== */
.site-footer { background: #000; color: #D0D0D0; }
.site-footer a { color: #D0D0D0; }
.site-footer a:hover { color: var(--white); }
.site-footer h5, .site-footer .f-title { color: var(--white); font: 600 22px/1.2 var(--font-head); text-transform: uppercase; margin: 0 0 1.3em; }

/* Défaut : 4 colonnes */
.footer-default { padding: 110px 0 0; }
.footer-default .cols { display: grid; grid-template-columns: 1.35fr 1fr .9fr .75fr; gap: 30px; }
.footer-default p { font-size: 17px; line-height: 1.6; margin: 0 0 1em; }
.footer-default .office-email { display: inline-block; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 4px; margin-bottom: 1.4em; }
.footer-default .office-phone { font: 600 22px/1.45 var(--font-head); color: var(--white); }
.footer-default ul { list-style: none; padding: 0; margin: 0; }
.footer-default ul li { margin-bottom: .9em; font-size: 17px; }
.footer-default .socials-named a { display: inline-flex; align-items: center; gap: 14px; }
.footer-default .socials-named .ico { width: 17px; height: 17px; }
.footer-default .copyright { border-top: 1px solid #353535; margin-top: 90px; padding: 22px 0 24px; font-size: 16px; }

/* Compact (accueil) */
.footer-compact { padding: 90px 0 90px; }
.footer-compact .share-circles { display: flex; gap: 8px; margin-bottom: 65px; }
.footer-compact .share-circles a { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #353535; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.footer-compact .share-circles a:hover { background: var(--white); color: var(--dark); }
.footer-compact .share-circles .ico { width: 16px; height: 16px; }
.footer-compact .cta { font: 600 50px/1 var(--font-head); color: var(--white); text-transform: uppercase; letter-spacing: -.5px; margin: 0 0 70px; }
.footer-compact .cta a { color: var(--white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.footer-compact .cta a:hover { color: var(--lime); }
.footer-compact .copyright { font-size: 16px; }

/* Main (Campus) */
.footer-main { padding: 100px 0 0; }
.footer-main .cols { display: grid; grid-template-columns: 1fr 1.1fr .8fr 1.3fr; gap: 30px; }
.footer-main .f-title { font-size: 26px; margin-bottom: 1em; }
.footer-main p { margin: 0 0 .6em; font-size: 17px; }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main ul li { margin-bottom: .7em; }
.footer-main .copyright { border-top: 1px solid #353535; margin-top: 80px; padding: 26px 0 30px; font-size: 16px; }
.footer-newsletter form { position: relative; }
.footer-newsletter input[type="email"] { color: var(--white); border-color: #4E4E4E; padding-left: 30px; padding-right: 40px; }
.footer-newsletter input[type="email"]:focus { border-color: var(--white); }
@media (max-width: 1023px) {
  .footer-default .cols, .footer-main .cols { grid-template-columns: 1fr 1fr; gap: 50px 30px; }
  .footer-compact .cta { font-size: 38px; }
}
@media (max-width: 600px) {
  .footer-default .cols, .footer-main .cols { grid-template-columns: 1fr; }
  .footer-compact .cta { font-size: 30px; }
}

/* ==========================================================================
   BLOCS DE CONTENU (pages composées)
   ========================================================================== */
.b-page { position: relative; }
.b-sec { position: relative; display: block; width: 100%; background-size: cover; background-position: center; }
.b-sec > .b-overlay, .b-col-inner > .b-overlay { position: absolute; inset: 0; pointer-events: none; }
.b-sec.b-hfull > .b-row { min-height: 100vh; }
.b-row { display: flex; margin: 0 auto; position: relative; max-width: calc(var(--page-width) + 30px); }
.b-abs { position: absolute !important; }
.b-w.b-w-auto { width: auto; max-width: 100%; }
.b-w.b-w-initial { max-width: 100%; }
.b-w.b-abs { margin-bottom: 0 !important; }
.b-col-inner > .vb-slides { position: absolute; inset: 0; z-index: 0; }
.b-col-inner > .vb-slides div { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease; }
.b-col-inner > .vb-slides div.active { opacity: 1; animation: kenburns 10s ease-out forwards; }
.b-col-inner > .b-w { z-index: 1; }
/* Le slider occupe toute la largeur de la fenêtre, comme Revolution Slider */
.b-w-slider_revolution { width: 100vw !important; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.b-sec:has(.b-w-slider_revolution) > .b-row > .b-col > .b-col-inner { padding-top: 0; padding-bottom: 0; }
.b-sec.b-full > .b-row { max-width: none; }
.b-col-center > .b-col-inner { justify-content: center; }
.b-col-right > .b-col-inner { justify-content: flex-end; }
.b-col { position: relative; display: flex; min-height: 1px; width: var(--w, 100%); }
.b-col-inner { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; width: 100%; padding: 15px; }
.b-gap-no > .b-col > .b-col-inner { padding: 0; }
.b-gap-narrow > .b-col > .b-col-inner { padding: 5px; }
.b-gap-extended > .b-col > .b-col-inner { padding: 15px; }
.b-gap-wide > .b-col > .b-col-inner { padding: 20px; }
.b-gap-wider > .b-col > .b-col-inner { padding: 30px; }
.b-row.b-v-middle > .b-col > .b-col-inner, .b-col.b-v-middle > .b-col-inner { align-content: center; align-items: center; }
.b-row.b-v-bottom > .b-col > .b-col-inner { align-content: flex-end; align-items: flex-end; }
.b-row.b-v-middle { align-items: center; }
.b-w { position: relative; width: 100%; }
.b-w:not(:last-child) { margin-bottom: 20px; }
.b-w.b-w-spacer { margin-bottom: 0; }
.b-wc { position: relative; }
.b-spacer { height: var(--spacer-size, 50px); }
.b-w-image .b-wc { text-align: center; }
.b-w-image img { display: inline-block; }
.b-w-image.b-left .b-wc { text-align: left; }
.b-heading { margin: 0; }
.b-w-divider .b-divider { border-top: 1px solid var(--border); }
.b-w-text { font-size: 1rem; }
.b-w-text > .b-wc > *:last-child { margin-bottom: 0; }
.b-col-bg { background-size: cover; background-position: center; }
.b-icon-list { list-style: none; padding: 0; margin: 0; }
.b-icon-list li { display: flex; gap: .7em; align-items: flex-start; margin-bottom: .6em; }
.b-icon-list .ico { color: var(--green); margin-top: .3em; }
.b-centered { text-align: center; }

@media (max-width: 1279px) { .b-row { max-width: calc(100% - 50px); } .b-sec.b-full > .b-row { max-width: none; } .b-w.b-tablet-w-auto { width: auto; } }
@media (max-width: 767px) {
  .b-row { flex-wrap: wrap; max-width: calc(100% - 10px); }
  .b-col { width: 100%; }
  .b-w.b-mobile-w-auto { width: auto; }
  .b-w.b-mobile-w-inherit { width: 100%; max-width: 100%; }
}
.b-col-inner > .b-sec { width: 100%; }
.b-col-inner > .b-sec > .b-row { max-width: none; width: 100%; }

/* Compteurs, icônes, accordéons, réseaux sociaux (contenus convertis) */
.b-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 30px; width: 100%; }
.b-counter .num { display: block; font: 600 60px/1 var(--font-head); color: var(--dark); }
.b-counter .lbl { display: block; margin-top: 10px; font: 500 14px/1.3 var(--font-body); letter-spacing: 1.4px; text-transform: uppercase; }
.scheme-dark .b-counter .num { color: var(--white); }
.b-icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; width: 100%; }
.b-icons-item { display: flex; gap: 18px; align-items: flex-start; }
.b-icons-item .ci { width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--dark); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.b-icons-item h5 { margin: 0 0 .4em; font-size: 22px; }
.b-icons-desc { font-size: 16px; }
.b-icons-desc p:last-child { margin: 0; }
.b-toggle { border-bottom: 1px solid var(--border-dark); background: var(--white); margin-bottom: 10px; }
.b-toggle summary { cursor: pointer; list-style: none; padding: 22px 60px 22px 28px; position: relative; font: 600 22px/1.2 var(--font-head); text-transform: uppercase; color: var(--dark); }
.b-toggle summary::-webkit-details-marker { display: none; }
.b-toggle summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font: 400 30px/1 var(--font-body); }
.b-toggle[open] summary::after { content: "–"; }
.b-toggle-content { padding: 0 28px 24px; }
.b-map { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 380px; background: #e8efe2; color: var(--dark); font: 600 22px var(--font-head); text-transform: uppercase; }
.b-map .ico { width: 30px; height: 30px; color: var(--green); }
.b-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.b-socials a { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; color: var(--dark); }
.scheme-dark .b-socials a { border-color: #353535; color: var(--white); }
.b-socials a:hover { background: var(--dark); color: var(--white); }
.b-socials .ico { width: 16px; height: 16px; }
.b-align-center > .b-wc { text-align: center; }
.b-align-right > .b-wc { text-align: right; }

/* Éléments trx_addons conservés (tarifs, équipe, témoignages, produits) */
.sc_price, .sc_team_item, .sc_testimonials_item, .sc_services_item, .sc_extended_products_item { background: var(--white); }
.sc_price { padding: 40px; height: 100%; }
.sc_price_title { font: 600 26px/1.2 var(--font-head); text-transform: uppercase; color: var(--dark); }
.sc_price_price { font: 600 48px/1 var(--font-head); color: var(--green); margin: 16px 0; display: block; }
.sc_team, .sc_testimonials, .sc_services:not(.services-grid) { width: 100%; }
.sc_team .sc_item_columns, .sc_testimonials .sc_item_columns, .sc_services .sc_item_columns, .sc_item_slider .slides, .sc_team_columns_wrap, .sc_testimonials_columns_wrap, .sc_services_columns_wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px;
}
.sc_team_item_thumb img, .sc_services_item_thumb img { width: 100%; }
.sc_team_item_info, .sc_services_item_info { padding: 26px 30px 30px; }
.sc_team_item_title, .sc_services_item_title { font: 600 26px/1.15 var(--font-head); text-transform: uppercase; margin: 0 0 .3em; color: var(--dark); }
.sc_team_item_subtitle, .sc_services_item_subtitle { font: 500 13px/1.3 var(--font-body); letter-spacing: 1.3px; text-transform: uppercase; color: var(--text-light); }
.sc_testimonials_item { padding: 40px; }
.sc_testimonials_item_content { font-size: 19px; line-height: 1.6; color: var(--dark); margin-bottom: 20px; }
.sc_testimonials_item_author_title { font: 600 20px var(--font-head); text-transform: uppercase; color: var(--dark); }
.sc_testimonials_item_author_avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.sc_socials .social_item { display: inline-flex; margin-right: 10px; }
.wp-block-gallery, .gallery { display: grid !important; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.wp-block-gallery.columns-2 { --cols: 2; } .wp-block-gallery.columns-4 { --cols: 4; } .wp-block-gallery.columns-5 { --cols: 5; }
.wp-block-gallery figure { margin: 0; }
.wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.wp-block-image { margin: 0 0 1.5em; }
.wp-block-image.aligncenter, .wp-block-image .aligncenter { text-align: center; }
.wp-block-spacer { clear: both; }
.wp-block-quote { border-left: 4px solid var(--green); }
@media (max-width: 600px) { .wp-block-gallery, .gallery { --cols: 2 !important; } }

/* Titres « sc_title » du thème */
.sc_title { width: 100%; }
.sc_align_center { text-align: center; }
.sc_align_right { text-align: right; }
.sc_item_subtitle { display: block; font: 700 14px/18px var(--font-body); letter-spacing: 1.4px; text-transform: uppercase; color: var(--dark); margin-bottom: 1.4em; }
.sc_item_title { margin: 0; color: var(--dark); }
h1.sc_item_title { font-size: 60px; letter-spacing: -1px; }
.sc_item_descr { margin-top: 1.5em; font-size: 1rem; }
.sc_item_descr p:last-child { margin-bottom: 0; }
.sc_item_button { margin-top: 2.1em; }
.scheme-dark, .scheme-dark .sc_item_title, .scheme-dark .sc_item_subtitle, .scheme-dark h1, .scheme-dark h2, .scheme-dark h3, .scheme-dark h4, .scheme-dark h5 { color: var(--white); }
.scheme-dark { color: #D0D0D0; }
@media (max-width: 1279px) { h1, h1.sc_item_title { font-size: 50px; } h2 { font-size: 42px; } }
@media (max-width: 767px) { h1, h1.sc_item_title { font-size: 38px; } h2 { font-size: 34px; } h3 { font-size: 28px; } }

/* Badge rotatif « ABOUT US » */
.rotating-badge { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cartes services */
.services-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 30px; width: 100%; }
.service-card { position: relative; display: block; overflow: hidden; aspect-ratio: 252 / 383; color: var(--white); background: #222; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%); transition: opacity .4s; }
.service-card:hover img { transform: scale(1.07); }
.service-card .num { position: absolute; z-index: 2; top: 30px; left: 36px; font: 600 22px/1 var(--font-head); color: var(--white); opacity: 0; transform: translateY(-10px); transition: all .4s; }
.service-card:hover .num { opacity: 1; transform: none; }
.service-card .info { position: absolute; z-index: 2; left: 36px; right: 30px; bottom: 32px; }
.service-card h4 { color: var(--white); font-size: 30px; line-height: 1.17; margin: 0; }
.service-card .tag { display: block; font: 500 13px/1 var(--font-body); letter-spacing: 1.3px; text-transform: uppercase; color: var(--lime); margin-top: 10px; max-height: 0; opacity: 0; overflow: hidden; transition: all .4s; }
.service-card:hover .tag { max-height: 20px; opacity: 1; }
@media (max-width: 1023px) { .services-grid { --cols: 2 !important; } }
@media (max-width: 480px) { .services-grid { --cols: 1 !important; } }

/* Derniers articles (cartes) */
.blogger-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; text-align: left; }
.blogger-card { position: relative; padding-top: 62px; }
.blogger-card .post-meta { position: absolute; top: 0; left: 40px; right: 30px; line-height: 1.3; color: rgba(255, 255, 255, .7); }
.blogger-card .post-meta .post-meta-cats a { color: var(--dark); }
.blogger-card .card-body { background: var(--bg); padding: 0 40px 40px; min-height: 352px; position: relative; }
.blogger-card .card-body::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.blogger-card h4 { font-size: 28px; line-height: 1.04; margin: 0 0 .8em; padding-top: 18px; color: var(--dark); }
.blogger-card h4 a { color: var(--dark); }
.blogger-card .excerpt { font-size: 17px; line-height: 1.7; color: var(--text); }
.blogger-card .more { display: inline-flex; margin-top: 18px; color: var(--dark); }
.blogger-card .more .ico { width: 18px; height: 18px; }
.scheme-dark .blogger-card .post-meta .post-meta-cats a { color: var(--white); }
@media (max-width: 1023px) { .blogger-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Newsletter */
.newsletter-form { width: 100%; max-width: 392px; margin: 0 auto; text-align: left; }
.newsletter-form .field { position: relative; }
.newsletter-form .field > .ico { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: inherit; opacity: .8; }
.newsletter-form input[type="email"] { padding-left: 28px; padding-right: 40px; color: inherit; border-bottom-width: 2px; }
.newsletter-form .submit-arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 0 6px 10px; }
.newsletter-form .submit-arrow .ico { width: 22px; height: 22px; }
.newsletter-form .check { margin-top: 1.4em; color: inherit; opacity: .9; }
.newsletter-dark { color: rgba(255, 255, 255, .85); }
.newsletter-dark input[type="email"] { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.newsletter-dark input[type="email"]::placeholder { color: rgba(255, 255, 255, .8); }
.newsletter-form .msg { margin-top: 1em; font-size: 15px; }
.newsletter-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.newsletter-icon .ico { width: 17px; height: 17px; transform: rotate(-10deg); }
.newsletter-light input[type="email"] { color: var(--dark); border-color: var(--dark); border-bottom-width: 1px; }
.newsletter-light .btn { width: 100%; margin-top: 1.8em; height: 55px; }

/* Partenaires */
.partners-row { display: grid; grid-template-columns: repeat(6, 1fr) 1.3fr; align-items: center; gap: 20px; width: 100%; }
.partners-row .logo { display: flex; align-items: center; justify-content: center; }
.partners-row .logo img { max-height: 90px; width: auto; filter: grayscale(1); opacity: .55; transition: all .4s; }
.partners-row .logo:hover img { filter: none; opacity: 1; }
.partners-row .partners-title { text-align: right; font-size: 26px; margin: 0; }
.partners-row.no-title { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1023px) { .partners-row { grid-template-columns: repeat(3, 1fr); } .partners-row .partners-title { grid-column: 1 / -1; grid-row: 1; text-align: center; } }

/* Bloc vidéo (bouton PLAY) */
.video-block { position: relative; min-height: 656px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 46px; overflow: hidden; background: #222 center / cover no-repeat; }
.video-block .vb-slides { position: absolute; inset: 0; }
.video-block .vb-slides div { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease; }
.video-block .vb-slides div.active { opacity: 1; animation: kenburns 10s ease-out forwards; }
.play-circle {
  position: relative; z-index: 2; width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--white); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; font: 700 14px/1 var(--font-body); letter-spacing: 1.4px; background: transparent; cursor: pointer;
  transition: all .4s;
}
.play-circle:hover { background: var(--white); color: var(--dark); transform: scale(1.06); }

/* Contact : liste d'icônes */
.contact-icons { list-style: none; margin: 0; padding: 0; width: 100%; }
.contact-icons li { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; color: var(--dark); font-size: 18px; }
.contact-icons .ci { width: 50px; height: 50px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--green); flex: none; }
.contact-icons .ci .ico { width: 20px; height: 20px; }

/* Formulaire de contact */
.contact-form { width: 100%; }
.contact-form .btn { margin-top: 1.6em; padding: 17px 46px; }

/* Services : page détail */
.service-hero-img { width: 100%; max-height: 560px; object-fit: cover; margin-bottom: 50px; }
.service-nav { margin-top: 60px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Boutique */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; }
.product-card { text-align: center; }
.product-card .thumb { display: block; background: var(--white); aspect-ratio: 1; overflow: hidden; margin-bottom: 20px; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card h4 { font-size: 22px; margin: 0 0 .4em; }
.price { font: 600 20px/1 var(--font-head); color: var(--green); }
.price del { color: var(--text-light); font-weight: 400; margin-right: 8px; }
.product-single { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-single .img { background: var(--white); }
.product-single .price { font-size: 34px; display: block; margin: 0 0 30px; }
@media (max-width: 1023px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .product-single { grid-template-columns: 1fr; } }

/* ==========================================================================
   GALERIE DES TOURNOIS (Année > Tournoi > Jour)
   ========================================================================== */
.tournament-gallery { margin-top: 70px; padding-top: 60px; border-top: 1px solid var(--border-dark); }
.tg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.tg-head .sc_item_subtitle { margin-bottom: .8em; color: var(--green); }
.tg-head h2 { margin: 0; font-size: 46px; }
.tg-years { display: flex; flex-wrap: wrap; gap: 6px; }
.tg-tab {
  border: 1px solid var(--border-dark); background: var(--white); color: var(--dark); cursor: pointer; padding: 10px 22px;
  font: 600 20px/1 var(--font-head); text-transform: uppercase; transition: all .3s;
}
.tg-tab:hover { border-color: var(--dark); }
.tg-tab.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.tg-year-panel[hidden], .tg-day-panel[hidden] { display: none; }
.tg-tournament { background: var(--white); margin-bottom: 30px; }
.tg-t-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 30px 34px; border-bottom: 1px solid var(--border); }
.tg-t-head h3 { margin: 0 0 8px; font-size: 32px; }
.tg-t-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--text-light); }
.tg-t-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tg-t-meta .ico { width: 16px; height: 16px; color: var(--green); }
.tg-count { font: 600 15px/1 var(--font-body); letter-spacing: 1px; text-transform: uppercase; background: var(--lime); color: var(--dark); padding: 8px 14px; white-space: nowrap; }
.tg-t-desc { padding: 22px 34px 0; margin: 0; font-size: 16px; }
.tg-days { display: flex; flex-wrap: wrap; gap: 6px; padding: 24px 34px 0; }
.tg-days .tg-tab { font-size: 17px; padding: 9px 16px; background: var(--bg); border-color: transparent; }
.tg-days .tg-tab small { display: block; font: 400 12px/1 var(--font-body); text-transform: none; color: var(--text-light); margin-top: 5px; letter-spacing: 0; }
.tg-days .tg-tab.active { background: var(--green); color: var(--white); }
.tg-days .tg-tab.active small { color: rgba(255, 255, 255, .8); }
.tg-day-panel { padding: 24px 34px 34px; }
.tg-day-desc { margin: 0 0 18px; font-size: 16px; }
.tg-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tg-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #eee; }
.tg-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tg-photo::after { content: ""; position: absolute; inset: 0; background: rgba(5, 120, 56, .35); opacity: 0; transition: opacity .3s; }
.tg-photo .ico { position: absolute; z-index: 2; left: 50%; top: 50%; width: 34px; height: 34px; color: var(--white); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: all .3s; }
.tg-photo:hover img { transform: scale(1.08); }
.tg-photo:hover::after { opacity: 1; }
.tg-photo:hover .ico { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tg-empty { padding: 30px; text-align: center; color: var(--text-light); background: var(--bg); }
@media (min-width: 1680px) { .tg-photos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .tg-photos { grid-template-columns: repeat(2, 1fr); }
  .tg-t-head { grid-template-columns: 1fr; padding: 24px 20px; }
  .tg-days, .tg-day-panel, .tg-t-desc { padding-left: 20px; padding-right: 20px; }
  .tg-head h2 { font-size: 36px; }
}

/* Visionneuse (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 10, 10, .95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #ddd; margin-top: 14px; font-size: 15px; }
.lightbox .lb-counter { position: absolute; top: 34px; left: 40px; color: #aaa; font: 600 18px var(--font-head); }
.lightbox .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox .lb-btn:hover { background: var(--lime); color: var(--dark); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
.lightbox .lb-video { width: min(1100px, 90vw); aspect-ratio: 16 / 9; }
.lightbox .lb-video iframe { width: 100%; height: 100%; border: 0; }

/* Fenêtre surgissante newsletter */
.popup { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: all .4s; }
.popup.open { opacity: 1; visibility: visible; }
.popup-box { position: relative; width: 1050px; max-width: 100%; max-height: 92vh; overflow: auto; background: var(--white); display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); transform: translateY(20px); transition: transform .4s; }
.popup.open .popup-box { transform: none; }
.popup-img { background: center / cover no-repeat; min-height: 300px; }
.popup-body { padding: 110px 62px 110px 62px; }
.popup-body h3 { font-size: 46px; line-height: 1.05; margin: 0 0 40px; }
.popup-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; cursor: pointer; color: var(--text-light); padding: 6px; }
.popup-close .ico { width: 26px; height: 26px; }
@media (max-width: 767px) { .popup-box { grid-template-columns: 1fr; } .popup-img { display: none; } .popup-body { padding: 60px 26px 40px; } .popup-body h3 { font-size: 34px; } }

/* Animation d'apparition au défilement */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Retour en haut */
.to-top { position: fixed; right: 30px; bottom: 30px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--dark); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); }
.to-top .ico { width: 20px; height: 20px; transform: rotate(180deg); }

/* 404 */
.error-404 { text-align: center; padding: 140px 0; }
.error-404 .big { font: 600 200px/1 var(--font-head); color: var(--dark); }
.error-404 h2 { font-size: 40px; }
