/* ===== Domaine de Chambaud — Gîte Sous l'Olivier ===== */

:root {
  --olive: #5e6b47;
  --olive-dark: #414a31;
  --sand: #c9a66b;
  --sand-light: #e9dfc7;
  --cream: #faf6ee;
  --brown: #3e3226;
  --brown-soft: #6b5f4f;
  --white: #ffffff;
  --radius: 6px;
  --max-width: 1100px;
  --shadow: 0 6px 20px rgba(62, 50, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--olive-dark);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; margin-bottom: 0.6em; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--olive-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--sand-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--olive-dark);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo img {
  height: 52px;
  width: auto;
  border-radius: 0;
}

.logo .logo-text {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: normal;
  color: var(--brown-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: var(--brown);
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--olive-dark);
  border-bottom-color: var(--sand);
  text-decoration: none;
}

.btn {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--olive-dark);
  text-decoration: none;
  color: var(--white);
}

.btn.secondary {
  background: transparent;
  border: 1.5px solid var(--olive);
  color: var(--olive-dark);
}

.btn.secondary:hover {
  background: var(--olive);
  color: var(--white);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62,50,38,0.35), rgba(62,50,38,0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 20px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 0.4em;
}

.hero p.subtitle {
  font-size: 1.15rem;
  margin-bottom: 1.6em;
}

.hero.small {
  min-height: 34vh;
}

.hero.small h1 { font-size: 2.2rem; }

/* ---- Sections ---- */

section {
  padding: 64px 0;
}

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

.section-intro {
  max-width: 680px;
  margin: 0 auto 2.4em;
  text-align: center;
}

.section-intro .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--sand);
  font-weight: bold;
  margin-bottom: 0.6em;
  display: block;
}

/* ---- Grid / cards ---- */

.grid {
  display: grid;
  gap: 28px;
}

.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.4em;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sand-light);
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img { aspect-ratio: 4/3; object-fit: cover; }

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

ul.checklist li {
  padding-left: 1.6em;
  position: relative;
}

ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: bold;
}

/* ---- Pricing table ---- */

table.pricing {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table.pricing th, table.pricing td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--sand-light);
}

table.pricing th {
  background: var(--olive);
  color: var(--white);
  font-family: Georgia, serif;
  font-weight: normal;
}

table.pricing tr:last-child td { border-bottom: none; }

/* ---- Steps ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--olive-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: Georgia, serif;
}

/* ---- Forms ---- */

form.reservation-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

form label {
  display: block;
  font-size: 0.88rem;
  font-weight: bold;
  color: var(--brown-soft);
  margin-bottom: 6px;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8cdb6;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--cream);
}

form input:focus,
form textarea:focus {
  outline: 2px solid var(--sand);
  background: var(--white);
}

form textarea { resize: vertical; min-height: 110px; }

form small.hint {
  display: block;
  color: var(--brown-soft);
  font-size: 0.82rem;
  margin-top: -8px;
  margin-bottom: 16px;
}

/* ---- Info blocks ---- */

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sand-light);
}

.info-list li:last-child { border-bottom: none; }

.info-list .label {
  min-width: 120px;
  font-weight: bold;
  color: var(--olive-dark);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.calendar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-card h3 {
  padding: 16px 20px 0;
  font-size: 1.05rem;
}

.calendar-card .calendar-embed {
  padding: 12px 20px 20px;
}

.calendar-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  border-radius: var(--radius);
}

/* ---- CTA band ---- */

.cta-band {
  background: var(--olive-dark);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--sand-light); }

/* ---- Footer ---- */

footer.site-footer {
  background: var(--brown);
  color: var(--sand-light);
  padding: 44px 0 24px;
  font-size: 0.9rem;
}

footer.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

footer.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.8em;
}

footer.site-footer a { color: var(--sand-light); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #cfc3ab;
}

/* ---- Responsive ---- */

@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  footer.site-footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  h1 { font-size: 1.9rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { gap: 14px; }
  footer.site-footer .container { grid-template-columns: 1fr; }
}
