/* ==========================================================
   Artiste à Papa — styles.css
   Palette : rouge chariot, blanc tablier, or popcorn
   ========================================================== */

:root {
  --nuit: #241412;        /* charcoal chaud — texte principal */
  --nuit-2: #4a1815;      /* oxblood — réserve (accents sombres secondaires) */
  --rouge: #c41e2a;       /* rouge signature Artiste à Papa — accent principal */
  --rouge-fonce: #7a0f17; /* rouge profond — fonds sombres & ombres de boutons */
  --rose: #ff7dc1;        /* rose barbe à papa — réservé aux nuages décoratifs */
  --rose-fonce: #e5559f;
  --rose-pale: #f6ddd7;   /* blush chaud — bordures & fonds doux */
  --ciel: #fbe8c9;        /* lueur dorée douce — remplace l'ancien bleu sucre */
  --or: #e2a33b;          /* or popcorn */
  --creme: #fffbf6;       /* fond général */
  --blanc: #ffffff;
  --gris: #6b5b57;

  --display: "Alfa Slab One", serif;
  --body: "Instrument Sans", sans-serif;

  --radius: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--nuit);
  background: var(--creme);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.14; font-weight: 400; text-wrap: balance; }

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  letter-spacing: -0.005em;
  margin-bottom: 0.6em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge);
  border: 2px dashed var(--rouge);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 14px;
}

section { padding: 88px 0; }

.accent { color: var(--rouge); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 7px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border: none;
}
.btn-rose {
  background: var(--rouge);
  color: var(--blanc);
  box-shadow: 4px 4px 0 var(--rouge-fonce);
}
.btn-rose:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--rouge-fonce); }
.btn-rose:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--rouge-fonce); }
.btn-ghost {
  background: transparent;
  color: var(--nuit);
  border: 2px solid var(--nuit);
}
.btn-ghost:hover { background: var(--nuit); color: var(--blanc); }

:focus-visible {
  outline: 3px solid var(--rouge);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--rouge);
}
header::before {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--rouge) 0 16px, var(--blanc) 16px 32px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--nuit);
}
.logo span { color: var(--rouge); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--nuit);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--rouge); }
.nav-links a.btn-rose,
.nav-links a.btn-rose:hover { color: var(--blanc); }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }
.burger { display: none; background: none; border: none; font-size: 1.8rem; color: var(--nuit); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--ciel) 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 110%, var(--rose-pale) 0%, transparent 60%),
    var(--creme);
  text-align: center;
}

/* Variante hero avec photo plein fond (page d'accueil) */
.hero.hero-photo {
  background:
    linear-gradient(185deg, rgba(40, 12, 10, 0.2) 0%, rgba(52, 10, 10, 0.36) 45%, rgba(60, 9, 10, 0.56) 100%),
    url('images/hero-fond-jerome.jpg') center 22% / cover no-repeat;
  padding: 150px 0 140px;
}
.hero.hero-photo h1 { color: var(--blanc); text-shadow: 0 3px 20px rgba(20, 5, 5, 0.45); }
.hero.hero-photo h1 em { color: var(--or); }
.hero.hero-photo p.lead { color: var(--creme); text-shadow: 0 2px 14px rgba(20, 5, 5, 0.4); }
.hero.hero-photo .btn-ghost { border-color: var(--blanc); color: var(--blanc); }
.hero.hero-photo .btn-ghost:hover { background: var(--blanc); color: var(--rouge-fonce); }
@media (max-width: 700px) {
  .hero.hero-photo { padding: 120px 0 110px; background-position: 65% 18%; }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  letter-spacing: -0.01em;
  max-width: 15ch;
  margin: 0 auto 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--rouge);
}
.hero h1 em.envole {
  display: inline-block;
  animation: envole 2.8s ease-in-out infinite;
}

@keyframes envole {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.hero p.lead {
  max-width: 52ch;
  margin: 0 auto 36px;
  font-size: 1.18rem;
  color: var(--gris);
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Nuages de barbe à papa flottants — élément signature (touche de rose conservée) */
.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  animation: floatUp 14s ease-in-out infinite;
}
.cloud.c1 { width: 190px; height: 130px; background: var(--rose); left: 6%; top: 62%; animation-duration: 16s; }
.cloud.c2 { width: 150px; height: 100px; background: var(--or); right: 10%; top: 18%; animation-duration: 13s; animation-delay: -4s; opacity: 0.4; }
.cloud.c3 { width: 110px; height: 80px; background: var(--rose); left: 22%; top: 12%; animation-duration: 18s; animation-delay: -8s; filter: blur(20px); opacity: 0.55; }
.cloud.c4 { width: 130px; height: 90px; background: var(--or); right: 20%; bottom: 6%; animation-duration: 15s; animation-delay: -2s; opacity: 0.35; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-46px) translateX(14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud, .btn, .envole { animation: none !important; transition: none !important; }
}

/* ---------- Bande clients ---------- */
.clients {
  background: var(--rouge-fonce);
  color: var(--blanc);
  padding: 40px 0;
  text-align: center;
}
.clients p.label {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  justify-content: center;
  align-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1rem;
  opacity: 0.95;
}
.clients-logos img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }

