/* =============================================
   PAYS DU SOURIRE — Feuille de style principale
   ============================================= */

:root {
  --primary:   #c8873a;   /* orange doré */
  --primary-dark: #a36828;
  --secondary: #1e4d3b;   /* vert profond */
  --accent:    #f5e6c8;   /* beige chaud */
  --dark:      #1a1a1a;
  --text:      #333333;
  --muted:     #666666;
  --light:     #f9f5ef;
  --white:     #ffffff;
  --shadow:    0 4px 20px rgba(0,0,0,0.1);
  --radius:    8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  color: var(--secondary);
  line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

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

/* ---- Header & Nav ---- */
.site-header {
  background: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  color: var(--white);
  font-size: 18px;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: var(--primary);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d6b50 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  color: var(--accent);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 20px auto;
  border-radius: 2px;
  position: relative;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--light);
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  text-align: center;
  margin-bottom: 12px;
  color: var(--secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
  font-size: 16px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 16px auto 48px;
  border-radius: 2px;
}

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---- Service Cards ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.service-card--featured {
  border: 2px solid var(--primary);
}

.service-card--featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card .service-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 8px;
}

.service-card .service-price {
  font-size: 26px;
  color: var(--primary);
  font-weight: bold;
  margin-bottom: 20px;
}

.service-card .service-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: normal;
}

.service-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-card ul li {
  padding: 6px 0;
  color: var(--text);
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

.service-card .service-example {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  background: var(--light);
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-top: 12px;
}

.service-card--devis {
  background: linear-gradient(135deg, var(--secondary), #2d6b50);
  color: var(--white);
}

.service-card--devis .service-name,
.service-card--devis .service-price {
  color: var(--white);
}

.service-card--devis ul li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.15);
}

.service-card--devis ul li::before {
  color: var(--primary);
}

.service-card--devis .service-example {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* Services inclus */
.services-included {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.included-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  border: 1px solid var(--primary);
  border-radius: 40px;
  padding: 12px 24px;
  font-size: 15px;
  color: var(--secondary);
  font-weight: bold;
}

/* ---- CTA Button ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--secondary);
}

/* ---- Bio section ---- */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.bio-photo {
  position: sticky;
  top: 100px;
}

.bio-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--secondary), #2d6b50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.bio-photo-placeholder .photo-icon {
  font-size: 48px;
  opacity: 0.6;
}

.bio-content h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.bio-content .bio-tagline {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 32px;
  font-style: italic;
}

.bio-content p {
  margin-bottom: 20px;
  color: var(--text);
}

.destinations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.destination-tag {
  background: var(--accent);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid var(--primary);
}

/* ---- Avis Clients ---- */
.gallery-placeholder {
  background: var(--light);
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  color: var(--muted);
}

.gallery-placeholder .gallery-icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-placeholder {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

.review-stars {
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.contact-info-list .info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background var(--transition), transform var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
  color: var(--white);
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}

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

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 15px;
}

.form-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #4caf50;
}

.form-message--error {
  background: #fdecea;
  color: #c62828;
  border-left: 4px solid #f44336;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer-brand .logo-text strong { font-size: 20px; }

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ---- Accueil Hero ---- */
.home-hero {
  min-height: calc(100vh - 80px);
  background: linear-gradient(160deg, var(--secondary) 0%, #1a3d2d 60%, #0f2418 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,135,58,0.15) 0%, transparent 70%);
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.home-hero-pretitle {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.home-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.home-hero h1 em {
  color: var(--primary);
  font-style: normal;
}

.home-hero p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Galerie photos ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: #111;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-orientation: from-image;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  padding: 28px 12px 12px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-caption .caption-tag {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  image-orientation: from-image;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  line-height: 1;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 28px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lightbox-nav { display: none; }
  .lightbox-caption { white-space: normal; text-align: center; width: 90%; }
}

/* ---- Legal pages ---- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.legal-content h2 { margin: 32px 0 12px; font-size: 22px; }
.legal-content p, .legal-content li { margin-bottom: 12px; color: var(--muted); }
.legal-content ul { padding-left: 20px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .bio-section {
    grid-template-columns: 1fr;
  }
  .bio-photo {
    position: static;
    max-width: 300px;
    margin: 0 auto;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--secondary);
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 12px 16px;
  }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .home-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .section { padding: 56px 0; }
  .bio-photo-placeholder { aspect-ratio: 1/1; }
}
