/* ============================================
   SUNSET SERVICES — Styles globaux
   Direction artistique : Premium, Cote d'Azur
   ============================================ */

/* ---- Variables CSS ---- */
:root {
  --deep-navy: #132030;
  --slate: #4A5568;
  --sand: #C8B89A;
  --sea-blue: #A8D8EA;
  --sunset-peach: #FFB088;
  --dark-teal: #3C6E71;
  --soft-cream: #FFF8E7;
  --light-sand: #F5EDE0;
  --coral: #F4A261;
  --sky-blue: #E0F2F7;
  --white: #FFFFFF;
  --near-black: #0A0A0A;
  --error: #E74C3C;
  --success: #27AE60;

  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1440px;
  --container-pad: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 30px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--deep-navy); background: var(--soft-cream); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
@media (min-width: 1024px) { :root { --container-pad: 48px; } }

/* ============================================
   HEADER
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: all 0.3s ease; padding: 20px 0; }
.header--scrolled { background: rgba(255, 248, 231, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(0,0,0,0.05); padding: 12px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.header__logo { display: flex; align-items: center; gap: 10px; z-index: 101; }
.header__logo-img { height: 44px; width: auto; }

.header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header__company-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.header__company-name:hover {
  color: var(--sand);
}

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: 28px; } }

.nav__link { font-family: var(--font-body); font-size: 14px; position: relative; transition: color 0.25s ease; }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease; }
.nav__link:hover::after { width: 100%; }

/* Couleurs header transparent */
.header:not(.header--scrolled) .nav__link { color: var(--white); }
.header:not(.header--scrolled) .menu-btn { color: var(--white); }
.header:not(.header--scrolled) .lang-switch { color: var(--white); border-color: rgba(255,255,255,0.3); }
.header:not(.header--scrolled) .header__company-name { color: var(--white); }
.header--scrolled .nav__link { color: var(--deep-navy); }
.header--scrolled .menu-btn { color: var(--deep-navy); }
.header--scrolled .lang-switch { color: var(--deep-navy); border-color: rgba(19,32,48,0.2); }
.header--scrolled .header__company-name { color: var(--deep-navy); }

/* Par défaut (desktop) : on montre le texte complet */
.header__cta-full  { display: inline; }
.header__cta-short { display: none; }

/* Sur mobile : on montre le texte court */
@media (max-width: 768px) {
  .header__cta-full  { display: none; }
  .header__cta-short { display: inline; }
}

.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

.menu-btn { display: flex; z-index: 101; padding: 8px; color: var(--white); transition: color 0.3s ease; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ============================================
   SELECTEUR DE LANGUE
   ============================================ */
.lang-switch { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--white); transition: all 0.25s ease; cursor: pointer; z-index: 101; }
.lang-switch:hover { background: var(--sunset-peach); border-color: var(--sunset-peach); color: var(--deep-navy); }
.lang-switch__current { pointer-events: none; }

/* ============================================
   MENU MOBILE
   ============================================ */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--soft-cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu__link { font-family: var(--font-display); font-size: 32px; color: var(--deep-navy); opacity: 0; transform: translateX(20px); transition: all 0.4s ease; }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateX(0); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   BOUTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; border-radius: var(--radius-xl); padding: 12px 32px; transition: all 0.25s ease; cursor: pointer; }
.btn--primary { background: var(--sunset-peach); color: var(--deep-navy); }
.btn--primary:hover { background: var(--sea-blue); color: var(--white); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--deep-navy); border: 1px solid var(--deep-navy); padding: 10px 28px; }
.btn--secondary:hover { background: var(--deep-navy); color: var(--white); }
.btn--reserve { background: var(--sunset-peach); color: var(--deep-navy); padding: 10px 24px; font-size: 12px; }
.btn--reserve:hover { background: var(--coral); color: var(--white); }
.btn--full { width: 100%; }

/* ============================================
   SECTION TITRE
   ============================================ */
