/* Gerimm World Cup — Landing concours */
:root {
  --navy: #13265b;
  --navy-dark: #0f1f47;
  --sky: #87cbf5;
  --white: #ffffff;
  --off-white: #f0f2f6;
  --gray: #606266;
  --gray-light: #a7a7a7;
  --card-dark: #2b2b2c;
  --radius: 30px;
  --radius-sm: 10px;
  --shadow: 0 6px 20px rgba(82, 53, 239, 0.25);
  --font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: #101011;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.logo img {
  height: 40px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
  line-height: 1.2;
}

.btn-dark {
  padding: 8px 18px;
  font-size: 13px;
  background: var(--navy);
  color: var(--off-white);
  box-shadow: 0 3px 14px rgba(16, 16, 17, 0.35);
}

.btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 16, 17, 0.4);
}

.btn-primary {
  padding: 12px 22px;
  font-size: 15px;
  background: var(--navy);
  color: var(--off-white);
  box-shadow: var(--shadow);
}

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

.btn-arrow {
  display: inline-block;
  flex-shrink: 0;
}

.btn-dark .btn-arrow,
.btn-primary .btn-arrow {
  filter: brightness(0) invert(1);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 38, 91, 0.35) 0%,
    rgba(19, 38, 91, 0.55) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.badge {
  background: #101011;
  color: var(--off-white);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  max-width: 900px;
  margin-inline: auto;
}

.hero h1 .accent {
  color: var(--sky);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
  opacity: 0.95;
}

/* Form section */
.form-section {
  padding: 80px 0;
  background: var(--off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--navy);
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  margin: 0;
  max-width: 560px;
  margin-inline: auto;
}

.form-card {
  max-width: 560px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-top: 6px solid var(--navy);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--navy);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.checkbox-group input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: 500;
  font-size: 14px;
  color: #444;
  line-height: 1.45;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.form-success {
  text-align: center;
  padding: 20px 0;
}

.form-success h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.highlight-box {
  background: #f7fafc;
  border-left: 4px solid var(--navy);
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  text-align: left;
  color: #2d3748;
  line-height: 1.6;
}

.form-success p {
  color: var(--gray);
  line-height: 1.6;
}

#concours-form .btn-primary {
  width: 100%;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Features */
.features {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}

.features .section-title h2 {
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--card-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 22px;
  height: 22px;
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.92;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--card-dark);
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}

.footer-logo img {
  width: 120px;
  height: auto;
  max-width: none;
  aspect-ratio: 2204 / 435;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 1;
}

.footer-social img {
  width: 18px;
  height: 18px;
}

.footer-menu h2 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.footer-menu a {
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 24px;
  color: var(--gray-light);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .hero .container {
    padding: 60px 0 80px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .btn-primary {
    width: 100%;
  }
}
