/*
Theme Name: Astra Child — Julien Elasri
Template: astra
Version: 2.0.0
*/

/* ==============================
   DESIGN SYSTEM — JULIEN ELASRI
   Palette : noir / bleu métal foncé
   Typo    : Nunito (ABeeZee-like)
   ============================== */

:root {
  --bg-base:       #0a0d12;
  --bg-elevated:   #0f1623;
  --bg-card:       #131c2e;
  --bg-card-hover: #1a2640;
  --blue-deep:     #1d3a5c;
  --blue-mid:      #2c5282;
  --blue-accent:   #3d7cc9;
  --blue-light:    #6da3e0;
  --gold:          #c9a96e;
  --gold-dim:      #9e7f50;
  --text-primary:  #e4eaf4;
  --text-secondary:#8896ab;
  --text-muted:    #4a5568;
  --border:        #1e2d42;
  --border-light:  #253650;
  --font-heading:  'Nunito', sans-serif;
  --font-body:     'Nunito Sans', sans-serif;
  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --duration:      260ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary) !important;
  margin-top: 0;
}

/* Force white on ALL page content headings — override Astra inline palette */
.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--text-primary) !important;
}

p { margin-top: 0; color: var(--text-secondary); }
a { color: var(--blue-light); text-decoration: none; transition: color var(--duration) var(--ease-out); }
a:hover { color: var(--text-primary); }
img { max-width: 100%; height: auto; display: block; }

/* ==============================
   ASTRA OVERRIDES
   ============================== */

#page, .ast-container, .site-content, .ast-page-builder-template {
  background: var(--bg-base) !important;
}

.main-header-bar {
  background: rgba(10, 13, 18, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.ast-site-identity .site-title a {
  color: var(--text-primary) !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
}

#primary-menu .menu-item > a,
.main-navigation .menu-item > a {
  color: var(--text-secondary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

#primary-menu .menu-item > a:hover,
.main-navigation .menu-item > a:hover,
#primary-menu .current-menu-item > a {
  color: var(--text-primary) !important;
}

.entry-content { background: transparent !important; }

.site-footer,
#colophon {
  background: var(--bg-base) !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
}

/* Masquer le footer natif Astra — remplacé par .footer-legal-bar */
.site-below-footer-wrap { display: none !important; }
#colophon { border-top: none !important; padding: 0 !important; }

/* Barre footer unifiée : copyright + liens légaux */
.footer-legal-bar {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 2rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

.footer-sep {
  width: 1px;
  height: 12px;
  background: var(--border-light);
  flex-shrink: 0;
}

.footer-legal-bar address {
  display: flex;
  align-items: center;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.footer-legal-bar a {
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
  white-space: nowrap;
}

.footer-legal-bar a:hover {
  color: var(--text-secondary) !important;
}

@media (max-width: 540px) {
  .footer-legal-bar { gap: 1rem; padding: 0.875rem 1rem; flex-direction: column; }
  .footer-sep { display: none; }
  .footer-legal-bar a, .footer-copy { font-size: 0.7rem !important; }
}

/* Liens sociaux */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.3rem 0.65rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  background: var(--bg-elevated);
  transition: border-color var(--duration) var(--ease-out), color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.social-link:hover {
  border-color: var(--blue-accent);
  color: var(--text-primary) !important;
  background: var(--bg-card);
}

.social-link svg { flex-shrink: 0; width: 20px; height: 20px; }

/* ==============================
   HERO
   ============================== */

.hero-section {
  min-height: 92vh;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(61,124,201,0.10) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

/* Hero slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

/* LCP image inside first slide — same visual as background-image */
.hero-lcp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 0.22;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .cms-slide { transition: none !important; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
  padding: 0.3rem 1rem;
  border: 1px solid var(--blue-deep);
  border-radius: 100px;
  background: rgba(61,124,201,0.07);
}

.hero-section h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   BOUTONS
   ============================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--blue-accent);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none !important;
  transition: background var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.btn-primary:hover {
  background: var(--blue-mid) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  text-decoration: none !important;
  transition: all var(--duration) var(--ease-out);
}

.btn-ghost:hover {
  border-color: var(--blue-accent) !important;
  color: var(--text-primary) !important;
}

/* ==============================
   SECTION PRESTATIONS
   ============================== */

.section-prestations {
  background: var(--bg-base);
  padding: 5rem 2rem 6rem;
}

.section-label {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label .eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.75rem;
}

.section-label h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-label p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ==============================
   CARDS
   ============================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  position: relative;
  transition: transform var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              border-color var(--duration) var(--ease-out);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.55);
  border-color: var(--blue-deep);
}

.service-card .card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.service-card .card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.service-card .price {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.125rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  transition: gap var(--duration) var(--ease-out), color var(--duration) var(--ease-out);
}

.service-card .card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card .card-link::after {
  content: '→';
  transition: transform var(--duration) var(--ease-out);
  display: inline-block;
}

.service-card:hover .card-link::after { transform: translateX(4px); }
.service-card:hover .card-link { color: var(--text-primary); }

/* ==============================
   PLACEHOLDER IMAGES (dark)
   ============================== */

.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--bg-elevated) 0%, #0d1520 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 0.5rem;
}

