/* Al Manasik Travel — feuille de style commune à toutes les pages */

/* ---------- Polices installées sur le site (SIL Open Font License, voir fonts/OFL-*.txt) ----------
   Caractères latins uniquement, limitées aux graisses utilisées. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-500-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-400-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-700-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --vert: #0A5933;
  --vert-fonce: #074226;
  --jaune: #F2C94C;
  --or: #D4A323;
  --beige: #F5E7B2;
  --noir: #0A0A0A;
  --texte: #1D1E20;
  --blanc: #FFFFFF;

  --font-titre: "Outfit", system-ui, sans-serif;
  --font-texte: "Inter", system-ui, sans-serif;
  --font-ui: "DM Sans", system-ui, sans-serif;

  --rayon: 14px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-titre);
  line-height: 1.15;
  margin: 0 0 .6em;
}
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.05rem; max-width: 40rem; margin: 0 auto 2rem; opacity: .9; }
.muted { opacity: .65; font-size: .9em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--jaune); color: var(--noir); }
.btn-gold:hover { background: var(--or); }
.btn-green { background: var(--vert); color: var(--blanc); }
.btn-green:hover { background: var(--vert-fonce); }
.btn-outline { border-color: var(--blanc); color: var(--blanc); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--beige);
  border-bottom: 1px solid rgba(10, 89, 51, .15);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  /* l'image du logo a de grandes marges : on ne garde que la bande centrale */
  width: 190px;
  height: 64px;
  object-fit: cover;
  margin-left: -24px;
  mix-blend-mode: multiply; /* fond clair du logo fondu dans le beige */
}

.menu { display: flex; gap: 2rem; }
.menu a {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--texte);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.menu a:hover,
.menu a[aria-current="page"] { color: var(--vert); border-bottom-color: var(--vert); }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { display: block; height: 3px; background: var(--vert); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--beige);
    border-bottom: 3px solid var(--vert);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
    display: none;
  }
  .menu.is-open { display: flex; }
  .menu a {
    padding: 1rem 16px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(10, 89, 51, .12);
  }
  .menu a[aria-current="page"] { border-bottom-color: rgba(10, 89, 51, .12); background: rgba(10, 89, 51, .08); }
}

/* ---------- Accueil (hero) ---------- */
.hero {
  background: var(--vert);
  color: var(--blanc);
}
/* L'affiche contient déjà du texte : toujours entière, jamais agrandie au-delà de sa taille réelle (1536 px) */
.hero-poster {
  width: 100%;
  max-width: 1536px;
  height: auto;
  margin-inline: auto;
}
/* Sur ordinateur : l'affiche rapetisse (sans être coupée) pour laisser voir le titre et le bouton */
@media (min-width: 768px) {
  .hero-poster {
    width: auto;
    max-height: calc(100vh - var(--header-h) - 13rem);
  }
}
.hero-content {
  padding-block: 2rem 2.5rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 7vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
  .hero-content .btn { width: 100%; }
}

/* ---------- Prochain départ ---------- */
.next-departure {
  background: var(--vert);
  padding-bottom: 3rem;
}
.departure-card {
  background: var(--beige);
  border: 3px solid var(--or);
  border-radius: var(--rayon);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.departure-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--vert);
  color: var(--jaune);
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.departure-card h2 { color: var(--vert); font-size: clamp(1.5rem, 5vw, 2rem); margin-bottom: .4rem; }
.departure-dates { font-weight: 600; margin-bottom: .25rem; }
.departure-price {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--vert);
  margin: .5rem 0;
}
.departure-meta { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.departure-empty { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; }
.departure-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Sections ---------- */
.section { padding-block: 4rem; }
.section-green { background: var(--vert); color: var(--blanc); }
.section-green h2 { color: var(--jaune); }
.section-beige { background: var(--beige); }
.section-beige h2 { color: var(--vert); }

.split { display: grid; gap: 2rem; align-items: center; }
.split-media img {
  width: 100%;
  border-radius: var(--rayon);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.split-media { margin: 0; }
.split-text .btn { margin-top: .5rem; }

@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-reverse .split-media { order: -1; }
}

/* ---------- Cartes services ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--blanc);
  color: var(--texte);
  border-radius: var(--rayon);
  overflow: hidden;
  border-top: 4px solid var(--jaune);
}
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
/* Photos des cartes : même format 3:2 et même cadrage pour toutes */
.card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.card h3 { color: var(--vert); }
.card p { margin: 0; }

.placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #cfcfcf 0 12px, #c4c4c4 12px 24px);
  color: #555;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}
@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* ---------- Titre de page (pages intérieures) ---------- */
.page-intro {
  background: var(--vert);
  color: var(--blanc);
  padding-block: 3.5rem 3rem;
  border-bottom: 4px solid var(--jaune);
}
.page-intro h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
  font-weight: 800;
  color: var(--jaune);
  max-width: 18ch;
}
.page-intro p { font-size: 1.1rem; max-width: 36rem; margin: 0; opacity: .95; }

