/* =========================================================
   SEYZA — Feuille de style principale
   Les variables (couleurs, polices, espacements) sont dans tokens.css.

   Sommaire
    1. Base
    2. Composants communs (boutons, liens, sur-titres)
    3. Navigation
    4. Hero
    5. Hero : composition visuelle
    6. Bandeau défilant
    7. Sections & Présentation
    8. Expertise
    9. Références
   10. À propos
   11. Offres
   12. Audit express offert
   13. FAQ
   14. Contact & pied de page
   15. Popup de contact
   16. Bouton WhatsApp flottant
   17. Pages légales
   18. Bandeau cookies
   19. Animations au défilement
   20. Responsive
   21. Accessibilité : mouvement réduit
   ========================================================= */


/* =========================================================
   1. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  font-family: var(--font-body);
  color: var(--seyza-charcoal);
  background: var(--seyza-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--seyza-burgundy);
}
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.12; margin-bottom: var(--space-3); }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: var(--space-1); }

img { max-width: 100%; }


/* =========================================================
   2. Composants communs
   ========================================================= */

/* Sur-titre en petites capitales */
.eyebrow {
  margin-bottom: var(--space-2);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow--dark { color: var(--seyza-burgundy); }

/* Bouton principal (orange) */
.btn {
  display: inline-block;
  padding: .9rem 1.9rem; border-radius: 999px;
  background: var(--seyza-orange); color: var(--seyza-cream);
  font-weight: 600; text-decoration: none;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--seyza-cream); color: var(--seyza-burgundy); transform: translateY(-2px); }

/* Lien souligné (sur fond sombre) */
.link {
  padding-bottom: 2px; border-bottom: 1px solid currentColor;
  color: var(--seyza-cream); font-weight: 500; text-decoration: none;
}
.link:hover { color: var(--seyza-orange); }

/* Mot mis en valeur dans un titre */
.hl {
  display: inline-block; transform: rotate(-2deg);
  padding: .02em .22em .1em; border-radius: .18em;
  background: var(--seyza-orange); color: var(--seyza-cream);
}

