:root {
  --bg: #fbf6ef;
  --surface: rgba(255, 250, 244, 0.88);
  --surface-strong: #fffaf4;
  --text: #3b2418;
  --muted: #7b5b49;
  --primary: #c96b3b;
  --primary-dark: #a6532a;
  --accent: #e2a23b;
  --border: rgba(95, 58, 37, 0.10);
  --shadow: 0 18px 45px rgba(120, 72, 38, 0.12);
  --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 107, 59, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(226, 162, 59, 0.16), transparent 22%),
    linear-gradient(180deg, #fffaf4 0%, #f8efe4 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(24, 34, 48, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s ease;
}

.nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(24, 34, 48, 0.08);
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 30px rgba(19, 35, 65, 0.08);
  top: 15px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
}

.btn-secondary {
  background: rgba(255,255,255,0.88);
  color: var(--text);
  border: 1px solid rgba(24, 34, 48, 0.08);
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.side-card,
.article-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.section-eyebrow {
  margin-bottom: 10px;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  margin-bottom: 18px;
  max-width: 20ch;
}

.hero-card p,
.side-card p,
.section-header p,
.article-card p,
.info-card p {
  color: var(--muted);
}

.hero-card p {
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.side-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.side-card h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.side-card p {
  margin: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(24, 34, 48, 0.06);
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 4px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.side-note {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #6b4b00;
  font-weight: 600;
}

.section {
  padding: 28px 0 72px;
}

.section-header {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.section-header p {
  margin: 10px 0 0;
  max-width: 72ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  padding: 26px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 34, 48, 0.06);
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
}

.article-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.article-card p {
  margin: 0 0 12px;
}

.highlight-box {
  margin: 20px 0 24px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.highlight-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(24, 34, 48, 0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(24, 34, 48, 0.03);
  border: 1px solid rgba(24, 34, 48, 0.06);
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.check label {
  font-weight: 500;
  color: var(--muted);
}

.info-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 22px;
}

.info-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
}

footer {
  padding: 26px 0 50px;
}

.footer-box {
  border-radius: 22px;
  padding: 24px 26px;
  background: rgba(24, 34, 48, 0.94);
  color: rgba(255,255,255,0.84);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-box strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-grid,
  .info-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(24, 34, 48, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(19, 35, 65, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(24, 34, 48, 0.03);
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .section-header {
    align-items: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-card,
  .side-card,
  .article-card {
    padding: 22px;
  }

  .grid-2,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .footer-box {
    padding: 20px;
  }
}

.hero-text {
    margin: 0 0 22px;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 0 0 26px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-side-image {
    padding: 0;
    overflow: hidden;
}

.hero-side-media {
    position: relative;
    min-height: 100%;
    height: 100%;
}

.hero-side-img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    display: block;
}

.hero-side-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,22,14,0.08) 0%, rgba(35,22,14,0.62) 100%);
}

.hero-side-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #fff;
}

.hero-side-badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(8px);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.hero-side-content h2 {
    font-size: 1.7rem;
    margin: 0 0 10px;
    color: #fff;
}

.hero-side-content p {
    margin: 0;
    color: rgba(255,255,255,0.88);
}


.event-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(24, 34, 48, 0.08);
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    border-radius: 28px 28px 0 0;
}

.event-card--concours::before {
    background: linear-gradient(90deg, #c96b3b 0%, #b6462f 100%);
}

.event-card--repas::before {
    background: linear-gradient(90deg, #e2a23b 0%, #d97706 100%);
}

.card-badge--concours {
    background: rgba(201, 107, 59, 0.12);
    color: #9a4322;
}

.card-badge--repas {
    background: rgba(226, 162, 59, 0.16);
    color: #9a6400;
}

.highlight-box--concours {
    background: rgba(201, 107, 59, 0.08);
    border: 1px solid rgba(201, 107, 59, 0.18);
}

.highlight-box--repas {
    background: rgba(226, 162, 59, 0.10);
    border: 1px solid rgba(226, 162, 59, 0.22);
}

.btn-event {
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.btn-event--concours {
    background: linear-gradient(135deg, #c96b3b 0%, #b6462f 100%);
}

.btn-event--repas {
    background: linear-gradient(135deg, #e2a23b 0%, #d97706 100%);
}

.event-card--concours h3 {
    color: #7f351d;
}

.event-card--repas h3 {
    color: #8a5700;
}
.cube-icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-right: 10px;
    background: #c96b3b;
    border-radius: 2px;
    transform: rotate(-8deg);
    flex: 0 0 14px;
}

.cube-icon::before,
.cube-icon::after {
    content: "";
    position: absolute;
    border-radius: 2px;
}

.cube-icon::before {
    top: -4px;
    left: 2px;
    width: 14px;
    height: 4px;
    background: #de8a5d;
    transform: skewX(-45deg);
}

.cube-icon::after {
    top: -2px;
    right: -4px;
    width: 4px;
    height: 14px;
    background: #9f4f28;
    transform: skewY(-45deg);
}

.event-image-wrap {
    margin: 0 0 18px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.event-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.partner-strip {
  margin: 32px auto 0;
}

.partner-card {
  background: linear-gradient(135deg, rgba(210, 225, 84, 0.22) 0%, rgba(255, 255, 255, 0.96) 100%);
  border: 1px solid rgba(51, 50, 49, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 45px rgba(51, 50, 49, 0.10);
}

.partner-card--with-logo {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

.partner-content {
  text-align: left;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #333231;
  color: #d2e154;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.partner-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: #333231;
}

.partner-card p {
  margin: 0 0 12px;
  color: #4b4a49;
}

.partner-actions {
  margin-top: 18px;
}

.btn-ducoteweb {
  background: #333231;
  color: #d2e154;
  box-shadow: 0 14px 30px rgba(51, 50, 49, 0.18);
}

.btn-ducoteweb:hover {
  background: #222221;
}

@media (max-width: 720px) {
  .partner-card--with-logo {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .partner-content {
    text-align: center;
  }

  .partner-logo {
    max-width: 120px;
  }
}

.message-formulaire {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 600;
}

.message-formulaire--success {
  background: rgba(76, 201, 123, 0.14);
  border: 1px solid rgba(76, 201, 123, 0.28);
  color: #1f6b43;
}

.message-formulaire--warning {
  background: rgba(255, 180, 90, 0.16);
  border: 1px solid rgba(255, 180, 90, 0.30);
  color: #8a5a00;
}