/* ==========================================================================
   CONVIVES — Site vitrine
   styles.css — Mobile-first
   ========================================================================== */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  /* Palette primaire */
  --cream:        #F4E9C2;
  --chocolate:    #AB9685;

  /* Palette secondaire */
  --taupe:        #A89B8A;
  --sand:         #E8DCC8;
  --cream-soft:   #FAF4DD;

  /* Neutres */
  --off-white:    #FAF6EE;
  --stone:        #B5AB99;
  --slate:        #4A463F;
  --ink:          #1F1A15;

  /* Accents */
  --ceramic:      #2D3E5C;
  --herb:         #4A6B3F;

  /* Typographie */
  --serif: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --sans:  'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Spacing (mobile-first) */
  --gutter: 1.25rem;
  --section-pad: 4rem;

  /* Animation curves */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 640px) {
  :root { --gutter: 2rem; --section-pad: 6rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 4rem; --section-pad: 8rem; }
}
@media (min-width: 1440px) {
  :root { --gutter: 5rem; --section-pad: 10rem; }
}

/* ============================================
   2. RESET + BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@media (min-width: 1024px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }

button { cursor: pointer; font-family: inherit; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

/* Grain papier subtil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.65 0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   3. TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  display: inline-block;
}
@media (min-width: 640px) { .eyebrow { font-size: 0.7rem; } }

/* ============================================
   4. LAYOUT
   ============================================ */
.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   5. ANIMATIONS
   ============================================ */
@keyframes wipeReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.fade-up { animation: fadeInUp 1s var(--ease-out) both; }
.fade-up-1 { animation: fadeInUp 1s var(--ease-out) 1.6s both; }
.fade-up-2 { animation: fadeInUp 1s var(--ease-out) 1.9s both; }
.fade-up-3 { animation: fadeInUp 1s var(--ease-out) 2.2s both; }

/* Reveal on scroll (handled by JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   6. BOUTONS / CTA dynamiques
   ============================================ */
.btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}

.btn:hover { color: var(--cream); border-color: var(--ink); opacity: 1; }
.btn:hover::before { transform: translateX(0); }

.btn > * { position: relative; z-index: 1; }

.btn-arrow {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s var(--ease-out);
}
.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn-arrow { width: 28px; }

/* Variant : primaire (fond plein) */
.btn--primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--primary::before { background: var(--slate); }

/* Variant : ghost (sur fond sombre) */
.btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }

/* Variant : link */
.btn-link {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-link:hover { gap: 0.9rem; opacity: 1; }

/* ============================================
   7. NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--off-white) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.nav.scrolled {
  border-bottom-color: rgba(74, 70, 63, 0.15);
  padding: 0.8rem var(--gutter);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 2.2rem;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

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

.nav-links a {
  position: relative;
  padding: 0.3rem 0;
  color: var(--slate);
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease-out);
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}
.nav-cta:hover { color: var(--cream); opacity: 1; }
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

@media (min-width: 880px) { .nav-cta { display: inline-block; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 880px) { .nav-toggle { display: none; } }

/* Menu mobile */
.nav-mobile {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--off-white);
  z-index: 90;
  padding: 3rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.nav-mobile.active { opacity: 1; pointer-events: auto; transform: translateY(0); }

.nav-mobile a {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(74, 70, 63, 0.1);
  padding-bottom: 1rem;
}

@media (min-width: 880px) { .nav-mobile { display: none; } }

/* ============================================
   8. HERO
   ============================================ */
.hero {
  aspect-ratio: 16 / 9;
  min-height: 540px;
  padding: 6rem var(--gutter) 3rem;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--chocolate);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -12px;
  background-image: url('assets/photos/tablier-site.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 21, 0.28);
  z-index: 1;
}

.hero-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  gap: 2.5rem;
}

.hero-logo {
  width: clamp(200px, 32vw, 320px);
  height: auto;
}

.hero-baseline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  color: var(--cream);
  max-width: 640px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.hero-meta {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.6;
  z-index: 2;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 640px) { .hero-meta { font-size: 0.7rem; } }

/* ============================================
   9. SECTION GENERIC
   ============================================ */
.section {
  padding: var(--section-pad) 0;
}

.section--alt { background: var(--cream-soft); }
.section--dark { background: var(--chocolate); color: var(--cream); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark .eyebrow { color: var(--taupe); }
.section--dark p { color: rgba(244, 233, 194, 0.8); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-head { grid-template-columns: 80px 1fr; gap: 3rem; margin-bottom: 4rem; }
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--taupe);
  border-top: 1px solid var(--taupe);
  padding-top: 0.4rem;
  width: fit-content;
}

