/*
Theme Name: Glaneuse
Theme URI: https://example.com/glaneuse
Author: Kaelmnop
Author URI: https://example.com
Description: Theme personalisé pour La Glaneuse.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glaneuse
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-primary: "Montserrat", sans-serif;
  --font-display: "Lora", serif;
  --glaneuse-primary: #2c5f7c;
  --glaneuse-bg: #f5f7fa;
  --glaneuse-text: #333333;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  line-height: 1.6;
  color: var(--glaneuse-text);
  background: var(--glaneuse-bg);
}

h1,
h2,
.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

h3,
h4,
.logo,
.section-subtitle,
.pricing-table h4 {
  font-family: var(--font-primary);
  text-transform: capitalize;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--glaneuse-primary);
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0;
}

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

.nav-toggle-input {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  opacity: 0.85;
}

.nav-links li {
  position: relative;
}

.has-submenu > a::after {
  content: '▾';
  font-size: 12px;
  margin-left: 6px;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border-radius: 14px;
  padding: 12px 0;
  list-style: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.main-nav .submenu {
  top: 100%;
}

.submenu a {
  display: block;
  padding: 10px 16px;
  color: #1a3a4d;
  font-weight: 500;
}

.submenu a:hover {
  background: #f1f5f9;
  color: var(--glaneuse-primary);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--glaneuse-primary);
    flex-direction: column;
    gap: 0;
    padding: 18px 20px 22px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-weight: 600;
  }

  .submenu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 4px 0 10px 14px;
    display: block;
  }

  .submenu a {
    color: white;
    padding: 8px 0;
  }

  .submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }
}

.hero {
  background: linear-gradient(135deg, #4a90b5 0%, #6bb4d6 100%);
  color: white;
  padding: 120px 0 180px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero p {
  font-size: 19px;
  margin-bottom: 35px;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-image {
  width: 100%;
  height: 450px;
  background-position: center;
  background-size: cover;
  border-radius: 25px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  position: relative;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: #4a90b5;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn-secondary {
  background: var(--glaneuse-primary);
  color: white;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid #cdddea;
  color: var(--glaneuse-primary);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.btn-outline:hover {
  background: var(--glaneuse-primary);
  color: white;
  border-color: var(--glaneuse-primary);
}

section {
  padding: 0;
  position: relative;
}

.page-header-light {
  background: var(--glaneuse-bg);
  padding: 40px 0 10px;
}

.page-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(74, 144, 181, 0.1);
  color: var(--glaneuse-primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.page-header-light h1 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #1a3a4d;
}

.page-header-light p {
  color: #4b6474;
  font-size: 18px;
}

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

.detail-section {
  background: var(--glaneuse-bg);
  padding: 40px 0 110px;
}

.page-content {
  background: var(--glaneuse-bg);
  padding: 40px 0 110px;
}

.page-content .entry-content {
  max-width: 860px;
  margin: 0 auto;
  color: #4b6474;
  line-height: 1.8;
}

.detail-card {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 12px 30px rgba(20, 51, 73, 0.05);
}

.detail-card p {
  margin-bottom: 18px;
  line-height: 1.8;
}

.detail-cover {
  width: 100%;
  height: 260px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
}

.detail-card h4 {
  color: var(--glaneuse-primary);
  margin-top: 25px;
  margin-bottom: 15px;
}

.detail-card ul {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555;
  line-height: 1.7;
}

.detail-card li {
  margin-bottom: 8px;
}

.detail-actions {
  margin-bottom: 15px;
}

.detail-actions-bottom {
  margin-top: 30px;
}

.section-content {
  background: white;
  padding: 90px 0;
  margin-top: -100px;
  border-radius: 40px 40px 0 0;
  position: relative;
  z-index: 2;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--glaneuse-primary);
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 60px;
  font-size: 18px;
}

.section-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.news-date {
  color: #6bb4d6;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}

.news-card h3 {
  margin-bottom: 15px;
  color: var(--glaneuse-primary);
  font-size: 22px;
}

.news-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
}

.news-subtitle {
  color: var(--glaneuse-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.news-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.about {
  background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
  padding: 100px 0;
  margin-top: -50px;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 450px;
  background-position: center;
  background-size: cover;
  border-radius: 25px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--glaneuse-primary);
}

.about-text .btn {
  margin-top: 15px;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.8;
}

.activities {
  background: white;
  padding: 100px 0;
  margin-top: -50px;
  position: relative;
}

.activities-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.activity-card {
  background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #e8f4f8;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  flex: 0 1 300px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a90b5 0%, #6bb4d6 100%);
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(74, 144, 181, 0.1);
  border-color: #6bb4d6;
}

.activity-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4a90b5 0%, #6bb4d6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  box-shadow: 0 6px 18px rgba(74, 144, 181, 0.16);
}

.activity-card h3 {
  text-align: center;
  margin-bottom: 15px;
  color: var(--glaneuse-primary);
  font-size: 20px;
}

.activity-card p {
  text-align: center;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.pricing {
  background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
  padding: 100px 0;
  margin-top: -50px;
}

.pricing-intro {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  text-align: center;
}

.pricing-intro h3 {
  margin-bottom: 10px;
  text-align: center;
}

.pricing-intro p {
  font-size: 19px;
  margin: 0;
  color: #555;
}

.pricing-intro .btn {
  align-self: center;
  width: fit-content;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.pricing-table {
  background: white;
  border-radius: 25px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  padding: 30px;
}

.pricing-table h4 {
  color: var(--glaneuse-primary);
  margin-bottom: 15px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background: #f1f7fa;
  color: var(--glaneuse-primary);
  padding: 14px;
  text-align: left;
  font-size: 14px;
}

.pricing-table td {
  padding: 14px;
  border-bottom: 1px solid #eef2f6;
}

.pricing-table-grid--three td:nth-child(3),
.pricing-table-grid--two td:nth-child(2) {
  font-weight: bold;
}

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

.pricing-footnotes {
  margin-top: 15px;
  gap: 12px;
  display: flex;
  flex-direction: column;
}

.pricing-footnotes p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.btn.btn-grille {
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  float: right;
}

.pricing .container::after {
  content: '';
  display: block;
  clear: both;
}

.teachers {
  background: white;
  padding: 100px 0;
  margin-top: -50px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
}

.teacher-card {
  text-align: center;
  position: relative;
  transition: color 0.3s;
  border-radius: 0;
}

.teacher-card::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 2px;
  background: rgba(44, 95, 124, 0.6);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.teacher-card--link {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.teacher-card--link:hover {
  color: inherit;
}

.teacher-card--link:hover::before {
  width: 80%;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-member {
  padding-bottom: 2rem;
  border-bottom: 1px solid #e6eef4;
}

.team-member:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}


.teacher-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 25px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%);
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--glaneuse-primary);
}

.teacher-instrument {
  color: #6bb4d6;
  font-size: 17px;
  margin-bottom: 15px;
  font-weight: 600;
}

.teacher-card p {
  color: #666;
  line-height: 1.6;
}

.agenda {
  background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
  padding: 100px 0;
  margin-top: -50px;
}

.agenda-list {
  max-width: 900px;
  margin: 0 auto;
}

.agenda-item {
  background: white;
  padding: 35px;
  border-radius: 20px;
  margin-bottom: 25px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 30px;
  align-items: center;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 60px;
}

.agenda-date {
  flex: 0 0 110px;
}

.agenda-content {
  flex: 1;
}

.agenda-actions {
  flex: 0 0 auto;
}
.agenda-cta {
  font-size: 0.85rem;
  padding: 6px 12px;
}

.agenda-actions {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.agenda-more {
  font-weight: 600;
  color: var(--glaneuse-primary);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  padding-right: 16px;
}

.agenda-more::after {
  content: '›';
  position: absolute;
  right: 0;
  top: 0;
}

.agenda-item:hover {
  transform: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.agenda-date {
  background: linear-gradient(135deg, #4a90b5 0%, #6bb4d6 100%);
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  min-width: 110px;
  box-shadow: 0 6px 18px rgba(74, 144, 181, 0.14);
}

.agenda-date-day {
  font-size: 36px;
  font-weight: bold;
  display: block;
  line-height: 1;
}

.agenda-date-month {
  font-size: 15px;
  display: block;
  margin-top: 5px;
  opacity: 0.9;
}

.agenda-item h3 {
  color: var(--glaneuse-primary);
  margin-bottom: 10px;
  font-size: 22px;
}

.agenda-item p {
  color: #666;
  line-height: 1.7;
}

.arrow-icon {
  margin-left: auto;
  align-self: center;
}

.arrow-icon svg {
  width: 28px;
  height: 28px;
  stroke: #4a90b5;
}

.locations {
  background: white;
  padding: 100px 0;
  margin-top: -50px;
}

.follow-us {
  font-size: 1.5rem;
}

.locations .section-subtitle {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  text-align: center;
  font-size: 40px;
  margin-bottom: 4rem;
  color: var(--glaneuse-primary);
}

.contact-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: stretch;
  margin-top: 30px;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 320px;
  min-width: 0;
}

.contact-column-title {
  margin-bottom: 18px;
  color: var(--glaneuse-primary);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 0;
}

.location-card {
  background: linear-gradient(135deg, #f1f6fa 0%, #e7f1fb 100%);
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #dbe7ef;
  transition: all 0.3s;
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(74, 144, 181, 0.1);
  border-color: #6bb4d6;
}

.location-card h3 {
  color: var(--glaneuse-primary);
  margin-bottom: 25px;
  font-size: 24px;
}

.location-card p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

.location-card iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 15px;
  margin: 15px 0;
}

.location-link {
  color: var(--glaneuse-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  padding-bottom: 40px;
  justify-content: space-evenly;
}

.contact-form h3,
.contact-details h3 {
  margin-bottom: 20px;
  color: var(--glaneuse-primary);
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--glaneuse-primary);
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #dbe7ef;
  margin-top: 8px;
  font-family: inherit;
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-details p {
  margin-bottom: 20px;
  color: #555;
}

.contact-mailing {
  background: linear-gradient(135deg, #f8fbfd 0%, #e8f4f8 100%);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: 1px solid #dbe7ef;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-socials h4 {
  margin-bottom: 5px;
}

.contact-social-links {
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--glaneuse-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
}

.contact-social-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-social-icon svg {
  width: 100%;
  height: 100%;
}

.partners {
  background: white;
  padding: 90px 0;
}

.partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.partner-slot {
  height: 120px;
  border-radius: 18px;
  border: 1px solid #d6e2ec;
  background: linear-gradient(135deg, #f1f6fa 0%, #b9dcff 1000%);
  color: var(--glaneuse-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.partner-slot a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.partner-slot img {
  max-height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.page-meta {
  color: #6bb4d6;
  font-weight: 600;
  margin-bottom: 18px;
}

.activity-info {
  margin-top: 35px;
  padding: 25px;
  border-radius: 18px;
  background: #f1f7fa;
  border: 1px solid #dbe7ef;
}

.activity-info ul {
  margin: 15px 0 0 20px;
  color: #4b6474;
  line-height: 1.6;
}

.about-page-hero {
  padding: 110px 0 40px;
  background: white;
  text-align: center;
}

.about-page-hero h1 {
  font-size: 44px;
  margin-bottom: 10px;
  color: #1a3a4d;
}

.about-page-hero p {
  color: #4b6474;
  font-size: 18px;
}

.about-page-content {
  background: white;
  padding: 60px 0 120px;
}


.history-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.history-row-full {
  flex-direction: column;
}

.history-row-reverse {
  flex-direction: row-reverse;
}

.history-text {
  flex: 1;
  align-content: center;
}

.history-text h2 {
  color: var(--glaneuse-primary);
  margin-bottom: 20px;
}

.history-text p {
  color: #4b6474;
  line-height: 1.8;
  margin-bottom: 15px;
}

.history-row-full .history-text,
.history-row-full .history-text p {
  color: #4b6474;
  line-height: 1.8;
}

.history-text .btn {
  margin-top: 10px;
}


.history-photo {
  flex: 1;
  height: 320px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 30px rgba(20, 51, 73, 0.08);
  overflow: hidden;
  margin: 0;
}

.history-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .detail-card {
    padding: 25px;
  }

  .detail-cover {
    height: 200px;
  }

  .detail-actions {
    justify-content: center;
  }

  .history-row,
  .history-row-reverse {
    flex-direction: column;
  }

  .history-photo {
    width: 100%;
    height: 240px;
  }
}

footer {
  background: #1a3a4d;
  color: white;
  padding: 80px 0 40px;
  margin-top: -50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 25px;
  color: #6bb4d6;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.social-icons a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 41, 58, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  max-width: 80%;
  width: min(80vw, 95vw);
  max-height: 90vh;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  display: flex;
  justify-content: center;
}

.modal-content img {
  width: 100%;
  max-height: auto;
  border-radius: 10px;
  display: block;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: var(--glaneuse-primary);
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.modal-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.14);
}

@media (max-width: 768px) {
  .hero-content,
  .about-content,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .pricing-intro {
    padding: 35px 15px;
  }

  .pricing-table {
    padding: 0;
  }

  .pricing-table h4 {
    margin-top: 15px;
    text-align: center;
    text-wrap: balance;
  }

  .pricing-table td {
    text-wrap: balance;
  }

  .nav-links {
    gap: 15px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero {
    padding: 80px 0 120px;
  }

  .section-content {
    padding: 60px 0;
    margin-top: -60px;
  }
}
