/* =========================================================
   REFONTE MDA — Styles des pages internes
   Chemin : assets/css/pages.css
   Ce fichier complète main.css sans l'écraser.
   ========================================================= */

/* ── Page Hero (interne, plus compact) ─────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11,74,67,.55), rgba(17,135,132,.28)),
    url('../images/madaSainteMarie.jpg') center/cover no-repeat;
  padding: 52px 0 64px;
}

.page-hero--apropos {
  background-image:
    linear-gradient(180deg, rgba(11,74,67,.55), rgba(17,135,132,.28)),
    url('../images/pirogue.jpg');
}

.page-hero--destinations {
  background-image:
    linear-gradient(180deg, rgba(11,74,67,.55), rgba(17,135,132,.28)),
    url('../images/Nosy_be.jpg');
}

.page-hero--offres {
  background-image:
    linear-gradient(180deg, rgba(11,74,67,.55), rgba(17,135,132,.28)),
    url('../images/RaidSud.jpeg');
}

.page-hero--contact {
  background-image:
    linear-gradient(180deg, rgba(11,74,67,.60), rgba(17,135,132,.30)),
    url('../images/Antanimalandy.jpg');
}

.page-hero--blog {
  background-image:
    linear-gradient(180deg, rgba(11,74,67,.55), rgba(17,135,132,.28)),
    url('../images/contrasteSUD.png');
}

.page-hero-wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 16px;
  max-width: 780px;
}

.page-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 620px;
  margin-bottom: 0;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}

.breadcrumb a:hover { color: #fff; }

.breadcrumb-sep {
  color: rgba(255,255,255,.4);
  user-select: none;
}

.breadcrumb-current {
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

/* ─── Breadcrumb en contexte clair (single post) ── */
.breadcrumb--light {
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb--light a { color: var(--muted); }
.breadcrumb--light a:hover { color: var(--primary); }
.breadcrumb--light .breadcrumb-sep { color: var(--line); }
.breadcrumb--light .breadcrumb-current { color: var(--text); }

/* ── Section page intro ──────────────────────────────────── */
.section-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

/* ── about (À propos) ─────────────────────────────────── */
.about {
  position: relative;
  padding-left: 36px;
}

.about::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(17,135,132,.15));
}

.about-item {
  position: relative;
  margin-bottom: 36px;
}

.about-item:last-child { margin-bottom: 0; }

.about-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--primary);
}

.about-year {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.about-text {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ── Value cards (À propos) ──────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin: 0 auto 16px;
  font-size: 22px;
}

.value-card h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .92rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Why choose us (chiffres + raisons) ────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.why-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

/* ── Team section ─────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,74,67,.06);
  text-align: center;
}

.team-photo {
  height: 220px;
  background: var(--soft);
  background-size: cover;
  background-position: center top;
}

.team-body { padding: 20px 18px; }

.team-name {
  font-weight: 700;
  color: var(--deep);
  font-size: 1.05rem;
  margin-bottom: 4px;
  font-family: Georgia, serif;
}

.team-role {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ── Destination cards full page ─────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,74,67,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.dest-visual {
  height: 260px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.dest-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,55,48,.62));
}

.dest-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: rgba(255,255,255,.88);
  color: var(--primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  padding: 6px 12px;
  border-radius: 999px;
}

.dest-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 16px 18px;
}

.dest-title-overlay h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.dest-title-overlay p {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

.dest-card-body {
  padding: 20px;
}

/* ── Offres page ─────────────────────────────────────────── */
.offres-intro {
  max-width: 720px;
  margin-bottom: 14px;
}

.offres-category {
  margin-bottom: 56px;
}

.offres-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.offres-category-header h3 {
  margin: 0;
}

.see-all-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .10em;
  white-space: nowrap;
}

.see-all-link:hover { text-decoration: underline; }

/* ── Contact form ────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(11,74,67,.07);
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap h3 {
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  background: #fcfcfb;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group textarea {
  height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(17,135,132,.7);
  box-shadow: 0 0 0 4px rgba(17,135,132,.09);
}

/* CF7 compatibility */
.wpcf7-form .form-group input,
.wpcf7-form .form-group select,
.wpcf7-form .form-group textarea {
  width: 100%;
}