/* ==============================
   PAGES PRESTATIONS (inner)
   ============================== */

.prestation-header {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
}

.prestation-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary) !important;
  margin-bottom: 1rem;
}

.prestation-header p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
}

.prestation-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.prestation-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  color: var(--text-primary) !important;
}

.prestation-body p { color: var(--text-secondary); line-height: 1.8; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--duration) var(--ease-out);
}

.pricing-card:hover { border-color: var(--blue-accent); }

.pricing-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pricing-card .price-tag {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-card p { font-size: 0.82rem; color: var(--text-secondary); }

.note-deplacement {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue-deep);
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--blue-deep);
}

/* 5 colonnes pour la grille iris */
.pricing-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 860px) {
  .pricing-grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  .pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* Masquer le titre de page Astra (redondant avec les headers custom) */
.page header.entry-header {
  display: none !important;
}

/* ==============================
   À PROPOS
   ============================== */

.about-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

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

.about-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 2 / 3;
  background: var(--bg-elevated);
}

.about-text h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--text-primary) !important;
}

.about-text h2 {
  color: var(--text-primary) !important;
}

.about-home-text h2,
.contact-info h2 {
  color: var(--text-primary) !important;
}

.about-text .subtitle {
  display: block;
  color: var(--blue-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; }

.spec-list { list-style: none; padding: 0; margin: 1.5rem 0; }

.spec-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.spec-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-accent);
  flex-shrink: 0;
}

/* ==============================
   CONTACT
   ============================== */

.contact-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) { .contact-wrap { grid-template-columns: 1fr; gap: 3rem; } }

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-info p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; }

.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }

.contact-detail-item {
  display: flex;
  flex-direction: column;
  padding: 0.875rem 1.125rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-detail-item strong {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}

/* CF7 dark */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  transition: border-color var(--duration) !important;
  outline: none !important;
}

.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  border-color: var(--blue-accent) !important;
  box-shadow: 0 0 0 3px rgba(61,124,201,0.15) !important;
}

.wpcf7 label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  margin-top: 1rem;
}

.wpcf7 input[type="submit"] {
  background: var(--blue-accent) !important;
  color: #fff !important;
  border: none !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  padding: 0.875rem 2rem !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--duration) var(--ease-out), transform var(--duration) var(--ease-out) !important;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px) !important;
}

/* ==============================
   MENTIONS LÉGALES
   ============================== */

.legal-wrap { max-width: 720px; margin: 0 auto; padding: 5rem 2rem; }
.legal-wrap h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: 2rem; }
.legal-wrap h2 { font-size: 1.05rem; color: var(--text-primary); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal-wrap h1 { color: var(--text-primary); }
.legal-wrap p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }

/* ==============================
   FILIGRANE DE PAGE
   ============================== */

.page-filigrane {
  position: relative;
}

.page-filigrane::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(30%) blur(1px);
}

.page-filigrane > * { position: relative; z-index: 1; }

/* Filigrane par page */
body.page-id-7  .page-filigrane::before { background-image: var(--filigrane-url); }
body.page-id-8  .page-filigrane::before { background-image: var(--filigrane-url); }
body.page-id-9  .page-filigrane::before { background-image: var(--filigrane-url); }
body.page-id-10 .page-filigrane::before { background-image: var(--filigrane-url); }
body.page-id-11 .page-filigrane::before { background-image: var(--filigrane-url); }
body.page-id-12 .page-filigrane::before { background-image: var(--filigrane-url); }

/* Galerie iris */
.iris-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 2.5rem 0;
}

.iris-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.iris-gallery img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .iris-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Grille J BOX */
.lajbox-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2.5rem 0;
}

.lajbox-gallery .main { grid-column: 1 / -1; }

.lajbox-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.lajbox-gallery .main img {
  width: 100%;
  height: auto;
}

/* Photo hero pleine largeur */
.photo-hero-full {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  display: block;
}

/* Photo duo */
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2rem 0;
}

.photo-duo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

@media (max-width: 480px) { .photo-duo { grid-template-columns: 1fr; } }

/* ==============================
   ACCESSIBILITÉ
   ============================== */

