/* ============================================================
   Aka Petit Piment — aka-petitpiment.online
   Palette : vert profond, doré, beige, brun terre, noir
   ============================================================ */

:root {
  --green: #1d3b2a;
  --green-dark: #12271b;
  --gold: #c9a227;
  --gold-light: #e3c566;
  --beige: #f5efe2;
  --beige-dark: #ece2cc;
  --earth: #6b4f2e;
  --black: #16120c;
  --white: #ffffff;
  --text: #3a332a;
  --shadow: 0 14px 40px rgba(22, 18, 12, 0.12);
  --radius: 18px;
  --transition: all 0.35s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--beige);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--green-dark);
  line-height: 1.2;
}

.container { width: min(1140px, 92%); margin: 0 auto; }

.section { padding: 96px 0; }
.section-alt { background: var(--beige-dark); }
.section-dark { background: var(--green-dark); }
.section-dark .section-title,
.section-dark .section-kicker { color: var(--gold-light); }
.section-dark .section-title { color: var(--white); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-3px); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-3px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-3px); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1eb857; transform: translateY(-3px); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 18px 46px; font-size: 1.15rem; }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: var(--transition);
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(18, 39, 27, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.logo-text em { color: var(--gold); font-style: normal; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Section héroïque ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.15); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 39, 27, 0.72) 0%, rgba(18, 39, 27, 0.55) 45%, rgba(18, 39, 27, 0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 100px; }
.hero-kicker {
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
  animation: fadeUp 1s ease 0.2s both;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 1s ease 0.4s both;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto 40px;
  animation: fadeUp 1s ease 0.6s both;
}
.hero-subtitle strong { color: var(--gold-light); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.8s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold-light);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(14px); }
}

/* ---------- Présentation ---------- */
.intro { background: var(--beige); text-align: center; }
.intro-inner { max-width: 780px; }
.intro-ornament { font-size: 2rem; color: var(--gold); margin-bottom: 26px; }
.intro-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--green);
  line-height: 1.55;
}
.intro-text strong { color: var(--earth); font-style: normal; }
.intro-signature { margin-top: 22px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }

/* ---------- En-têtes de section ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-kicker {
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.section-title::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  background: var(--gold);
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-lead { margin-top: 16px; font-size: 1.08rem; color: #6d6455; }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.75); }

/* ---------- Services ---------- */
.services {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c9a227' stroke-opacity='0.10' stroke-width='1.4'%3E%3Cpath d='M40 8 L72 40 L40 72 L8 40 Z'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3C/svg%3E");
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(22, 18, 12, 0.18); }
.service-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--gold);
  background: var(--green);
  border-radius: 50%;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { font-size: 0.97rem; color: #6d6455; }

.services-gallery {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.services-gallery figure {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.services-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.services-gallery figure:hover img { transform: scale(1.08); }

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}
.about-photo-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.about-text .section-title::after { margin-left: 0; margin-right: auto; }
.about-text > p { margin: 22px 0; font-size: 1.06rem; }
.about-list { list-style: none; margin-bottom: 34px; }
.about-list li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid rgba(107, 79, 46, 0.15);
}
.about-list li::before {
  content: '❖';
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-size: 1rem;
}
.about-list strong { color: var(--green); }

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid figure:hover img { transform: scale(1.07); }

/* ---------- Témoignages ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 6px; left: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.35;
}
.testimonial-card p { font-style: italic; color: #5a5142; margin-top: 22px; }
.testimonial-card footer { margin-top: 18px; color: var(--gold); font-weight: 600; }
.testimonials-note {
  text-align: center;
  margin-top: 42px;
  font-size: 0.9rem;
  color: #8a7f6c;
  font-style: italic;
}

/* ---------- Rendez-vous ---------- */
.booking-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 46px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-group { margin-bottom: 24px; }
.form-group label, .form-label {
  display: block;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
  font-size: 0.96rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d8ccb4;
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  background: var(--beige);
  color: var(--text);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}
.form-group textarea { resize: vertical; }
.radio-group { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-pill input { display: none; }
.radio-pill span {
  display: inline-block;
  padding: 12px 26px;
  border: 1.5px solid #d8ccb4;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--beige);
}
.radio-pill input:checked + span {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.form-note { text-align: center; margin-top: 16px; font-size: 0.88rem; color: #8a7f6c; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}
.contact-card:hover { background: rgba(201, 162, 39, 0.12); transform: translateY(-6px); }
.contact-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.contact-card a:hover { color: var(--gold-light); }
.contact-whatsapp { text-align: center; }
.contact-whatsapp p { margin-top: 16px; color: rgba(255, 255, 255, 0.7); }

/* ---------- Pied de page ---------- */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 30px;
  text-align: center;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.footer-brand { text-align: left; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.94rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-disclaimer {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  max-width: 820px;
  margin: 0 auto 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}
.footer-copy { font-size: 0.85rem; color: rgba(255, 255, 255, 0.4); }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .about-photo-frame { inset: 14px -14px -14px 14px; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(18, 39, 27, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav-link { font-size: 1.25rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .booking-form { padding: 30px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-brand { text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}
