/* ==========================================================================
   Taggy — feuille de style unique (vanilla CSS, aucun build)
   Direction artistique « Premium Hospitality » : élégance sobre inspirée de
   l'hôtellerie haut de gamme. Beaucoup d'espace négatif, serif éditoriale,
   filets laiton, ombres douces. Le tag produit est le héros visuel.
   Palette : ivoire #FAF7F2 · sable #EFE8DC · espresso #2E2620 ·
             terracotta doux #B4694A · laiton #A08C6E
   Typos : Cormorant Garamond (display serif) · Mulish (texte & UI)
   ========================================================================== */

/* ---------- Variables & base ---------- */
:root {
  --ivory: #faf7f2;        /* fond principal */
  --sand: #efe8dc;         /* sections alternées, cartes */
  --espresso: #2e2620;     /* texte, section entreprises, footer */
  --ink: #35302a;          /* texte courant */
  --muted: #6f6559;        /* texte secondaire */
  --accent: #b4694a;       /* terracotta doux — accents & liens */
  --brass: #a08c6e;        /* laiton — filets, eyebrows, détails */

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Mulish", ui-sans-serif, system-ui, sans-serif;

  --hairline: 1px solid rgba(160, 140, 110, 0.35);

  --shadow-soft: 0 6px 24px rgba(46, 38, 32, 0.07);
  --shadow-med: 0 12px 40px rgba(46, 38, 32, 0.1);
  --shadow-deep: 0 24px 60px -12px rgba(46, 38, 32, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Dégage la hauteur de la pilule flottante (24px + hauteur + marge) */
  padding-top: 7rem;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--sand);
}

section[id] {
  scroll-margin-top: 7rem;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

/* Mot accentué dans les titres : italique serif terracotta */
h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Conteneurs ---------- */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  max-width: 46rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ---------- Icônes (usage limité : burger, logos sociaux) ---------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.icon--20 {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s,
    box-shadow 0.25s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--accent);
  box-shadow: var(--shadow-med);
}

.btn--secondary {
  background: transparent;
  color: var(--espresso);
  border-color: rgba(46, 38, 32, 0.35);
}

.btn--secondary:hover {
  border-color: var(--espresso);
  background: rgba(46, 38, 32, 0.04);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.6875rem;
}

.btn--lg {
  padding: 1.0625rem 2.25rem;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--espresso);
  text-decoration: none;
  user-select: none;
}

.wordmark span {
  color: var(--accent);
}

.wordmark--light {
  color: var(--ivory);
}

a.wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ---------- Header : pilule flottante, fixe et centrée ---------- */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1100px;
  z-index: 50;
  background: #fffdf9;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s, border-radius 0.3s;
}

.header.is-scrolled {
  box-shadow: var(--shadow-med);
}

/* Menu mobile ouvert : la pilule se déploie en panneau arrondi */
.header.is-open {
  border-radius: 28px;
}

.header__bar {
  display: flex;
  height: 4.25rem;
  align-items: center;
  justify-content: space-between;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-desktop > a:not(.btn) {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-desktop > a:not(.btn):hover {
  color: var(--accent);
}

.nav-desktop > a:not(.btn):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.burger {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  transition: background-color 0.2s;
}

.burger:hover {
  background: var(--sand);
}

.burger:focus-visible {
  outline: 2px solid var(--accent);
}

.header .icon-close {
  display: none;
}

.header.is-open .icon-menu {
  display: none;
}

.header.is-open .icon-close {
  display: block;
}

.nav-mobile {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: var(--ivory);
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.header.is-open .nav-mobile {
  max-height: 24rem;
  opacity: 1;
  border-top: var(--hairline);
}

.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.75rem;
}

.nav-mobile__inner > a:not(.btn) {
  padding: 0.875rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: var(--hairline);
  transition: color 0.2s;
}

.nav-mobile__inner > a:not(.btn):hover {
  color: var(--accent);
}

.nav-mobile__cta {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .burger,
  .nav-mobile {
    display: none;
  }
}

/* ---------- Eyebrow : petites capitales + filet laiton ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  border-top: 1px solid var(--brass);
}

.eyebrow--dark {
  color: rgba(250, 247, 242, 0.6);
}

.eyebrow--dark::before {
  border-color: rgba(250, 247, 242, 0.4);
}

/* Eyebrow centré dans les en-têtes centrés */
.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 2.5rem;
  border-top: 1px solid var(--brass);
}

.section-head--center.section-head--dark .eyebrow::after {
  border-color: rgba(250, 247, 242, 0.4);
}

/* ---------- Sections ---------- */
.section {
  padding: 6.5rem 0;
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--espresso);
}