.section-title { margin-bottom: 48px; }
@media (min-width: 1024px) { .section-title { margin-bottom: 64px; } }
.section-title__bar { display: block; width: 48px; height: 2px; background: var(--sand); margin-bottom: 16px; }
.section-title__heading { font-family: var(--font-display); font-weight: 500; font-size: 36px; line-height: 1.1; color: var(--deep-navy); letter-spacing: -0.01em; }
@media (min-width: 1024px) { .section-title__heading { font-size: 56px; } }
.section-title__subtitle { font-size: 16px; color: var(--slate); max-width: 600px; margin-top: 12px; line-height: 1.6; }
@media (min-width: 1024px) { .section-title__subtitle { font-size: 18px; } }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 1; }
.hero__video.is-hidden { opacity: 0; }
.hero__fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--deep-navy), var(--dark-teal), var(--deep-navy)); z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(19,32,48,0.3), rgba(19,32,48,0.55)); z-index: 1; }
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px; }
.hero__label { font-family: var(--font-body); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--sand); margin-bottom: 24px; display: block; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.1; color: var(--white); text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
@media (min-width: 768px) { .hero__title { font-size: 56px; } }
@media (min-width: 1024px) { .hero__title { font-size: 72px; } }
.hero__subtitle { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.85); max-width: 560px; margin: 20px auto 0; }
@media (min-width: 1024px) { .hero__subtitle { font-size: 18px; } }
.hero__cta { margin-top: 40px; }

.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: none; }
@media (min-width: 768px) { .hero__scroll { display: block; } }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--white); animation: scrollDraw 2s ease-in-out infinite; }
@keyframes scrollDraw { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 60px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }
.section--cream { background: var(--soft-cream); }
.section--sky { background: var(--sky-blue); }
.section--sand { background: var(--light-sand); }
.section--teal { background: var(--dark-teal); color: var(--white); }

/* ============================================
   SERVICES
   ============================================ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.service-card { background: var(--white); border: 1px solid rgba(200, 184, 154, 0.2); border-radius: var(--radius-md); padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s ease; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card__icon { width: 48px; height: 48px; color: var(--sand); margin-bottom: 20px; transition: color 0.3s ease; }
.service-card:hover .service-card__icon { color: var(--sea-blue); }
.service-card__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-navy); margin-bottom: 10px; }
.service-card__subtitle { font-size: 14px; color: var(--slate); margin-bottom: 12px; font-style: italic; }
.service-card__desc { font-size: 14px; color: var(--slate); line-height: 1.6; }

.check-list { margin-top: 16px; }
.check-list__item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.check-list__item svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ============================================
   CONSEILS — Sélecteur de ville
   ============================================ */
.ville-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
@media (min-width: 1024px) { .ville-selector { margin-bottom: 56px; } }

.ville-tab {
  padding: 10px 24px;
  border: 1px solid var(--sand);
  background: transparent;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-navy);
  transition: all 0.25s ease;
}
.ville-tab:hover {
  background: var(--light-sand);
  border-color: var(--deep-navy);
}
.ville-tab.is-active {
  background: var(--sunset-peach);
  border-color: var(--sunset-peach);
  color: var(--deep-navy);
}

.ville-content { display: none; }
.ville-content.is-active { display: block; animation: fadeIn 0.4s ease; }


/* ============================================
   BIENS / VILLAS
   ============================================ */
.biens-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .biens-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }

.biens-examples-banner { background: var(--sky-blue); border-left: 3px solid var(--sea-blue); padding: 12px 20px; margin-bottom: 32px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.biens-examples-banner p { font-size: 14px; color: var(--deep-navy); font-style: italic; }

.bien-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.5s ease; cursor: pointer; }
.bien-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.bien-card__img-wrap { overflow: hidden; aspect-ratio: 4/3; }
.bien-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bien-card:hover .bien-card__img { transform: scale(1.03); }
.bien-card__body { padding: 24px; }
.bien-card__type { font-size: 12px; color: var(--sand); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.bien-card__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-navy); margin-top: 4px; transition: color 0.3s ease; }
.bien-card:hover .bien-card__title { color: var(--sea-blue); }
.bien-card__location { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--slate); margin-top: 8px; }
.bien-card__meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; font-size: 13px; color: var(--slate); }
.bien-card__meta-item { display: flex; align-items: center; gap: 5px; }
.bien-card__meta-item svg { width: 15px; height: 15px; color: var(--sand); }
.bien-card__actions { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(200,184,154,0.2); }

