/* =========================================================
   Si On Voyageait — styles applicatifs (tout le site)
   À charger en complément des réglages globaux Kadence
   (Palette de couleurs + Typographie). Voir README.md.
   ========================================================= */

:root{
  --cream:#FAF4E8;      /* fond de page                 */
  --paper:#FFFBF2;      /* cartes / surfaces            */
  --ink:#2A2521;        /* texte principal / sections sombres */
  --ink-soft:#6B6157;   /* texte secondaire             */
  --red:#D6453B;        /* couleur primaire / accent    */
  --red-deep:#B5362E;   /* survol / pressé              */
  --line:#E4D8C4;       /* bordures / filets            */
  --serif:"Newsreader", Georgia, serif;        /* titres   */
  --sans:"Work Sans", system-ui, sans-serif;   /* texte    */
  --hand:"Caveat", cursive;                     /* accents manuscrits */
  --mono:"Space Mono", ui-monospace, monospace; /* labels  */
}

/* ---- base ---- */
body{
  background-color:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6,
.entry-title,.kadence-title,.wp-block-heading{
  font-family:var(--serif);
  font-weight:500;
  color:var(--ink);
  letter-spacing:-.01em;
}
h1 em,h2 em,h3 em{ font-style:italic; color:var(--red); }

a{ color:var(--red); }
a:hover{ color:var(--red-deep); }
::selection{ background:var(--red); color:#fff; }

/* ---- boutons (blocs WP + Kadence) ---- */
.wp-block-button__link,
.kb-button,.kt-btn,
.button,.wp-element-button{
  background-color:var(--red);
  color:#fff;
  border-radius:40px;
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:.03em;
  transition:background-color .15s ease, transform .15s ease;
}
.wp-block-button__link:hover,
.kb-button:hover,.kt-btn:hover,
.button:hover,.wp-element-button:hover{
  background-color:var(--red-deep);
  transform:translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link{
  background:transparent; color:var(--ink); border:1.5px solid var(--ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  background:var(--ink); color:var(--cream);
}

/* ---- liens « catégorie / lieu » : petite pastille rouge (motif récurrent) ---- */
.sov-place{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--sans); font-weight:700; font-size:11px;
  text-transform:uppercase; letter-spacing:.1em; color:var(--red);
}
.sov-place::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--red); }

/* ---- en-tête Kadence : style proche de la maquette ----
   (si vous recréez le header via le Header Builder Kadence
    plutôt que via le pattern d'accueil) */
.site-header-row a:hover{ color:var(--red); }
.site-header-item .header-menu-container .menu li > a:hover{ color:var(--red); }

.env-banner{
  position:relative;
  z-index:130;
  border-bottom:1px solid rgba(255,255,255,.22);
  color:#fff;
}
.env-banner .wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:44px;
  padding:10px 20px;
  text-align:center;
}
.env-banner--preprod{
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0, rgba(255,255,255,.12) 12px, transparent 12px, transparent 24px),
    linear-gradient(90deg, #8e1f1b 0%, #d6453b 100%);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.12);
}
.env-banner__eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:78px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.env-banner__text{
  font-size:13px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* En-tête collant : léger rétrécissement (Kadence « Sticky Header » activé) */
#masthead.item-is-fixed .site-branding img,
.site-header.kadence-sticky-bg .site-branding img{
  transition:transform .28s ease, width .28s ease;
}

/* =========================================================
   Logos réseaux sociaux (site-wide) — v1.9.0
   Icônes vectorielles via mask-image (couleur = currentColor),
   sobres et harmonisées. Markup : <a class="soc soc-instagram">…</a>
   Le libellé texte reste en .soc-label (lu par les lecteurs d'écran).
   ========================================================= */
.socials{ display:flex; align-items:center; gap:6px; }
.soc{
  --svg:none;
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  color:var(--ink-soft); background:transparent;
  transition:color .15s ease, background-color .15s ease, transform .15s ease;
}
.soc::before{
  content:""; width:17px; height:17px; background-color:currentColor;
  -webkit-mask:var(--svg) center/contain no-repeat; mask:var(--svg) center/contain no-repeat;
}
.soc:hover{ color:#fff; background:var(--red); transform:translateY(-1px); }
.soc .soc-label{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.soc-instagram{ --svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2.2c3.2 0 3.6 0 4.85.07 1.17.05 1.8.25 2.23.41.56.22.96.48 1.38.9.42.42.68.82.9 1.38.16.42.36 1.06.41 2.23.06 1.27.07 1.65.07 4.85s0 3.58-.07 4.85c-.05 1.17-.25 1.8-.41 2.23-.22.56-.48.96-.9 1.38-.42.42-.82.68-1.38.9-.42.16-1.06.36-2.23.41-1.27.06-1.65.07-4.85.07s-3.58 0-4.85-.07c-1.17-.05-1.8-.25-2.23-.41a3.7 3.7 0 0 1-1.38-.9 3.7 3.7 0 0 1-.9-1.38c-.16-.42-.36-1.06-.41-2.23C2.21 15.58 2.2 15.2 2.2 12s0-3.58.07-4.85c.05-1.17.25-1.8.41-2.23.22-.56.48-.96.9-1.38.42-.42.82-.68 1.38-.9.42-.16 1.06-.36 2.23-.41C8.42 2.21 8.8 2.2 12 2.2Zm0 1.95c-3.15 0-3.52.01-4.76.07-1.15.05-1.77.24-2.18.4-.55.22-.94.47-1.35.88-.41.41-.66.8-.88 1.35-.16.41-.35 1.03-.4 2.18-.06 1.24-.07 1.61-.07 4.76s.01 3.52.07 4.76c.05 1.15.24 1.77.4 2.18.22.55.47.94.88 1.35.41.41.8.66 1.35.88.41.16 1.03.35 2.18.4 1.24.06 1.61.07 4.76.07s3.52-.01 4.76-.07c1.15-.05 1.77-.24 2.18-.4.55-.22.94-.47 1.35-.88.41-.41.66-.8.88-1.35.16-.41.35-1.03.4-2.18.06-1.24.07-1.61.07-4.76s-.01-3.52-.07-4.76c-.05-1.15-.24-1.77-.4-2.18a3.6 3.6 0 0 0-.88-1.35 3.6 3.6 0 0 0-1.35-.88c-.41-.16-1.03-.35-2.18-.4-1.24-.06-1.61-.07-4.76-.07Zm0 3.32a4.53 4.53 0 1 1 0 9.06 4.53 4.53 0 0 1 0-9.06Zm0 1.95a2.58 2.58 0 1 0 0 5.16 2.58 2.58 0 0 0 0-5.16Zm5.77-2.17a1.06 1.06 0 1 1-2.12 0 1.06 1.06 0 0 1 2.12 0Z'/%3E%3C/svg%3E"); }
.soc-facebook{ --svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14.5 8.5h2.2V5.6c-.38-.05-1.32-.16-2.42-.16-2.4 0-4.04 1.47-4.04 4.16V12H7.6v3.27h2.64V23h3.27v-7.73h2.53l.4-3.27h-2.93V9.93c0-.95.26-1.43 1.49-1.43Z'/%3E%3C/svg%3E"); }
.soc-x{ --svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.24 3h3.31l-7.23 8.26L22.84 21h-6.66l-5.22-6.82L4.99 21H1.68l7.73-8.83L1.32 3h6.83l4.72 6.24L18.24 3Zm-1.16 16.03h1.83L7.01 4.87H5.05l12.03 14.16Z'/%3E%3C/svg%3E"); }
.soc-rss{ --svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M5 3c9.4 0 17 7.6 17 17h-3.2C18.8 12.4 12.6 6.2 5 6.2V3Zm0 6.4c5.86 0 10.6 4.74 10.6 10.6h-3.2A7.4 7.4 0 0 0 5 12.6V9.4ZM7.3 16.7a2.3 2.3 0 1 1 0 4.6 2.3 2.3 0 0 1 0-4.6Z'/%3E%3C/svg%3E"); }

/* ---- Footer éditorial (v1.9.0) : vignettes des derniers voyages + icônes sociales ---- */
.foot-recent{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.foot-recent a{ display:flex; align-items:center; gap:10px; color:var(--ink); }
.foot-recent a:hover .foot-recent-t{ color:var(--red); }
.foot-thumb{
  flex:none; width:38px; height:38px; border-radius:7px; background:var(--line) center/cover no-repeat;
  box-shadow:0 2px 8px -3px rgba(42,37,33,.35);
}
.foot-thumb[data-empty]{ background:linear-gradient(135deg,var(--paper),var(--line)); }
.foot-recent-t{ font-family:var(--serif); font-size:13px; line-height:1.15; transition:color .15s ease; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.foot-col .socials{ margin-top:2px; flex-wrap:wrap; }
.foot-col .soc{ color:var(--ink-soft); }
.tb-right{ display:flex; align-items:center; gap:8px; }
.foot-grid{ align-items:stretch; }
.foot-panel{
  background:linear-gradient(180deg,#fffdf8 0%,#fbf6ee 100%);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 16px 34px -28px rgba(42,37,33,.38);
  padding:22px 22px 20px;
  display:flex;
  flex-direction:column;
}
.foot-brand{
  flex:0 1 320px;
  padding:10px 4px 0 0;
}
.foot-brand .brand{ align-items:center; }
.foot-brand p{
  margin-top:14px;
  max-width:28ch;
}
.foot-col{ flex:1 1 250px; min-width:220px; }
.foot-col--dest{ flex:0 1 320px; min-width:320px; }
.foot-col--recent{ flex:1 1 410px; min-width:410px; }
.foot-dest-listing{
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}
.foot-dest-item{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:9px;
  align-items:center;
  color:var(--ink);
  border:1px solid rgba(42,37,33,.08);
  border-radius:6px;
  padding:7px 8px 9px;
  background:#fffefb;
  box-shadow:0 14px 24px -24px rgba(42,37,33,.42);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  transform:rotate(-1.1deg);
  position:relative;
}
.foot-dest-item:nth-child(2n){ transform:rotate(1deg); }
.foot-dest-item:nth-child(3n){ transform:rotate(-.35deg); }
.foot-dest-item:hover{
  transform:translateY(-2px) rotate(0deg);
  border-color:rgba(214,69,59,.22);
  box-shadow:0 18px 28px -24px rgba(42,37,33,.48);
}
.foot-dest-media{
  display:block;
  width:60px;
  aspect-ratio:1.15;
  border-radius:2px;
  background:var(--line) center/cover no-repeat;
  border:1px solid rgba(42,37,33,.08);
  box-shadow:0 8px 16px -14px rgba(42,37,33,.45);
}
.foot-dest-media[data-empty]{
  background:linear-gradient(135deg,#efe5d2 0%,#dfd0b0 100%);
}
.foot-dest-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.foot-dest-over{
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--red);
}
.foot-dest-name{
  font-family:var(--serif);
  font-size:15px;
  line-height:1.1;
}
.foot-dest-text{
  display:block;
  color:var(--ink-soft);
  font-size:11px;
  line-height:1.3;
  margin-top:2px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.foot-dest-item::after{
  content:"";
  position:absolute;
  right:10px;
  bottom:8px;
  width:14px;
  height:2px;
  border-radius:999px;
  background:rgba(214,69,59,.25);
}
.foot-col--recent .foot-recent{
  flex:1;
  justify-content:space-between;
}
.foot-col--recent .foot-recent li{
  flex:1 1 auto;
}
@media (min-width: 761px){
  .foot-grid{
    display:grid;
    grid-template-columns:minmax(220px,.78fr) minmax(250px,.9fr) minmax(300px,1fr);
    grid-template-rows:auto auto;
    gap:22px;
    align-items:stretch;
  }
  .foot-brand{
    grid-column:1;
    grid-row:1;
  }
  .foot-grid > .foot-col:last-child{
    grid-column:1;
    grid-row:2;
  }
  .foot-col--dest{
    grid-column:2;
    grid-row:1 / span 2;
  }
  .foot-col--recent{
    grid-column:3;
    grid-row:1 / span 2;
  }
  .foot-brand,
  .foot-col,
  .foot-col--dest,
  .foot-col--recent{
    min-width:0;
  }
}
@media (max-width: 600px){
  .foot-panel{ padding:18px 18px 17px; border-radius:14px; }
  .foot-dest-listing{ gap:10px; }
  .foot-dest-item{
    grid-template-columns:88px 1fr;
    gap:12px;
    padding:10px;
    transform:none;
  }
  .foot-dest-item:nth-child(2n),
  .foot-dest-item:nth-child(3n){ transform:none; }
  .foot-dest-item:hover{ transform:none; }
  .foot-dest-media{ width:88px; }
  .foot-dest-name{ font-size:16px; }
  .foot-dest-text{ display:none; }
  .foot-dest-item::after{ display:none; }
}

/* =========================================================
   Recherche (site-wide)
   Formulaire commun + page dédiée + loupe discrète dans le header.
   ========================================================= */

/* formulaire de recherche (commun) */
.sov-search__label{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.sov-search__field{
  display:flex; align-items:center; gap:8px; width:100%;
  background:var(--paper); border:1px solid var(--line); border-radius:999px;
  padding:6px 6px 6px 16px; box-shadow:0 8px 24px -18px rgba(42,37,33,.4);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.sov-search__field:focus-within{ border-color:var(--red); box-shadow:0 8px 24px -14px rgba(214,69,59,.4); }
.sov-search__ico{ display:inline-flex; color:var(--ink-soft); flex:none; }
.sov-search__ico svg{ width:18px; height:18px; }
.sov-search__input{
  flex:1; min-width:0; border:0; background:transparent; outline:none;
  font-family:var(--sans); font-size:15px; color:var(--ink); padding:8px 0;
}
.sov-search__input::placeholder{ color:var(--ink-soft); opacity:.8; }
.sov-search__submit{
  flex:none; border:0; cursor:pointer; border-radius:999px;
  background:var(--red); color:#fff; font-family:var(--sans); font-weight:600; font-size:14px;
  padding:10px 20px; transition:background-color .15s ease, transform .15s ease;
}
.sov-search__submit:hover{ background:var(--red-deep); transform:translateY(-1px); }
.sov-search--page .sov-search__field{ max-width:560px; }

@media (max-width:600px){
  .sov-search__submit{ padding:10px 14px; }
}

/* =========================================================
   Page de recherche dédiée — v1.10.5
   ========================================================= */
.search-page{ padding:48px 0 64px; }
.search-hero{ max-width:760px; margin:0 auto 40px; text-align:center; }
.search-hero__kicker{ font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--red); margin-bottom:8px; }
.search-hero__title{ font-family:var(--serif); font-weight:600; font-size:clamp(30px,4.6vw,46px); line-height:1.08; }
.search-hero__count{ color:var(--ink-soft); margin-top:8px; font-size:15px; }
.search-hero__lead{ color:var(--ink-soft); margin:12px auto 0; font-size:16px; max-width:52ch; line-height:1.6; }
.search-hero__form{ margin-top:24px; display:flex; justify-content:center; }
.search-hero__form .sov-search{ width:100%; max-width:620px; }
.search-suggest{ max-width:560px; margin:0 auto; text-align:center; }
.search-suggest__intro{ color:var(--ink-soft); font-size:15px; margin-bottom:16px; }
.search-suggest__links{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }

.search-list{ list-style:none; margin:0; padding:0; display:grid; gap:18px; max-width:820px; margin:0 auto; }
.search-card{ border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--paper); box-shadow:0 14px 30px -26px rgba(42,37,33,.5); transition:transform .18s ease, box-shadow .18s ease; }
.search-card:hover{ transform:translateY(-3px); box-shadow:0 22px 40px -26px rgba(42,37,33,.55); }
.search-card__link{ display:grid; grid-template-columns:120px 1fr; align-items:stretch; color:var(--ink); text-decoration:none; }
.search-card.no-img .search-card__link{ grid-template-columns:1fr; }
.search-card__ph{ background:var(--line) center/cover no-repeat; min-height:96px; }
.search-card.no-img .search-card__ph{ display:none; }
.search-card__body{ padding:16px 20px; display:flex; flex-direction:column; gap:6px; }
.search-card__type{ font-family:var(--mono,monospace); font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--red-deep); }
.search-card__t{ font-family:var(--serif); font-weight:600; font-size:20px; line-height:1.2; }
.search-card__x{ color:var(--ink-soft); font-size:14px; line-height:1.55; }
.search-card__go{ margin-top:2px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--red); }
@media (max-width:520px){ .search-card__link{ grid-template-columns:1fr; } .search-card__ph{ min-height:150px; } }


/* Déclencheur de recherche dans le header (loupe discrète → page dédiée) */
.nav-search__link{ display:inline-flex; align-items:center; gap:7px; color:var(--ink); }
.nav-search__link svg{ width:18px; height:18px; }
.nav-search__link:hover{ color:var(--red); }
.nav-search__link--topbar{
  justify-content:center; width:32px; height:32px; border-radius:50%;
  color:var(--ink-soft);
}
.nav-search__link--topbar:hover{ color:#fff; background:var(--red); }
.nav-search__txt{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* champ recherche en variante hero (page dédiée) : un peu plus généreux */
.sov-search--hero .sov-search__field{ padding:8px 8px 8px 18px; }
.sov-search--hero .sov-search__input{ font-size:16px; padding:10px 0; }

.search-empty{ max-width:560px; margin:0 auto; text-align:center; }
.search-empty__art{ color:var(--line); width:120px; margin:0 auto 8px; }
.search-empty__art svg{ width:100%; height:auto; }
.search-empty__title{ font-family:var(--serif); font-weight:600; font-size:26px; margin-bottom:10px; }
.search-empty__text{ color:var(--ink-soft); font-size:16px; margin-bottom:24px; }

/* =========================================================
   Pages d'erreur (404 / 403 / 503 rendues par le thème) — v1.10.3
   ========================================================= */
.err-page{ max-width:680px; margin:0 auto; padding:56px 0 72px; text-align:center; }
.err-illus{ max-width:320px; margin:0 auto 14px; }
.err-illus svg{ width:100%; height:auto; }
.err-kicker{ font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--red); margin-bottom:10px; }
.err-title{ font-family:var(--serif); font-weight:600; font-size:clamp(28px,5vw,44px); line-height:1.1; margin-bottom:14px; }
.err-text{ color:var(--ink-soft); font-size:17px; max-width:48ch; margin:0 auto 28px; }
.err-actions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.btn{ display:inline-flex; align-items:center; gap:8px; background:var(--red); color:#fff; text-decoration:none; font-family:var(--sans); font-weight:600; font-size:15px; padding:12px 24px; border-radius:999px; transition:background-color .15s ease, transform .15s ease; border:1px solid var(--red); }
.btn:hover{ background:var(--red-deep); border-color:var(--red-deep); transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.err-search{ margin-top:34px; }
.err-search__intro{ font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:12px; }
.err-search .sov-search{ display:flex; justify-content:center; }
.err-search .sov-search__field{ max-width:480px; }
