/* ============================================================
   LES PETITS ANGES DE LA VIE — Page « bientôt de retour »
   Palette tirée du logo : crème papier, or, brun doré, cœur bordeaux.
   Variables pilotées par l'admin (Design) :
     couleurPrincipale -> --or   | couleurSecondaire -> --bordeaux
     couleurSombre     -> --brun
   ============================================================ */

:root {
  --creme: #f7f2e8;
  --creme-2: #fbf8f1;
  --or: #b8923e;
  --or-2: #d7b566;
  --or-clair: #efe0b8;
  --bordeaux: #8b1a2b;
  --bordeaux-2: #a8293c;
  --brun: #4a3414;
  --brun-2: #6b5030;
  --gray: #6f6354;
  --line: rgba(184, 146, 62, .28);

  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;

  --radius: 18px;
  --radius-sm: 10px;
  --btn-radius: 999px;
  --section-pad: 5rem;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--brun);
  background: var(--creme);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(215, 181, 102, .22), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(139, 26, 43, .08), transparent 50%);
  background-attachment: fixed;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
/* grain papier */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .12 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-2); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .7rem 1.5rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem; letter-spacing: .06em;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--or-2), var(--or));
  color: #fff;
  box-shadow: 0 8px 22px rgba(184, 146, 62, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(184, 146, 62, .45); }
.btn-ghost { background: transparent; border-color: var(--or); color: var(--brun); }
.btn-ghost:hover { background: var(--or-clair); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 232, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(74, 52, 20, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.logo { display: inline-flex; align-items: center; gap: .8rem; color: var(--brun); }
.logo img { width: 58px; height: 58px; object-fit: contain; }
.logo-texte { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; }
.logo-texte em { display: block; font-style: normal; font-size: .72rem; letter-spacing: .22em; color: var(--or); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }
.nav-links:empty { display: none; }
.nav-links a { font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brun); }
.nav-links a:hover, .nav-links a.active { color: var(--or); }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.halo {
  position: absolute; inset: auto; left: 50%; top: 42%;
  width: min(120vw, 1200px); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(215, 181, 102, .28) 0%, rgba(215, 181, 102, .08) 38%, transparent 62%);
  filter: blur(10px);
  animation: halo 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes halo { from { transform: scale(.94); opacity: .85; } to { transform: scale(1.06); opacity: 1; } }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; gap: clamp(2rem, 6vw, 5rem);
}
.hero-texte { text-align: left; }
.hero-logo {
  width: min(360px, 70vw);
  margin: 0 0 1.4rem -.6rem;
  filter: drop-shadow(0 18px 30px rgba(74, 52, 20, .18));
  animation: flotte 7s ease-in-out infinite;
}
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.sur-titre {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1rem;
}
.sur-titre::before, .sur-titre::after { content: ''; width: 34px; height: 1px; background: var(--or); opacity: .7; }

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.12; letter-spacing: .01em;
  margin: 0 0 1.2rem;
  color: var(--brun);
}
h1 .or, .or {
  background: linear-gradient(100deg, #8a6a1f 0%, var(--or-2) 45%, #a37f2c 70%, #e2c37a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-style: italic; font-weight: 500;
  color: var(--brun-2);
  margin: 0 0 1.8rem;
  max-width: 34ch;
}
.hero-contact { margin: 0 0 .9rem; font-size: 1.1rem; letter-spacing: .02em; color: var(--gray); text-transform: uppercase; font-family: var(--font-display); font-size: .8rem; letter-spacing: .18em; }

.btn-tel {
  padding: 1rem 2rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: .1em; font-weight: 600;
  background: linear-gradient(135deg, var(--bordeaux-2), var(--bordeaux));
  color: #fff;
  box-shadow: 0 14px 34px rgba(139, 26, 43, .35), inset 0 0 0 1px rgba(255, 255, 255, .15);
  position: relative; overflow: hidden;
}
.btn-tel:hover { color: #fff; box-shadow: 0 18px 40px rgba(139, 26, 43, .45); }
.btn-tel svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.btn-tel::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  animation: reflet 4.5s ease-in-out infinite;
}
@keyframes reflet { 0%, 60% { left: -80%; } 100% { left: 140%; } }

.signature {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--or);
  margin: 1.8rem 0 0;
  line-height: 1;
}