.pet-icon { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.pet-icon--yes { color: var(--success); }
.pet-icon--no { color: var(--error); }
.pet-icon svg { width: 15px; height: 15px; }

/* ============================================
   MODAL — MASQUE PAR DEFAUT
   ============================================ */
.modal { display: none; position: fixed; inset: 0; z-index: 90; align-items: flex-end; justify-content: center; }
@media (min-width: 1024px) { .modal { align-items: center; } }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); animation: fadeIn 0.3s ease; }
.modal__content { position: relative; background: var(--white); width: 100%; max-height: 90vh; overflow-y: auto; border-radius: 20px 20px 0 0; animation: slideUp 0.4s cubic-bezier(0.32, 0.72, 0, 1); }
@media (min-width: 1024px) { .modal__content { max-width: 900px; border-radius: 16px; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

.modal.is-closing .modal__overlay { animation: fadeOut 0.3s ease forwards; }
.modal.is-closing .modal__content { animation: slideDown 0.3s ease forwards; }

.modal__close { position: absolute; top: 16px; right: 16px; z-index: 10; width: 44px; height: 44px; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: background 0.2s ease; }
.modal__close:hover { background: var(--white); }
.modal__close svg { width: 20px; height: 20px; color: var(--deep-navy); }

/* Carousel */
.modal-carousel { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.modal-carousel__track { display: flex; height: 100%; transition: transform 0.5s ease; }
.modal-carousel__slide { width: 100%; height: 100%; flex-shrink: 0; }
.modal-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 5; transition: background 0.2s ease; }
.carousel-arrow:hover { background: var(--white); }
.carousel-arrow--prev { left: 12px; }
.carousel-arrow--next { right: 12px; }
.carousel-arrow svg { width: 20px; height: 20px; color: var(--deep-navy); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); transition: all 0.3s ease; cursor: pointer; border: none; padding: 0; }
.carousel-dot.is-active { background: var(--deep-navy); width: 24px; border-radius: 4px; }

.modal__header-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); padding: 40px 24px 20px; z-index: 3; }
.modal__header-title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--white); }
@media (min-width: 1024px) { .modal__header-title { font-size: 36px; } }
.modal__header-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.9); }

.modal__body { padding: 32px 24px; }
@media (min-width: 1024px) { .modal__body { padding: 40px; } }

.modal__info-bar { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(200,184,154,0.2); }
.modal__info-item-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate); }
.modal__info-item-value { font-weight: 500; font-size: 15px; color: var(--deep-navy); margin-top: 2px; }
.modal__description { color: var(--slate); line-height: 1.7; font-size: 15px; }

.magazine-row { display: flex; flex-direction: column; gap: 24px; margin: 32px 0; }
@media (min-width: 768px) { .magazine-row { flex-direction: row; align-items: center; } .magazine-row--reverse { flex-direction: row-reverse; } .magazine-row__img { width: 45%; } .magazine-row__text { width: 55%; } }
.magazine-row__img { border-radius: var(--radius-sm); overflow: hidden; }
.magazine-row__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.magazine-row__text { font-size: 14px; color: var(--slate); line-height: 1.7; }

.modal__tags { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(200,184,154,0.2); }
.modal__tags-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--deep-navy); margin-bottom: 16px; }
.modal__tags-list { display: flex; flex-wrap: wrap; gap: 10px; }
.modal__tag { padding: 8px 16px; background: var(--sky-blue); color: var(--deep-navy); font-size: 12px; font-weight: 500; border-radius: 20px; }

.modal__map { margin-top: 24px; border-radius: var(--radius-sm); overflow: hidden; }
.modal__map iframe { width: 100%; height: 250px; border: none; }

.modal__reserve { margin-top: 24px; display: flex; justify-content: center; }

/* ============================================
   TEMOIGNAGES
   ============================================ */
