@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #f8f3eb;
  --surface: #fffdf9;
  --surface-soft: #f4ede4;
  --forest: #2e3b31;
  --olive: #66725f;
  --muted: #746b62;
  --sand: #dcc8ae;
  --terracotta: #b68563;
  --line: rgba(46, 59, 49, 0.1);
  --shadow: 0 14px 30px rgba(39, 33, 27, 0.06);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--forest);
  background: linear-gradient(180deg, #fbf8f2 0%, var(--bg) 52%, #fbf9f4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1;
  color: var(--forest);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

#accueil,
#presentation,
#apropos,
#experience,
#galerie,
#contact {
  scroll-margin-top: 7rem;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(102, 114, 95, 0.1);
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.3rem 0;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 242, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 38px;
  line-height: 0;
  overflow: hidden;
}

.brand-name,
.footer-brand {
  font-size: 1.9rem;
  font-weight: 700;
}

.brand-logo-image {
  width: 176px;
  height: auto;
  object-fit: contain;
  max-width: none;
  transform: translateY(-7px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-nav a:not(.button) {
  color: rgba(46, 59, 49, 0.82);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
}

.site-nav a:not(.button):hover {
  color: var(--forest);
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #233027;
}

.button--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line);
}

.button--ghost:hover {
  background: rgba(46, 59, 49, 0.04);
}

.button--small {
  min-height: 32px;
  padding: 0.34rem 0.78rem;
  font-size: 0.82rem;
}

.button--submit {
  min-width: 148px;
}

.hero {
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-top: 1rem;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
}

.hero-copy p {
  max-width: 37rem;
  margin-top: 1.3rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-tags,
.animal-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-tags span,
.animal-cloud span {
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-visual {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-panel {
  padding: 1.25rem 1.35rem 1.4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.96);
}

.panel-badge {
  display: inline-flex;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: rgba(102, 114, 95, 0.08);
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-kicker,
.card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.panel-kicker {
  margin-top: 0.9rem;
}

.hero-panel h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.panel-copy {
  margin-top: 0.8rem;
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.panel-meta span {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 600;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: start;
}

.section-heading h2,
.place-copy h2,
.contact-copy h2 {
  margin-top: 0.95rem;
  font-size: clamp(2.4rem, 4.7vw, 3.9rem);
}

.section-heading--center {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.heading-copy {
  margin-top: 0.9rem;
}

.section-intro {
  display: grid;
  gap: 0.95rem;
  padding-top: 0.55rem;
}

.highlights,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.highlight-card,
.note-card,
.destination-card,
.contact-form,
.contact-detail,
.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.highlight-card,
.destination-card,
.note-card {
  padding: 1.35rem;
}

.highlight-card h3,
.destination-card h3,
.note-card h3 {
  margin-top: 0.8rem;
  font-size: 1.8rem;
}

.highlight-card p:last-child,
.destination-card p:last-child,
.note-card p {
  margin-top: 0.75rem;
}

.local-line {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.local-line p {
  max-width: 56rem;
}

.section--place {
  padding-top: 4rem;
}

.place-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.8rem;
  align-items: center;
}

.place-visual {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
}

.place-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.place-copy p {
  margin-top: 0.95rem;
}

.place-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.section--explore {
  padding-bottom: 4.5rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.explore-card {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-position: center;
  background-size: cover;
}

.explore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.18), rgba(20, 20, 20, 0.55));
}

.explore-card--activities {
  background-image: url("PHOTOS/PHOTOS%20DES%20MONUMENTS%20AUTRES/le-batia-restaurant-peniche-lounge-saintes-17.jpg");
}

.explore-card--nature {
  background-image: url("PHOTOS/PHOTOS%20DES%20MONUMENTS%20AUTRES/la-charente-saintes.webp");
}

.explore-card--heritage {
  background-image: url("PHOTOS/PHOTOS%20DES%20MONUMENTS%20AUTRES/arc-de-germanicus-saintes.webp");
}

.explore-card--relax {
  background-image: url("PHOTOS/PHOTOS%20DES%20MONUMENTS%20AUTRES/Abbaye-de-Fontdouce-salle-capitulaire.jpg");
}

.explore-content {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 1;
  color: #fff;
}

.explore-content span {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.explore-content h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  color: #fff;
}

.explore-content p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.84);
}

.destination-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.destination-note p {
  max-width: 50rem;
}

.section--gallery {
  padding-top: 4.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 1rem;
  background: transparent;
  border-style: dashed;
}

.gallery-card span {
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-card strong {
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
}

.gallery-card--wide {
  grid-column: span 2;
}

.gallery-card--tall {
  min-height: 240px;
}

.section--contact {
  padding-top: 4.8rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.8rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 1rem;
}

.contact-details {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-detail {
  display: grid;
  gap: 0.18rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
}

.detail-label {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form {
  padding: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.93rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(46, 59, 49, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--forest);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(46, 59, 49, 0.28);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.94rem;
  color: var(--forest);
}

.form-status.is-visible {
  font-weight: 600;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.72);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  max-width: 38rem;
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 1080px) {
  .explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split-heading,
  .place-grid,
  .contact-grid,
  .highlights,
  .destination-grid,
  .place-notes {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 420px;
  }

  .place-visual img {
    height: 360px;
  }
}

@media (max-width: 760px) {
  .js .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .js .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .js .site-nav a:not(.button) {
    padding: 0.15rem 0;
  }

  .js .button--small {
    width: 100%;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .gallery-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, 1140px);
  }

  .section {
    padding: 4.6rem 0;
  }

  .brand-name,
  .footer-brand {
    font-size: 1.75rem;
  }

  .brand-logo-image {
    width: 150px;
    transform: translateY(-7px);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image {
    height: 340px;
  }

  .hero-panel {
    padding: 1.1rem 1rem 1.2rem;
  }

  .gallery-card,
  .gallery-card--tall {
    min-height: 150px;
  }

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

  .field,
  .field--full {
    grid-column: auto;
  }
}