/* ---------- Intro ---------- */
.intro .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.intro-media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--rose-pale), var(--ciel));
  box-shadow: 12px 12px 0 var(--rose-pale);
  border: 3px solid var(--nuit);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Prestations ---------- */
.prestations { background: var(--blanc); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.card {
  border-radius: var(--radius);
  overflow: visible;
  background: var(--creme);
  border: 2.5px solid var(--nuit);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--rose-pale); }
.card .card-img {
  position: relative;
  aspect-ratio: 6 / 5;
  background: linear-gradient(140deg, var(--ciel), var(--rose-pale));
  border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0;
  overflow: hidden;
  border-bottom: 2.5px solid var(--nuit);
}
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-img::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background-image: radial-gradient(circle at center, var(--creme) 0 7px, transparent 7.5px);
  background-size: 24px 16px;
  background-position: 12px 0;
  background-repeat: repeat-x;
}
.card-body { padding: 30px 28px 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-body h3 { font-size: 1.35rem; font-weight: 400; color: var(--rouge); }
.card-body p { color: var(--gris); flex: 1; }
.card-link { font-weight: 700; color: var(--rouge-fonce); text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---------- Segments (SEO) ---------- */
.segments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.segment {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 2px solid var(--rose-pale);
}
.segment .ico { font-size: 1.9rem; margin-bottom: 10px; }
.segment h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; font-family: var(--body); }
.segment p { font-size: 0.92rem; color: var(--gris); }

/* ---------- Logistique ---------- */
.logistique { background: var(--rouge-fonce); color: var(--blanc); }
.logistique h2 { color: var(--blanc); }
.logistique .eyebrow { color: var(--or); border-color: var(--or); }
.log-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.log-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.log-item .big {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  color: var(--or);
  margin-bottom: 8px;
}
.log-item p { color: #f3d9d4; font-size: 0.97rem; }

/* ---------- Jérôme ---------- */
.jerome .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.jerome-media {
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--or), var(--rose-pale));
  box-shadow: -12px 12px 0 var(--ciel);
  border: 3px solid var(--nuit);
}
.jerome-media img { width: 100%; height: 100%; object-fit: cover; }
.jerome blockquote {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  border-left: 4px solid var(--rose);
  padding-left: 20px;
  margin: 24px 0;
}

/* ---------- Vidéo ---------- */
.video-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(36, 20, 18, 0.18);
  margin-top: 30px;
  border: 3px solid var(--nuit);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Témoignages ---------- */
.temoignages { background: var(--rose-pale); }
.temo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
.temo {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--blanc);
}
.temo .stars { color: var(--or); font-size: 1.1rem; letter-spacing: 2px; }
.temo p { color: var(--gris); font-size: 0.98rem; flex: 1; }
.temo footer { font-weight: 700; font-size: 0.95rem; color: var(--nuit); }
.temo footer span { display: block; font-weight: 400; color: var(--gris); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--blanc);
  border: 2px solid var(--rose-pale);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-bottom: 14px;
}
.faq summary {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--rouge);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 14px; color: var(--gris); }
.faq details a { color: var(--rouge); }

/* ---------- Devis / formulaire ---------- */
.devis { background: var(--rouge-fonce); color: var(--blanc); }
.devis .eyebrow { color: var(--or); border-color: var(--or); }
.devis h2 { color: var(--blanc); }
.devis .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.devis p.pitch { color: #f3d9d4; }
.devis ul.points { list-style: none; margin-top: 22px; display: grid; gap: 12px; color: #f3d9d4; }
.devis ul.points li::before { content: "✦ "; color: var(--or); }

form.devis-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: 0.92rem; display: grid; gap: 6px; }
input, select, textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 8px;
  border: 2px solid var(--rose-pale);
  background: var(--blanc);
  color: var(--nuit);
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--rouge); outline: none; }
textarea { resize: vertical; min-height: 110px; }
.hidden { display: none; }

/* ---------- Footer ---------- */
footer.site {
  background: #3a0d10;
  color: #e9d4d0;
  padding: 50px 0 34px;
  font-size: 0.94rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
}
footer.site a { color: #f0ded9; text-decoration: none; }
footer.site a:hover { color: var(--or); }
footer.site nav { display: grid; gap: 8px; }
footer.site .fin { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 30px; padding-top: 22px; font-size: 0.85rem; color: #c9a8a3; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro .wrap, .jerome .wrap, .devis .wrap { grid-template-columns: 1fr; gap: 36px; }
  .segments-grid { grid-template-columns: 1fr 1fr; }
  .temo-grid, .log-grid, .cards { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    flex-direction: column;
    padding: 24px;
    border-bottom: 3px solid var(--rouge);
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Galerie ---------- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.galerie-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2.5px solid var(--nuit);
  transition: transform 0.2s ease;
}
.galerie-grid img:nth-child(even) { margin-top: 24px; }
.galerie-grid img:hover { transform: scale(1.03); }
@media (max-width: 900px) {
  .galerie-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Photo pleine largeur ---------- */
.showcase { padding: 0; }
.showcase img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  display: block;
}
.showcase figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris);
  padding: 12px 24px 0;
}