.testimonials-section { overflow: hidden; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); }
@media (min-width: 1024px) { .testimonials-track { gap: 32px; } }
.testimonial-card { flex-shrink: 0; width: 340px; background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
@media (min-width: 1024px) { .testimonial-card { width: 400px; padding: 40px; } }
.testimonial-card__stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-card__text { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--deep-navy); line-height: 1.6; margin-bottom: 24px; }
@media (min-width: 1024px) { .testimonial-card__text { font-size: 19px; } }
.testimonial-card__author strong { display: block; font-weight: 500; font-size: 14px; color: var(--deep-navy); }
.testimonial-card__author span { font-size: 12px; color: var(--slate); }

.testimonials-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.testimonials-nav-btn { width: 44px; height: 44px; border: 1px solid var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--deep-navy); background: var(--white); transition: all 0.2s ease; }
.testimonials-nav-btn:hover { background: var(--sand); color: var(--white); }
.testimonials-nav-btn:disabled { opacity: 0.3; cursor: default; }
.testimonials-nav-btn svg { width: 20px; height: 20px; }

/* ============================================
   ZONE D'INTERVENTION
   ============================================ */
.zone-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.08); margin-bottom: 40px; }
.zone-map iframe { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border: none; }

.zone-communes__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-navy); margin-bottom: 24px; text-align: center; }
.zone-communes__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .zone-communes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .zone-communes__grid { grid-template-columns: repeat(3, 1fr); } }
.zone-commune { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--white); border-radius: var(--radius-sm); transition: all 0.2s ease; border: 1px solid rgba(200,184,154,0.15); }
.zone-commune:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); border-color: var(--sand); }
.zone-commune svg { color: var(--sand); }
.zone-commune__name { font-weight: 500; font-size: 16px; color: var(--deep-navy); }
.zone-commune__beaches { font-size: 13px; color: var(--slate); line-height: 1.4; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-md); border: 1px solid rgba(200,184,154,0.15); overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(200,184,154,0.3); }
.faq-item__question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--deep-navy); text-align: left; width: 100%; transition: color 0.2s ease; }
.faq-item__question:hover { color: var(--sea-blue); }
.faq-item__icon { width: 24px; height: 24px; color: var(--sand); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.is-open .faq-item__answer { max-height: 500px; padding: 0 24px 20px; }
.faq-item__answer p { font-size: 15px; color: var(--slate); line-height: 1.7; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 80px; } }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info__block { padding-bottom: 24px; border-bottom: 1px solid rgba(200,184,154,0.2); }
.contact-info__title { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--deep-navy); margin-bottom: 16px; }
.contact-info__item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 15px; color: var(--slate); }
.contact-info__item svg { width: 20px; height: 20px; color: var(--sand); flex-shrink: 0; margin-top: 2px; }
.contact-social { display: flex; gap: 12px; }
.contact-social__link { width: 44px; height: 44px; border: 1px solid rgba(200,184,154,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--deep-navy); transition: all 0.2s ease; }
.contact-social__link:hover { background: var(--deep-navy); color: var(--white); border-color: var(--deep-navy); }
.contact-info__hours { font-size: 14px; color: var(--slate); line-height: 1.8; }

