﻿/*
Theme Name: Gobarko Equestre Services
Theme URI: https://gobarko.local
Author: Gobarko
Description: Theme vitrine cle en main pour Gobarko Equestre Services : gestion de concours, chronometrage et officiel de competition.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: gobarko
*/

:root {
  --gobarko-navy: #061120;
  --gobarko-navy-2: #0d1b2a;
  --gobarko-ink: #17202e;
  --gobarko-gold: #c89b45;
  --gobarko-gold-light: #ddb766;
  --gobarko-cream: #f8f5f0;
  --gobarko-paper: #fffaf2;
  --gobarko-muted: #394353;
  --gobarko-muted-strong: #243044;
  --gobarko-body-text: #111827;
  --gobarko-heading-text: #17202e;
  --gobarko-light-text: #ffffff;
  --gobarko-light-muted-text: #f1f4f8;
  --gobarko-line: rgba(200, 155, 69, 0.32);
  --gobarko-shadow: 0 24px 70px rgba(6, 17, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gobarko-body-text);
  background: var(--gobarko-cream);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gobarko-heading-text);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(6, 17, 32, 0.92), rgba(6, 17, 32, 0.68));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  width: min(1480px, calc(100% - 48px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-branding {
  text-decoration: none;
  color: var(--gobarko-light-text);
  min-width: 220px;
}

.brand-name {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 3vw, 54px);
  letter-spacing: 2px;
  line-height: 0.95;
}

.brand-kicker {
  display: block;
  color: var(--gobarko-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-top: 8px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

.main-navigation a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--gobarko-gold-light);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--gobarko-gold);
  border-radius: 8px;
  color: var(--gobarko-gold-light);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gobarko-gold);
  border-radius: 8px;
  background: transparent;
  color: var(--gobarko-light-text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 92vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--gobarko-light-text);
  background:
    radial-gradient(circle at 78% 28%, rgba(200, 155, 69, 0.2), transparent 30%),
    linear-gradient(135deg, #061120 0%, #0d1b2a 56%, #050b16 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 0 34px;
}

.hero-inner,
.section-inner {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
  padding: 34px;
  border: 1px solid rgba(200, 155, 69, 0.34);
  border-radius: 8px;
  background: rgba(6, 17, 32, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: center;
}

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(430px, 100%);
  opacity: 0.92;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% 2% 4% 6%;
  border: 1px solid rgba(200, 155, 69, 0.48);
  border-radius: 50%;
}

.hero-media img {
  position: relative;
  display: block;
  width: 100%;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.38));
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 90px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gobarko-light-text);
}

.hero h1 span {
  color: var(--gobarko-gold-light);
}

.gold-rule {
  width: min(640px, 100%);
  height: 3px;
  margin: 26px 0 22px;
  background: linear-gradient(90deg, var(--gobarko-gold), rgba(200, 155, 69, 0));
}

.hero-subtitle {
  margin: 0 0 16px;
  font-size: clamp(19px, 2vw, 27px);
  color: var(--gobarko-light-text);
}

.hero-description {
  max-width: 620px;
  margin: 0;
  color: var(--gobarko-light-muted-text);
  font-size: 18px;
  font-weight: 500;
}

.button-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gobarko-gold), var(--gobarko-gold-light));
  color: var(--gobarko-light-text);
}

.btn-outline {
  border: 1px solid var(--gobarko-gold);
  color: var(--gobarko-light-text);
}

.hero-values {
  position: absolute;
  right: 7%;
  top: 50%;
  width: min(330px, 28vw);
  border: 1px solid rgba(200, 155, 69, 0.72);
  border-radius: 8px;
  background: rgba(6, 17, 32, 0.62);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.hero-values strong {
  display: block;
  color: var(--gobarko-gold-light);
  font-size: 29px;
  line-height: 1.22;
  text-transform: uppercase;
}

.hero-values p {
  margin: 16px 0 0;
  color: var(--gobarko-light-text);
  font-size: 13px;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(200, 155, 69, 0.34);
  border-radius: 8px;
  background: rgba(6, 17, 32, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.strip-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.strip-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gobarko-gold);
  border-radius: 50%;
  color: var(--gobarko-gold-light);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.strip-icon svg {
  width: 27px;
  height: 27px;
}

.strip-item strong {
  display: block;
  color: var(--gobarko-light-text);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.strip-item p {
  margin: 6px 0 0;
  color: var(--gobarko-light-muted-text);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.section {
  padding: 92px 0;
}

.section-dark {
  color: var(--gobarko-body-text);
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 155, 69, 0.16), transparent 28%),
    linear-gradient(120deg, rgba(6, 17, 32, 0.98), rgba(13, 27, 42, 0.96));
}

.section-dark .split > div:first-child {
  padding: 34px;
  border: 1px solid rgba(200, 155, 69, 0.34);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--gobarko-body-text);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.24);
}