/* ---------- Cartes offres ---------- */
.offers-list { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .offers-list { grid-template-columns: repeat(2, 1fr); align-items: start; } }

.offer-card {
  background: var(--blanc);
  border-radius: var(--rayon);
  border-top: 6px solid var(--vert);
  box-shadow: 0 8px 28px rgba(10, 89, 51, .12);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.offer-stars {
  display: inline-block;
  background: var(--jaune);
  color: var(--noir);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.offer-card h2 { color: var(--vert); font-size: clamp(1.4rem, 5vw, 1.8rem); margin-bottom: .5rem; }
.offer-dates { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: .25rem; }
.offer-hotel { margin: 0; opacity: .75; }
.offer-price {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 800;
  color: var(--vert);
  line-height: 1.1;
  margin: 1rem 0;
  padding: .75rem 1rem;
  background: var(--beige);
  border-radius: 10px;
  text-align: center;
}
.offer-subtitle { font-size: 1.05rem; color: var(--vert); margin-bottom: .5rem; }
.offer-included { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.offer-included li { padding-left: 1.6rem; position: relative; }
.offer-included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vert);
  font-weight: 700;
}

.offer-route {
  border: 2px solid rgba(10, 89, 51, .2);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}
.offer-route summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--vert);
}
.offer-route summary::-webkit-details-marker { display: none; }
.offer-route summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.offer-route[open] summary::after { content: "−"; }
.offer-route ol {
  margin: 0;
  padding: 0 1rem 1rem 2.5rem;
  display: grid;
  gap: .35rem;
}
.offer-btn { margin-top: auto; width: 100%; }

.offers-empty, .offers-loading {
  background: var(--blanc);
  border: 3px solid var(--or);
  border-radius: var(--rayon);
  padding: 2rem 1.5rem;
  text-align: center;
  grid-column: 1 / -1;
}
.offers-empty p { font-size: 1.15rem; font-weight: 600; max-width: 32rem; margin: 0 auto 1.25rem; }

/* ---------- Avis clients ---------- */
.reviews { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  border-radius: var(--rayon);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--or); font-size: 1.2rem; letter-spacing: .1em; margin-bottom: .5rem; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .75rem; line-height: 1.3; }
.review-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--vert);
  color: var(--jaune);
  font-family: var(--font-ui);
  font-weight: 700;
}

/* ---------- Page Services ---------- */
.services-poster {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0 auto 2.5rem;
  border-radius: var(--rayon);
  box-shadow: 0 10px 30px rgba(10, 89, 51, .18);
}
.services-grid { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: var(--blanc);
  border-radius: var(--rayon);
  border-top: 4px solid var(--jaune);
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(10, 89, 51, .08);
}
.service h2 { font-size: 1.3rem; color: var(--vert); margin: .9rem 0 .4rem; }
.service p { margin: 0; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--vert);
  color: var(--jaune);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-cta { margin: 2.5rem 0 0; }