.contact-form-wrapper { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
@media (min-width: 768px) { .contact-form-wrapper { padding: 40px; } }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--deep-navy); margin-bottom: 6px; }
.form-label .required { color: var(--error); }
.form-input, .form-select, .form-textarea { width: 100%; height: 48px; padding: 0 16px; background: var(--white); border: 1px solid rgba(200,184,154,0.3); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; color: var(--deep-navy); transition: all 0.2s ease; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(200,184,154,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate); opacity: 0.5; }
.form-input--error { border-color: var(--error) !important; }
.form-textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C8B89A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-rgpd { margin: 20px 0; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--dark-teal); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.form-checkbox__text { font-size: 13px; color: var(--slate); line-height: 1.5; }
.form-checkbox__text a { color: var(--sea-blue); text-decoration: underline; }
.form-status { margin-top: 16px; }
.form-status__msg { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.form-status__msg--success { background: rgba(39,174,96,0.1); color: var(--success); }
.form-status__msg--error { background: rgba(231,76,60,0.1); color: var(--error); }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.75s linear infinite; display: inline-block; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   PAGE HEADER (services, conseils, etc.)
   ============================================ */
.page-header { position: relative; min-height: 400px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--deep-navy), var(--dark-teal)); padding: 140px 24px 80px; text-align: center; }
@media (min-width: 768px) { .page-header { min-height: 480px; } }
.page-header__tag { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--sand); margin-bottom: 16px; }
.page-header__title { font-family: var(--font-display); font-weight: 500; font-size: 40px; color: var(--white); line-height: 1.1; }
.page-header__title em { font-style: italic; color: var(--sunset-peach); }
@media (min-width: 768px) { .page-header__title { font-size: 56px; } }
.page-header__desc { color: rgba(255,255,255,0.8); max-width: 600px; margin: 16px auto 0; font-size: 16px; line-height: 1.6; }

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block { background: var(--white); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
@media (min-width: 768px) { .cta-block { padding: 64px 48px; } }
.cta-block__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--deep-navy); margin-bottom: 12px; }
@media (min-width: 768px) { .cta-block__title { font-size: 36px; } }
.cta-block__text { font-size: 16px; color: var(--slate); max-width: 500px; margin: 0 auto 28px; line-height: 1.6; }

/* ============================================
   SERVICES DETAIL
   ============================================ */
.service-detail-grid { display: flex; flex-direction: column; gap: 64px; }
.service-detail { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .service-detail { grid-template-columns: 1fr 1fr; gap: 64px; } .service-detail--reverse .service-detail__img { order: 2; } .service-detail--reverse .service-detail__body { order: 1; } }
.service-detail__img { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.service-detail__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail__body { padding: 8px 0; }
.service-detail__icon { width: 56px; height: 56px; color: var(--sand); margin-bottom: 20px; padding: 12px; background: var(--soft-cream); border-radius: var(--radius-sm); }
.service-detail__title { font-family: var(--font-display); font-weight: 500; font-size: 32px; color: var(--deep-navy); margin-bottom: 16px; }
.service-detail__text { font-size: 15px; color: var(--slate); line-height: 1.7; margin-bottom: 20px; }
.service-detail__list { list-style: none; }
.service-detail__list li { font-size: 14px; color: var(--slate); padding: 8px 0; border-bottom: 1px solid rgba(200,184,154,0.15); display: flex; align-items: flex-start; gap: 10px; }
.service-detail__list li::before { content: '\203A'; color: var(--sunset-peach); font-weight: bold; font-size: 18px; line-height: 1; }

/* ============================================
   COMMUNE NAV + GUIDE
   ============================================ */
.commune-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.commune-nav__link { display: inline-block; padding: 10px 20px; background: var(--white); border: 1px solid rgba(200,184,154,0.3); border-radius: 24px; font-size: 14px; font-weight: 500; color: var(--deep-navy); transition: all 0.2s ease; }
.commune-nav__link:hover { background: var(--deep-navy); color: var(--white); border-color: var(--deep-navy); }

.commune-guide { background: var(--white); border-radius: var(--radius-md); padding: 32px; margin-bottom: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
@media (min-width: 768px) { .commune-guide { padding: 48px; } }
.commune-guide__header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid rgba(200,184,154,0.2); }
.commune-guide__title { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--deep-navy); }
.commune-guide__subtitle { font-size: 15px; color: var(--slate); margin-top: 4px; }
.commune-guide__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .commune-guide__grid { grid-template-columns: repeat(3, 1fr); } }
.commune-guide__col h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--deep-navy); margin-bottom: 16px; }
.commune-guide__col h3 svg { color: var(--sand); }
.commune-guide__col ul { list-style: none; }
.commune-guide__col ul li { font-size: 14px; color: var(--slate); padding: 8px 0; border-bottom: 1px solid rgba(200,184,154,0.1); line-height: 1.5; }
.commune-guide__col ul li strong { color: var(--deep-navy); }

