/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --blue:    #A8D8EA;
  --blue-dk: #7cbcd8;
  --pink:    #E8498A;
  --yellow:  #F5C842;
  --green:   #2D5C4F;
  --green-lt:#3d7a69;
  --cream:   #FAFAF7;
  --text:    #2a2a2a;
  --text-lt: #666;
  --radius:  12px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ── NAVBAR ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168,216,234,0.3);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
}
.nav-logo img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: .75rem; font-family: 'Jost', sans-serif; font-weight: 300; color: var(--text-lt); letter-spacing: .05em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 400; color: var(--text-lt);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--pink); transform: scaleX(0);
  transition: transform .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.btn-nav {
  background: var(--green); color: white !important;
  padding: .5rem 1.2rem; border-radius: 50px;
  font-size: .8rem !important; font-weight: 500 !important;
  letter-spacing: .05em !important; text-transform: uppercase !important;
  transition: background .2s, transform .2s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--green-lt) !important; transform: translateY(-1px); color: white !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav social icons */
.nav-social {
  display: flex; align-items: center; gap: .6rem;
}
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--text-lt);
  border: 1.5px solid rgba(168,216,234,0.5);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.nav-social a:hover {
  color: var(--green);
  border-color: var(--green);
  background: rgba(45,92,79,0.06);
  transform: translateY(-2px);
}

/* ── HERO ──────────────────────────────────────────────── */
#accueil {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 4rem 4rem 5%;
}
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--pink); font-weight: 500; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.hero-eyebrow::before {
  content: ''; display: inline-block; width: 30px; height: 1px; background: var(--pink);
}
.hero-content h1 {
  color: var(--green);
  margin-bottom: 1.5rem;
}
.hero-content h1 em {
  font-style: italic; color: var(--pink);
}
.hero-content p {
  font-size: 1.05rem; color: var(--text-lt);
  max-width: 480px; margin-bottom: 2rem;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.btn-primary {
  background: var(--green); color: white;
  padding: .9rem 2rem; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: .9rem; letter-spacing: .05em;
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-lt); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--blue-dk); color: var(--text);
  padding: .9rem 2rem; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: .9rem; letter-spacing: .05em;
  transition: border-color .2s, background .2s, transform .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--green); background: rgba(168,216,234,0.1); transform: translateY(-2px); }
.hero-phone {
  font-size: .85rem; color: var(--text-lt);
  display: flex; align-items: center; gap: .4rem;
  margin-top: 1.5rem;
}
.hero-phone a { color: var(--green); font-weight: 500; }
.hero-image {
  position: relative; overflow: hidden;
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
}
.hero-image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,216,234,0.15) 0%, transparent 60%);
  z-index: 1;
}
.hero-badge {
  position: absolute; bottom: 2rem; left: -1.5rem; z-index: 2;
  background: white; border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: .75rem;
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-badge-icon { font-size: 1.8rem; }
.hero-badge-text { font-size: .75rem; line-height: 1.4; }
.hero-badge-text strong { display: block; font-size: .9rem; color: var(--green); font-family: 'Cormorant Garamond', serif; font-weight: 500; }

/* ── SECTION BASE ──────────────────────────────────────── */
section { padding: 5rem 5%; scroll-margin-top: 80px; }
.section-label {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--pink); font-weight: 500; margin-bottom: .75rem;
  display: flex; align-items: center; gap: .5rem;
}
.section-label::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--pink);
}

/* ── SERVICES ──────────────────────────────────────────── */
#services { background: white; }
.services-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.services-header h2 { color: var(--green); margin-bottom: 1rem; }
.services-header p { color: var(--text-lt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(168,216,234,0.4);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--pink));
  transform: scaleX(0); transition: transform .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,92,79,0.1);
  border-color: var(--blue);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--green); margin-bottom: .5rem; }
.service-card p { font-size: .9rem; color: var(--text-lt); }

/* ── TARIFS ────────────────────────────────────────────── */
#tarifs {
  background: var(--green);
  color: white;
}
.tarifs-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.tarifs-text .section-label { color: var(--blue); }
.tarifs-text .section-label::before { background: var(--blue); }
.tarifs-text h2 { color: white; margin-bottom: 1rem; }
.tarifs-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.tarifs-text .note {
  font-size: .85rem; color: rgba(255,255,255,0.6);
  border-left: 2px solid var(--yellow);
  padding-left: 1rem; margin-top: 1rem;
}
.tarifs-cards { display: flex; flex-direction: column; gap: 1rem; }
.tarif-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
.tarif-item:hover { background: rgba(255,255,255,0.13); }
.tarif-duration {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
}
.tarif-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 500; color: var(--yellow);
}
.tarifs-note {
  color: rgba(255,255,255,0.55);
  font-size: .8rem;
  margin-top: .5rem;
}