/* Grille de fond (hero, contact, pages légales) */
.hero, .band, .legal-hero {
  background-color: var(--seyza-burgundy);
  background-image:
    linear-gradient(rgba(246, 241, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 234, .05) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  color: var(--seyza-cream);
}


/* =========================================================
   3. Navigation (barre crème flottante)
   ========================================================= */
.nav {
  position: fixed; z-index: 20; top: .9rem; left: 1rem; right: 1rem;
  max-width: 76rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: .55rem .6rem .55rem 1.5rem;
  border-radius: 1.1rem;
  background: var(--seyza-cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

/* Logo : SEYZA en entier, bordeaux → orange au survol */
.brand { display: block; width: 8rem; }
.brand__logo { display: block; width: 100%; height: auto; fill: var(--seyza-burgundy); transition: fill .3s ease; }
.brand:hover .brand__logo,
.brand:focus-visible .brand__logo { fill: var(--seyza-orange); }

.nav nav { justify-self: center; display: flex; align-items: center; gap: 1.75rem; }
.nav nav a {
  font-family: var(--font-main); font-size: .92rem; font-weight: 600;
  color: var(--seyza-burgundy); text-decoration: none;
  transition: color .2s;
}
.nav nav a:hover { color: var(--seyza-orange); }

.nav > .btn {
  justify-self: end; padding: .75rem 1.6rem; border-radius: .8rem;
  font-family: var(--font-main); font-size: .92rem; font-weight: 600;
}
.nav > .btn:hover { background: var(--seyza-burgundy); color: var(--seyza-cream); }


/* =========================================================
   4. Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(94svh, 60rem);
  padding: 10rem var(--space-3) 7rem;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center;
}

/* Halo orange qui suit la souris (--x / --y mis à jour par main.js) */
.hero__glow {
  position: absolute; left: var(--x, 72%); top: var(--y, 35%);
  width: 46rem; height: 46rem; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(243, 56, 10, .6), transparent 65%);
  filter: blur(30px); pointer-events: none;
  transition: left .8s ease-out, top .8s ease-out;
}

.hero .eyebrow { margin-bottom: var(--space-3); color: var(--seyza-cream); opacity: .75; }
.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.9rem); line-height: 1.15; letter-spacing: -.015em;
  color: var(--seyza-cream);
}
.hero__lead { max-width: 32rem; margin: var(--space-3) 0 var(--space-4); font-size: 1.2rem; line-height: 1.7; opacity: .9; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Entrée en douceur du texte puis du visuel */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero__text > * { animation: fadeUp .8s var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
.hero__visual { position: relative; animation: fadeUp 1s .25s var(--ease-out) both; }


/* =========================================================
   5. Hero : composition visuelle (image + cartes flottantes)
   --mx / --my (de -1 à 1) sont mis à jour par main.js selon la souris.
   Chaque couche se déplace selon sa profondeur (--depth).
   ========================================================= */
.hv {
  --mx: 0; --my: 0;
  position: relative; width: 100%; max-width: 36rem; margin-left: auto;
  aspect-ratio: 1 / .95; font-size: 1rem;
}
.hv__art     { --depth: 6; }
.hv__traffic { --depth: 14; }
.hv__serp    { --depth: 22; }
.hv__score   { --depth: 34; }
.hv__art, .hv-card {
  translate: calc(var(--mx) * var(--depth) * -.6px) calc(var(--my) * var(--depth) * -.6px);
  transition: translate .7s var(--ease-out);
}

/* Image principale */
.hv__art {
  position: absolute; z-index: 1; inset: 8% 4% 10% 14%; margin: 0; overflow: hidden;
  border-radius: 2rem; background: var(--seyza-cream);
  outline: 1px solid rgba(246, 241, 234, .18); outline-offset: 6px;
  box-shadow: 0 40px 90px rgba(20, 4, 8, .55);
}
.hv__art img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 82% 60%;
  animation: artIn 1.6s .1s var(--ease-out) both;
}
@keyframes artIn { from { transform: scale(1.2); filter: saturate(.3); } }

/* Décor : cercle pointillé et point pulsant */
.hv__orbit {
  position: absolute; z-index: 0; right: -14%; top: -14%; width: 80%; aspect-ratio: 1;
  border: 1.5px dashed rgba(246, 241, 234, .22); border-radius: 50%;
  animation: spin 70s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hv__dot {
  position: absolute; z-index: 3; right: 6%; top: 5%; width: .9em; height: .9em;
  border-radius: 50%; background: var(--seyza-orange);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(243, 56, 10, .55); }
  100% { box-shadow: 0 0 0 1.4em rgba(243, 56, 10, 0); }
}

/* Cartes flottantes */
.hv-card {
  position: absolute; z-index: 2;
  padding: .95em 1.05em; border-radius: 1.1em;
  background: rgba(251, 248, 243, .95); color: var(--seyza-charcoal);
  border: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(20, 4, 8, .45);
  animation: cardIn .9s var(--ease-out) both, float 6s ease-in-out infinite;
}
@keyframes cardIn { from { opacity: 0; scale: .88; } }
@keyframes float  { 50% { transform: translateY(-8px); } }

.hv__serp    { top: 0;    left: 0;    width: 66%; animation-delay: .45s, 1.4s; }
.hv__score   { top: 42%;  right: -2%; width: 50%; animation-delay: .65s, 2.4s; display: flex; align-items: center; gap: .9em; }
.hv__traffic { bottom: 0; left: 4%;   width: 46%; animation-delay: .85s, 3.4s; }

/* Carte « résultat de recherche » */
.serp__bar {
  display: flex; align-items: center; gap: .6em; overflow: hidden;
  margin-bottom: .9em; padding: .55em .9em; border-radius: 999px;
  background: #fff; border: 1px solid rgba(68, 15, 23, .12);
  font-size: .76em; color: rgba(37, 35, 38, .75); white-space: nowrap;
}
.serp__bar svg { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: var(--seyza-orange); stroke-width: 2.4; stroke-linecap: round; }
.serp__bar span { overflow: hidden; text-overflow: ellipsis; }
.serp__bar span::after {   /* curseur clignotant */
  content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -2px;
  background: currentColor; animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.serp__res { display: flex; align-items: flex-start; gap: .8em; }
.serp__rank {
  flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .65em;
  background: var(--seyza-orange); color: var(--seyza-cream);
  font-family: var(--font-main); font-weight: 700;
}
.serp__res small { display: block; font-size: .7em; color: rgba(37, 35, 38, .6); }
.serp__res strong {
  display: block; margin: .15em 0 .5em;
  font-family: var(--font-main); font-size: .86em; font-weight: 600; line-height: 1.25;
  color: var(--seyza-burgundy);
}
.serp__lines { display: grid; gap: .32em; margin: 0; }
.serp__lines i { display: block; height: .38em; border-radius: 999px; background: rgba(68, 15, 23, .12); }
.serp__lines i:last-child { width: 68%; }

/* Carte « santé du site » : anneau de score + jauges */
.ring { position: relative; flex: none; width: 4.6em; }
.ring svg { display: block; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.ring .track { stroke: rgba(68, 15, 23, .1); }
.ring .val {
  stroke: var(--seyza-orange); stroke-dasharray: 327; stroke-dashoffset: 26;   /* 92 % du cercle */
  animation: ringFill 1.6s .5s var(--ease-out) both;
}
@keyframes ringFill { from { stroke-dashoffset: 327; } }
.ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-main); font-size: 1.35em; font-weight: 800; letter-spacing: -.03em;
  color: var(--seyza-burgundy);
}

.hv__score > div:last-child { flex: 1; min-width: 0; }
.hv__score strong {
  display: block; margin-bottom: .55em;
  font-family: var(--font-main); font-size: .8em; font-weight: 600; color: var(--seyza-burgundy);
}
.bars { display: grid; gap: .45em; margin: 0; padding: 0; list-style: none; }
.bars li {
  display: grid; grid-template-columns: 3.7em 1fr; align-items: center; gap: .4em;
  font-size: .66em; font-weight: 600; color: var(--seyza-burgundy);
}
.bars div { height: .5em; overflow: hidden; border-radius: 999px; background: rgba(68, 15, 23, .1); }
.bars i {
  display: block; width: var(--v); height: 100%; border-radius: inherit; background: var(--seyza-orange);
  animation: barGrow 1.4s .6s var(--ease-out) both;
}
.bars li:nth-child(1) i { --v: 92%; }   /* SEO */
.bars li:nth-child(2) i { --v: 85%; }   /* Vitesse */
.bars li:nth-child(3) i { --v: 96%; }   /* Mobile */
@keyframes barGrow { from { width: 0; } }

/* Carte « trafic » : courbe qui se dessine */
.traffic__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76em; font-weight: 600; color: var(--seyza-burgundy);
}
.traffic__head b {
  display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%;
  background: rgba(243, 56, 10, .12); color: var(--seyza-orange);
}
.trend { display: block; width: 100%; height: 3.2em; margin-top: .5em; overflow: visible; }
.trend .area { fill: rgba(243, 56, 10, .1); animation: fadeIn 1s 1.4s both; }
.trend__line {
  fill: none; stroke: var(--seyza-orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.8s .8s ease forwards;
}
@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }


/* =========================================================
   6. Bandeau défilant
   Le contenu est dupliqué 4 fois par main.js : décaler de 25 %
   (une série) donne une boucle continue.
   ========================================================= */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--seyza-cream); border-bottom: 1px solid rgba(68, 15, 23, .15);
}
.marquee__track {
  display: inline-flex; width: max-content; padding: var(--space-2) 0;
  font-family: var(--font-main); font-size: 1.3rem; font-weight: 700; color: var(--seyza-burgundy);
  animation: marquee 40s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; }
.marquee__track span::after { content: "✦"; margin: 0 var(--space-3); font-size: 1rem; color: var(--seyza-orange); }
@keyframes marquee { to { transform: translateX(-25%); } }


/* =========================================================
   7. Sections & Présentation
   ========================================================= */
.section { max-width: var(--container); margin: 0 auto; padding: var(--space-5) var(--space-3); }

/* Texte + chiffres clés */
.about {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--space-4); align-items: center;
}
.about p { max-width: 36rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--space-3); padding: 0; list-style: none; }
.chips li {
  padding: .35rem 1rem; border: 1px solid var(--seyza-burgundy); border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--seyza-burgundy);
  transition: background .2s, color .2s;
}
.chips li:hover { background: var(--seyza-burgundy); color: var(--seyza-cream); }

.stats { display: grid; gap: var(--space-3); }
.stat { padding-top: var(--space-1); border-top: 2px solid var(--seyza-burgundy); }
.stat strong {
  display: block; line-height: 1;
  font-family: var(--font-main); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em;
  color: var(--seyza-burgundy);
}
.stat strong i { font-style: normal; color: var(--seyza-orange); }