/* ============================================
   PERSONNALISATION
   ============================================ */
.perso-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .perso-grid { grid-template-columns: 1fr 340px; gap: 48px; } }

.perso-section { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(200,184,154,0.2); }
.perso-section__title { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--deep-navy); margin-bottom: 24px; }

.perso-options { display: flex; flex-direction: column; gap: 12px; }
.perso-option { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: var(--white); border: 1px solid rgba(200,184,154,0.2); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s ease; }
.perso-option:hover { border-color: var(--sand); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.perso-option input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--dark-teal); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.perso-option__content strong { display: block; font-size: 15px; color: var(--deep-navy); margin-bottom: 4px; }
.perso-option__content span { font-size: 13px; color: var(--slate); line-height: 1.5; }

.perso-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.perso-recap { position: sticky; top: 100px; }
.perso-recap__inner { background: var(--white); border-radius: var(--radius-md); padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.perso-recap__title { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--deep-navy); margin-bottom: 16px; }
.perso-recap__empty { font-size: 14px; color: var(--slate); font-style: italic; padding: 16px 0; text-align: center; }
.perso-recap__list { display: flex; flex-direction: column; gap: 10px; }
.perso-recap__item { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); padding: 8px 0; border-bottom: 1px solid rgba(200,184,154,0.1); }
.perso-recap__total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 8px; border-top: 2px solid var(--sand); }
.perso-recap__total span { font-size: 14px; color: var(--slate); }
.perso-recap__total strong { font-family: var(--font-display); font-size: 24px; color: var(--deep-navy); }
.perso-recap__note { font-size: 12px; color: var(--slate); margin-top: 12px; line-height: 1.5; }

/* ============================================
   LEGAL BLOCK
   ============================================ */
.legal-grid { display: flex; flex-direction: column; gap: 32px; }
.legal-block { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
@media (min-width: 768px) { .legal-block { padding: 40px; } }
.legal-block__title { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(200,184,154,0.2); }
.legal-block__content { font-size: 15px; color: var(--slate); line-height: 1.7; }
.legal-block__content p { margin-bottom: 12px; }
.legal-block__content h3 { font-size: 16px; font-weight: 500; color: var(--deep-navy); margin-top: 20px; margin-bottom: 8px; }
.legal-block__content ul { list-style: none; margin-bottom: 12px; }
.legal-block__content ul li { padding: 4px 0; padding-left: 20px; position: relative; }
.legal-block__content ul li::before { content: '\2022'; color: var(--sand); position: absolute; left: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark-teal); color: var(--white); padding-top: 64px; padding-bottom: 32px; }
@media (min-width: 1024px) { .footer { padding-top: 80px; } }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr; } }
.footer__logo-img { height: 52px; width: auto; margin-bottom: 16px;}
.footer__desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 280px; margin-bottom: 20px; }
.footer__title { font-family: var(--font-body); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 20px; }
.footer__nav { display: flex; flex-direction: column; }
.footer__nav-link { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s ease; }
.footer__nav-link:hover { color: var(--white); }
.footer__contact { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.footer__contact p { margin-bottom: 4px; }
.footer__copyright { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer__credit { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 12px; }
.footer__credit a { color: var(--white); position: relative; transition: color 0.25s ease; }
.footer__credit a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--sunset-peach); transition: width 0.3s ease; }
.footer__credit a:hover { color: var(--sunset-peach); }
.footer__credit a:hover::after { width: 100%; }

.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 48px; height: 48px; background: var(--white); border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; color: var(--deep-navy); opacity: 0; transform: scale(0.8); pointer-events: none; transition: all 0.3s ease; }
.back-to-top.is-visible { opacity: 1; transform: scale(1); pointer-events: all; }
.back-to-top:hover { background: var(--sand); color: var(--white); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Conseils de visite : forcer l'affichage des cartes */
#conseils .commune-guide.reveal {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE / ACCESSIBILITE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.hide-desktop { display: initial; }
@media (min-width: 1024px) { .hide-desktop { display: none; } }
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mb-6 { margin-bottom: 24px; }