@media (min-width: 768px) {
  .section {
    padding: 8.5rem 0;
  }
}

.section-head {
  max-width: 44rem;
  margin-bottom: 3.75rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--espresso);
  text-wrap: balance;
}

.section-head__subtitle {
  margin: 1.375rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-head--dark .section-head__title {
  color: var(--ivory);
}

.section-head--dark .section-head__title em {
  color: #d8a284;
}

.section-head--dark .section-head__subtitle {
  color: rgba(250, 247, 242, 0.7);
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 5rem;
  }
}

/* ---------- Hero ----------
   Le body porte déjà 7rem de padding-top (dégagement de la pilule) ; on
   complète ici pour retrouver le même espace visuel qu'avant. */
.hero {
  padding: 2rem 0 5rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 4.5rem 0 7.5rem;
  }
}

.hero__grid {
  display: grid;
  gap: 4.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.875rem, 6.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--espresso);
  text-wrap: balance;
}

.hero__subtitle {
  margin: 1.75rem 0 0;
  max-width: 33rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
    align-items: center;
  }
}

.hero__stat {
  margin: 3rem 0 0;
  padding-top: 1.75rem;
  border-top: var(--hairline);
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
}

/* Visuel hero : photo + mockup du tag en avant ----------
   Mobile : composition empilée (photo, tag centré à cheval, carte d'état).
   Desktop : tag et carte posés en absolu sur la photo. */
.hero__visual {
  position: relative;
}

/* PLACEHOLDER visuel — la photo est un placeholder Unsplash */
.hero__photo {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-med);
}

@media (min-width: 1024px) {
  .hero__visual {
    padding: 0 0 3.5rem 2.5rem;
  }

  .hero__photo {
    height: 34rem;
  }
}

/* ---------- Mockup produit : le tag Taggy ---------- */
.tag-card {
  width: 15rem;
  background: #fffdf9;
  border: 1px solid rgba(160, 140, 110, 0.25);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-deep);
  --qr-paper: #fffdf9;
}

/* Dans le hero : posé devant la photo, légère perspective */
.hero__visual .tag-card {
  position: relative;
  margin: -9rem auto 0;
  transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.4s ease-out;
}

.hero__visual .tag-card:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

@media (min-width: 1024px) {
  .hero__visual .tag-card {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
  }
}

.tag-card__slot {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 2.75rem;
  height: 0.5rem;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--sand);
  box-shadow: inset 0 1px 2px rgba(46, 38, 32, 0.18);
}

.tag-card__qr {
  width: 100%;
  height: auto;
  color: var(--espresso);
}

.tag-card__id {
  margin: 1.125rem 0 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--espresso);
}

.tag-card__url {
  margin: 0.25rem 0 0.875rem;
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: var(--hairline);
  padding-bottom: 0.875rem;
}

.tag-card__scan {
  margin: 0;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Version « produit » : posée à plat, présentée seule */
.tag-card--flat {
  position: relative;
  width: 17rem;
  margin-inline: auto;
  padding-top: 2.75rem;
  box-shadow: var(--shadow-med);
}

/* Carte d'état « Mode Perdu » ---------- */
.lost-card {
  margin: 1.25rem 0 0 auto;
  width: 14.5rem;
  background: #fffdf9;
  border: 1px solid rgba(160, 140, 110, 0.25);
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  box-shadow: var(--shadow-med);
}

.lost-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lost-card__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lost-card__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--espresso);
}

.lost-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .hero__visual .lost-card {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
    margin: 0;
  }
}

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  gap: 2.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  border-top: var(--hairline);
  padding-top: 1.75rem;
}

.step__num {
  display: block;
  margin-bottom: 1.125rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.step__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
}

.step__text {
  margin: 0.625rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Produit ---------- */
.product {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .product {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5.5rem;
  }
}

.product .section-head {
  margin-bottom: 2.75rem;
}

.features {
  display: grid;
  gap: 1.75rem 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  border-top: var(--hairline);
  padding-top: 1.375rem;
}

.feature__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--espresso);
}

.feature__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Entreprises ---------- */
/* PLACEHOLDER visuel — la photo est un placeholder Unsplash */
.biz-photo {
  position: relative;
  margin: 0 0 3.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-med);
}