/* Photo arrondie avec pastille (Présentation + Expertise) */
.photo {
  position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 1.75rem; background: rgba(68, 15, 23, .08);
  box-shadow: 0 30px 60px rgba(68, 15, 23, .18);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.photo:hover img { transform: scale(1.04); }
.photo--dark { background: rgba(246, 241, 234, .06); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.photo__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  padding: .8rem 1.1rem; border-radius: 1rem;
  background: var(--seyza-orange); color: var(--seyza-cream);
  font-size: .85rem; line-height: 1.3;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}
.photo__badge strong { display: block; font-family: var(--font-main); font-size: 1.5rem; font-weight: 700; line-height: 1.15; }

/* Méthode : photo + 4 étapes */
.method {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-4); align-items: center;
  margin-top: var(--space-5);
}
.method__photo img { object-position: 38% center; }
.method__title { max-width: 30rem; margin-bottom: var(--space-3); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem;
  padding: 1.25rem 0; border-top: 1px solid rgba(68, 15, 23, .18);
}
.steps li:last-child { border-bottom: 1px solid rgba(68, 15, 23, .18); }
.steps b { font-family: var(--font-main); font-size: 1.5rem; line-height: 1.3; letter-spacing: -.03em; color: var(--seyza-orange); }
.steps h3 { margin-bottom: .2rem; }


/* =========================================================
   8. Expertise (fond sombre)
   ========================================================= */
.dark { background: var(--seyza-charcoal); color: var(--seyza-cream); }
.dark h2, .dark h3 { color: var(--seyza-cream); }
.dark .eyebrow { color: var(--seyza-orange); }

.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-3); }
.skill {
  padding: var(--space-3); border: 1px solid rgba(246, 241, 234, .18); border-radius: 1.25rem;
  transition: border-color .3s, transform .3s, background .3s;
}
.skill p { opacity: .8; }
.skill:hover { border-color: var(--seyza-orange); background: rgba(246, 241, 234, .04); transform: translateY(-6px); }

.skill__icon {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.25rem;
  border-radius: .95rem; background: rgba(243, 56, 10, .14); color: var(--seyza-orange);
  transition: background .3s, color .3s, transform .3s;
}
.skill:hover .skill__icon { background: var(--seyza-orange); color: var(--seyza-cream); transform: rotate(-6deg) scale(1.06); }

/* Icônes au trait (Expertise + Offres) */
.skill__icon svg, .card__icon svg {
  width: 1.6rem; height: 1.6rem;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Déjà livré : liste + photo */
.delivered {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-4); align-items: center;
  margin-top: var(--space-5);
}
.delivered__photo img { object-position: 45% center; }
.proof__title { font-size: 1.75rem; }
.proof { display: grid; gap: 1.5rem; margin-top: var(--space-3); padding: 0; list-style: none; }
.proof li { padding-left: var(--space-2); border-left: 3px solid var(--seyza-orange); opacity: .9; }
.proof strong { display: block; color: var(--seyza-cream); }


/* =========================================================
   9. Références
   La première carte (création complète) est mise en avant sur 2 colonnes.
   ========================================================= */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.ref {
  display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: 1.5rem;
  background: var(--seyza-paper); border: 1px solid rgba(68, 15, 23, .12);
  transition: border-color .3s, transform .3s, box-shadow .3s, opacity .8s ease;
}
.ref:hover { border-color: var(--seyza-orange); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(68, 15, 23, .12); }
.ref h3 { font-size: 1.5rem; }
.ref p { margin-bottom: 1.25rem; }

.ref__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.ref__sector { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(68, 15, 23, .65); }
.ref__link { font-size: .85rem; font-weight: 600; color: var(--seyza-orange); text-decoration: none; }
.ref__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.ref__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 0; padding: 0; list-style: none; }
.ref__tags li {
  padding: .25rem .75rem; border-radius: 999px;
  background: rgba(68, 15, 23, .07); color: var(--seyza-burgundy);
  font-size: .78rem; font-weight: 500;
}

/* Référence mise en avant */
.ref--featured { grid-column: span 2; background: var(--seyza-burgundy); border-color: var(--seyza-burgundy); color: var(--seyza-cream); }
.ref--featured h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--seyza-cream); }
.ref--featured p { max-width: 34rem; font-size: 1.1rem; }
.ref--featured .ref__sector { color: rgba(246, 241, 234, .7); }
.ref--featured .ref__tags li { background: rgba(246, 241, 234, .12); color: var(--seyza-cream); }

.refs__note { margin-top: 1.5rem; font-size: .85rem; color: rgba(37, 35, 38, .6); }


/* =========================================================
   10. À propos (photo + parcours)
   ========================================================= */
