/*
Theme Name:   Nail Extens – Astra Child
Template:     astra
Version:      1.0.0
Description:  Thème enfant Astra pour Nail Extens – salon de beauté à domicile à Saint-Jean-de-Braye
Author:       Nail Extens
Text Domain:  astra-child-nailextens
*/

/* ─── Variables ───────────────────────────────────────────────── */
:root {
  --rose:      #C9748A;
  --rose-dark: #A85570;
  --gold:      #D4A853;
  --gold-light:#F0D48A;
  --cream:     #FDF8F5;
  --cream-dark:#F5ECE6;
  --blush:     #F4E0E6;
  --plum:      #2D1B1E;
  --plum-mid:  #4A2D33;
  --text:      #3D2B2E;
  --text-light:#7A5C63;
  --white:     #FFFFFF;
  --radius:    12px;
  --shadow:    0 8px 32px rgba(45,27,30,0.10);
  --shadow-lg: 0 16px 48px rgba(45,27,30,0.16);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Base ────────────────────────────────────────────────────── */
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.2;
}

a {
  color: var(--rose);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--rose-dark); }

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

/* ─── Astra overrides ─────────────────────────────────────────── */
.ast-container { max-width: 1200px; }

#masthead, .site-header {
  background: var(--white) !important;
  border-bottom: 1px solid var(--blush) !important;
  box-shadow: 0 2px 16px rgba(201,116,138,0.08) !important;
}

.ast-site-identity .site-title a,
.ast-header-break-point .site-title a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  color: var(--plum) !important;
  letter-spacing: 1px;
}

/* Nav */
.main-header-menu .menu-item a,
.main-navigation .menu-item a {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text) !important;
}

.main-header-menu .menu-item a:hover,
.main-navigation .menu-item a:hover {
  color: var(--rose) !important;
}

.ast-header-break-point .main-header-menu .current-menu-item > a,
.main-header-menu .current-menu-item > a {
  color: var(--rose) !important;
  border-bottom: 2px solid var(--rose);
}

/* CTA nav button */
.menu-item-cta > a {
  background: var(--rose) !important;
  color: var(--white) !important;
  border-radius: 30px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
}

.menu-item-cta > a:hover {
  background: var(--rose-dark) !important;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  background: var(--plum) !important;
  color: rgba(255,255,255,0.75) !important;
}

.site-footer a { color: var(--gold-light) !important; }
.site-footer a:hover { color: var(--white) !important; }

/* ─── Boutons globaux ─────────────────────────────────────────── */
.ne-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.ne-btn-rose {
  background: var(--rose);
  color: var(--white);
}

.ne-btn-rose:hover {
  background: var(--rose-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,116,138,0.4);
}

.ne-btn-outline {
  background: transparent;
  color: var(--rose);
  border: 2px solid var(--rose);
}

.ne-btn-outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-2px);
}

.ne-btn-gold {
  background: var(--gold);
  color: var(--plum);
}

.ne-btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.4);
}

.ne-btn-white {
  background: var(--white);
  color: var(--rose);
}

.ne-btn-white:hover {
  background: var(--cream);
  color: var(--rose-dark);
  transform: translateY(-2px);
}

/* ─── Section utilitaires ─────────────────────────────────────── */
.ne-section {
  padding: 90px 0;
}

.ne-section-dark {
  background: var(--plum);
  color: var(--white);
}

.ne-section-dark h2,
.ne-section-dark h3 { color: var(--white); }

.ne-section-blush { background: var(--blush); }
.ne-section-cream { background: var(--cream-dark); }

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

.ne-section-title {
  text-align: center;
  margin-bottom: 60px;
}

.ne-section-title h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
}

.ne-section-title .ne-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 8px;
}

.ne-section-title p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

.ne-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  margin: 16px auto;
  border-radius: 2px;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.ne-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--plum);
}

.ne-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.45;
  transition: opacity 1s ease;
}

.ne-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(45,27,30,0.75) 0%,
    rgba(45,27,30,0.50) 50%,
    rgba(201,116,138,0.20) 100%
  );
}

.ne-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 780px;
}

.ne-hero__eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.ne-hero__title {
  font-size: clamp(40px, 8vw, 84px);
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  font-style: italic;
}

.ne-hero__tagline {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 2vw, 17px);
  color: rgba(255,255,255,0.85);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 500;
}

.ne-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.ne-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ne-hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.5); }
}

/* ─── Services cards ──────────────────────────────────────────── */
.ne-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.ne-service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ne-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.ne-service-card__img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ne-service-card:hover .ne-service-card__img {
  transform: scale(1.05);
}

.ne-service-card__img-wrap {
  overflow: hidden;
  flex-shrink: 0;
}

.ne-service-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ne-service-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.ne-service-card__title {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--plum);
}

.ne-service-card__desc {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.ne-service-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--rose);
  margin-bottom: 20px;
  font-weight: 600;
}