.section-dark .split > div:first-child h1,
.section-dark .split > div:first-child h2,
.section-dark .split > div:first-child h3 {
  color: var(--gobarko-heading-text);
}

.section-kicker {
  color: var(--gobarko-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.section-title {
  max-width: 860px;
  margin: 10px 0 18px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 700;
}

.section-lead {
  max-width: 760px;
  margin: 0;
  color: var(--gobarko-muted-strong);
  font-size: 19px;
  font-weight: 500;
}

.section-dark .section-lead {
  color: var(--gobarko-muted-strong);
}

.services-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--gobarko-line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 12px 42px rgba(6, 17, 32, 0.08);
}

.service-card svg {
  width: 42px;
  height: 42px;
  color: var(--gobarko-gold);
  margin-bottom: 22px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--gobarko-heading-text);
}

.service-card p {
  margin: 0;
  color: var(--gobarko-muted-strong);
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--gobarko-shadow);
  border: 1px solid rgba(200, 155, 69, 0.24);
}

.image-panel img {
  display: block;
  width: 100%;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gobarko-gold);
  box-shadow: inset 0 0 0 6px var(--gobarko-paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--gobarko-line);
  border: 1px solid var(--gobarko-line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline-step {
  background: var(--gobarko-paper);
  padding: 30px;
}

.timeline-step span {
  color: var(--gobarko-gold);
  font-weight: 900;
}

.timeline-step h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  color: var(--gobarko-heading-text);
}

.timeline-step p {
  margin: 0;
  color: var(--gobarko-muted-strong);
  font-weight: 500;
}

.trust-band {
  background: var(--gobarko-paper);
  border-top: 1px solid var(--gobarko-line);
  border-bottom: 1px solid var(--gobarko-line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.badge-image {
  max-width: 360px;
  justify-self: center;
}

.quote-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.quote-item {
  padding: 20px 22px;
  border-left: 4px solid var(--gobarko-gold);
  background: white;
  border-radius: 0 8px 8px 0;
  color: var(--gobarko-heading-text);
  font-weight: 600;
}

.cta {
  color: var(--gobarko-light-text);
  text-align: center;
  background: linear-gradient(135deg, var(--gobarko-navy), var(--gobarko-navy-2));
}

.cta .section-title,
.cta h1,
.cta h2,
.cta h3 {
  color: var(--gobarko-light-text);
}

.cta .section-lead {
  color: var(--gobarko-light-muted-text);
}

.cta .section-title,
.cta .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.9);
  background: #030914;
  padding: 44px 0;
}

.footer-inner {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--gobarko-light-text);
  font-family: "Cinzel", Georgia, serif;
  font-size: 28px;
}

.entry-content {
  width: min(980px, calc(100% - 48px));
  margin: 150px auto 80px;
}

.editable-home > * {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: "Cinzel", Georgia, serif;
}

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

  .hero-values {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: start;
    width: min(520px, 100%);
  }

  .hero-strip,
  .services-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    width: min(100% - 32px, 1480px);
    min-height: 78px;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    padding: 18px;
    border: 1px solid rgba(200, 155, 69, 0.34);
    border-radius: 8px;
    background: rgba(6, 17, 32, 0.98);
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    display: grid;
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 28px;
    background:
      radial-gradient(circle at 70% 18%, rgba(200, 155, 69, 0.18), transparent 30%),
      linear-gradient(135deg, #061120 0%, #0d1b2a 58%, #050b16 100%);
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 32px, 1480px);
  }

  .hero-copy {
    padding: 26px;
  }

  .hero-media {
    margin-top: -16px;
  }

  .split,
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-name {
    font-size: 31px;
  }

  .brand-kicker {
    font-size: 10px;
  }

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

  .hero-media {
    width: min(420px, 100%);
  }

  .hero-strip,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .strip-item {
    grid-template-columns: 44px 1fr;
  }

  .strip-icon {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: 68px 0;
  }

  .button-row {
    display: grid;
  }
}