.wpcf7-not-valid-tip { color: #e03; font-size: 12px; margin-top: 4px; }
.wpcf7-response-output { margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14px; }

/* ── Map ─────────────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,74,67,.07);
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(11,74,67,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-item.is-open {
  border-color: rgba(17,135,132,.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease, background .25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Single post ─────────────────────────────────────────── */
.post-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 36px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.post-meta-item {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.post-meta-sep { color: var(--line); }

.post-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--deep);
  margin-bottom: 18px;
}

.post-excerpt {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.post-thumbnail {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/7;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--text);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.post-content p { margin-bottom: 20px; }

.post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content ul,
.post-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.post-content li { margin-bottom: 8px; }

.post-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 22px;
  margin: 28px 0;
  background: var(--soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text);
  font-style: italic;
}

/* ── Post navigation ──────────────────────────────────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.post-nav-item {
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.post-nav-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 6px;
}

.post-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
}

.post-nav-next { text-align: right; }

/* ── Archive / Blog ───────────────────────────────────────── */
.archive-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--deep), var(--primary));
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-section h2,
.cta-section p { color: var(--white); }

.cta-section .btn-row {
  justify-content: center;
}

/* ── Page 404 ─────────────────────────────────────────────── */
.not-found-wrap {
  padding: 80px 0 120px;
  text-align: center;
}

.not-found-code {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: var(--primary);
  opacity: .18;
  line-height: 1;
  margin-bottom: 0;
  font-family: Georgia, serif;
}

.not-found-wrap h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.not-found-wrap p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── Page générique (Gutenberg / éditeur WP) ─────────────── */
.page-content {
  max-width: 820px;
  margin: 0 auto;
}

.page-content h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--deep); }
.page-content h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.page-content p  { margin-bottom: 20px; color: var(--text); }
.page-content a  { color: var(--primary); text-decoration: underline; }
.page-content ul,
.page-content ol { padding-left: 22px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; }
.page-content img { border-radius: var(--radius-md); margin: 20px 0; }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(11,74,67,.14);
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
  padding: 0 14px;
}

.pagination .page-numbers.current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .page-numbers:hover:not(.current) {
  background: var(--soft);
  border-color: var(--primary);
}

/* ── Related posts ────────────────────────────────────────── */
.related-posts { margin-top: 64px; }

/* ── Responsive pages ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .dest-grid    { grid-template-columns: repeat(2, 1fr); }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .page-hero        { padding: 40px 0 48px; }
  .page-hero h1     { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .values-grid,
  .team-grid,
  .dest-grid,
  .archive-grid,
  .why-grid,
  .form-grid        { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px; }
  .cta-section      { padding: 28px 22px; }
  .post-nav         { grid-template-columns: 1fr; }
  .offres-category-header { flex-direction: column; gap: 8px; }
}

/* =========================================================
   ICÔNES SVG — Harmonisation taille / couleur
   Remplace les emojis : taille et couleur héritées du
   conteneur (.feature-icon, .value-icon, .activity-icon…),
   garantissant un rendu cohérent sur tout le site.
   ========================================================= */
.icon {
  width: 22px;
  height: 22px;
  display: block;
  color: currentColor;
}

.feature-icon .icon,
.value-icon .icon {
  width: 24px;
  height: 24px;
}

.feature-icon,
.value-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Variante claire : icône sur fond foncé (hero, panels sombres) */
.icon-on-dark { color: rgba(255,255,255,.92); }

/* =========================================================
   FILTRE "POUR TOUS LES GOÛTS" — Page Offres
   Filtrage fonctionnel par catégorie, avec transition douce.
   Piloté par assets/js/main.js (voir section "OFFER FILTER").
   ========================================================= */
.filter-panels {
  position: relative;
}

.filter-panel {
  display: none;
  opacity: 0;
  transition: opacity .35s ease;
}

.filter-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.filter-panel.is-visible {
  opacity: 1;
}

