:root {
  --color-primary: #2f6f5e;
  --color-primary-dark: #234f43;
  --color-text: #23302c;
  --color-bg: #fbfaf7;
  --color-bg-alt: #f0ece3;
  --color-border: #ddd6c8;
  --max-width: 1080px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
}

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

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

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-logo {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.site-logo-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-primary);
}

.text-primary {
  color: var(--color-primary);
}

.text-center {
  text-align: center;
}

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

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.btn-rdv {
  background: var(--color-primary);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-primary-dark) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Hero */
.hero {
  background: var(--color-bg-alt);
  padding: 3.5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.hero p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.hero--compact {
  padding-bottom: 1rem;
}

.hero-lead {
  font-size: 1.2rem;
}

.hero-split .container {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  text-align: left;
}

.hero-split .hero-text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
}

.hero-split .hero-cta-group {
  margin-top: 5.5rem;
}

.hero-split .hero-text p {
  margin-left: 0;
}

.hero-split .hero-photo {
  flex: 0 0 240px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

@media (max-width: 680px) {
  .hero-split .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-split .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-split .hero-cta-group {
    justify-content: center;
  }

  .info-split {
    justify-content: center;
    text-align: center;
  }
}

.portrait {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.content-image {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  max-width: 100%;
}

.content-image--accent {
  max-width: 240px;
  margin: 1.5rem auto;
}

.map-embed {
  display: block;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.info-split {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.info-split .portrait {
  margin: 0;
  flex: 0 0 200px;
}

.info-split dl {
  flex: 1 1 260px;
  margin: 0;
}

.info-split dt {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 1rem;
}

.info-split dt:first-child {
  margin-top: 0;
}

.info-split dd {
  margin: 0.2rem 0 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Sections */
main section {
  padding: 3rem 0;
}

main section:nth-of-type(even) {
  background: var(--color-bg-alt);
}

h2 {
  color: var(--color-primary-dark);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.card-price {
  margin-top: auto;
}

details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

details summary {
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
}

details p {
  margin: 0.75rem 0 0;
}

.card--center {
  text-align: center;
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin: 0 auto 0.75rem;
}

/* Forms */
form {
  max-width: 560px;
}

label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

button[type="submit"] {
  margin-top: 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--color-primary-dark);
}

.rgpd-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #f0ece3;
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.footer-grid h3 {
  margin-top: 0;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
  opacity: 0.8;
}
