/* Site vitrine STUDIO ELFASSI */
:root {
  --ivoire: #faf7f2;
  --sable: #f1ebe1;
  --encre: #1c1813;
  --gris: #6e665b;
  --or: #b8935a;
  --or-clair: #d9bd8c;
  --sombre: #14110d;
  --latin: "Cormorant Garamond", Georgia, serif;
  --titre: "Amiri", "Cormorant Garamond", serif;
  --corps: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --gouttiere: clamp(16px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivoire); color: var(--encre);
  font-family: var(--corps); font-size: 17px; line-height: 1.8; font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.35; margin: 0; }
.ltr { direction: ltr; unicode-bidi: embed; }
.centre { text-align: center; }

.sur-titre {
  font-family: var(--latin); font-style: italic; font-size: 20px; color: var(--or);
  margin: 0 0 6px; letter-spacing: .5px; direction: ltr;
}
.titre-section { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.titre-section h2 { font-size: clamp(30px, 4.5vw, 46px); }
.titre-section h2::after {
  content: ""; display: block; width: 56px; height: 1px; background: var(--or); margin: 18px auto 0;
}
.sous-titre { color: var(--gris); margin: 16px 0 0; }

/* Boutons */
.btn {
  display: inline-block; padding: 14px 30px; text-decoration: none; font-weight: 500;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s;
  letter-spacing: .3px;
}
.btn-or { background: var(--or); color: #fff; }
.btn-or:hover { background: #a37f48; }
.btn-clair { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-clair:hover { background: #fff; color: var(--encre); }
.lien-fleche { color: var(--or); text-decoration: none; font-weight: 500; }
.lien-fleche:hover { text-decoration: underline; }

/* Barre de navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gouttiere); color: #fff; transition: background .3s, color .3s, box-shadow .3s, height .3s;
}
.nav.plein { background: rgba(250, 247, 242, .97); color: var(--encre); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); height: 64px; }
.nav-logo {
  font-family: var(--latin); font-size: 24px; font-weight: 600; letter-spacing: 5px;
  text-decoration: none; direction: ltr; white-space: nowrap;
}
.nav-logo span, h1 span { color: var(--or-clair); }
.nav.plein .nav-logo span { color: var(--or); }
.nav-liens { display: flex; align-items: center; gap: 28px; }
.nav-liens a { text-decoration: none; font-size: 16px; opacity: .92; }
.nav-liens a:hover { opacity: 1; color: var(--or-clair); }
.nav.plein .nav-liens a:hover { color: var(--or); }
.nav-liens .btn-espace {
  border: 1px solid currentColor; padding: 7px 18px; opacity: 1;
}
.nav.plein .nav-liens .btn-espace { background: var(--encre); color: #fff; border-color: var(--encre); }
.nav.plein .nav-liens .btn-espace:hover { background: var(--or); border-color: var(--or); color: #fff; }
.burger { display: none; background: none; border: none; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav { --burger: #fff; }

@media (max-width: 900px) {
  .burger { display: block; color: inherit; }
  .nav-liens {
    position: fixed; inset: 0; background: var(--sombre); color: #fff;
    flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-liens a { font-size: 22px; }
  .nav.ouvert .nav-liens { opacity: 1; pointer-events: auto; }
  .nav.ouvert { color: #fff; }
  .nav.ouvert.plein { background: transparent; box-shadow: none; }
  .nav.ouvert .burger { position: relative; z-index: 2; color: #fff; }
  .nav.ouvert .nav-logo { position: relative; z-index: 2; color: #fff; }
  .nav.ouvert .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.ouvert .burger span:nth-child(2) { opacity: 0; }
  .nav.ouvert .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav.plein .nav-liens .btn-espace, .nav-liens .btn-espace { background: var(--or); border-color: var(--or); color: #fff; padding: 10px 26px; }
}

/* Accueil */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: var(--sombre); }
.hero-image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 8s ease-out;
}
.hero-image.actif { opacity: 1; transform: scale(1); }
.hero-voile { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 70%), linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%, rgba(0,0,0,.55) 100%); }
.hero-texte {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 var(--gouttiere);
}
.hero .sur-titre { color: var(--or-clair); font-size: clamp(18px, 2.2vw, 24px); }
.hero h1 {
  font-family: var(--latin); font-weight: 500; font-size: clamp(44px, 9vw, 112px);
  letter-spacing: clamp(6px, 1.4vw, 18px); direction: ltr; line-height: 1.05; margin-inline-start: .2em;
}
.hero-slogan { font-family: var(--titre); font-size: clamp(22px, 3vw, 32px); margin: 18px 0 36px; }
.hero-boutons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-points { position: absolute; z-index: 2; bottom: 34px; inset-inline: 0; display: flex; justify-content: center; gap: 10px; }
.hero-points button { width: 28px; height: 3px; border: none; padding: 0; background: rgba(255, 255, 255, .4); cursor: pointer; }
.hero-points button.actif { background: #fff; }
.hero-bas { position: absolute; z-index: 2; bottom: 52px; inset-inline-start: var(--gouttiere); font-size: 30px; text-decoration: none; opacity: .8; animation: rebond 2s infinite; }
@keyframes rebond { 50% { transform: translateY(6px); } }

section { padding: clamp(72px, 10vw, 130px) var(--gouttiere); }

/* Contact : une seule icone WhatsApp */
.contact { text-align: center; }
.titre-contact {
  font-family: var(--latin); font-weight: 500; font-size: 20px;
  letter-spacing: 5px; text-transform: uppercase; margin: 0 0 18px; direction: ltr; color: var(--gris);
}
.lien-whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .25); transition: transform .25s, box-shadow .25s;
}
.lien-whatsapp svg { width: 24px; height: 24px; fill: currentColor; }
.lien-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37, 211, 102, .35); }
.coordonnees {
  margin: 14px 0 0; direction: ltr; font-family: var(--latin); font-size: 16px; letter-spacing: 1px;
  display: flex; flex-direction: column; gap: 2px; align-items: center;
}
.coordonnees a { color: var(--encre); text-decoration: none; font-family: var(--corps); font-size: 16px; font-weight: 500; letter-spacing: 1.5px; }
.coordonnees a:hover { color: var(--or); }
.coordonnees span { color: var(--gris); font-size: 15px; }