:focus-visible { outline: 2px solid var(--blue-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

/* ==============================
   LOGO HEADER
   ============================== */

/* Masquer titre texte si logo présent */
.ast-site-identity .site-title,
.ast-site-identity .site-description {
  display: none !important;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

@media (max-width: 768px) {
  .custom-logo { height: 40px !important; }
}

@media (max-width: 480px) {
  .custom-logo { height: 34px !important; }
}

/* ==============================
   ABOUT HOME SECTION
   ============================== */
.section-about-home {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.about-home-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.about-home-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}

.about-home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-home-text .eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.75rem;
}

.about-home-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.about-home-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-home-text p strong {
  color: var(--text-primary);
}

.about-home-text .btn-ghost {
  margin-top: 1rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .about-home-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-home-photo {
    aspect-ratio: 3/2;
    max-height: 320px;
  }
}

/* ==============================
   IRIS STARS
   ============================== */
.iris-stars {
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* ==============================
   CONTACT MINI SLIDER
   ============================== */
.contact-mini-slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/2;
  margin-top: 2rem;
  background: var(--bg-card);
}

.cms-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.cms-slide.active {
  opacity: 1;
}

.cms-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
  z-index: 2;
}

/* Touch target: invisible 44px area around 6px dot (UI/UX rule: min 44×44px) */
.cms-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cms-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.25s ease, transform 0.25s ease;
}

.cms-dot.active::after {
  background: #fff;
  transform: scale(1.4);
}

/* ==============================
   RESPONSIVE MOBILE — SEO / UX
   ============================== */

/* background-attachment: fixed non composité sur iOS/Android → scroll */
@media (max-width: 768px) {
  .page-filigrane::before { background-attachment: scroll; }
}

/* Tap targets & lisibilité : fontes ≥ 14px sur mobile (évite zoom iOS) */
@media (max-width: 640px) {
  /* Boutons principaux */
  .btn-primary, .btn-ghost {
    font-size: 1rem !important;
    padding: 0.85rem 1.5rem;
  }
  /* Boutons CTA prestation */
  .jel-cta-btn { font-size: 0.95rem; padding: 12px 20px; }
  .jel-cta-wrap { flex-direction: column; gap: 10px; }
  .jel-cta-btn { width: 100%; justify-content: center; text-align: center; }

  /* Labels / eyebrows : pas en dessous de 12px */
  .hero-eyebrow,
  .section-label .eyebrow,
  .about-home-text .eyebrow,
  .about-text .subtitle { font-size: 0.75rem !important; }

  /* Cards service */
  .service-card p { font-size: 0.875rem; }
  .service-card .price { font-size: 0.85rem; }
  .service-card .card-link {
    font-size: 0.875rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Notes & prix petits */
  .pricing-card p,
  .pricing-note,
  .note-deplacement { font-size: 0.875rem; }

  /* Footer */
  .footer-legal-bar { font-size: 0.78rem; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .footer-legal-bar a { font-size: 0.78rem !important; }
}

/* Espacement pages prestation sur petits écrans */
@media (max-width: 600px) {
  .prestation-header { padding: 2rem 1.25rem 1.75rem; }
  .prestation-body   { padding: 2rem 1.25rem; }

  /* Gallery LA J BOX : une colonne sur mobile */
  .lajbox-gallery { grid-template-columns: 1fr; }
  .lajbox-gallery .main { grid-column: auto; }

  /* Duo photos : déjà 1 col à 480px, on descend le breakpoint */
  .photo-duo { grid-template-columns: 1fr; gap: 6px; }

  /* Pricing note */
  .about-home-wrap,
  .contact-wrap { gap: 1.5rem; }

  /* Swatches iris */
  .jel-swatch-group { gap: 6px; }
  .jel-swatch-btn { min-width: 60px; padding: 8px 12px; font-size: 0.875rem; }
}

/* WooCommerce produit sur mobile */
@media (max-width: 640px) {
  /* Bouton ajouter au panier pleine largeur */
  .single_add_to_cart_button.button {
    width: 100% !important;
    font-size: 1rem !important;
  }
  /* Prix WC */
  .woocommerce-Price-amount { font-size: 1.1rem; }
  /* Résumé produit padding */
  .woocommerce div.product div.summary { padding: 0 !important; }
}

/* Grille iris 5 prix : 2 col sur très petit écran */
@media (max-width: 400px) {
  .pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* Images prestation : toujours 100% sur mobile */
@media (max-width: 768px) {
  .prestation-body img,
  .photo-hero-full { max-width: 100%; border-radius: 6px; }
  .photo-duo { gap: 6px; }
}

/* ==============================
   MENU MOBILE — COMPACT
   ============================== */

@media (max-width: 921px) {
  /* Annuler uppercase + letter-spacing desktop sur mobile */
  .main-navigation .menu-item > a,
  #ast-mobile-header .menu-item > a,
  .ast-mobile-header-content .menu-item > a,
  .ast-mobile-header-wrap .menu-item > a {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    line-height: 1.3 !important;
  }
}