/* ── À PROPOS ──────────────────────────────────────────── */
#apropos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.apropos-image {
  position: relative; min-height: 500px;
}
.apropos-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.apropos-content {
  padding: 5rem 5% 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream);
}
.apropos-content h2 { color: var(--green); margin-bottom: 1.5rem; }
.apropos-content p { color: var(--text-lt); margin-bottom: 1rem; font-size: .98rem; }
.apropos-content blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem; margin: 1.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem;
  color: var(--green); line-height: 1.6;
}
.apropos-signature {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.1rem;
  color: var(--pink); margin-top: .5rem;
}

/* ── BOOKING ───────────────────────────────────────────── */
#booking { background: var(--cream); }
.booking-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.booking-inner h2 { color: var(--green); margin-bottom: 1rem; }
.booking-inner > p { color: var(--text-lt); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.booking-inner .section-label { justify-content: center; }

/* ── CONTACT ───────────────────────────────────────────── */
#contact { background: white; }
.contact-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-text h2 { color: var(--green); margin-bottom: 1rem; }
.contact-text p { color: var(--text-lt); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(168,216,234,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text { font-size: .9rem; color: var(--text-lt); line-height: 1.5; }
.contact-item-text strong { display: block; color: var(--text); font-weight: 500; font-size: .95rem; }
.contact-item-text a { color: var(--green); font-weight: 500; }
.contact-form-area {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(168,216,234,0.3);
}
.contact-form-area h3 { color: var(--green); margin-bottom: .5rem; }
.contact-form-area p { font-size: .85rem; color: var(--text-lt); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--text-lt); margin-bottom: .4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid rgba(168,216,234,0.5);
  border-radius: 8px;
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: .9rem; background: white; color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: var(--green); color: white;
  padding: .9rem; border-radius: 50px;
  border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: .9rem; letter-spacing: .05em;
  transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--green-lt); transform: translateY(-1px); }
.btn-submit:disabled { background: var(--text-lt); cursor: not-allowed; transform: none; }

/* ── POPUP CONFIRMATION ─────────────────────────────────── */
.popup-confirmation {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(120%);
  z-index: 999;
  background: var(--green); color: white;
  padding: 1.25rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 1rem;
  font-size: .95rem; font-weight: 400;
  min-width: 280px; max-width: 90vw;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.popup-confirmation.show {
  transform: translateX(-50%) translateY(0);
}
.popup-confirmation-icon { font-size: 1.5rem; flex-shrink: 0; }
.popup-confirmation-text { flex: 1; line-height: 1.4; }
.popup-confirmation-text strong { display: block; font-weight: 500; margin-bottom: .2rem; }
.popup-confirmation-bar {
  position: absolute; bottom: 0; left: 0; height: 3px;
  background: rgba(255,255,255,0.5); border-radius: 0 0 var(--radius) var(--radius);
  width: 100%;
  transform-origin: left;
  animation: none;
}
.popup-confirmation.show .popup-confirmation-bar {
  animation: shrinkBar 10s linear forwards;
}
@keyframes shrinkBar {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 5%;
  font-size: .8rem;
}
footer strong { color: white; }
.footer-social a {
  color: rgba(255,255,255,0.6);
  margin: 0 .5rem;
}

/* ── ANIMATIONS ────────────────────────────────────────── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid rgba(168,216,234,0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(168,216,234,0.2); }
  .nav-links a { display: block; padding: .75rem 2rem; font-size: .9rem; }
  .btn-nav { margin: .5rem 2rem; display: inline-block; }
  .hamburger { display: flex; }
  .nav-social a { width: 30px; height: 30px; }

  #accueil { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem 2rem; }
  .hero-image { height: 55vw; min-height: 280px; }
  .hero-badge { display: none; }

  .tarifs-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  #apropos { grid-template-columns: 1fr; }
  .apropos-image { min-height: 280px; height: 60vw; }
  .apropos-content { padding: 3rem 1.5rem; }

  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
}
