/* ============================================================
   Le Salon Emmen — styles
   Palette: warm cream + champagne accent
   Type: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

:root {
  --bg: #FAF7F2;
  --bg-alt: #FFFDF9;
  --tint: #F3EBE1;
  --accent: #C9A27E;
  --accent-dark: #B08858;
  --secondary: #E8D8CA;
  --text: #2F2A26;
  --subtext: #756B63;
  --white: #FFFFFF;
  --line: #E7DDD1;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px -28px rgba(90, 66, 42, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(90, 66, 42, 0.4);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Eyebrow / small caps utility */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--accent);
}
.btn-secondary:hover { background: var(--secondary); border-color: var(--accent-dark); }

.btn-sm { --btn-pad-y: 0.6rem; --btn-pad-x: 1.15rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--subtext);
  margin-top: 0.3rem;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.6px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
}
.mobile-nav ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a {
  display: block;
  padding: 0.95rem 0;
  text-decoration: none;
  font-size: 1.05rem;
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -18%; right: -12%;
  width: 55vw; height: 55vw;
  max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at center,
              rgba(201, 162, 126, 0.28), rgba(232, 216, 202, 0.12) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  font-weight: 500;
  margin: 0.4rem 0 1.4rem;
  max-width: 15ch;
}
.hero-text h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}
.lead {
  font-size: 1.12rem;
  color: var(--subtext);
  max-width: 46ch;
  margin: 0 0 2.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.3rem;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--subtext);
}
.trust-row li {
  position: relative;
  padding-left: 1.2rem;
}
.trust-row li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hero media */
.hero-media { position: relative; }
.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: -1.4rem; bottom: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.hero-badge-line {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.hero-badge-sub {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtext);
  margin-top: 0.35rem;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tint { background: var(--tint); }

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-intro {
  color: var(--subtext);
  font-size: 1.08rem;
  margin: 1rem 0 0;
}

/* Over */
.over-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.over-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.over-media img { width: 100%; height: 100%; object-fit: cover; }
.over-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.4rem;
}
.over-text p { margin: 0 0 1.15rem; color: var(--subtext); }
.over-text p.signature {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-dark);
  margin-top: 1.8rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--accent-dark);
  margin-bottom: 1.3rem;
}
.card-mark svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.card p { margin: 0; color: var(--subtext); font-size: 0.98rem; }

.section-cta {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
}
.section-cta p {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text);
  margin: 0 0 1.3rem;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.why-item {
  text-align: center;
  padding: 1rem 0.5rem;
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  margin-bottom: 1.2rem;
}
.why-icon svg { width: 30px; height: 30px; }
.why-item h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.why-item p { margin: 0; color: var(--subtext); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.contact-intro > p { color: var(--subtext); max-width: 42ch; }

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-card-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
}
.contact-card address {
  font-style: normal;
  color: var(--subtext);
  margin-bottom: 1.3rem;
}
.contact-details {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
}
.contact-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.15rem;
}
.contact-details dd { margin: 0; font-size: 1.05rem; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--secondary); }
.contact-details a:hover { border-bottom-color: var(--accent); }
.contact-card-actions { display: flex; gap: 0.7rem; }

.map-placeholder {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 130px;
  border-radius: var(--radius);
  border: 1px dashed var(--accent);
  background:
    linear-gradient(135deg, rgba(232,216,202,0.35), rgba(201,162,126,0.12));
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}
.map-placeholder svg { width: 28px; height: 28px; }

/* Form */
.contact-form-wrap {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-lead {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  margin: 0 0 1.6rem;
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtext);
  margin-bottom: 0.45rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 126, 0.18);
}
.form-message {
  margin: 1.2rem 0 0;
  padding: 0.95rem 1.1rem;
  border-radius: 10px;
  background: var(--secondary);
  color: var(--text);
  font-size: 0.95rem;
  border-left: 3px solid var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #EDE3D6;
  color: var(--text);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  display: block;
  line-height: 1;
}
.footer-brand .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--subtext);
  display: block;
  margin-top: 0.3rem;
}
.footer-tag {
  margin: 1.1rem 0 0;
  color: var(--subtext);
  max-width: 34ch;
  font-size: 0.98rem;
}
.footer-nav h2,
.footer-contact h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1.1rem;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.footer-nav a {
  text-decoration: none;
  color: var(--subtext);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--text); }
.footer-contact address {
  font-style: normal;
  color: var(--subtext);
  line-height: 1.9;
}
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--accent-dark); }

.footer-bottom {
  border-top: 1px solid rgba(117, 107, 99, 0.25);
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--subtext);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-badge { left: 0.5rem; }

  .over-grid { grid-template-columns: 1fr; }
  .over-media { order: -1; max-width: 460px; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions .btn,
  .mobile-nav-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .contact-card-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 1rem; left: 0; align-self: flex-start; display: inline-flex; }
}
