/* ============================================================
   L'Escale du Lac — Feuille de style principale
   ============================================================ */

/* ── Variables ── */
:root {
  --lac:      #1B4F72;
  --lac-mid:  #2E86C1;
  --lac-pale: #D6EAF8;
  --or:       #C9A84C;
  --or-light: #E8C96A;
  --blanc:    #FAFAF8;
  --gris:     #F4F2EE;
  --gris-mid: #E5E2DB;
  --texte:    #1a2530;
  --texte-d:  #5a6a78;
  --radius:   4px;
  --shadow:   0 2px 20px rgba(27,79,114,0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--lac);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 300;
  color: #fff; letter-spacing: 1px;
}
.logo-escale { font-style: italic; }
.logo-lac { color: var(--or-light); }

.main-nav ul {
  display: flex; align-items: center; gap: 0.25rem;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.3px;
  padding: 0.4rem 0.9rem; border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.main-nav a.active { color: var(--or-light); }

.btn-nav-pro {
  display: flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,0.2) !important;
  border: 1px solid rgba(201,168,76,0.5);
  color: var(--or-light) !important;
  font-size: 0.8rem !important;
  padding: 0.35rem 0.9rem !important;
  margin-left: 0.5rem;
  transition: background 0.2s !important;
}
.btn-nav-pro:hover { background: rgba(201,168,76,0.35) !important; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: transform 0.2s;
}

/* ── Sections communes ── */
.section-label {
  font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--or); font-family: var(--font-body); font-weight: 500;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300; color: var(--lac);
  line-height: 1.2; margin-bottom: 0.75rem;
}
.section-title em { font-style: italic; color: var(--or); }
.section-intro {
  color: var(--texte-d); font-size: 1rem; max-width: 560px;
  line-height: 1.75; margin-bottom: 3rem;
}
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }
.text-center { text-align: center; }

section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.bg-gris { background: var(--gris); }
.bg-lac  { background: var(--lac); }

/* ── Hero ── */
.hero {
  background: var(--lac);
  padding: 7rem 2rem 8rem;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--blanc);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--or-light);
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300; color: #fff; line-height: 1.15; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--or-light); }
.hero-desc {
  color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.8;
  margin-bottom: 2.5rem; max-width: 420px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Boutons ── */
.btn-primary {
  display: inline-block;
  background: var(--or); color: #fff;
  padding: 0.8rem 2rem; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--or-light); color: var(--lac); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 0.8rem 2rem; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

.btn-lac {
  display: inline-block;
  background: var(--lac); color: #fff;
  padding: 0.8rem 2rem; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}
.btn-lac:hover { background: var(--lac-mid); }

/* ── Hero visuel ── */
.hero-visual {
  display: flex; flex-direction: column; gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-card-icon {
  font-size: 1.8rem; width: 52px; height: 52px;
  background: rgba(201,168,76,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-card h3 { color: #fff; font-size: 0.95rem; font-weight: 400; margin-bottom: 0.2rem; }
.hero-card p  { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ── Cartes valeurs ── */
.valeurs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.valeur-card {
  background: #fff; border: 1px solid var(--gris-mid);
  border-radius: 8px; padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.valeur-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.valeur-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lac-pale); color: var(--lac);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.valeur-card h3 { font-size: 1rem; color: var(--lac); margin-bottom: 0.5rem; font-weight: 500; }
.valeur-card p  { font-size: 0.85rem; color: var(--texte-d); line-height: 1.7; }

/* ── Grille services ── */
.services-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.service-bloc {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gris-mid); box-shadow: var(--shadow);
}
.service-bloc-header {
  background: var(--lac); padding: 1.75rem 2rem;
}
.service-bloc-header .eyebrow {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 0.35rem;
}
.service-bloc-header h2 {
  font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 300; color: #fff;
}
.service-bloc-body { padding: 1.75rem 2rem; }
.service-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.65rem 0; border-bottom: 1px solid var(--gris-mid);
}
.service-item:last-child { border-bottom: none; }
.service-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--or); margin-top: 9px; flex-shrink: 0;
}
.service-item-text strong { display: block; font-size: 0.9rem; color: var(--texte); font-weight: 500; }
.service-item-text span   { font-size: 0.8rem; color: var(--texte-d); }

/* ── Grille biens ── */
.biens-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.bien-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gris-mid); box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bien-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(27,79,114,0.12); }
.bien-img {
  height: 180px; background: var(--lac-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.bien-img img { width: 100%; height: 100%; object-fit: cover; }
.bien-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--or); color: #fff;
  font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 20px;
}
.bien-info { padding: 1.25rem 1.5rem; }
.bien-info h3 { font-size: 1.1rem; color: var(--lac); margin-bottom: 0.3rem; }
.bien-loc { font-size: 0.8rem; color: var(--texte-d); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 4px; }
.bien-features {
  display: flex; gap: 0.75rem; margin-bottom: 0.75rem;
  font-size: 0.78rem; color: var(--texte-d);
}
.bien-prix { font-size: 1rem; color: var(--or); font-weight: 500; }

