:root {
  --color-primary: #3a7c8f;
  --color-primary-dark: #27525f;
  --color-accent: #d9a441;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-text: #222222;
  --color-muted: #6b7280;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 15px 35px rgba(15, 23, 42, 0.15);
  --container-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

a:hover,
a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

/* Layout helpers */

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

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.mb-l {
  margin-bottom: 2rem;
}

/* Header & Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.logo img {
  height: 52px;
  width: auto;
}

.header-cta {
  text-align: right;
  display: none;
}

.header-cta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.header-cta-phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.4rem 0.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

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

.nav-toggle {
  border: none;
  background: none;
  padding: 0.25rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 768px) {
  .header-top {
    padding: 0.75rem 1.5rem;
  }

  .header-cta {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
  }

  .main-nav ul {
    flex-direction: row;
    gap: 1rem;
  }

  .main-nav a {
    padding: 0.5rem 0;
  }
}

/* Hero */

.hero {
  position: relative;
  background: radial-gradient(circle at top left, #e0f2fe 0, #eff6ff 30%, #ffffff 70%);
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 640px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-address {
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  transform: translateY(-1px);
  box-shadow: 0 15px 32px rgba(30, 64, 175, 0.3);
}

/* Section content */

.section-text {
  font-size: 0.98rem;
  color: var(--color-text);
}

.section-text p {
  margin-bottom: 0.9rem;
}

.section-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lists */

.list {
  padding-left: 1.1rem;
}

.list li {
  margin-bottom: 0.4rem;
}

.list-compact li {
  margin-bottom: 0.35rem;
}

/* Gallery */

.gallery-2 {
  margin-top: 2rem;
}

.gallery-2 figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Photos grid */

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

.photo-grid figure {
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Contact form */

.contact-form {
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  font: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-group-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.form-group-inline input[type="checkbox"] {
  margin-top: 0.2rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.ast {
  color: #dc2626;
}

/* Map */

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

@media (min-width: 768px) {
  .map-wrapper iframe {
    min-height: 340px;
  }
}

/* RGPD banner */

.rgpd-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  background-color: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  padding: 0.9rem 0.75rem;
  font-size: 0.85rem;
  display: none;
}

.rgpd-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rgpd-text {
  line-height: 1.5;
}

.rgpd-link {
  color: #bfdbfe;
  text-decoration: underline;
}

.rgpd-btn {
  align-self: flex-start;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  background-color: #22c55e;
  color: #022c22;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.rgpd-btn:hover {
  background-color: #16a34a;
}

@media (min-width: 640px) {
  .rgpd-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem 0 2rem;
  background-color: #ffffff;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-credits {
  margin-top: 0.3rem;
}

/* Utilities */

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

/* Responsive tweaks */

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero-text {
    text-align: left;
  }
}
