/* ===== Variables & Reset ===== */
:root {
  --emerald: #047857;
  --emerald-light: #059669;
  --emerald-dark: #065f46;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-900: #064e3b;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.1);
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo__icon { font-size: 28px; }

.logo__text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

.nav__link:hover { color: var(--emerald); }

.nav__link--cta {
  background: var(--emerald);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav__link--cta:hover { background: var(--emerald-dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

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

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}

.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-dark) 40%, var(--emerald) 100%);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(5,150,105,.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(6,78,59,.4) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}

.hero__tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald-100);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat__label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ===== Section Shared ===== */
.section__tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 48px;
}

/* ===== Destinations ===== */
.destinations {
  padding: 100px 0;
  background: var(--white);
}

.destinations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dest-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}

.dest-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.dest-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.dest-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.dest-card__text {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.dest-card__price {
  font-size: .85rem;
  font-weight: 600;
  color: var(--emerald);
}

/* ===== Galerie ===== */
.galerie {
  padding: 100px 0;
  background: var(--gray-50);
}

.galerie__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.galerie__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.galerie__item--wide { grid-column: span 2; }

.galerie__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--emerald-100), var(--emerald-50));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.galerie__placeholder span { font-size: 3rem; }

.galerie__placeholder p {
  font-size: .85rem;
  font-weight: 500;
  color: var(--emerald-dark);
}

.galerie__item:hover .galerie__placeholder {
  background: linear-gradient(135deg, var(--emerald-100), var(--emerald));
}

.galerie__item:hover .galerie__placeholder p { color: var(--white); }

/* ===== Témoignages ===== */
.temoignages {
  padding: 100px 0;
  background: var(--white);
}

.temoignages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .85rem;
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  font-size: .9rem;
}

.testimonial__author span {
  font-size: .8rem;
  color: var(--gray-500);
}

/* ===== Devis ===== */
.devis {
  padding: 100px 0;
  background: var(--emerald-50);
}

.devis__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.devis__desc {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.7;
}

.devis__perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.devis__perks li {
  font-size: .9rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ===== Form ===== */
.form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form__group { margin-bottom: 20px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition);
  appearance: none;
}

.form__input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(4,120,87,.1);
}

.form__input.error { border-color: #ef4444; }

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

.form__error {
  display: block;
  font-size: .78rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 18px;
}

.form__success {
  display: none;
  margin-top: 20px;
  padding: 16px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-sm);
  color: var(--emerald-dark);
  font-weight: 500;
  font-size: .9rem;
  text-align: center;
}

.form__success.visible { display: block; }

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer .logo__text { color: var(--white); }

.footer__tagline {
  margin-top: 12px;
  font-size: .9rem;
  color: var(--gray-500);
  max-width: 300px;
}

.footer__links h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links a,
.footer__links p {
  display: block;
  font-size: .9rem;
  color: var(--gray-500);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .8rem;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .destinations__grid { grid-template-columns: repeat(2, 1fr); }
  .temoignages__grid { grid-template-columns: repeat(2, 1fr); }
  .galerie__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .galerie__item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-toggle { display: flex; }

  .hero__stats { flex-direction: column; gap: 20px; }

  .destinations__grid { grid-template-columns: 1fr; }
  .temoignages__grid { grid-template-columns: 1fr; }

  .galerie__grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .galerie__item--wide { grid-column: span 1; }

  .devis__wrapper { grid-template-columns: 1fr; gap: 40px; }

  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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