/* Icônes des services (Phosphor Duotone, MIT) – identiques sur l'accueil et la page Services */
.service,
.card-body { text-align: center; }
.service-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--vert);
  color: var(--jaune);
  box-shadow: 0 0 0 2px var(--or);
  transition: transform .2s ease;
}
.service-badge svg { width: 34px; height: 34px; display: block; }
.card-body .service-badge { margin-bottom: .9rem; }
@media (hover: hover) {
  .service:hover .service-badge,
  .card:hover .service-badge { transform: scale(1.08); }
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq-item {
  background: var(--blanc);
  color: var(--texte);
  border-radius: 12px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.25rem;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--vert);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--beige);
  font-size: 1.3rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; background: var(--jaune); }
.faq-item p { margin: 0; padding: 0 1.25rem 1.25rem; }
.faq-item a { color: var(--vert); font-weight: 600; }

/* ---------- Page À propos ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; }

.commitments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) { .commitments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
.commitments li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(242, 201, 76, .35);
  border-radius: var(--rayon);
  padding: 1.25rem;
}
.commitments p { margin: 0; }
.commitment-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--jaune);
  color: var(--vert);
}
.commitment-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.commitments-end { margin: 2rem auto 0; font-style: italic; }

.team-religious { max-width: 40rem; margin: -1rem auto 2.5rem; }
.team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}
@media (min-width: 860px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { margin: 0; text-align: center; }
.member-photo {
  width: min(150px, 100%);
  aspect-ratio: 1;
  margin: 0 auto .9rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 4px solid var(--jaune);
  box-shadow: 0 6px 18px rgba(10, 89, 51, .2);
}
.member-initials {
  display: grid;
  place-items: center;
  background: var(--vert);
  color: var(--jaune);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 2.2rem;
}
.member figcaption { display: grid; gap: .15rem; line-height: 1.3; }
.member strong { font-family: var(--font-titre); font-size: 1.1rem; color: var(--vert); }
.member span:not(.member-photo) {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .7;
}

/* ---------- Page Contact ---------- */
.btn-whatsapp {
  gap: .6rem;
  margin-top: 1.75rem;
  min-height: 60px;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  background: #25D366;
  color: var(--blanc);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.btn-whatsapp:hover { background: #1EBE5A; }
@media (max-width: 480px) { .btn-whatsapp { width: 100%; } }

.contact-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  background: var(--blanc);
  border-radius: var(--rayon);
  border-top: 4px solid var(--jaune);
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(10, 89, 51, .08);
}
.contact-card h3 { color: var(--vert); margin: .9rem 0 .4rem; }
.contact-card p { margin: 0 0 .35rem; }
.contact-card a {
  color: var(--vert);
  font-weight: 600;
  display: inline-block;
  padding: .3rem 0; /* zone de toucher plus grande sur téléphone */
}

.booking-terms {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}
.booking-terms a { color: var(--jaune); font-weight: 600; }

/* ---------- Pages CGU et confidentialité ---------- */
.legal h2 { font-size: 1.25rem; color: var(--vert); margin: 2rem 0 .6rem; }
.legal ul { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--vert); font-weight: 600; overflow-wrap: anywhere; }
.legal-date { opacity: .75; }
/* Informations encore à fournir par l'agence : bien visibles tant qu'elles ne sont pas remplies */
.a-completer {
  background: #FFE600;
  color: var(--noir);
  padding: .05em .3em;
  border-radius: 3px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--noir);
  color: rgba(255,255,255,.85);
  padding: 3.5rem 0 6rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: var(--jaune); margin-bottom: .75rem; }
.footer-logo {
  /* logo vert sur fond transparent : posé sur une pastille beige pour rester lisible sur le noir */
  width: 190px;
  height: 64px;
  object-fit: cover;
  background: var(--beige);
  border-radius: 12px;
  margin-bottom: .75rem;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--blanc); text-decoration: none; }
.site-footer a:hover { color: var(--jaune); }
.copyright {
  text-align: center;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9rem;
  opacity: .7;
}

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: var(--blanc);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