/* Photo encadrée or */
.hero-photo { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); }
.hero-photo .cadre {
  position: absolute; inset: -14px; z-index: 0;
  border: 1px solid var(--or);
  border-radius: 200px 200px var(--radius) var(--radius);
  opacity: .7;
  transform: rotate(-2deg);
}
.hero-photo::before {
  content: ''; position: absolute; inset: -34px -34px auto auto; width: 120px; height: 120px; z-index: 0;
  background: radial-gradient(circle, rgba(139, 26, 43, .18), transparent 70%);
}
.hero-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: 0 30px 60px rgba(74, 52, 20, .28), 0 0 0 6px var(--creme-2), 0 0 0 7px var(--or-clair);
  filter: saturate(1.05);
}
.hero-photo figcaption {
  position: absolute; z-index: 2; left: 50%; bottom: -1.1rem; translate: -50% 0;
  white-space: nowrap;
  background: var(--creme-2); border: 1px solid var(--or);
  padding: .35rem 1.1rem; border-radius: 999px;
  font-family: var(--font-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brun);
  box-shadow: 0 8px 20px rgba(74, 52, 20, .12);
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 1.1rem 0; font-size: .95rem; color: var(--gray); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--brun); }
.footer a:hover { color: var(--or); }

/* ---------- Sections génériques (Builder) ---------- */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--creme-2); }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--brun); line-height: 1.2; margin: 0 0 .8rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
.accent { color: var(--bordeaux); }
.card { background: var(--creme-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 10px 30px rgba(74, 52, 20, .07); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.page-hero { padding: 4rem 0 3rem; text-align: center; }
.breadcrumb { font-size: .9rem; color: var(--gray); }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .18s; }
.reveal[data-delay="2"] { transition-delay: .36s; }
.reveal[data-delay="3"] { transition-delay: .54s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-texte { text-align: center; }
  .hero-logo { margin-inline: auto; width: min(300px, 64vw); }
  .lead { margin-inline: auto; }
  .hero-photo { width: min(100%, 360px); margin-top: 1.4rem; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .logo-texte { display: none; }
  .btn-tel { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
  .halo { top: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .halo, .hero-logo, .btn-tel::before { animation: none; }
  .reveal { transition: none; }
}

/* ---------- Suivez-nous (réseaux sociaux) ---------- */
.suivez { margin: 0 0 2.4rem; padding: 1.6rem 0 1.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.suivez[hidden] { display: none; }
.suivez-titre {
  margin: 0 0 1.1rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem); letter-spacing: .05em;
  color: var(--brun);
}
.reseaux { display: flex; flex-wrap: wrap; gap: 1rem; }
.reseau {
  display: inline-flex; align-items: center; gap: .85rem;
  padding: .45rem 1.6rem .45rem .45rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--or-2), var(--or));
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(184, 146, 62, .35), inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.reseau .ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
}
.reseau svg { width: 32px; height: 32px; fill: currentColor; }
.reseau:hover { color: #fff; background: linear-gradient(135deg, var(--bordeaux-2), var(--bordeaux)); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(139, 26, 43, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
/* Couleurs officielles de chaque réseau */
.reseau[data-reseau="facebook"]  { background: #1877f2; box-shadow: 0 12px 30px rgba(24, 119, 242, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.reseau[data-reseau="instagram"] { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); box-shadow: 0 12px 30px rgba(238, 42, 123, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.reseau[data-reseau="youtube"]   { background: #ff0000; box-shadow: 0 12px 30px rgba(255, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.reseau[data-reseau="twitter"]   { background: #000; box-shadow: 0 12px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.reseau[data-reseau]:hover { filter: brightness(1.08); }
.reseau[data-reseau="facebook"]:hover  { background: #1877f2; box-shadow: 0 16px 36px rgba(24, 119, 242, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.reseau[data-reseau="instagram"]:hover { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); box-shadow: 0 16px 36px rgba(238, 42, 123, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.reseau[data-reseau="youtube"]:hover   { background: #ff0000; box-shadow: 0 16px 36px rgba(255, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.reseau[data-reseau="twitter"]:hover   { background: #000; box-shadow: 0 16px 36px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.reseau[hidden] { display: none; }
@media (max-width: 720px) {
  .reseaux { justify-content: center; }
  .reseau { width: 100%; max-width: 320px; justify-content: flex-start; }
}