.about-me { background: var(--seyza-sand); }
.about-me__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-4); align-items: center; }
.about-me__photo img { object-position: 50% 15%; }
.about-me__body p { max-width: 38rem; margin-bottom: 1rem; }

/* Points forts avec coche orange */
.values { display: grid; gap: .9rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; }
.values li { position: relative; padding-left: 2.1rem; }
.values li::before {
  content: "✓"; position: absolute; left: 0; top: .1em;
  display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--seyza-orange); color: var(--seyza-cream); font-size: .75rem; font-weight: 700;
}
.values strong { display: block; font-family: var(--font-main); font-size: .95rem; font-weight: 600; color: var(--seyza-burgundy); }

/* Bouton secondaire (contour) */
.btn--outline { background: transparent; color: var(--seyza-burgundy); box-shadow: inset 0 0 0 1.5px var(--seyza-burgundy); }
.btn--outline:hover { background: var(--seyza-burgundy); color: var(--seyza-cream); }


/* =========================================================
   11. Offres
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-3); }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  padding: 2rem; border-radius: 1.5rem;
  background: var(--seyza-paper); border: 1px solid rgba(68, 15, 23, .12);
  transition: background .35s, color .35s, border-color .35s, transform .35s, box-shadow .35s, opacity .8s ease;
}
.card h3 { font-size: 1.45rem; }

/* Image en tête de carte (déborde jusqu'aux bords) */
.card__media { margin: -2rem -2rem var(--space-3); overflow: hidden; aspect-ratio: 16 / 9; background: rgba(68, 15, 23, .08); }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }

.card__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: var(--space-3); }
.card__icon {
  flex: none; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 1rem;
  background: var(--seyza-orange); color: var(--seyza-cream);
  transition: transform .35s;
}
.card__icon svg { width: 1.7rem; height: 1.7rem; }
.card__tag {
  padding: .35rem .8rem; border: 1px solid rgba(68, 15, 23, .3); border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: right;
  color: var(--seyza-burgundy);
}

.card ul { display: grid; gap: .6rem; margin: var(--space-2) 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 1.4rem; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: .6rem; height: .6rem; border-radius: 50%; background: var(--seyza-orange);
}
.card__deliverable { margin-top: auto; padding-top: var(--space-2); border-top: 1px solid rgba(68, 15, 23, .15); font-size: .95rem; }

.card__link {
  margin-top: var(--space-2);
  font-family: var(--font-main); font-weight: 600; color: var(--seyza-orange); text-decoration: none;
}
.card__link span { display: inline-block; transition: transform .25s; }
.card__link:hover span { transform: translateX(6px); }

/* Survol : la carte passe en bordeaux */
.card:hover {
  background: var(--seyza-burgundy); border-color: var(--seyza-burgundy); color: var(--seyza-cream);
  transform: translateY(-8px); box-shadow: 0 24px 48px rgba(68, 15, 23, .25);
}
.card:hover h3 { color: var(--seyza-cream); }
.card:hover .card__tag { color: var(--seyza-cream); border-color: rgba(246, 241, 234, .4); }
.card:hover .card__deliverable { border-top-color: rgba(246, 241, 234, .2); }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card:hover .card__media img { transform: scale(1.06); }

.addons { margin-top: var(--space-4); text-align: center; color: var(--seyza-burgundy); }


/* =========================================================
   12. Audit express offert (encart orange)
   ========================================================= */
.section--tight { padding-top: 0; }

.audit {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 2rem;
  background: var(--seyza-orange); color: var(--seyza-cream);
}
.audit::after {   /* cercle pointillé décoratif */
  content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem;
  border: 1.5px dashed rgba(246, 241, 234, .35); border-radius: 50%; pointer-events: none;
}
.audit .eyebrow { color: var(--seyza-cream); opacity: .85; }
.audit h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--seyza-cream); }
.audit p { max-width: 34rem; font-size: 1.1rem; }

.audit__side { position: relative; z-index: 1; display: grid; justify-items: start; gap: 1.5rem; }
.audit__checks { display: grid; gap: .6rem; padding: 0; list-style: none; }
.audit__checks li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.audit__checks li::before {
  content: "✓"; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: rgba(246, 241, 234, .2); font-size: .8rem;
}
.audit__btn { background: var(--seyza-burgundy); font-family: var(--font-main); }
.audit__btn:hover { background: var(--seyza-cream); color: var(--seyza-burgundy); }


/* =========================================================
   13. FAQ (questions dépliables, sans JavaScript)
   ========================================================= */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-4); align-items: start; padding-top: 0; }

