/* ============================================================
   Uaïna House — location-seignosse.fr
   Palette : océan (bleu profond) + sable + terracotta
   ============================================================ */

:root {
  --ocean: #0b4d5e;
  --ocean-dark: #063844;
  --sand: #f5efe3;
  --sand-deep: #e8dcc4;
  --terracotta: #c86b4a;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #7a7a7a;
  --line: #e4dccb;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 50, 0.06), 0 2px 8px rgba(10, 40, 50, 0.04);
  --shadow-md: 0 6px 24px rgba(10, 40, 50, 0.10);

  --max: 1120px;
  --pad: clamp(1rem, 2.5vw, 2rem);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 239, 227, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ocean-dark);
  font-family: var(--font-serif);
  font-weight: 600;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--sand);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}
.brand-name { font-size: 1.15rem; }

.site-nav {
  display: flex;
  gap: 1.75rem;
}
.site-nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--ocean); text-decoration: none; }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

/* -------- CTAs -------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cta-primary {
  background: var(--ocean);
  color: var(--sand);
}
.cta-primary:hover { background: var(--ocean-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.cta-ghost {
  background: transparent;
  color: var(--ocean-dark);
  border-color: var(--ocean-dark);
}
.cta-ghost:hover { background: var(--ocean-dark); color: var(--sand); text-decoration: none; }
.cta-link {
  color: var(--ocean-dark);
  background: transparent;
  padding: 0.75rem 0.2rem;
}
.cta-link:hover { color: var(--terracotta); text-decoration: none; }
.cta-large {
  padding: 1rem 1.6rem;
  font-size: 1rem;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  color: var(--sand);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(6, 56, 68, 0.85), rgba(11, 77, 94, 0.7)),
    radial-gradient(circle at 80% 20%, rgba(200, 107, 74, 0.3), transparent 60%),
    linear-gradient(180deg, #0b4d5e 0%, #063844 100%);
}
.hero-content { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0 0 0.75rem;
}
.hero .eyebrow { color: #f0c7a8; }

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(245, 239, 227, 0.9);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  align-items: center;
}
.hero-actions .cta-link { color: #f0c7a8; }
.hero-actions .cta-link:hover { color: var(--terracotta); }

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 2rem;
  border-top: 1px solid rgba(245, 239, 227, 0.2);
  padding-top: 1.5rem;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sand);
}
.hero-stats span {
  font-size: 0.85rem;
  color: rgba(245, 239, 227, 0.75);
  margin-top: 2px;
}

/* -------- Sections -------- */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ocean-dark);
  margin: 0 0 1.2rem;
  max-width: 24ch;
}
.section p { color: var(--ink-soft); }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.two-col-reverse > :first-child { order: 2; }
.two-col-reverse > :last-child  { order: 1; }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col-reverse > :first-child { order: 0; }
  .two-col-reverse > :last-child { order: 0; }
}

/* Card */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.card-highlight {
  background: linear-gradient(160deg, var(--white) 0%, var(--sand-deep) 100%);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ocean-dark);
  margin: 0 0 1.25rem;
}
.facts {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--line);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: 0.92rem; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Features grid */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }

.feature {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ocean-dark);
  margin: 0 0 0.5rem;
}
.feature p { margin: 0; font-size: 0.96rem; }

.bullets {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.bullets li { margin: 0.4rem 0; }

/* Map */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.map-link {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--ocean-dark);
  background: var(--sand);
  border-top: 1px solid var(--line);
}

/* CTA section */
.section-cta {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: var(--sand);
  text-align: center;
}
.section-cta h2 { color: var(--sand); margin-left: auto; margin-right: auto; }
.section-cta p { color: rgba(245, 239, 227, 0.85); max-width: 50ch; margin: 0 auto 2rem; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}
.cta-row .cta-link { color: #f0c7a8; }

/* Footer */
.site-footer {
  background: var(--sand-deep);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-inner p { margin: 0; }
.muted { color: var(--muted); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