/* Pied de page */
.pied { background: var(--sombre); color: rgba(255, 255, 255, .7); text-align: center; padding: 56px var(--gouttiere) 30px; }
.pied .nav-logo { color: #fff; display: inline-block; }
.pied nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 18px 0; }
.pied nav a { text-decoration: none; }
.pied nav a:hover { color: var(--or-clair); }
.pied .petit { font-size: 14px; opacity: .6; margin: 0; }

/* Apparition au defilement */
.apparait { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparait { opacity: 1; transform: none; transition: none; }
  .hero-image { transition: opacity .5s; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Telephone */
/* Bouton flottant d'appel / WhatsApp (adresse a remplir avec le vrai numero) */
.bouton-flottant {
  position: fixed; z-index: 25; bottom: calc(18px + env(safe-area-inset-bottom)); left: 18px;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s, opacity .3s;
}
.bouton-flottant svg { width: 30px; height: 30px; fill: currentColor; }
.bouton-flottant:hover { transform: scale(1.06); }
.bouton-flottant.cache-haut { opacity: 0; pointer-events: none; }

@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.75; }
  section { padding: 64px 16px; }
  .titre-section { margin-bottom: 32px; }
  .nav { height: 64px; padding: 0 16px; }
  .nav-logo { font-size: 19px; letter-spacing: 3px; }
  .hero-boutons { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-boutons .btn { text-align: center; }
  .hero-slogan { margin: 14px 0 28px; }
  .hero-bas { display: none; }






  .pied { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* Logo du studio (image) */
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { height: min(44vh, 420px); width: auto; max-width: 78vw; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
.hero .sur-titre { margin-bottom: 18px; }
.hero-logo { margin-bottom: 30px; }
@media (max-width: 600px) { .hero-logo img { height: min(38vh, 330px); } }

/* Reseaux : WhatsApp, Instagram, TikTok (26/11/2026) */
.reseaux { display: flex; justify-content: center; gap: 14px; direction: ltr; }
.reseau {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; color: #fff; transition: transform .25s, box-shadow .25s;
}
.reseau svg { width: 24px; height: 24px; }
.reseau:hover { transform: translateY(-3px); }
.lien-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 4px 14px rgba(214, 36, 159, .25); }
.lien-instagram:hover { box-shadow: 0 12px 28px rgba(214, 36, 159, .35); }
.lien-tiktok { background: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.lien-tiktok svg { fill: currentColor; width: 22px; height: 22px; }
.lien-tiktok:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
