/* =========================================================
   LOCATION ÉTUDIANTE BERCK — FEUILLE DE STYLE
   ========================================================= */

:root {
  --teal: #87C8E5;
  --teal-dark: #64B3D6;
  --sand: #f3eee6;
  --cream: #fbfaf7;
  --ink: #1f2929;
  --muted: #697373;
  --white: #ffffff;
  --line: rgba(31, 41, 41, 0.12);
  --shadow: 0 24px 70px rgba(26, 46, 46, 0.12);
  --radius: 24px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

code {
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
background: rgba(135, 200, 229, 0.14);}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 36px), var(--max-width));
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 35px rgba(17, 33, 33, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1.1;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 650;
}

nav a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 12px 18px;
  color: var(--white);
  border-radius: 12px;
  background: var(--teal);
}

.nav-cta:hover {
  color: var(--white);
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #233;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 26, 26, 0.78) 0%, rgba(8, 26, 26, 0.38) 52%, rgba(8, 26, 26, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 26, 26, 0.4) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 90px auto 145px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
color: #dff4ff;}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7.4vw, 6.8rem);
}

h2 {
  max-width: 850px;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
}

h3 {
  margin: 0 0 8px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 32px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
    margin-bottom: 10px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.distance-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.distance-strip div {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  text-align: center;
}

.distance-strip div:last-child {
  border-right: 0;
}

.distance-strip strong {
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
}

.distance-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 50px;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 70px;
}

.intro-text p {
  color: var(--muted);
}

.large-text {
  margin-top: 0;
  color: var(--ink) !important;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(26, 46, 46, 0.05);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.amenities {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--sand);
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.amenities-list span {
  padding: 13px 18px;
border: 1px solid rgba(135, 200, 229, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

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

.gallery figure {
  grid-column: span 4;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8e8e8;
}

.gallery .gallery-large {
  grid-column: span 8;
}

.gallery .gallery-wide {
  grid-column: span 8;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.location-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--teal-dark);
}

.location-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.location-content {
  padding: 70px;
}

.location-content p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--teal);
  font-weight: 900;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.map-placeholder {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.14), transparent 25%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,0.10), transparent 24%),
linear-gradient(135deg, #b9e3f5, #64b3d6);}

.map-pin {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 2.5rem;
}

.map-placeholder strong {
  font-family: Georgia, serif;
  font-size: 2rem;
}

.map-placeholder span {
  opacity: 0.82;
}

.seo-content {
  padding-block: 90px;
}

.seo-copy {
  max-width: 850px;
  margin: auto;
}

.seo-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.seo-copy p {
  color: var(--muted);
}

.contact-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--sand);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  padding: 65px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card > div > p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 750;
}

form {
  display: grid;
  gap: 17px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 750;
}


input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #fcfcfa;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
box-shadow: 0 0 0 3px rgba(135, 200, 229, 0.22);
}

textarea {
  resize: vertical;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 500;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

footer {
  width: min(calc(100% - 40px), var(--max-width));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin: auto;
  padding: 48px 0;
  color: var(--muted);
}

footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .intro-grid,
  .location-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 35px;
  }

  .gallery figure,
  .gallery .gallery-large,
  .gallery .gallery-wide {
    grid-column: span 6;
  }

  .location-content,
  .contact-card {
    padding: 40px;
  }

  .map-placeholder {
    min-height: 380px;
  }
}

@media (max-width: 650px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding-left: 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 860px;
    align-items: start;
  }

  .hero-content {
    margin-top: 150px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .distance-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .distance-strip div {
    min-height: 88px;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 78px;
  }

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

  .gallery figure,
  .gallery .gallery-large,
  .gallery .gallery-wide {
    grid-column: span 12;
    min-height: 270px;
  }

  .location-content,
  .contact-card {
    padding: 30px 22px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
.website-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.pricing-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: #eef8fc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 20px;
}

.price-card,
.conditions-card,
.charges-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(26, 46, 46, 0.07);
}

.price-card.featured {
  border: 2px solid var(--teal);
}

.price-label {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.price strong {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.3rem;
  font-weight: 500;
  line-height: 1;
}

.price span {
  margin-top: 8px;
  color: var(--muted);
}

.price-breakdown {
  margin-bottom: 26px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 9px 0;
}

.price-breakdown span,
.small-note {
  color: var(--muted);
}

.conditions-card h3,
.charges-card h3 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.small-note {
  margin-top: 25px;
  font-size: 0.84rem;
}

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

.location-section {
  width: 100%;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
  background: var(--teal-dark);
}

.location-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 650px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.location-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px;
}

.location-intro {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.location-distances {
  margin: 32px 0;
}

.location-distances li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.location-distances li::before {
  flex: 0 0 auto;
}

.location-distances strong {
  flex: 1;
}

.location-distances span {
  color: var(--muted);
  text-align: right;
}

.location-address {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  padding: 18px;
  border-radius: 15px;
  background: rgba(135, 200, 229, 0.14);
}

.location-address-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  color: var(--white);
  border-radius: 50%;
  background: var(--teal);
  font-size: 1.4rem;
}

.location-address strong,
.location-address small {
  display: block;
}

.location-address small {
  margin-top: 3px;
  color: var(--muted);
}

.map-container {
  position: relative;
  min-height: 650px;
  background: #dceff8;
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .location-card {
    grid-template-columns: 1fr;
  }

  .location-content {
    padding: 45px 35px;
  }

  .map-container {
    min-height: 430px;
  }
}

@media (max-width: 650px) {
  .location-content {
    padding: 35px 22px;
  }

  .location-distances li {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .location-distances span {
    padding-left: 28px;
    text-align: left;
  }

  .map-container {
    min-height: 360px;
  }
}

input,
textarea,
select {
    font-size: 16px;
}