.biz-photo img {
  width: 100%;
  height: 17rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .biz-photo img {
    height: 22rem;
  }
}

/* Voile espresso pour intégrer la photo à la section */
.biz-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 38, 32, 0.45),
    rgba(46, 38, 32, 0.05)
  );
}

.biz-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.biz-card {
  height: 100%;
  background: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.12);
  border-radius: 1rem;
  padding: 2rem 2.25rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.biz-card:hover {
  background: rgba(250, 247, 242, 0.08);
  border-color: rgba(250, 247, 242, 0.22);
}

.biz-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
}

.biz-card__text {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.7);
}

/* Stats : grand chiffre serif + petit label, sobre */
.biz-stats {
  display: grid;
  gap: 2.5rem;
  margin: 4.5rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
}

@media (min-width: 640px) {
  .biz-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
  }
}

.biz-stats__item {
  display: flex;
  flex-direction: column;
}

.biz-stats__item dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
}

.biz-stats__item dt {
  order: 2;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 242, 0.6);
}

.biz-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  text-align: center;
}

.biz-cta .btn--primary {
  background: var(--ivory);
  color: var(--espresso);
}

.biz-cta .btn--primary:hover {
  background: var(--accent);
  color: var(--ivory);
}

.biz-cta__note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(250, 247, 242, 0.6);
}

/* ---------- Témoignages ---------- */
.testimonials {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tcard {
  display: flex;
  height: 100%;
  flex-direction: column;
  margin: 0;
  background: #fffdf9;
  border: 1px solid rgba(160, 140, 110, 0.22);
  border-radius: 1rem;
  padding: 2.25rem 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.tcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-med);
}

.tcard blockquote {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--espresso);
}

.tcard figcaption {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: var(--hairline);
}

.tcard__name {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
}

.tcard__role {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--hairline);
}

.faq-item {
  border-bottom: var(--hairline);
}

.faq-item h3 {
  margin: 0;
}

.faq-item__btn {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.5rem 0.25rem;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--espresso);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item__btn:hover {
  color: var(--accent);
}

.faq-item__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--brass);
  width: 2.25rem;
  flex-shrink: 0;
}

.faq-item__q {
  flex: 1;
}

.faq-item__plus {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.is-open .faq-item__plus {
  transform: rotate(45deg);
}

/* Transition fluide via grid-template-rows 0fr -> 1fr */
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__panel > div {
  overflow: hidden;
}

.faq-item__panel p {
  margin: 0;
  padding: 0 2.5rem 1.75rem 3.75rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-form {
  background: #fffdf9;
  border: 1px solid rgba(160, 140, 110, 0.22);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 3rem;
  }
}

.contact-form__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
}

.field__optional {
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

.field__input {
  width: 100%;
  border: 1px solid rgba(160, 140, 110, 0.35);
  border-radius: 0.625rem;
  background: var(--ivory);
  padding: 0.8125rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder {
  color: rgba(111, 101, 89, 0.55);
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 105, 74, 0.15);
}

.field__input--textarea {
  resize: vertical;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.contact-form__actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .contact-form__actions .btn {
    width: auto;
  }
}

.contact-form__note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Confirmation après « envoi » (maquette) */
.contact-success {
  display: none;
  background: #fffdf9;
  border: 1px solid rgba(160, 140, 110, 0.22);
  border-radius: 1.25rem;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.contact-success p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--espresso);
}

#contact-zone.is-sent .contact-form {
  display: none;
}

#contact-zone.is-sent .contact-success {
  display: block;
}

.contact-email {
  margin: 2.25rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.contact-email a {
  color: var(--espresso);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 0.125rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: rgba(250, 247, 242, 0.72);
}

.footer__inner {
  padding: 4.5rem 0 3rem;
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__tagline {
  margin: 1rem 0 0;
  max-width: 18rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.8);
}

.footer__madein {
  margin: 1.25rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.45);
}

.footer__title {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.45);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav a {
  font-size: 0.9375rem;
  color: rgba(250, 247, 242, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #d8a284;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 247, 242, 0.25);
  border-radius: 50%;
  color: var(--ivory);
  transition: border-color 0.25s, background-color 0.25s;
}

.social:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__copyright {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.45);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__legal a {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--ivory);
}

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s cubic-bezier(0, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__visual .tag-card,
  .tcard,
  .btn {
    transition: none;
  }
}
