/* ============================================================
   EVOGUE — Landing Page Campagne Avril 2026
   Mobile-first — Montserrat
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #AC4430;
  --red-hover: #bb6959;
  --anthracite: #1A1A1A;
  --white: #FFFFFF;
  --gray-bg: #F4F4F4;
  --gray-text: #5A5A5A;
  --gray-border: #E0E0E0;
  --font: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  min-height: 44px;
  min-width: 44px;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

/* --- SECTION TITLE --- */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1.2;
  margin-bottom: 40px;
  text-align: center;
}

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

/* ============================================================
   SECTION 01 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--anthracite);
}

.hero__video {
  display: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  background: url('https://canapes-evogue.fr/uploads/2024/03/evogue-canape-pontarlier-1.webp') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 800px;
}

.hero__surtitle {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  font-size: 16px;
  padding: 18px 40px;
}

.hero__badge {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  letter-spacing: 0.05em;
}

/* ============================================================
   SECTION 02 — COMMENT CA MARCHE
   ============================================================ */
.steps {
  padding: 80px 0;
  background: var(--white);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.steps__item {
  text-align: center;
}

.steps__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--red);
}

.steps__icon svg {
  width: 100%;
  height: 100%;
}

.steps__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 8px;
}

.steps__text {
  font-size: 15px;
  max-width: 300px;
  margin: 0 auto;
}

.steps__cta-wrap {
  text-align: center;
}

/* ============================================================
   SECTION 03 — LE LOT A GAGNER
   ============================================================ */
.prize {
  padding: 80px 0;
  background: var(--anthracite);
}

.prize__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.prize__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.prize__info {
  padding: 32px 24px;
  text-align: center;
}

.prize__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.prize__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  line-height: 1.6;
}

.prize__detail {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

/* ============================================================
   SECTION 04 — CHOISIR SON STUDIO
   ============================================================ */
.studios {
  padding: 80px 0;
  background: var(--gray-bg);
}

.studios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.studio-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.studio-card:hover {
  border-color: var(--red);
}

.studio-card.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.studio-card__radio {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gray-border);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.studio-card.is-active .studio-card__radio {
  border-color: var(--red);
}

.studio-card__check {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

.studio-card.is-active .studio-card__check {
  background: var(--red);
}

.studio-card__image {
  height: 180px;
  overflow: hidden;
}

.studio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-card__body {
  padding: 20px;
}

.studio-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 8px;
}

.studio-card__title span {
  font-weight: 500;
  color: var(--gray-text);
}

.studio-card__address {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.studio-card__hours {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 12px;
  line-height: 1.6;
}

.studio-card__hours p {
  margin-bottom: 2px;
}

.studio-card__map {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: underline;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

.studio-card__map:hover {
  color: var(--red-hover);
}

/* ============================================================
   SECTION 05 — PRISE DE RDV (FORMULAIRE)
   ============================================================ */
.booking {
  padding: 80px 0;
  background: var(--white);
}

.booking__subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--gray-text);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Form --- */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.form__studio-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--gray-text);
}

.form__studio-badge.has-studio {
  border-color: var(--red);
  background: rgba(172, 68, 48, 0.06);
}

.form__studio-badge.has-studio #form-studio-label {
  color: var(--anthracite);
  font-weight: 600;
}

.form__studio-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: underline;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--anthracite);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.form__required {
  color: var(--red);
}

.form__input {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--anthracite);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: #AAAAAA;
}

.form__input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(172, 68, 48, 0.15);
}

.form__input.is-error {
  border-color: var(--red);
}

.form__input.is-valid {
  border-color: #27AE60;
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5A5A' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

/* --- Checkbox custom --- */
.form__consent {
  margin-bottom: 28px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form__checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-border);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-top: 2px;
}

.form__checkbox input:checked + .form__checkmark {
  background: var(--red);
  border-color: var(--red);
}

.form__checkbox input:checked + .form__checkmark::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.form__checkbox input:focus + .form__checkmark {
  box-shadow: 0 0 0 3px rgba(172, 68, 48, 0.15);
}

.form__checkbox-text {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

.form__checkbox-text a {
  color: var(--red);
  text-decoration: underline;
}

/* --- Submit --- */
.form__submit-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.form__submit {
  width: 100%;
  font-size: 15px;
  padding: 18px 32px;
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- Messages --- */
.form__message {
  text-align: center;
  padding: 20px 24px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.form__message--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form__message--error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.form__field-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}

/* ============================================================
   SECTION 06 — L'EXPERIENCE EVOGUE
   ============================================================ */
.experience {
  padding: 80px 0;
  background: var(--gray-bg);
}

.experience__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.experience__image {
  border-radius: 8px;
  overflow: hidden;
}

.experience__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.experience__content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.experience__intro {
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.experience__list {
  list-style: none;
}

.experience__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
}

.experience__list li:last-child {
  border-bottom: none;
}

.experience__list strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--anthracite);
  margin-bottom: 4px;
}

.experience__list span {
  font-size: 14px;
  color: var(--gray-text);
}

/* ============================================================
   SECTION 07 — FOOTER LEGAL
   ============================================================ */
.footer {
  padding: 60px 0 40px;
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.7);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo {
  height: 36px;
  width: auto;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social a:hover {
  color: var(--white);
}

.footer__legal {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.7;
  margin-bottom: 32px;
}

.footer__legal p {
  margin-bottom: 8px;
}

.footer__legal a {
  color: var(--white);
  text-decoration: underline;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 11px;
  opacity: 0.5;
}

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__surtitle {
    font-size: 14px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .studios__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .prize__card {
    display: flex;
  }

  .prize__image {
    flex: 0 0 50%;
  }

  .prize__image img {
    height: 100%;
    min-height: 320px;
  }

  .prize__info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form__submit {
    width: auto;
    min-width: 320px;
  }

  .experience__grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .experience__image img {
    height: 400px;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .section-title {
    font-size: 36px;
    margin-bottom: 48px;
  }

  .hero__video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__image {
    display: none;
  }

  .hero__title {
    font-size: 80px;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  .steps {
    padding: 100px 0;
  }

  .prize {
    padding: 100px 0;
  }

  .studios {
    padding: 100px 0;
  }

  .studios__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .booking {
    padding: 100px 0;
  }

  .experience {
    padding: 100px 0;
  }

  .experience__image img {
    height: 480px;
  }
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 96px;
  }
}

/* ============================================================
   ANIMATIONS — Fade in on scroll
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