/* ─── À propos ────────────────────────────────────────────────── */
.ne-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 768px) {
  .ne-about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.ne-about__img-wrap {
  position: relative;
}

.ne-about__img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.ne-about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--rose);
  color: var(--white);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  box-shadow: var(--shadow);
}

.ne-about__badge strong {
  font-size: 28px;
  line-height: 1;
}

.ne-about__badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.ne-about__text h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; }
.ne-about__text p { color: var(--text-light); margin-bottom: 20px; font-size: 16px; }

.ne-about__features {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.ne-about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--blush);
  font-size: 15px;
  color: var(--text);
}

.ne-about__features li::before {
  content: '✦';
  color: var(--rose);
  font-size: 10px;
  flex-shrink: 0;
}

/* ─── Prix ────────────────────────────────────────────────────── */
.ne-price-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.ne-tab-btn {
  padding: 10px 28px;
  border-radius: 30px;
  border: 2px solid var(--rose);
  background: transparent;
  color: var(--rose);
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.ne-tab-btn.active,
.ne-tab-btn:hover {
  background: var(--rose);
  color: var(--white);
}

.ne-price-table { display: none; }
.ne-price-table.active { display: block; }

.ne-price-list {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.ne-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.2s;
}

.ne-price-item:last-child { border-bottom: none; }
.ne-price-item:hover { background: var(--cream); }

.ne-price-item__name {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.ne-price-item__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--rose);
  flex-shrink: 0;
  margin-left: 16px;
}

.ne-price-note {
  text-align: center;
  margin-top: 28px;
  color: var(--text-light);
  font-size: 14px;
  font-style: italic;
}

/* ─── Instagram ───────────────────────────────────────────────── */
.ne-insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .ne-insta-grid { grid-template-columns: repeat(2, 1fr); }
}

.ne-insta-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.ne-insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ne-insta-item:hover img { transform: scale(1.08); }

.ne-insta-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(201,116,138,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.ne-insta-item:hover .ne-insta-item__overlay { opacity: 1; }
.ne-insta-item__overlay svg { width: 40px; height: 40px; fill: white; }

.ne-insta-cta {
  text-align: center;
}

.ne-insta-handle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--plum);
  margin-bottom: 16px;
}

/* ─── Témoignages ─────────────────────────────────────────────── */
.ne-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.ne-review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.ne-review-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--blush);
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}

.ne-review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
}

.ne-review-text {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.ne-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ne-review-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--rose);
  font-weight: 600;
}

.ne-review-author__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--plum);
}

.ne-review-author__via {
  font-size: 12px;
  color: var(--text-light);
}

/* ─── CTA booking ─────────────────────────────────────────────── */
.ne-booking-cta {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-mid) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ne-booking-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201,116,138,0.1);
}

.ne-booking-cta::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(212,168,83,0.08);
}

.ne-booking-cta h2 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.ne-booking-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ne-booking-cta__policy {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ─── Social sticky ───────────────────────────────────────────── */
.ne-social-sticky {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ne-social-sticky a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ne-social-sticky a:hover { transform: translateX(-4px) scale(1.1); }

.ne-social-sticky__insta { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ne-social-sticky__fb    { background: #1877F2; }

.ne-social-sticky svg { width: 18px; height: 18px; fill: white; }

/* ─── Footer custom ───────────────────────────────────────────── */
.ne-footer {
  background: var(--plum);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.ne-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .ne-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .ne-footer-grid { grid-template-columns: 1fr; }
}

.ne-footer h4 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.ne-footer p, .ne-footer li { font-size: 14px; line-height: 1.8; }

.ne-footer ul { list-style: none; padding: 0; margin: 0; }

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

.ne-footer ul li a:hover { color: var(--gold-light); }

.ne-footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--white);
  font-style: italic;
  margin-bottom: 12px;
}

.ne-footer__tagline {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.ne-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.ne-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ne-footer__social a:hover { background: var(--rose); }
.ne-footer__social svg { width: 16px; height: 16px; fill: white; }

.ne-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ─── Prestations page ────────────────────────────────────────── */
.ne-page-hero {
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-mid) 100%);
  padding: 44px 0;
  text-align: center;
  margin-bottom: 0;
}

.ne-page-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 12px;
}

.ne-page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Booking page ────────────────────────────────────────────── */
.sln_booking_form,
.sln-booking-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ne-section { padding: 40px 0; }
  .ne-services-grid { grid-template-columns: 1fr; }
  .ne-insta-grid { grid-template-columns: repeat(2, 1fr); }
  .ne-social-sticky { display: none; }
  .ne-page-hero { padding: 20px 0; }
  .ne-page-hero h1 { font-size: clamp(22px, 5vw, 36px); margin-bottom: 8px; }
  .ne-page-hero p { font-size: 14px; }
  /* Booking page: minimal hero to maximise form space */
  .page-id-27 .ne-page-hero { padding: 12px 0 8px; }
  .page-id-27 .ne-page-hero h1 { font-size: 24px; margin-bottom: 4px; }
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ne-animate {
  animation: fadeInUp 0.7s ease forwards;
}