.faq__item { border-bottom: 1px solid rgba(68, 15, 23, .15); }
.faq__item:first-child { border-top: 1px solid rgba(68, 15, 23, .15); }

.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-main); font-size: 1.05rem; font-weight: 600; color: var(--seyza-burgundy);
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {   /* « + » qui devient « × » à l'ouverture */
  content: "+"; flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(243, 56, 10, .12); color: var(--seyza-orange); font-size: 1.3rem; font-weight: 400;
  transition: transform .3s, background .3s, color .3s;
}
.faq__item summary:hover { color: var(--seyza-orange); }
.faq__item summary:focus-visible { outline: 2px solid var(--seyza-orange); outline-offset: 4px; border-radius: .4rem; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--seyza-orange); color: var(--seyza-cream); }
.faq__item p { padding: 0 3rem 1.4rem 0; }


/* =========================================================
   14. Contact & pied de page
   ========================================================= */
.band h2 { color: var(--seyza-cream); }
.band p { margin-bottom: var(--space-3); font-size: 1.15rem; }
.band .band__loc { margin: var(--space-3) 0 0; font-size: .9rem; opacity: .7; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2);
  padding: 1.75rem var(--space-3);
  background: var(--seyza-burgundy); border-top: 1px solid rgba(246, 241, 234, .14);
  color: #fff;
}
.footer__logo { display: block; width: 9rem; height: auto; fill: #fff; }
.footer small { font-size: .85rem; opacity: .8; }

.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__links a {
  border-bottom: 1px solid transparent;
  font-size: .85rem; color: #fff; text-decoration: none; opacity: .8;
  transition: opacity .2s, color .2s, border-color .2s;
}
.footer__links a:hover,
.footer__links a:focus-visible { opacity: 1; color: var(--seyza-orange); border-bottom-color: currentColor; }
.footer__links a[aria-current="page"] { opacity: 1; border-bottom-color: rgba(255, 255, 255, .5); }


/* =========================================================
   15. Popup de contact
   ========================================================= */
body:has(dialog[open]) { overflow: hidden; }

.modal {
  width: min(34rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
  margin: auto;   /* centre le <dialog> (le reset global met margin à 0) */
  overflow-y: auto;
  padding: 2.5rem 2.5rem 2rem; border: 0; border-radius: 1.5rem;
  background: var(--seyza-cream); color: var(--seyza-charcoal);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
}
.modal[open] { animation: modalIn .45s var(--ease-out); }
.modal::backdrop { background: rgba(37, 35, 38, .6); backdrop-filter: blur(6px); animation: fadeIn .3s both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.modal h2 { margin-bottom: .4rem; font-size: clamp(1.8rem, 4vw, 2.3rem); }
.modal__intro { margin-bottom: 1.75rem; opacity: .75; }
.modal .btn:hover { background: var(--seyza-burgundy); color: var(--seyza-cream); }

.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(68, 15, 23, .08); color: var(--seyza-burgundy);
  font-size: 1.5rem; line-height: 1;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--seyza-burgundy); color: var(--seyza-cream); }

/* Champs */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--seyza-burgundy); }
.field label span { font-weight: 400; opacity: .6; }

.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid rgba(68, 15, 23, .18); border-radius: .8rem;
  background: var(--seyza-paper); color: var(--seyza-charcoal);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--seyza-orange); box-shadow: 0 0 0 4px rgba(243, 56, 10, .15);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23440F17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--seyza-orange); }

/* Piège à robots (honeypot) : invisible pour les humains */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Mention RGPD */
.modal__rgpd { margin: .25rem 0 1rem; font-size: .76rem; line-height: 1.5; color: rgba(37, 35, 38, .7); }
.modal__rgpd a { font-weight: 600; color: var(--seyza-burgundy); }
.modal__rgpd a:hover { color: var(--seyza-orange); }

.modal__submit {
  width: 100%; margin-top: .5rem; padding: 1rem; border: 0; cursor: pointer;
  font: inherit; font-family: var(--font-main); font-size: 1.05rem; font-weight: 700;
}
.modal__submit:disabled { opacity: .6; cursor: wait; transform: none; }
.modal__status { min-height: 1.4rem; margin-top: .9rem; text-align: center; font-size: .9rem; color: var(--seyza-orange); }

