/* =========================================================
   Toulouse FC — homepage replica
   ========================================================= */

:root{
  --bg:        #102A47;
  --bg-dark:   #0B1A2C;
  --card:      rgba(23, 58, 102, .82);
  --yellow:    #D4A84A;
  --red:       #1A4B8A;
  --white:     #FAFAF7;
  --grey:      #AEBED4;
  --green:     #46c46a;
  --radius:    15px;
  --maxw:      1320px;
  --heading:   'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --body:      'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background-color: #0B1A2C;
  background-image: linear-gradient(rgba(11,26,44,.45), rgba(11,26,44,.45)), url(../assets/pattern-purple.webp);
  background-size: auto, 760px;
  background-repeat: repeat, repeat;
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding: 16px 16px 110px;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--heading);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: .5px;
}

.accent-yellow{ color: var(--yellow); }
.accent-purple{ color: var(--bg-dark); }

/* =========================================================
   Occitan pattern overlay
   ========================================================= */
.section-pattern{ position: relative; }
.section-pattern::before{
  content:"";
  position:absolute; inset:0;
  background: center/cover url(../assets/pattern-white.webp) no-repeat;
  opacity: .08;
  mix-blend-mode: soft-light;
  pointer-events:none;
  z-index:0;
}
.section-pattern > *{ position: relative; z-index:1; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height: 50px; padding: 0 30px;
  border-radius: var(--radius);
  font-family: var(--heading); font-weight: 600; text-transform: uppercase;
  font-size: 14px; letter-spacing:.6px; line-height:1;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn span{ transition: transform .15s ease; }
.btn:hover span{ transform: translateX(3px); }
.btn-primary{ background: var(--red); color:#fff; box-shadow: 0 8px 22px rgba(26,75,138,.32); }
.btn-primary:hover{ box-shadow: 0 12px 30px rgba(26,75,138,.42); }
.btn-secondary{ background: var(--bg-dark); color: var(--yellow); border-color: var(--yellow); }
.btn-secondary:hover{ background: var(--yellow); color: var(--bg-dark); }
.btn-sm{ height: 42px; padding: 0 22px; font-size: 12px; }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--heading); font-weight:600; text-transform: uppercase;
  font-size: 14px; letter-spacing:.5px; color: var(--white);
  border-bottom: 2px solid var(--yellow); padding-bottom: 4px;
  transition: gap .15s ease;
}
.link-arrow span{ color: var(--yellow); transition: transform .15s ease; }
.link-arrow:hover span{ transform: translateX(4px); }
.link-arrow.small{ font-size:12px; border-bottom-width:1px; }

/* =========================================================
   Page frame
   ========================================================= */
.page-frame{ position: relative; background: rgba(16, 42, 71, .46); }

/* =========================================================
   Top utility bar
   ========================================================= */
.topbar{
  position: relative;
  display:none; align-items:center; justify-content: space-between; gap:16px;
  padding: 14px 28px; background: var(--bg); border-radius: 26px 26px 0 0;
}
.topbar a{ font-family: var(--heading); text-transform: uppercase; font-weight:600; font-size:13px; letter-spacing:1px; color: var(--white); transition: color .15s ease; }
.topbar a:hover{ color: var(--yellow); }
.topbar-left{ display:flex; gap: 26px; }
.topbar-center{ position:absolute; left:50%; top:50%; transform: translate(-50%, -50%); font-family: var(--heading); text-transform: uppercase; font-weight:700; font-size:13px; letter-spacing:2px; color: var(--yellow); white-space: nowrap; }

/* =========================================================
   Header overlay
   ========================================================= */