.section-head .eyebrow { margin-bottom: 0.8rem; }
.section-head h2 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.section-head h2 em { color: var(--taupe); }
.section-head--dark h2 em { color: var(--cream); }
.section-head p {
  max-width: 580px;
  font-size: 0.95rem;
}

/* ============================================
   10. EXPÉRIENCE / À PROPOS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-photo {
  aspect-ratio: 4/5;
  background: var(--sand);
  background-size: cover;
  background-position: center;
  background-image: var(--about-bg, none);
  position: relative;
}

.about-photo::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.5;
  text-align: center;
  padding: 1rem;
}

.about-photo[style*="background-image"]::after { display: none; }

.about-text h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.about-text h2 em { color: var(--taupe); }

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

/* ============================================
   11. PRESTATIONS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--stone);
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid > .service:nth-child(2n) { border-left: 1px solid var(--stone); }
}

.service {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
  transition: background 0.4s var(--ease-out);
}

@media (min-width: 768px) {
  .service { padding: 3rem 2.5rem; grid-template-columns: 50px 1fr; gap: 1.5rem; }
}

.service:hover { background: var(--cream-soft); }

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--taupe);
}

.service-content h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
@media (min-width: 768px) { .service-content h3 { font-size: 1.6rem; } }

.service-content p {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 1rem;
}

.service-meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================
   12. INSPIRATIONS / GALERIE
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px;
    gap: 0.8rem;
  }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-rows: 360px 360px; }
}

.gallery-item {
  background: var(--sand);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

@media (min-width: 768px) {
  .gallery-item { aspect-ratio: auto; }
  .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .gallery-item:nth-child(2) { grid-column: 3; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 3; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 4; grid-row: 1 / 3; }
}

.gallery-item::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.5;
  text-align: center;
  padding: 1rem;
  z-index: 1;
}

.gallery-item[style*="background-image"]::before { display: none; }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 26, 21, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; }

/* ============================================
   13. ZONE GÉOGRAPHIQUE
   ============================================ */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .zone-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.zone-text h3 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.zone-text h3 em { color: var(--taupe); }

.zone-text ul {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.zone-text li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--slate);
  padding-left: 1.2rem;
  border-left: 1px solid var(--taupe);
}

.zone-map {
  width: 100%;
  aspect-ratio: 1;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.zone-map svg { width: 100%; height: 100%; display: block; }

/* ============================================
   14. TÉMOIGNAGES
   ============================================ */
.testimonial {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1.5rem;
  transition: opacity 0.3s var(--ease-out);
}

.testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  transition: opacity 0.3s var(--ease-out);
}

.testimonial-nav {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.testimonial-nav button {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.45;
  background: transparent;
  border: 0;
  padding: 0.4rem 0;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s var(--ease-out);
}

.testimonial-nav button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}

.testimonial-nav button:hover { opacity: 0.8; }

.testimonial-nav button.active {
  opacity: 1;
}
.testimonial-nav button.active::after { transform: scaleX(1); }

/* ============================================
   15. CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}

.contact-intro h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 300;
  margin: 1rem 0 1.5rem;
}
.contact-intro h2 em { color: var(--taupe); }

.contact-info {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--stone);
  padding-top: 1.5rem;
}

.contact-info-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.contact-info-row a {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.contact-info-row a:hover { border-color: var(--ink); opacity: 1; }

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.field {
  position: relative;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 1.1rem 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}

.field textarea { resize: vertical; min-height: 100px; padding-top: 1.4rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--ink);
}

.field label {
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--taupe);
  pointer-events: none;
  transition: top 0.3s var(--ease-out), font-size 0.3s var(--ease-out), color 0.3s var(--ease-out), letter-spacing 0.3s var(--ease-out);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -2px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1 L6 6 L11 1' fill='none' stroke='%234A463F' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.form-feedback {
  display: none;
  padding: 1rem;
  background: var(--cream-soft);
  border-left: 2px solid var(--herb);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}
.form-feedback.show { display: block; }
.form-feedback.error { border-left-color: var(--ceramic); }

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
  background: var(--chocolate);
  color: var(--cream);
  padding: 5rem var(--gutter) 2rem;
}

.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; } }

.footer-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--cream);
}

.footer-tag {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.2rem;
  opacity: 0.6;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.92rem;
  color: var(--cream);
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 233, 194, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 1rem;
}