/* Écran de confirmation */
.modal__done { padding: 1.5rem 0 .5rem; text-align: center; }
.modal__done[hidden] { display: none; }
.modal__done p { margin: .5rem 0 1.75rem; opacity: .8; }
.modal__check {
  display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.25rem;
  border-radius: 50%; background: var(--seyza-orange); color: var(--seyza-cream);
  font-size: 1.8rem; font-weight: 700;
}


/* =========================================================
   16. Bouton WhatsApp flottant (aux couleurs de la charte)
   Le libellé se déplie au survol.
   ========================================================= */
.wa {
  position: fixed; z-index: 35; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; height: 3.6rem; padding: 0 1rem; border-radius: 999px;
  background: var(--seyza-orange); color: var(--seyza-cream); text-decoration: none;
  box-shadow: 0 14px 30px rgba(68, 15, 23, .35);
  animation: waPulse 2.8s ease-out infinite;
  transition: background .3s, transform .3s;
}
.wa svg { flex: none; width: 1.6rem; height: 1.6rem; fill: currentColor; }
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-family: var(--font-main); font-size: .85rem; font-weight: 600;
  transition: max-width .4s var(--ease-out), margin .4s var(--ease-out);
}
.wa:hover, .wa:focus-visible { background: var(--seyza-burgundy); transform: translateY(-3px); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 14rem; margin-left: .6rem; }
.wa:focus-visible { outline: 3px solid rgba(243, 56, 10, .45); outline-offset: 3px; }
@keyframes waPulse {
  0%       { box-shadow: 0 14px 30px rgba(68, 15, 23, .35), 0 0 0 0 rgba(243, 56, 10, .45); }
  70%, 100% { box-shadow: 0 14px 30px rgba(68, 15, 23, .35), 0 0 0 1rem rgba(243, 56, 10, 0); }
}


/* =========================================================
   17. Pages légales
   ========================================================= */
.legal-hero { padding: 9rem var(--space-3) 4rem; }
.legal-hero__inner { max-width: 48rem; margin: 0 auto; }
.legal-hero .eyebrow { color: var(--seyza-orange); }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; color: var(--seyza-cream); }
.legal-hero__date { margin-top: var(--space-2); font-size: .9rem; opacity: .7; }

.legal { max-width: 48rem; margin: 0 auto; padding: var(--space-4) var(--space-3) var(--space-5); }
.legal__intro { margin-bottom: var(--space-3); font-size: 1.1rem; }
.legal h2 {
  margin: var(--space-4) 0 var(--space-2); padding-top: var(--space-2);
  border-top: 1px solid rgba(68, 15, 23, .15);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}
