﻿/* ===== Casa Azzura : thème chocolat / or / crème ===== */
:root {
  --bg: #140c08;
  --ink: #f4ead9;
  --muted: rgba(244, 234, 217, .66);
  --accent: #d6a65c;
  --accent-ink: #1a0f08;
  --card: rgba(30, 19, 12, .55);
  --line: rgba(214, 166, 92, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --giant-fill: rgba(13, 8, 6, .82); /* ébène, remplissage des grands mots des packs */
}
/* Accueil clair : fond crème, texte brun foncé */
html[data-theme="intro"]    { --bg:#f1e9dd; --ink:#1e130c; --muted: rgba(30,19,12,.72); --accent:#9c6c32; --accent-ink:#fff8ee; --card: rgba(255,251,245,.8); --line: rgba(156,108,50,.32); }
html[data-theme="sans"]     { --bg:#110b08; --accent:#e9b86a; }
html[data-theme="deux"]     { --bg:#2a170e; --accent:#e5a560; --card: rgba(48,27,15,.6); }
html[data-theme="trois"]    { --bg:#3a2214; --accent:#f2c47e; --card: rgba(60,35,20,.6); }
html[data-theme="full"]     { --bg:#1c100a; --accent:#cf8f4c; }
html[data-theme="pierre"]   { --bg:#2a2824; --accent:#dccaa6; --card: rgba(48,45,40,.6); --line: rgba(220,202,166,.35); }
html[data-theme="moulures"] { --bg:#ece2d2; --ink:#2a1a10; --muted: rgba(42,26,16,.74); --accent:#85571e; --accent-ink:#fff8ee; --card: rgba(255,250,242,.7); --line: rgba(156,106,44,.35); }
html[data-theme="realisations"] { --bg:#f2e9dc; --ink:#2a1a10; --muted: rgba(42,26,16,.74); --accent:#85571e; --accent-ink:#fff8ee; --card: rgba(255,250,242,.8); --line: rgba(156,106,44,.3); }
html[data-theme="zone"]     { --bg:#1a100b; }
html[data-theme="devis"]    { --bg:#24150d; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .8s var(--ease), color .8s var(--ease);
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Canvas & grain ===== */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity .8s var(--ease); }
#scene.is-hidden { opacity: 0; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0; display: none; /* grain retiré : rendu plus net */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-3%,2%)} 100%{transform:translate(2%,-3%)} }
main, .footer { position: relative; z-index: 2; }
html, body, main { overflow-x: clip; }

/* ===== Loader ===== */
.loader { position: fixed; inset: 0; z-index: 100; background: #0d0806; display: grid; place-content: center; gap: 28px; justify-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader__logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; transform: scale(1.14); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 22px rgba(214,166,92,.55)); } }
.loader__bar { width: 160px; height: 1px; background: rgba(214,166,92,.2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
html:not(.js) .loader, html.static .loader { display: none; }
html.static body.loading { overflow: visible; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px clamp(16px, 4vw, 48px);
  transition: background .5s, backdrop-filter .5s, padding .5s;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 10px; border-bottom: 1px solid var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .28em; text-transform: uppercase; }
.nav__brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; transform: scale(1.14); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .3s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ===== Focus clavier ===== */
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
.btn:focus-visible, .wa-float:focus-visible { border-radius: 999px; outline-offset: 4px; }
.nav__brand:focus-visible { border-radius: 999px; }

/* ===== Menu mobile ===== */
.nav__toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; place-content: center; gap: 6px; }
.nav__toggle span { display: block; width: 18px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.nav.open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--accent-ink);
  font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .8s, border-color .8s, color .8s;
  box-shadow: 0 10px 40px -12px color-mix(in srgb, var(--accent) 70%, transparent);
  font-family: var(--sans);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn:hover::before { transform: translateX(120%); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--small { padding: 12px 20px; font-size: .75rem; }
.btn--full { width: 100%; }

/* ===== Common ===== */
.panel { min-height: 100vh; min-height: 100svh; padding: 120px clamp(20px, 6vw, 96px); position: relative; }
.eyebrow { font-size: .75rem; letter-spacing: .38em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; transition: color .8s; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.01em; }
.section-sub { color: var(--muted); max-width: 520px; margin-top: 20px; font-size: 1.02rem; }
/* Masqué seulement quand le JavaScript tourne ; sinon tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(40px); }
html.static .reveal { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ===== Hero ===== */
.hero { display: flex; align-items: center; }
.hero__inner { max-width: 560px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 6.3vw, 6.6rem); line-height: .98; letter-spacing: -.005em; }
.hero__title .line { display: block; overflow: hidden; width: max-content; padding-right: .1em; }
.hero__title .line span { display: inline-block; background: linear-gradient(180deg, #fff6e6 0%, #e9cf9f 55%, #b8834a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .hero__title .line span { transform: translateY(110%); }
html.static .hero__title .line span { transform: none; }
.hero__rule { width: 120px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); margin: 30px 0 22px; }
.hero__sub { font-size: .9rem; letter-spacing: .42em; text-transform: uppercase; }
.hero__text { color: var(--muted); margin-top: 20px; max-width: 440px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__price { margin-top: 20px; color: var(--muted); font-size: .95rem; }
.hero__price strong { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--accent); margin-inline: 4px; }
.hero__price sup { font-size: .55em; }
.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-hint span { width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== Atouts ===== */
.atouts { display: flex; align-items: center; min-height: 80vh; }
.atouts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.atout {
  padding: 34px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .5s var(--ease), border-color .5s;
}
.atout:hover { transform: translateY(-8px); border-color: var(--accent); }
.atout svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.2; margin-bottom: 22px; }
.atout h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 8px; }
.atout p { color: var(--muted); font-size: 1rem; }

.packs-intro { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

/* ===== Packs ===== */
/* Chaque pack : grand mot + fiche dans la même colonne, le mur 3D occupe l'autre moitié.
   Rien ne se superpose : le mot est au-dessus de la fiche, jamais derrière ni sur le mur. */
.pack { min-height: 120vh; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 110px clamp(20px, 6vw, 96px); }
.pack--right { align-items: flex-end; }
.pack__giant {
  position: relative; width: min(560px, 100%);
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 6.4vw, 6.6rem); line-height: .9; text-transform: uppercase; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.2px var(--accent);
  background: linear-gradient(180deg, #fff3dd 0%, #e2bd80 60%, #a8763b 100%); -webkit-background-clip: text; background-clip: text;
  text-shadow: none; pointer-events: none; z-index: 1;
}
.pack--right .pack__giant { text-align: right; }
.pack__card {
  position: relative; z-index: 1;
  width: min(460px, 100%); padding: 38px 34px; border-radius: 26px;
  background: rgba(22, 14, 9, .9); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  transition: background-color .8s, border-color .8s;
}
.pack__num { font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.pack__badge { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; letter-spacing: .06em; font-weight: 700; vertical-align: 1px; }
.pack__name { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; margin: 14px 0 12px; }
.pack__desc { color: var(--muted); font-size: .95rem; }
.pack__price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 22px; padding: 18px 0; border-block: 1px solid var(--line); }
.pack__price small { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pack__price strong { font-family: var(--serif); font-size: 3.6rem; font-weight: 500; line-height: 1; color: var(--accent); transition: color .8s; }
.pack__price strong sup { font-size: 1.6rem; margin-left: 2px; }
.pack__list { list-style: none; display: grid; gap: 9px; font-size: .95rem; margin-bottom: 18px; }
.pack__list li { display: flex; gap: 10px; align-items: flex-start; }
.pack__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.pack__note { font-size: .78rem; color: var(--muted); margin-bottom: 24px; }
.pack--right { justify-content: flex-end; }
.pack__more summary { cursor: pointer; list-style: none; min-height: 44px; font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pack__more summary::-webkit-details-marker { display: none; }
.pack__more summary::after { content: "+"; font-size: 1.1rem; transition: transform .3s; }
.pack__more[open] summary::after { transform: rotate(45deg); }

/* ===== Réalisations ===== */
.realisations, .etapes { text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 40px; margin-top: 60px; perspective: 1200px; }
.card3d { border-radius: 26px; overflow: hidden; position: relative; transform-style: preserve-3d; box-shadow: 0 50px 90px -40px rgba(42,26,16,.55); background: #1a0f08; }
.card3d img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1s var(--ease); }
.card3d:hover img { transform: scale(1.06); }
.card3d figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; text-align: left; color: #f4ead9; background: linear-gradient(transparent, rgba(15,8,4,.88)); transform: translateZ(40px); }
.card3d figcaption span { display: block; font-family: var(--serif); font-size: 1.6rem; }
.card3d figcaption small { color: rgba(244,234,217,.7); }
.gallery__more { margin-top: 40px; color: var(--muted); }
.gallery__more a { color: var(--accent); }

.etapes { min-height: auto; padding-top: 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; text-align: left; counter-reset: s; }
.steps li { padding: 28px; border-top: 1px solid var(--line); }
.steps b { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--accent); }
.steps h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 6px 0; }
.steps p { color: var(--muted); font-size: 1rem; }

/* ===== Zone ===== */
.zone { display: flex; align-items: center; }
.zone__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.towns li { padding: 12px 22px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); font-size: .92rem; transition: background .3s, color .3s, transform .3s var(--ease); }
.towns li:first-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.towns li:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ===== Devis ===== */
.devis { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.devis__card { width: min(620px, 100%); padding: 52px clamp(24px, 5vw, 56px); border-radius: 32px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); text-align: center; }
.devis__card .section-sub { margin-inline: auto; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 34px; text-align: left; }
.form label, .form input, .form select, .form textarea { min-width: 0; max-width: 100%; }
.form input, .form select, .form textarea { width: 100%; box-sizing: border-box; }
.form label { display: grid; gap: 8px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form label small { letter-spacing: .05em; text-transform: none; opacity: .7; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: rgba(0,0,0,.25); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; outline: none; transition: border-color .3s, box-shadow .3s;
}
.form select option { background: #24150d; }
.form input:focus-visible, .form select:focus-visible { outline-offset: 2px; border-radius: 14px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.form .btn { margin-top: 10px; }
.devis__alt { margin-top: 22px; color: var(--muted); font-size: .9rem; }
.devis__alt a { color: var(--accent); }

/* ===== Footer ===== */
.footer { text-align: center; padding: 80px 20px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; background: var(--bg); transition: background-color .8s; }
.footer__logo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; transform: scale(1.14); margin: 0 auto 20px; }
.footer__line { margin: 2px 0; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 14px 0; }
.footer__links a { color: var(--accent); text-decoration: none; }
.footer__small { font-size: .75rem; opacity: .6; }

/* ===== WhatsApp flottant ===== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav__toggle { display: grid; }
  .nav__links { display: none; }
  .nav.open { background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .nav__links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: 8px clamp(16px, 4vw, 48px) 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a { padding: 14px 0; font-size: .9rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a::after { display: none; }
  .atouts__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .zone__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .pack { justify-content: center; }
  .nav__brand span { display: none; }
  .panel { padding: 100px 20px; }
  .hero { align-items: flex-start; padding-top: 50vh; padding-bottom: 110px; }
  .hero__rule { margin: 18px 0 14px; }
  .hero__sub { font-size: .75rem; letter-spacing: .3em; }
  .hero__text { font-size: 1rem; margin-top: 12px; }
  .hero__cta { margin-top: 22px; }
  .scroll-hint { display: none; }
  .atouts__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .atout { padding: 22px 18px; }
  .atout h3 { font-size: 1.25rem; }
  .atout p { font-size: .9rem; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  /* Téléphone : le mur 3D occupe le haut de l'écran, puis le grand mot (en entier), puis la fiche */
  .pack { min-height: 100svh; justify-content: flex-start; align-items: stretch; gap: 16px; padding: 50svh 16px 56px; }
  .pack--right { align-items: stretch; }
  .pack__giant, .pack--right .pack__giant { width: 100%; text-align: center; font-size: clamp(2.4rem, 12vw, 3.8rem); line-height: .95; overflow-wrap: anywhere; }
  .pack__card { width: 100%; max-width: 480px; margin-inline: auto; padding: 24px 22px; }
  .pack__name { font-size: 2rem; margin: 8px 0; }
  .pack__price { margin: 16px 0 14px; padding: 12px 0; }
  .pack__price strong { font-size: 2.8rem; }
  .pack__list { font-size: .9rem; gap: 6px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float.is-tucked { opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
  .hero__title { font-size: clamp(2.8rem, 12vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .hero__title .line span { opacity: 1 !important; transform: none !important; }
}

/* Photos d'exemple dans une carte pack */
.pack__photos { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1rem 0 1.1rem; }
.pack__photos figcaption { grid-column: 1 / -1; font-size: .72rem; color: var(--muted); opacity: .8; }
.pack__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.pack__photos:not(:has(img)) { display: none; }
.pack__photos:has(img:only-of-type) { grid-template-columns: 1fr; }
.pack__photos:has(img:only-of-type) img { aspect-ratio: 16 / 9; }

/* Devis : idée + image */
.form textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.form__photo { display: grid; gap: 8px; }
.form__photo-label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form__photo-label small { letter-spacing: .05em; text-transform: none; opacity: .7; }
.form label.form__drop { position: relative; display: grid; place-items: center; gap: 10px; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; background: rgba(0,0,0,.18); cursor: pointer; text-align: center; font-size: .9rem; letter-spacing: 0; text-transform: none; color: var(--accent); transition: border-color .3s; }
.form label.form__drop:hover, .form label.form__drop:focus-within { border-color: var(--accent); }
.form__drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form__drop img { max-height: 180px; max-width: 100%; border-radius: 10px; object-fit: cover; }

/* ===== Accueil : texte en noir sur un encart crème, toujours lisible ===== */
.hero__inner {
  position: relative; z-index: 1;
  padding: clamp(26px, 3.4vw, 46px); border-radius: 26px;
  background: rgba(247, 240, 229, .94);
  border: 1px solid rgba(168, 122, 62, .35);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.7);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero .eyebrow { color: #140c08; font-weight: 600; }
.hero__title .line span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #140c08; }
.hero__rule { background: linear-gradient(90deg, #a87a3e, transparent); }
.hero__sub { color: #140c08; }
.hero__text { color: rgba(20, 12, 8, .78); }
.hero__price { color: rgba(20, 12, 8, .7); }
.hero__price strong { color: #140c08; }
.hero .btn--ghost { color: #140c08; border-color: #140c08; }
.hero .btn--ghost:hover { background: #140c08; color: #f7f0e5; }
@media (max-width: 1000px) {
  .hero { padding-top: 46vh; }
  .hero__inner { padding: 24px 20px; }
}

/* « Choisissez votre mur » : même encart crème, texte noir */
.intro-box {
  width: min(560px, 100%); padding: clamp(24px, 3vw, 40px); border-radius: 24px;
  background: rgba(247, 240, 229, .94); border: 1px solid rgba(168, 122, 62, .35);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.7);
}
.intro-box .section-title { color: #140c08; }
.intro-box .section-sub { color: rgba(20, 12, 8, .78); margin-top: 14px; }
@media (max-width: 1000px) {
  .hero { padding-top: 44vh; padding-bottom: 40px; }
  .hero__rule, .hero__sub { display: none; }
  .hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero__text { font-size: .92rem; margin-top: 10px; }
  .hero__cta { margin-top: 16px; }
  .packs-intro { min-height: auto; padding-top: 46vh; }
}

/* Grands mots des packs : contour noir autour du contour or, lisibles sur tous les fonds */
.pack__giant {
  -webkit-text-stroke: 1.4px #d8ad66;
  filter:
    drop-shadow(1.6px 0 0 #0a0604) drop-shadow(-1.6px 0 0 #0a0604)
    drop-shadow(0 1.6px 0 #0a0604) drop-shadow(0 -1.6px 0 #0a0604)
    drop-shadow(0 6px 18px rgba(0,0,0,.55));
}

/* Photos cliquables + visionneuse */
.pack__photos img, .card3d img { cursor: zoom-in; transition: transform .5s var(--ease), border-color .4s; }
.pack__photos img:hover { transform: scale(1.03); border-color: var(--accent); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(12, 7, 4, .92); opacity: 0; pointer-events: none; transition: opacity .35s ease; cursor: zoom-out; }
.lightbox.is-on { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); transform: scale(.94); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.lightbox.is-on img { transform: scale(1); }
.lightbox__close { position: absolute; top: 16px; right: 18px; width: 48px; height: 48px; border: 1px solid rgba(244,234,217,.4); border-radius: 50%; background: rgba(12,7,4,.6); color: #f4ead9; font-size: 1.8rem; line-height: 1; cursor: pointer; }
body.lb-open { overflow: hidden; }