.filter-panel .panel-media-large {
  height: 320px;
  border-radius: var(--radius-xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.filter-panel .panel-media-large::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(11,74,67,.04), rgba(11,74,67,.16));
}

.offer-tabs .pill {
  cursor: pointer;
  border: 1px solid rgba(11,74,67,.10);
  background: var(--white);
  font: inherit;
  font-family: Arial, Helvetica, sans-serif;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.offer-tabs .pill:hover:not(.active) {
  border-color: rgba(17,135,132,.4);
  background: var(--soft);
}

.offer-tabs .pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* AJOUT */
.offer-tabs .pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .filter-panel.is-active { grid-template-columns: 1fr; }
  .filter-panel .panel-media-large { height: 220px; }
}

/* =========================================================
   PAGE DESTINATION DÉTAILLÉE
   Réutilise au maximum les composants existants (panel,
   feature-list, grid-3) pour garantir l'identité visuelle.
   ========================================================= */
.dest-intro {
  max-width: 760px;
  margin-bottom: 8px;
}

.dest-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.dest-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.dest-highlight-item .icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.dest-highlight-item p {
  margin: 0;
  font-size: 15px;
}

.activity-card {
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.activity-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.landmark-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.landmark-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(11,74,67,.07);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.landmark-marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landmark-marker .icon { width: 18px; height: 18px; }

.landmark-item h4 { margin-bottom: 6px; }
.landmark-item p  { margin: 0; color: var(--muted); font-size: 14.5px; }

.tips-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.tip-item .icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .landmark-item { grid-template-columns: 1fr; }
  .landmark-marker { margin-bottom: 4px; }
}
@media (max-width: 720px) {
  :root                     { --space: 52px; }
  .grid-3,
  .stories,
  .feature-list,
  .footer-grid,
  .contact-list,
  .stats,
  .newsletter-form,
  .search-grid              { grid-template-columns: 1fr; }
  .hero-wrap                { padding: 52px 0 72px; }
  .panel,
  .newsletter,
  .search-card              { padding: 22px; }
  .topbar-wrap              { align-items: flex-start; }
  .header                   { position: relative; }
  .header-wrap { 
    align-items: center;       /* Aligne verticalement le logo et le bouton hamburger */
    justify-content: space-between; /* Met le logo à gauche, le bouton à droite */
    flex-wrap: nowrap;          /* Force le tout sur une seule et même ligne */
  }

  .brand {
    width: auto;                /* Libère l'espace pour le bouton hamburger */
    display: flex;
    flex-direction: row;        /* <-- C'est ça ! Aligne l'image et le texte horizontalement */
    align-items: center;        /* Centre le texte verticalement par rapport à l'image */
    text-align: left;           /* Remet le texte aligné à gauche */
    gap: 16px;                  /* Garde un espacement sympa entre l'image et le texte */
  }

  .brand-logo {
    min-width: 120px;           /* Évite que le logo devienne trop géant sur mobile */
    max-width: 150px;
  }
  .brand-text span          { max-width: 320px; }
  .hero-mark                { width: 100%; justify-content: center; }
  .btn                      { width: 100%; }
  .btn-row                  { display: grid; }
  .visual                   { min-height: 240px; }
  .visual-label             { max-width: calc(100% - 36px); }
  .card-body p:not(.meta),
  .story-body p             { max-width: none; }
  .offer-media              { min-height: 200px; }
  .panel-media              { height: 180px; margin: -30px -30px 18px; }
  .section-links            { grid-template-columns: 1fr; }
  .btn-row                  { margin-top: 24px; }
}
@media (max-width: 1080px) {
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247,245,240,.98);
    backdrop-filter: blur(10px);
    padding: 16px 14px;
    gap: 0;
    border-bottom: 1px solid rgba(11,74,67,.08);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(11,74,67,.08);
  }
  .nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(11,74,67,.06);
    width: 100%;
  }
  .nav.is-open ul  { display: flex; flex-direction: column; width: 100%; }
  .nav.is-open li  { display: block; }
  .header { position: relative; }
}