.legal h3 { margin: var(--space-3) 0 .5rem; font-size: 1.02rem; }
.legal p, .legal ul { margin-bottom: var(--space-2); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal li::marker { color: var(--seyza-orange); }
.legal a { font-weight: 600; color: var(--seyza-burgundy); text-underline-offset: 3px; }
.legal a:hover { color: var(--seyza-orange); }

/* Tableau « intitulé / valeur » */
.legal__facts { display: grid; grid-template-columns: minmax(10rem, 14rem) 1fr; border-top: 1px solid rgba(68, 15, 23, .12); }
.legal__facts dt, .legal__facts dd { margin: 0; padding: .75rem 0; border-bottom: 1px solid rgba(68, 15, 23, .12); }
.legal__facts dt { padding-right: 1rem; font-weight: 600; color: var(--seyza-burgundy); }

/* Encadré « En bref » */
.legal__toc {
  margin: var(--space-3) 0; padding: 1.5rem 1.75rem; border-radius: 1.25rem;
  background: var(--seyza-paper); border: 1px solid rgba(68, 15, 23, .12);
}
.legal__toc strong { display: block; margin-bottom: .6rem; font-family: var(--font-main); color: var(--seyza-burgundy); }
.legal__toc ul { margin: 0; }

.legal__table { overflow-x: auto; margin-bottom: var(--space-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { padding: .75rem 1rem .75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(68, 15, 23, .12); }
.legal th { font-weight: 600; color: var(--seyza-burgundy); }

/* Champs à compléter : bien visibles tant qu'ils ne sont pas remplis */
mark.todo {
  padding: .05em .35em; border-radius: .3em; outline: 1px dashed rgba(243, 56, 10, .5);
  background: rgba(243, 56, 10, .12); color: var(--seyza-orange); font-weight: 600;
}


/* =========================================================
   18. Bandeau cookies (créé par consent.js)
   « Refuser » et « Accepter » ont volontairement le même poids visuel
   (exigence CNIL : refuser doit être aussi simple qu'accepter).
   ========================================================= */
.consent {
  position: fixed; z-index: 40; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: min(26rem, calc(100% - 2rem));
  padding: 1.4rem 1.5rem 1.25rem; border-radius: 1.25rem;
  background: var(--seyza-cream); color: var(--seyza-charcoal);
  border: 1px solid rgba(68, 15, 23, .12);
  box-shadow: 0 24px 60px rgba(20, 4, 8, .35);
  animation: fadeUp .5s var(--ease-out) both;
}
.consent[hidden] { display: none; }
.consent__title { margin-bottom: .4rem; font-family: var(--font-main); font-size: 1.05rem; font-weight: 700; color: var(--seyza-burgundy); }
.consent__text { margin-bottom: 1rem; font-size: .85rem; line-height: 1.55; }
.consent__text a { font-weight: 600; color: var(--seyza-burgundy); }
.consent__text a:hover { color: var(--seyza-orange); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent__btn {
  padding: .75rem 1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--seyza-burgundy); color: var(--seyza-cream);
  font: inherit; font-family: var(--font-main); font-size: .9rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.consent__btn--accept { background: var(--seyza-orange); }
.consent__btn:hover { transform: translateY(-2px); background: var(--seyza-charcoal); }
.consent__btn:focus-visible { outline: 3px solid rgba(243, 56, 10, .45); outline-offset: 2px; }

/* Lien « Gestion des cookies » du pied de page (c'est un bouton) */
.footer__cookies {
  padding: 0; border: 0; border-bottom: 1px solid transparent; cursor: pointer;
  background: none; color: #fff; font: inherit; font-size: .85rem; opacity: .8;
  transition: opacity .2s, color .2s, border-color .2s;
}
.footer__cookies:hover,
.footer__cookies:focus-visible { opacity: 1; color: var(--seyza-orange); border-bottom-color: currentColor; }


/* =========================================================
   19. Animations au défilement
   Les blocs .reveal sont masqués seulement si JavaScript est actif ;
   main.js ajoute .is-in quand ils entrent à l'écran.
   Décalage : data-delay="1" à "4" (par pas de 0,1 s).
   ========================================================= */
@media (scripting: enabled) {
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease, box-shadow .3s, border-color .3s, background .3s, color .3s;
    transition-delay: var(--d, 0s);
  }
  .reveal.is-in { opacity: 1; transform: none; }

  /* Le survol doit l'emporter sur l'état « apparu » */
  .card.is-in:hover  { transform: translateY(-8px); transition-delay: 0s; }
  .skill.is-in:hover { transform: translateY(-6px); transition-delay: 0s; }
  .ref.is-in:hover   { transform: translateY(-6px); transition-delay: 0s; }
}
[data-delay="1"] { --d: .1s; }
[data-delay="2"] { --d: .2s; }
[data-delay="3"] { --d: .3s; }
[data-delay="4"] { --d: .4s; }


/* =========================================================
   20. Responsive
   ========================================================= */
@media (max-width: 56rem) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }

  .hero { min-height: 0; padding: 7.5rem var(--space-2) 4rem; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-4); }
  .hv { margin: 0 auto; font-size: clamp(.62rem, 2.4vw, 1rem); }

  .method, .delivered { grid-template-columns: 1fr; gap: var(--space-3); }
  .photo { aspect-ratio: 4 / 3; }

  .refs { grid-template-columns: 1fr 1fr; }
  .about-me__inner, .audit, .faq { grid-template-columns: 1fr; gap: var(--space-3); }
}

@media (max-width: 40rem) {
  .section { padding: var(--space-4) var(--space-2); }
  .card__top { flex-direction: column; align-items: flex-start; }
  .card__tag { text-align: left; }

  .refs { grid-template-columns: 1fr; }
  .ref--featured { grid-column: auto; }
  .faq__item p { padding-right: 0; }
  .wa { right: 1rem; height: 3.2rem; padding: 0 .8rem; }

  .nav { padding-left: 1rem; }
  .brand { width: 6.5rem; }
  .nav > .btn { padding: .6rem 1rem; font-size: .82rem; }

  .legal-hero { padding: 7.5rem var(--space-2) 3rem; }
  .legal { padding: var(--space-3) var(--space-2) var(--space-4); }
  .legal__facts { grid-template-columns: 1fr; }
  .legal__facts dt { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 36rem) {
  .modal { padding: 2rem 1.4rem 1.5rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}


/* =========================================================
   21. Accessibilité : mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