.site-header{
  position:absolute; top:0; left:0; right:0; z-index:20;
  display:flex; justify-content:center; align-items:center;
  padding: 22px 28px;
}
.header-sponsors{ display:none; align-items:center; gap:10px; }
.sponsor{
  display:flex; align-items:center; justify-content:center;
  height: 44px; min-width:56px; padding: 0 12px;
  background: rgba(255,255,255,.96); border-radius: 12px; color:#111;
  font-family: var(--heading);
}
.sponsor-text{ flex-direction:column; line-height:1; gap:2px; }
.sponsor-text strong{ font-size:15px; letter-spacing:.5px; }
.sponsor-text small{ font-size:7px; letter-spacing:1px; }
.sponsor-text em{ font-style:normal; color: var(--red); font-weight:800; }
.header-crest{ justify-self:center; display:flex; align-items:center; justify-content:center; height:48px; transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.header-crest:hover{ transform: translateY(-2px) scale(1.04); }
.header-crest img{ height:46px; width:auto; object-fit: contain; }
.header-actions{ display:none; align-items:center; justify-content:flex-end; gap:12px; }
.icon-btn{ display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; border:none; background: rgba(255,255,255,.96); color:#102A47; cursor:pointer; transition: background .15s ease, transform .15s ease; }
.icon-btn:hover{ transform: translateY(-2px); background:#fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero{ position: relative; min-height: 56vh; display:flex; align-items:flex-end; justify-content:center; text-align:center; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; object-position: center 28%; }
.hero-overlay{ position:absolute; inset:0; background: linear-gradient(180deg, rgba(16,42,71,.45) 0%, rgba(16,42,71,0) 22%), linear-gradient(0deg, rgba(16,42,71,.85) 0%, rgba(16,42,71,0) 45%); }
.hero-content{ position:relative; z-index:2; padding: 0 24px 7vh; width:100%; }
.hero-content h1{ font-size: clamp(32px, 6vw, 60px); line-height:1.05; text-shadow: 0 6px 30px rgba(0,0,0,.35); }

/* =========================================================
   Sections
   ========================================================= */
.section{ max-width: var(--maxw); margin: 0 auto; padding: 64px 24px; }
.section-dark{ background: rgba(11, 26, 44, .55); padding: 64px 0; }
.section-inner{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section-head{ display:flex; align-items:baseline; justify-content: space-between; gap:24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head.center{ justify-content:center; text-align:center; flex-direction:column; align-items:center; gap:8px; }
.section-head h2, .section h2{ font-size: clamp(32px, 5vw, 56px); }
.section-title-big{ font-size: clamp(32px, 6vw, 72px); margin-bottom: 32px; }
.section-title-big.center{ text-align:center; }
.eyebrow{ font-family: var(--heading); text-transform: uppercase; letter-spacing:1px; font-size:13px; color: var(--yellow); margin:0; }
.center-cta{ display:flex; justify-content:center; margin-top: 36px; }

/* =========================================================
   Carousels + progress bar
   ========================================================= */
.carousel{ position: relative; }
.carousel-track{ display:flex; gap:20px; overflow-x:auto; scroll-snap-type: x mandatory; scroll-behavior:smooth; padding-bottom: 8px; -ms-overflow-style:none; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar{ display:none; }

.carousel-foot{ display:flex; align-items:center; gap:24px; margin-top: 20px; }
.carousel-progress{ flex:1; height:3px; background: rgba(255,255,255,.18); border-radius:3px; overflow:hidden; }
.carousel-progress span{ display:block; height:100%; width:25%; background: var(--yellow); border-radius:3px; transition: width .25s ease, margin-left .25s ease; }
.carousel-arrows{ display:flex; gap:10px; }
.carousel-btn{ width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.3); background: transparent; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition: background .15s ease, border-color .15s ease, opacity .15s ease; }
.carousel-btn:hover{ background: var(--yellow); color: var(--bg-dark); border-color: var(--yellow); }

/* =========================================================
   Cards (generic)
   ========================================================= */
.card{ flex:0 0 280px; scroll-snap-align:start; display:flex; flex-direction:column; gap:12px; }
.card-media{ position:relative; border-radius: var(--radius); overflow:hidden; aspect-ratio: 4/3; background: var(--card); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.card-media.portrait{ aspect-ratio: 3/4.2; }
.card-media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card-media img{ transform: scale(1.06); }
.card h3{ font-size: 17px; text-transform:none; font-weight:600; line-height:1.25; transition: color .2s ease; }
.card:hover > h3{ color: var(--yellow); }

.badge{ padding: 6px 14px; border-radius: 10px; font-family: var(--heading); font-size:11px; text-transform:uppercase; font-weight:700; letter-spacing:.5px; align-self:flex-start; }
.badge-red{ background: var(--red); color:#fff; }
.badge-yellow{ background: var(--yellow); color: var(--bg-dark); }
.badge-article{ display:inline-flex; align-items:center; gap:6px; margin-top:-6px; }

/* news cards: portrait with badge + title under image */
.card-news{ flex-basis: 300px; }
.card-ad{ gap:0; }
.card-ad .card-media{ aspect-ratio: 3/4.2; }

/* product card — portrait with title panel on top */
.card-product{ flex-basis: 300px; border-radius: 18px; background: var(--card); overflow:hidden; gap:0; }
.product-head{ text-align:center; padding: 22px 20px 14px; }
.product-head h3{ font-family: var(--heading); text-transform:uppercase; font-size:20px; }
.product-head p{ color: var(--yellow); font-family: var(--heading); text-transform:uppercase; font-size:12px; letter-spacing:.5px; margin:6px 0 0; }
.product-media{ position:relative; aspect-ratio: 1/1.05; background: linear-gradient(180deg, #2A5A96 0%, #3a2b54 100%); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-media img{ position:absolute; inset:0; z-index:1; object-fit: cover; width:100%; height:100%; transition: transform .4s ease; }
.card-product:hover .product-media img{ transform: scale(1.05); }
.card-product .btn{ margin: 18px 20px 22px; }

/* show / series card — eyebrow overlaid on full image */
.card-show{ flex-basis: 300px; }
.card-show .card-media{ aspect-ratio: 3/4.3; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.card-show .card-media .badge-yellow{ position:absolute; left:14px; bottom:14px; z-index:2; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.card-show h3{ font-family: var(--heading); text-transform:uppercase; font-size:21px; line-height:1.25; }
.card-show .link-arrow.small{ display:flex; align-items:center; width:100%; border-bottom-color: rgba(255,255,255,.18); padding-bottom:14px; }

/* team member card */
.card-person{ flex-basis: 280px; text-align:center; align-items:center; padding: 32px 24px; background: var(--card); border-radius: var(--radius); }
.card-person .card-media{ width: 170px; aspect-ratio: 1/1; border-radius: 50%; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.card-person h3{ font-family: var(--heading); text-transform:uppercase; font-size:19px; margin:6px 0 0; }
.person-role{ color: var(--grey); font-size:14px; margin:0; }
.person-remote{ margin-top:8px; padding:5px 10px; font-size:11px; }
.person-social{ display:flex; gap:10px; margin-top:6px; }
.person-social a{ display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.2); color: var(--white); transition: background .15s ease, border-color .15s ease; }
.person-social a:hover{ background: rgba(212,168,74,.15); border-color: var(--yellow); }

/* feature card */
.card-feature{ text-align:center; }
.card-feature .card-media{ aspect-ratio: 1/1; }
.card-feature h3{ font-family: var(--heading); text-transform:uppercase; font-size:24px; margin-top:6px; }
.card-feature .link-arrow{ align-self:center; }
.duo-grid .card-feature .card-media{ aspect-ratio: 4/3.4; }

/* hospitality */
.card-hospitality{ flex:0 0 380px; position:relative; border-radius: 18px; overflow:hidden; aspect-ratio: 1/1.05; scroll-snap-align:start; }
.card-hospitality img{ width:100%; height:100%; object-fit:cover; transition: transform .45s ease; }
.card-hospitality:hover img{ transform: scale(1.06); }
.card-hospitality::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,26,44,.15) 0%, rgba(11,26,44,.55) 100%); }
.card-hospitality span{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center; padding:0 20px; font-family: var(--heading); text-transform:uppercase; font-weight:700; font-size:26px; z-index:2; text-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* history — big year + image with dark overlay panel */
.card-history{ flex-basis: 300px; position:relative; gap:0; }
.card-history .history-year{ display:block; font-family: var(--heading); font-weight:700; font-size: clamp(64px,7vw,108px); color: var(--yellow); line-height:.78; margin-bottom:-18px; position:relative; z-index:0; }
.history-media{ position:relative; border-radius: 18px; overflow:hidden; aspect-ratio: 3/4; box-shadow: 0 12px 30px rgba(0,0,0,.4); z-index:1; }
.history-media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.card-history:hover .history-media img{ transform: scale(1.06); }
.history-count{ position:absolute; top:54%; right:0; z-index:3; background: var(--red); color:#fff; font-family: var(--heading); font-weight:700; font-size:12px; letter-spacing:.5px; padding:5px 12px; border-radius: 8px 0 0 8px; }
.history-panel{ position:absolute; left:10px; right:10px; bottom:10px; z-index:2; background: rgba(30,24,48,.92); backdrop-filter: blur(4px); border-radius: 14px; padding: 16px; display:flex; flex-direction:column; gap:10px; }
.history-panel h3{ font-family: var(--heading); text-transform:uppercase; font-size:16px; line-height:1.15; }
.history-panel .link-arrow{ align-self:flex-start; }

/* big year band behind carousel */
.history-years{ display:none; }

/* =========================================================
   Occitanie hero section
   ========================================================= */
.occitanie{ position: relative; min-height: 78vh; display:flex; align-items:center; overflow:hidden; }
.occitanie-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.occitanie-overlay{ position:absolute; inset:0; background: linear-gradient(90deg, rgba(16,42,71,.85) 0%, rgba(16,42,71,.35) 55%, rgba(16,42,71,.15) 100%), linear-gradient(0deg, rgba(11,26,44,.95) 0%, rgba(11,26,44,0) 40%); }
.occitanie-content{ position:relative; z-index:2; max-width: var(--maxw); margin:0 auto; padding: 0 24px; width:100%; }
.occitanie-content h2{ font-size: clamp(34px,5vw,64px); max-width: 12ch; }
.occitanie-content p{ max-width: 46ch; color:#e6e1f0; font-size:16px; line-height:1.55; margin: 18px 0 26px; }

/* =========================================================
   Full-width banners
   ========================================================= */
.banners-wrap{ display:flex; flex-direction:column; gap: 28px; }
.banner-wide{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  border-radius: var(--radius); padding: 36px 40px; position:relative; overflow:hidden;
}
.banner-yellow{ background: linear-gradient(120deg,#D4A84A 0%, #E0BC6A 100%); color: var(--bg-dark); }
.banner-yellow::before{ content:""; position:absolute; inset:0; background: center/cover url(../assets/pattern-white.webp) no-repeat; opacity:.4; mix-blend-mode: soft-light; }
.banner-text{ position:relative; z-index:1; max-width: 60ch; }
.banner-wide h3{ font-family: var(--heading); font-size: clamp(24px,3vw,34px); color: var(--bg-dark); }
.banner-wide p{ position:relative; z-index:1; margin: 10px 0 0; font-size:15px; line-height:1.5; }
.banner-wide .btn{ position:relative; z-index:1; flex-shrink:0; }

.rdv-block{ text-align:center; padding: 24px 0 8px; display:flex; flex-direction:column; align-items:center; gap:18px; }
.rdv-block h2{ font-size: clamp(28px,4vw,46px); }
.rdv-empty{ font-family: var(--heading); text-transform:uppercase; letter-spacing:1px; color: var(--grey); margin:0; }

/* =========================================================
   Équipes
   ========================================================= */
.equipes-wrap{ }
.equipes-card{ max-width: var(--maxw); margin: 0 auto 40px; padding: 56px 24px; background: var(--card); border-radius: 22px; text-align:center; }
.equipes-card .section-title-big{ margin-bottom: 22px; }
.equipes-lead{ max-width: 680px; margin: 0 auto 28px; color: var(--grey); font-size: 16px; line-height: 1.6; }
.equipes-inner{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.team-tabs{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.tab{ padding: 10px 22px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.18); background:transparent; color:#fff; font-family: var(--heading); text-transform:uppercase; font-size:13px; font-weight:600; letter-spacing:.5px; cursor:pointer; transition: background .15s ease, border-color .15s ease; }
.tab.active, .tab:hover{ background: var(--red); border-color: var(--red); color:#fff; }

/* featured player */
.player-feat{ flex: 0 0 720px; position:relative; min-height: 460px; border-radius: 22px; overflow:hidden; background: var(--card); display:flex; }
.player-feat-img{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:1; }
.player-feat::after{ content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(90deg, rgba(11,26,44,.92) 0%, rgba(11,26,44,.5) 45%, rgba(11,26,44,.1) 100%); }
.player-feat-info{ position:relative; z-index:2; padding: 36px; display:flex; flex-direction:column; align-items:flex-start; gap:10px; max-width: 70%; margin-top:auto; }
.player-num{ font-family: var(--heading); font-weight:700; font-size: 40px; color: var(--yellow); line-height:1; }
.player-first{ font-family: var(--heading); text-transform:uppercase; font-size:20px; color: var(--grey); margin:0; line-height:1; }
.player-last{ font-family: var(--heading); text-transform:uppercase; font-size: 40px; margin:0 0 6px; line-height:1; }
.player-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.pill{ display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); border-radius:10px; padding:7px 12px; font-family: var(--heading); text-transform:uppercase; font-size:12px; letter-spacing:.4px; }
.pill .flag{ width:18px; height:18px; border-radius:50%; object-fit:cover; }
.player-stats{ display:flex; gap:10px; margin: 8px 0 6px; }
.player-stats span{ background: var(--yellow); color: var(--bg-dark); font-family: var(--heading); font-weight:700; border-radius: 12px; padding: 8px 14px; display:flex; flex-direction:column; align-items:center; min-width:70px; }
.player-stats strong{ font-size: 26px; line-height:1; }
.player-stats small{ font-size:10px; text-transform:uppercase; font-weight:500; }

/* side player cards */
.player-side{ flex: 0 0 280px; position:relative; min-height: 460px; border-radius: 22px; overflow:hidden; background: var(--card); display:flex; flex-direction:column; justify-content:flex-end; padding: 20px; }
.player-side-img{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:1; }
.player-side::after{ content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(0deg, rgba(11,26,44,.94) 0%, rgba(11,26,44,.35) 50%, rgba(11,26,44,.1) 100%); }
.player-pos{ position:absolute; top:16px; left:16px; z-index:3; font-family: var(--heading); text-transform:uppercase; font-size:11px; font-weight:700; background: rgba(11,26,44,.7); border-radius:8px; padding:5px 10px; }
.flag-corner{ position:absolute; top:16px; right:16px; z-index:3; width:22px; height:22px; border-radius:50%; object-fit:cover; }
.player-side-info{ position:relative; z-index:2; display:flex; align-items:flex-end; justify-content:space-between; gap:10px; }
.player-side .player-last{ font-size:24px; }
.player-side-num{ font-family: var(--heading); font-weight:700; font-size: 40px; color: var(--yellow); line-height:.8; }
.player-side .link-arrow{ position:relative; z-index:2; margin-top:14px; align-self:flex-start; }

/* standings */
.standings-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:20px; margin-bottom: 36px; }
.standing-card{ display:flex; gap:18px; align-items:center; background: var(--card); border-radius: var(--radius); padding: 22px 24px; overflow:hidden; }
.standing-rank{ font-family: var(--heading); font-weight:700; font-size: 36px; color: var(--yellow); flex-shrink:0; }
.standing-rank sup{ font-size:16px; }
.standing-body{ display:flex; flex-direction:column; gap:8px; }
.standing-tag{ font-family: var(--heading); text-transform:uppercase; font-size:11px; color: var(--grey); }
.standing-card h4{ font-family: var(--heading); text-transform:uppercase; font-size:22px; }

/* stats block */
.stats-block{ background: var(--card); border-radius: 22px; padding: 32px; overflow:hidden; }
.stats-label{ font-family: var(--heading); text-transform:uppercase; font-size:14px; color: var(--grey); margin:0 0 14px; }
.form-row{ display:flex; gap:8px; margin-bottom: 32px; }
.form-pill{ width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-family: var(--heading); font-weight:700; font-size:15px; }
.form-w{ background: var(--green); color:#fff; }
.form-d{ background:#fff; color: var(--bg-dark); }
.form-l{ background: var(--red); color:#fff; }

.stats-grid{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.gauge{ position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; }
.gauge svg{ width: 96px; height:96px; transform: rotate(-90deg); }
.gauge circle{ fill:none; stroke-width:8; }
.gauge .g-bg{ stroke: rgba(255,255,255,.12); }
.gauge .g-fg{ stroke: #3F72B5; stroke-linecap:round; stroke-dasharray: 214; stroke-dashoffset: calc(214 - 214 * var(--val) / 100); transition: stroke-dashoffset 1s ease; }
.gauge .g-fg.g-red{ stroke: var(--red); }
.gauge-num{ position:absolute; top:34px; left:0; right:0; text-align:center; font-family: var(--heading); font-weight:700; font-size: 26px; }
.gauge-num.yellow{ color: var(--yellow); }
.gauge-num.red{ color: var(--red); }
.gauge small{ font-family: var(--heading); text-transform:uppercase; font-size:11px; color: var(--grey); }
.big-stat{ display:flex; flex-direction:column; align-items:center; gap:4px; }
.big-stat strong{ font-family: var(--heading); font-weight:700; font-size: 64px; line-height:1; }
.big-stat .yellow{ color: var(--yellow); }
.big-stat .red{ color: var(--red); }
.big-stat small{ font-family: var(--heading); text-transform:uppercase; font-size:12px; color: var(--grey); }
.bar-chart{ display:flex; align-items:flex-end; gap:6px; height: 110px; }
.bar-chart span{ width: 16px; background: linear-gradient(180deg, #3F72B5, #14305A); border-radius:4px 4px 0 0; }

/* =========================================================
   Duo / Trio grids
   ========================================================= */
.duo-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:24px; }
.trio-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; margin-top: 36px; }
.agissons-text{ margin: 8px 0 0; color: var(--grey); line-height:1.7; font-size:15px; }
.agissons-text strong{ color: var(--white); }

/* =========================================================
   Coeur CTA — red banner
   ========================================================= */
.coeur-banner{
  display:flex; align-items:center; gap:24px;
  background: linear-gradient(120deg, #1A4B8A 0%, #163E73 100%);
  border-radius: var(--radius); padding: 28px 36px; position:relative; overflow:hidden;
}
.coeur-banner::before{ content:""; position:absolute; inset:0; background: center/cover url(../assets/pattern-heart.webp) no-repeat; opacity:.18; }
.coeur-heart{ position:relative; z-index:1; width: 64px; height:64px; object-fit:contain; flex-shrink:0; }
.coeur-text{ position:relative; z-index:1; flex:1; }
.coeur-banner h3{ font-family: var(--heading); text-transform:uppercase; font-size: clamp(22px,2.6vw,30px); color:#fff; }
.coeur-banner h3 span{ color: var(--yellow); }
.coeur-btn{ position:relative; z-index:1; flex-shrink:0; background: var(--bg-dark); color:#fff; }
.coeur-btn:hover{ background:#000; }

/* =========================================================
   History section bg accent
   ========================================================= */
.section-history{ background: radial-gradient(ellipse at 50% 0%, rgba(26,75,138,.14), transparent 55%), rgba(11, 26, 44, .6); }

/* =========================================================
   Newsletter banner (yellow)
   ========================================================= */
.news-banner{
  display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap;
  background: linear-gradient(120deg,#D4A84A 0%, #E0BC6A 100%);
  border-radius: var(--radius); padding: 26px 36px; position:relative; overflow:hidden;
}
.news-banner::before{ content:""; position:absolute; inset:0; background: center/cover url(../assets/pattern-white.webp) no-repeat; opacity:.4; mix-blend-mode: soft-light; }
.news-banner h3{ position:relative; z-index:1; font-family: var(--heading); text-transform:uppercase; font-size: clamp(24px,3vw,36px); color: var(--bg-dark); }
.news-banner .btn{ position:relative; z-index:1; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background: rgba(11, 26, 44, .62); padding: 48px 0 36px; border-radius: 0 0 26px 26px; overflow:hidden; }
.footer-follow{ text-align:center; font-family: var(--heading); text-transform:uppercase; letter-spacing:1px; font-size:14px; color: var(--grey); margin:0 0 16px; }
.socials{ display:flex; gap:14px; justify-content:center; margin-bottom: 40px; }
.socials a{ width:40px; height:40px; border-radius:50%; color: var(--yellow); display:flex; align-items:center; justify-content:center; font-size:18px; transition: background .15s ease, color .15s ease; }
.socials a:hover{ background: var(--yellow); color: var(--bg-dark); }

.partners-panel{ max-width: var(--maxw); margin: 0 auto; background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 28px; }
.partners-group{ margin-bottom: 22px; }
.partners-group h4{ font-family: var(--heading); text-transform:uppercase; letter-spacing:1px; font-size:12px; color: var(--grey); margin: 0 0 12px; }
.partners-row{ display:flex; flex-wrap:wrap; gap:12px; }
.partner-tile{ display:flex; flex-direction:column; align-items:center; justify-content:center; height:60px; min-width:84px; padding: 0 16px; background:#fff; border-radius:12px; color:#111; font-family: var(--heading); text-transform:uppercase; font-size:13px; font-weight:600; text-align:center; line-height:1.1; }
.partner-tile strong{ font-size:16px; }
.partner-tile small{ font-size:7px; letter-spacing:1px; }
.partner-tile em{ font-style:normal; color: var(--red); font-weight:800; }
.partner-tile.tile-red{ background: var(--red); color:#fff; }
.partner-tile.tile-purple{ background:#3a2b6e; color:#fff; }

.footer-accordions{ margin-top: 8px; }
.footer-accordions details{ border-top:1px solid rgba(255,255,255,.08); padding: 4px 0; }
.footer-accordions details:last-child{ border-bottom:1px solid rgba(255,255,255,.08); }
.footer-accordions summary{ display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; font-family: var(--heading); text-transform:uppercase; font-weight:600; font-size:15px; letter-spacing:.5px; padding: 14px 4px; }
.footer-accordions summary::-webkit-details-marker{ display:none; }
.footer-accordions summary span{ color: var(--yellow); font-size:22px; transition: transform .2s ease; }
.footer-accordions details[open] summary span{ transform: rotate(45deg); }
.footer-accordions p{ color: var(--grey); font-size:14px; margin: 0 4px 14px; line-height:1.6; }

.footer-bottom{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding: 40px 24px 24px; }
.footer-logo{ height:52px; width:auto; margin-bottom:6px; }
.footer-claim{ font-family: var(--heading); text-transform:uppercase; font-weight:700; letter-spacing:1px; color: var(--yellow); font-size:18px; }

.footer-legal-row{ max-width: var(--maxw); margin: 0 auto; padding: 20px 24px 0; border-top:1px solid rgba(255,255,255,.08); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.footer-legal-links{ display:flex; flex-wrap:wrap; gap:18px; }
.footer-legal-links a{ font-family: var(--heading); text-transform:uppercase; font-size:11px; letter-spacing:.5px; color: var(--grey); transition: color .15s ease; }
.footer-legal-links a:hover{ color:#fff; }
.footer-copy{ font-size:12px; color: var(--grey); margin:0; }

/* =========================================================
   Scroll-reveal & a11y
   ========================================================= */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
[data-reveal].is-visible{ opacity:1; transform:none; }
a:focus-visible, button:focus-visible, .icon-btn:focus-visible, .tab:focus-visible, .dock-item:focus-visible{ outline: 3px solid var(--yellow); outline-offset:3px; border-radius:8px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } [data-reveal]{ opacity:1; transform:none; } }

/* =========================================================
   Floating dock nav
   ========================================================= */
.dock{ position: fixed; bottom: 22px; left:50%; transform: translateX(-50%); z-index:200; display:flex; align-items:center; gap:6px; padding:10px 14px; background: var(--yellow); border-radius:22px; box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.dock-item{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 16px; border-radius:16px; color: var(--bg-dark); font-family: var(--heading); text-transform:uppercase; font-size:11px; font-weight:600; letter-spacing:.5px; transition: background .15s ease; border:none; background:none; cursor:pointer; }
.dock-item svg{ display:block; }
.dock-item:hover{ background: rgba(11,26,44,.12); }
.dock-item.active{ background: var(--bg-dark); color: var(--yellow); }

/* =========================================================
   Daha Fazla Overlay — TFC style compact panel
   ========================================================= */
.more-overlay{
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7,16,28,.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 88px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.more-overlay.is-open{
  opacity: 1;
  pointer-events: all;
}
.more-panel{
  position: relative;
  width: min(700px, 94vw);
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  border: 1px solid rgba(212,168,74,.18);
  border-radius: 18px;
  padding: 20px 18px 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: translateY(24px);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.more-overlay.is-open .more-panel{
  transform: translateY(0);
}
/* Close button — top-right corner */
.more-close{
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(212,168,74,.4);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  z-index: 5;
}
.more-close:hover{ background: rgba(212,168,74,.12); border-color: var(--yellow); }
/* Section label */
.more-label{
  font-family: var(--heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--yellow);
  text-transform: uppercase;
  margin: 0 0 10px;
  padding-top: 8px;
  padding-right: 44px;
}
/* Cards horizontal row */
.more-cards{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.more-card{
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2/3;
  text-decoration: none;
  display: block;
}
.more-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.more-card:hover img{ transform: scale(1.08); }
.more-card::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,26,44,.92) 35%, rgba(11,26,44,.1) 100%);
}
.more-card span{
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 0 8px;
  z-index: 1;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: left;
}
/* Bottom row */
.more-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.more-ctas{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.more-cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .15s, background .15s, transform .12s;
}
.more-cta-btn:hover{ transform: translateY(-1px); }
.more-cta-primary{
  background: var(--yellow);
  color: var(--bg-dark);
  box-shadow: 0 6px 20px rgba(212,168,74,.3);
}
.more-cta-primary:hover{ opacity: .9; }
.more-cta-outline{
  background: transparent;
  border: 1.5px solid rgba(212,168,74,.4);
  color: var(--white);
}
.more-cta-outline:hover{ background: rgba(212,168,74,.08); border-color: var(--yellow); }
/* Social icons */
.more-social{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.more-social-label{
  font-family: var(--heading);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-right: 2px;
}
.more-social a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.more-social a:hover{ background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
/* Sponsor badges */
.more-sponsors{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(212,168,74,.15);
}
.more-sponsor-badge{
  font-family: var(--heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--yellow);
  background: rgba(212,168,74,.1);
  border: 1px solid rgba(212,168,74,.25);
  border-radius: 6px;
  padding: 4px 12px;
  text-transform: uppercase;
}

/* Desktop — larger panel so it doesn't look tiny on big screens */
@media (min-width: 761px){
  .more-panel{ width: min(960px, 92vw); max-height: calc(100vh - 140px); padding: 32px 32px 26px; border-radius: 22px; }
  .more-close{ width: 38px; height: 38px; top: 16px; right: 16px; }
  .more-label{ font-size: 13px; letter-spacing: 4px; margin-bottom: 20px; padding-right: 56px; }
  .more-cards{ gap: 14px; margin-bottom: 26px; }
  .more-card span{ font-size: 17px; padding: 0 14px; bottom: 16px; }
  .more-bottom{ margin-bottom: 18px; }
  .more-cta-btn{ padding: 15px 36px; font-size: 14px; }
  .more-social a{ width: 40px; height: 40px; }
  .more-social-label{ font-size: 11px; }
  .more-sponsors{ padding-top: 16px; gap: 12px; }
  .more-sponsor-badge{ font-size: 12px; padding: 6px 16px; }
}

/* =========================================================
   Inner-page generics (about / focus / projects / etc.)
   ========================================================= */
.page-header{ position: relative; min-height: 46vh; display:flex; align-items:center; overflow:hidden; }
.page-header-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.page-header-overlay{ position:absolute; inset:0; background: linear-gradient(90deg, rgba(16,42,71,.88) 0%, rgba(16,42,71,.4) 60%, rgba(16,42,71,.15) 100%), linear-gradient(0deg, rgba(11,26,44,.95) 0%, rgba(11,26,44,0) 45%); }
.page-header-content{ position:relative; z-index:2; max-width: var(--maxw); margin:0 auto; padding: 120px 24px 48px; width:100%; }
.page-header-content .eyebrow{ margin-bottom:10px; display:block; }
.page-header-content h1{ font-size: clamp(34px,6vw,72px); max-width: 16ch; }
.page-header-content p{ max-width: 56ch; color:#e6e1f0; font-size:16px; line-height:1.55; margin: 18px 0 0; }

/* long-form text blocks */
.prose{ max-width: 70ch; color: var(--grey); font-size:15px; line-height:1.8; }
.prose p{ margin:0 0 18px; }
.prose h3{ color: var(--white); font-size: 22px; margin: 32px 0 12px; text-transform:none; letter-spacing:0; }
.prose strong{ color: var(--white); }

/* numbered / iconless info cards (values, steps, criteria…) */
.info-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; margin-top: 36px; }
.info-grid.cols-2{ grid-template-columns: repeat(2,1fr); }
.info-card{ background: var(--card); border-radius: var(--radius); padding: 28px; position:relative; overflow:hidden; }
.info-card::after{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--yellow); }
.info-num{ font-family: var(--heading); font-size: 40px; color: rgba(255,255,255,.18); line-height:1; margin-bottom:14px; }
.info-title{ font-family: var(--heading); text-transform:uppercase; font-size:16px; margin-bottom:10px; }
.info-text{ font-size:13px; color: var(--grey); line-height:1.65; }

/* timeline (about journey / roadmap-style steps) */
.timeline{ display:flex; flex-direction:column; gap:0; margin-top:36px; }
.timeline-item{ display:grid; grid-template-columns: 160px 1fr; gap:24px; padding: 22px 0; border-top:1px solid rgba(255,255,255,.08); }
.timeline-item:first-child{ border-top:none; }
.timeline-date{ font-family: var(--heading); text-transform:uppercase; color: var(--yellow); font-size:14px; letter-spacing:.5px; }
.timeline-text{ color: var(--grey); font-size:14px; line-height:1.7; max-width: 60ch; }

@media (max-width:760px){
  .info-grid{ grid-template-columns:1fr; }
  .info-grid.cols-2{ grid-template-columns:1fr; }
  .page-header-content h1{ max-width: 100%; }
  .timeline-item{ grid-template-columns: 1fr; gap:6px; }
}

/* contact form */
.contact-form-card{ background: var(--card); border-radius: var(--radius); padding: 28px; position:relative; overflow:hidden; max-width:640px; margin: 36px auto 0; }
.contact-form-card::after{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--yellow); }
.contact-form{ display:flex; flex-direction:column; gap:18px; margin-top:20px; }
.form-row{ display:flex; flex-direction:column; gap:8px; }
.contact-form label{ font-family: var(--heading); text-transform:uppercase; font-size:13px; letter-spacing:.5px; color: var(--white); }
.contact-form input,
.contact-form select,
.contact-form textarea{
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
}
.contact-form textarea{ resize: vertical; min-height: 120px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder{ color: var(--grey); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{ outline: 3px solid var(--yellow); outline-offset: 2px; border-color: var(--yellow); }
.contact-form select{ cursor:pointer; }
.contact-form .btn{ align-self:flex-start; }

@media (max-width:760px){
  .contact-form-card{ padding: 22px; }
  .contact-form .btn{ align-self:stretch; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px){
  .player-feat{ flex-basis: 90vw; }
  .footer-cols{ grid-template-columns: repeat(2,1fr); }
  .topbar-center{ display:none; }
  .header-crest{ width:auto; height:auto; }
  .header-crest img{ width:auto; height:40px; }
}
@media (max-width: 760px){
  .more-cards{ grid-template-columns: repeat(3,1fr); }
  .more-bottom{ flex-direction: column; align-items: flex-start; }
  .more-overlay{ padding-bottom: 96px; }
  .more-panel{ padding: 18px 12px 14px; }
  .standings-grid, .duo-grid, .trio-grid{ grid-template-columns: 1fr; }
  .banner-wide{ flex-direction:column; align-items:flex-start; }
  .stats-grid{ justify-content:center; }
  .bar-chart{ display:none; }
  .topbar-left{ gap:14px; }
  .topbar a{ font-size:11px; letter-spacing:.5px; }
  .sponsor-text{ display:none; }
  /* Dock — sıkıştır, metinleri göster */
  .dock{ gap:0; padding:7px 14px; border-radius:16px; width: min(96vw, 480px); justify-content: space-between; }
  .dock-item{ padding:5px 10px; font-size:9px; letter-spacing:.2px; gap:3px; min-width:0; flex:1; }
  .dock-item span{ display:block; white-space:nowrap; }
  .dock-item svg{ width:22px; height:22px; }

  /* Coeur banner: stack heart/text/button on narrow screens */
  .coeur-banner{ flex-direction:column; align-items:flex-start; text-align:left; padding: 24px 24px; }
  .coeur-btn{ align-self:stretch; justify-content:center; }

  /* Équipe tabs: smaller padding/font so the row fits without crowding */
  .tab{ padding: 8px 16px; font-size:12px; }

  /* Footer legal row: stack links above copyright on narrow screens */
  .footer-legal-row{ flex-direction:column; align-items:flex-start; gap:12px; }

  /* Partner tiles: allow slightly smaller tiles to avoid overflow */
  .partner-tile{ min-width: 72px; padding: 0 10px; }

  /* ---- Mobile header: sadece ortalanmış logo ---- */
  .topbar{ display:none; }                         /* metin utility bar kalksın */
  .hero{ border-radius: 22px 22px 0 0; }           /* üst köşeler yuvarlak kalsın */
  .site-header{ display:flex; justify-content:center; padding: 16px 16px; }
  .header-sponsors{ display:none; }                /* soldaki sponsor kalksın */
}
@media (max-width: 480px){
  /* Daha Fazla overlay: smaller cards/spacing so the panel fits without scrolling */
  .more-cards{ grid-template-columns: repeat(2,1fr); gap: 6px; margin-bottom: 10px; }
  .more-card{ aspect-ratio: 4/3; }
  .more-card span{ font-size: 11px; bottom: 6px; }
  .more-label{ font-size: 9px; letter-spacing: 2px; margin-bottom: 8px; padding-top: 4px; }
  .more-panel{ padding: 14px 10px 12px; max-height: calc(100vh - 88px); }
  .more-cta-btn{ padding: 9px 18px; font-size: 11px; }
  .more-sponsors{ margin-top: 8px; }
}
@media (max-width: 400px){
  .dock-item{ padding:5px 6px; font-size:8px; }
  .dock-item svg{ width:20px; height:20px; }
}
@media (max-width: 560px){ .footer-cols{ grid-template-columns: 1fr; } }

/* ===== Comparison table (cmp-table) ===== */
.cmp-wrap{ overflow-x:auto; margin:0 0 28px; border-radius:var(--radius); }
.cmp-table{ width:100%; border-collapse:collapse; background:var(--card); border-radius:var(--radius); overflow:hidden; font-family:var(--body); font-size:15px; }
.cmp-table th,.cmp-table td{ padding:13px 16px; text-align:left; border-bottom:1px solid rgba(174,190,212,.18); vertical-align:top; }
.cmp-table thead th{ background:rgba(212,168,74,.16); color:var(--white); font-family:var(--heading); font-weight:600; letter-spacing:.3px; text-transform:uppercase; font-size:13px; }
.cmp-table tbody td{ color:var(--white); }
.cmp-table tbody td:first-child{ color:var(--yellow); white-space:nowrap; }
.cmp-table tbody tr:last-child td{ border-bottom:none; }
.cmp-table tbody tr:hover{ background:rgba(255,255,255,.04); }
