/* ============================================================
   Adeline Balan – Feuille de styles principale
   Palette : crème (#FBF5EE), or (#C4956A), terracotta (#B05C3A),
             brun foncé (#3D2B1F), blanc (#FFFFFF)
   ============================================================ */

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

:root {
  --cream:     #FBF5EE;
  --gold:      #C4956A;
  --gold-dark: #A87A52;
  --terra:     #B05C3A;
  --brown:     #3D2B1F;
  --text:      #4A3728;
  --light:     #F0E6D8;
  --white:     #FFFFFF;
  --shadow:    0 4px 24px rgba(61,43,31,.10);
  --radius:    12px;
  --ff-head:   'Cormorant Garamond', Georgia, serif;
  --ff-body:   'Lato', 'Segoe UI', Arial, sans-serif;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.4rem; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section-alt { background: var(--light); }

.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-subtitle {
  text-align: center;
  color: var(--gold);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terra));
  border-radius: 2px;
  margin: 0 auto 48px;
}

/* --- Boutons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--terra));
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,149,106,.35);
  color: var(--white);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* --- Navigation -------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(251,245,238,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196,149,106,.15);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  color: var(--brown);
  font-weight: 700;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--brown); }

.nav-cta { margin-left: 16px; }

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

/* --- Hero -------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--cream) 55%, var(--light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,149,106,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,149,106,.12);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  letter-spacing: .05em;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-title { margin-bottom: 20px; }
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  color: #6B5043;
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-img-wrap {
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  border-radius: 24px 8px 24px 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.hero-img-deco {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  opacity: .25;
  pointer-events: none;
}

/* --- Services ---------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 12px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terra));
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(61,43,31,.13);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(196,149,106,.15), rgba(176,92,58,.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p  { color: #6B5043; font-size: .95rem; }

/* --- À propos ---------------------------------------------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  border-radius: 8px 24px 8px 24px;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--terra));
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-img-badge strong { display: block; font-size: 1.8rem; font-family: var(--ff-head); }
.about-img-badge span   { font-size: .8rem; letter-spacing: .05em; }

.about-content h2 { margin-bottom: 16px; }
.about-content p  { margin-bottom: 16px; color: #5A3E30; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.about-values li {
  background: rgba(196,149,106,.1);
  color: var(--brown);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid rgba(196,149,106,.2);
}

/* --- Tarifs ------------------------------------------------ */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.tarif-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}
.tarif-card.featured {
  background: linear-gradient(135deg, var(--brown), #5C3D2A);
  color: var(--white);
}
.tarif-card.featured h3,
.tarif-card.featured p { color: rgba(255,255,255,.85); }
.tarif-card:hover { transform: translateY(-4px); }
.tarif-price {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin: 16px 0 4px;
}
.tarif-card.featured .tarif-price { color: #F0C890; }
.tarif-duration {
  font-size: .85rem;
  color: #8A7068;
  margin-bottom: 20px;
}
.tarif-card.featured .tarif-duration { color: rgba(255,255,255,.6); }
.tarif-features {
  text-align: left;
  margin: 20px 0 24px;
}
.tarif-features li {
  padding: 6px 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #5A3E30;
}
.tarif-card.featured .tarif-features li { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.15); }
.tarif-features li::before { content: '✦ '; color: var(--gold); font-size: .75rem; }

/* --- Témoignages ------------------------------------------ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px; left: 24px;
  font-family: var(--ff-head);
  font-size: 5rem;
  color: rgba(196,149,106,.2);
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars { color: #E8A020; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text {
  font-style: italic;
  color: #5A3E30;
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-author strong { color: var(--brown); }
.testimonial-author span   { font-size: .85rem; color: var(--gold); }

/* --- Blog -------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--light), rgba(196,149,106,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 28px; }
.blog-card-date { font-size: .8rem; color: var(--gold); margin-bottom: 8px; letter-spacing: .04em; }
.blog-card h3   { margin-bottom: 10px; font-size: 1.15rem; }
.blog-card p    { font-size: .9rem; color: #6B5043; margin-bottom: 18px; }
.blog-card-link { font-weight: 600; font-size: .9rem; }

/* --- Rendez-vous (calendrier) ------------------------------ */
.rdv-section { background: var(--cream); }
.rdv-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.rdv-info h2 { margin-bottom: 16px; }
.rdv-info p  { color: #5A3E30; margin-bottom: 16px; }
.rdv-steps   { margin: 32px 0; }
.rdv-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.rdv-step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--terra));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}
.rdv-step-text strong { display: block; color: var(--brown); margin-bottom: 2px; }
.rdv-step-text span   { font-size: .9rem; color: #6B5043; }

/* Calendrier widget */
.calendar-widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cal-header {
  background: linear-gradient(135deg, var(--brown), #5C3D2A);
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-header h3 { color: var(--white); font-size: 1.1rem; }
.cal-nav {
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cal-nav:hover { background: rgba(255,255,255,.3); }

.cal-grid { padding: 20px; }
.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: default;
  transition: all var(--transition);
  color: #8A7068;
  font-weight: 400;
}
.cal-day.other-month { opacity: .3; }
.cal-day.today {
  background: rgba(196,149,106,.15);
  color: var(--gold);
  font-weight: 700;
}
.cal-day.available {
  background: rgba(196,149,106,.12);
  color: var(--brown);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(196,149,106,.3);
}
.cal-day.available:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}
.cal-day.selected {
  background: linear-gradient(135deg, var(--gold), var(--terra));
  color: var(--white);
  font-weight: 700;
}
.cal-day.past { opacity: .25; }

/* Slots (créneaux) */
.slots-panel {
  padding: 0 20px 20px;
}
.slots-panel h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--brown);
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot-btn {
  padding: 8px 4px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 8px;
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
}
.slot-btn:hover,
.slot-btn.selected {
  background: var(--gold);
  color: var(--white);
}
.slots-empty {
  font-size: .9rem;
  color: #8A7068;
  text-align: center;
  padding: 16px 0;
}

/* Formulaire RDV */
.rdv-form-panel { padding: 20px; border-top: 1px solid var(--light); }
.rdv-form-panel h4 { margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(196,149,106,.3);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* --- Contact ----------------------------------------------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { color: #5A3E30; margin-bottom: 28px; }
.contact-items   { display: flex; flex-direction: column; gap: 20px; }
.contact-item    { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(196,149,106,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item-text strong { display: block; color: var(--brown); font-size: .85rem; margin-bottom: 2px; }
.contact-item-text span   { color: #5A3E30; font-size: .95rem; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 24px; }

/* Messages flash */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 500;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #4CAF50; }
.alert-error   { background: #FFEBEE; color: #C62828; border-left: 4px solid #E53935; }

/* --- Footer ----------------------------------------------- */
footer {
  background: var(--brown);
  color: rgba(255,255,255,.7);
  padding: 60px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p  { margin: 12px 0 20px; font-size: .9rem; line-height: 1.7; }
.footer-brand .nav-logo { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
  font-size: .9rem;
}
.social-link:hover { background: var(--gold); color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* --- Loader ----------------------------------------------- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .4s ease, visibility .4s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid rgba(196,149,106,.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Page blog article ------------------------------------- */
.article-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--cream) 60%, var(--light));
  border-bottom: 1px solid rgba(196,149,106,.15);
}
.article-body {
  padding: 60px 0;
  max-width: 780px;
}
.article-body h2 { margin: 32px 0 14px; }
.article-body p  { margin-bottom: 18px; color: #5A3E30; }
.article-body ul { padding-left: 20px; margin-bottom: 18px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; color: #5A3E30; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-img-wrap  { display: none; }
  .about-inner    { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 400px; }
  .rdv-inner      { grid-template-columns: 1fr; }
  .contact-inner  { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(251,245,238,.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    box-shadow: 0 16px 32px rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(196,149,106,.2);
  }
  .section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