/* ── Témoignages ── */
.temoignages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.temo-card {
  background: #fff; border-radius: 8px; padding: 2rem;
  border-left: 3px solid var(--or);
  box-shadow: var(--shadow);
}
.temo-stars { color: var(--or); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.temo-text { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--texte); line-height: 1.75; margin-bottom: 1.25rem; }
.temo-author strong { font-size: 0.9rem; color: var(--lac); font-weight: 500; }
.temo-author span   { font-size: 0.8rem; color: var(--texte-d); display: block; }

/* ── Formulaire contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: #fff; }
.contact-info p  { color: rgba(255,255,255,0.72); margin-bottom: 2rem; }
.contact-detail  { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.contact-detail svg { flex-shrink: 0; opacity: 0.6; }

.form-card {
  background: #fff; border-radius: 10px; padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--texte); margin-bottom: 0.4rem; letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid var(--gris-mid); border-radius: var(--radius);
  font-size: 0.9rem; font-family: var(--font-body); color: var(--texte);
  background: var(--blanc);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lac-mid);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; padding: 1rem; font-size: 0.9rem; }

/* ── Espace propriétaire ── */
.login-page {
  min-height: calc(100vh - 68px);
  background: var(--gris);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.login-card {
  background: #fff; border-radius: 12px; padding: 3rem;
  width: 100%; max-width: 420px;
  box-shadow: 0 8px 40px rgba(27,79,114,0.12);
  border-top: 4px solid var(--or);
}
.login-card .logo-login {
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--lac); text-align: center; margin-bottom: 0.25rem;
}
.login-card .login-sub {
  text-align: center; font-size: 0.8rem; color: var(--texte-d);
  margin-bottom: 2rem;
}
.login-error {
  background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b; padding: 0.75rem 1rem;
  border-radius: var(--radius); font-size: 0.85rem; margin-bottom: 1.25rem;
}

.dashboard-header { background: var(--lac); padding: 3rem 2rem; color: #fff; }
.dashboard-header h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; }
.dashboard-header p  { color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.dashboard-body { padding: 3rem 2rem; max-width: 1100px; margin: 0 auto; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.dash-card {
  background: #fff; border-radius: 10px; padding: 1.75rem;
  border: 1px solid var(--gris-mid); box-shadow: var(--shadow);
}
.dash-card h3 { font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--texte-d); margin-bottom: 1rem; }
.dash-card .big-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--lac); }
.dash-card .big-num span { font-size: 1rem; color: var(--texte-d); }
.rapport-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; border-bottom: 1px solid var(--gris-mid);
  font-size: 0.85rem;
}
.rapport-item:last-child { border-bottom: none; }
.rapport-item .rapport-date { color: var(--texte-d); font-size: 0.78rem; }
.rapport-item a { color: var(--lac-mid); font-size: 0.8rem; }

/* ── Bandeau CTA ── */
.cta-banner {
  background: var(--lac); padding: 4rem 2rem; text-align: center;
}
.cta-banner h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: #fff; margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* ── Fil d'Ariane ── */
.breadcrumb {
  padding: 0.75rem 2rem; background: var(--gris);
  font-size: 0.8rem; color: var(--texte-d);
  border-bottom: 1px solid var(--gris-mid);
}
.breadcrumb a { color: var(--lac-mid); }
.breadcrumb .sep { margin: 0 0.5rem; }

/* ── Page hero (sous-pages) ── */
.page-hero {
  background: var(--lac); padding: 4rem 2rem 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--blanc);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.bg-gris::after { background: var(--gris); }
.page-hero .section-label { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300; color: #fff; line-height: 1.2;
}
.page-hero h1 em { font-style: italic; color: var(--or-light); }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 540px; margin: 1rem auto 0; }

/* ── Footer ── */
.site-footer { background: #0d2035; padding: 4rem 2rem 1.5rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.4rem;
  color: #fff; margin-bottom: 0.5rem;
}
.footer-logo em { font-style: italic; color: var(--or-light); }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.82rem; line-height: 1.7; }
.site-footer h4 { color: rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul li a, .site-footer ul li { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.site-footer ul li a:hover { color: var(--or-light); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  color: rgba(255,255,255,0.35); font-size: 0.75rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--or-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero .container      { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual          { display: none; }
  .services-2col        { grid-template-columns: 1fr; }
  .contact-grid         { grid-template-columns: 1fr; }
  .footer-inner         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row             { grid-template-columns: 1fr; }
  .menu-toggle          { display: flex; }
  .main-nav             { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--lac); padding: 1rem; }
  .main-nav.open        { display: block; }
  .main-nav ul          { flex-direction: column; }
  .nav-proprietaire     { margin-top: 0.5rem; }
  .btn-nav-pro          { margin-left: 0 !important; }
  section               { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
