/* Atlas Nomad Campers - charte graphique
   Couleurs issues du logo : vert profond (montagnes), ocre (soleil), bleu ocean, sable. */
:root {
  --an-ink: #10201a;
  --an-ink-2: #1d3a31;
  --an-sun: #d98a1f;
  --an-sun-dark: #b86f10;
  --an-ocean: #127f8c;
  --an-sand: #f6efe4;
  --an-sand-2: #ecdfca;
  --an-white: #ffffff;
  --an-text: #2b3833;
  --an-muted: #5d6b65;
  --an-line: rgba(16, 32, 26, .12);
  --an-radius: 18px;
  --an-shadow: 0 18px 40px -18px rgba(16, 32, 26, .35);
  --an-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --an-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --an-header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--an-header-h) + 12px); }
body { font-family: var(--an-sans); color: var(--an-text); background: var(--an-white); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body .elementor-widget-text-editor, body .elementor-widget-text-editor p, body .elementor-icon-list-text { font-family: var(--an-sans); color: inherit; font-size: inherit; line-height: inherit; }
body .elementor-heading-title, .an-footer h2 { font-family: var(--an-serif); color: var(--an-ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
body h1.elementor-heading-title { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
body h2.elementor-heading-title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
body h3.elementor-heading-title { font-size: clamp(1.25rem, 2vw, 1.5rem); }
a { color: var(--an-ocean); }
img { max-width: 100%; height: auto; }
.an-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--an-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.an-skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--an-sun); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.an-btn, body .an-cta .elementor-button, body .an-cta-line .elementor-button, body .an-cta-wa .elementor-button, body .an-cta-airbnb .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--an-sans); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.an-btn:hover, body .an-cta .elementor-button:hover, body .an-cta-line .elementor-button:hover, body .an-cta-wa .elementor-button:hover, body .an-cta-airbnb .elementor-button:hover { transform: translateY(-2px); }
.an-btn--sun, body .an-cta .elementor-button { background: var(--an-sun); color: #fff; box-shadow: 0 10px 22px -10px rgba(217, 138, 31, .8); }
.an-btn--sun:hover, body .an-cta .elementor-button:hover { background: var(--an-sun-dark); color: #fff; }
.an-btn--line, body .an-cta-line .elementor-button { background: transparent; color: var(--an-ink); border-color: currentColor; }
.an-btn--line:hover, body .an-cta-line .elementor-button:hover { background: var(--an-ink); color: #fff; border-color: var(--an-ink); }
.an-btn--wa, body .an-cta-wa .elementor-button { background: #1f9d55; color: #fff; }
.an-btn--wa:hover, body .an-cta-wa .elementor-button:hover { background: #17803f; color: #fff; }
.an-btn--airbnb, body .an-cta-airbnb .elementor-button { background: #ff385c; color: #fff; }
.an-btn--airbnb:hover, body .an-cta-airbnb .elementor-button:hover { background: #e0284a; color: #fff; }
body .an-sec--dark .an-cta-line .elementor-button, body .an-hero .an-cta-line .elementor-button, body .an-cta-band .an-cta-line .elementor-button { color: #fff; border-color: rgba(255, 255, 255, .85); }
body .an-sec--dark .an-cta-line .elementor-button:hover, body .an-hero .an-cta-line .elementor-button:hover, body .an-cta-band .an-cta-line .elementor-button:hover { background: #fff; color: var(--an-ink); border-color: #fff; }

/* ---------- En-tete ---------- */
.an-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--an-line); transition: box-shadow .2s ease; }
.an-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 32, 26, .5); }
.admin-bar .an-header { top: 32px; }
.an-header__in { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: var(--an-header-h); display: flex; align-items: center; gap: 28px; }
.an-logo { flex: 0 0 auto; display: block; line-height: 0; }
.an-logo img { width: 128px; height: auto; }
.an-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.an-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.an-nav ul a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--an-ink); font-weight: 500; font-size: 15.5px; text-decoration: none; transition: background-color .15s, color .15s; }
.an-nav ul a:hover { background: var(--an-sand); }
.an-nav ul a[aria-current="page"] { color: var(--an-sun-dark); font-weight: 700; }
.an-langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--an-line); border-radius: 999px; }
.an-langs a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--an-muted); text-decoration: none; }
.an-langs a.is-current { background: var(--an-ink); color: #fff; }
.an-header__cta { padding: 12px 22px; font-size: 15px; }
.an-nav__cta { display: none; }
.an-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--an-line); background: #fff; border-radius: 12px; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.an-burger span { display: block; width: 20px; height: 2px; background: var(--an-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.an-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.an-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.an-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .an-burger { display: inline-flex; }
  .an-header__cta { margin-left: auto; }
  .an-burger { margin-left: 0; }
  .an-nav { position: fixed; inset: var(--an-header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px 26px; background: #fff; border-bottom: 1px solid var(--an-line); box-shadow: 0 24px 40px -24px rgba(16, 32, 26, .5); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--an-header-h)); overflow-y: auto; }
  .admin-bar .an-nav { top: calc(var(--an-header-h) + 46px); }
  .an-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .an-nav ul { flex-direction: column; }
  .an-nav ul a { padding: 13px 12px; font-size: 17px; border-bottom: 1px solid var(--an-line); border-radius: 0; }
  .an-langs { align-self: flex-start; }
  .an-nav__cta { display: inline-flex; }
}
@media (max-width: 520px) {
  :root { --an-header-h: 66px; }
  .an-logo img { width: 104px; }
  .an-header__cta { padding: 10px 16px; font-size: 14px; }
  .an-header__in { gap: 12px; padding: 0 16px; }
}

/* ---------- Mise en page des conteneurs Elementor ---------- */
body .elementor .e-con { --container-default-padding-top: 0px; --container-default-padding-right: 0px; --container-default-padding-bottom: 0px; --container-default-padding-left: 0px; --container-max-width: 100%; }
body .e-con.an-stack { display: flex; flex-direction: column; gap: 16px; }
body .e-con.an-wrap { gap: 40px; }
body .e-con.an-card__body { gap: 10px; }
body .e-con.an-center { align-items: center; text-align: center; }
body .e-con.an-btns { flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; }
body .e-con.an-btns--center { justify-content: center; }
body .e-con.an-split { align-items: center; gap: clamp(28px, 5vw, 64px); }
body .e-con.an-itins .an-wrap { gap: clamp(48px, 7vw, 88px); }
body .e-con.an-sec, body .e-con.an-hero { padding-left: 20px; padding-right: 20px; }
body .e-con .elementor-widget { width: 100%; max-width: 100%; }
body .e-con.an-btns > .elementor-widget, body .e-con.an-center > .elementor-widget-icon { width: auto; }
body .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ---------- Sections ---------- */
body .an-sec { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
body .an-sec--sand { background: var(--an-sand); }
body .an-sec--dark { background: var(--an-ink); color: rgba(255, 255, 255, .86); }
body .an-sec--dark .elementor-heading-title { color: #fff; }
body .an-sec--tight { padding-top: 48px; padding-bottom: 48px; }
body .an-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; width: 100%; }
body .an-kicker .elementor-heading-title { font-family: var(--an-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--an-sun-dark); }
body .an-sec--dark .an-kicker .elementor-heading-title, body .an-hero .an-kicker .elementor-heading-title { color: #f3b85c; }
body .an-lead { font-size: 1.12em; color: var(--an-muted); max-width: 720px; }
body .an-sec--dark .an-lead { color: rgba(255, 255, 255, .8); }
body .an-center { text-align: center; }
body .an-center .an-lead, body .an-center.an-lead { margin-left: auto; margin-right: auto; }

/* ---------- Bandeau principal (hero) ---------- */
body .an-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; padding-top: 140px; padding-bottom: clamp(56px, 8vw, 96px); background-size: cover; background-position: center; color: #fff; isolation: isolate; }
body .an-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 18, .15) 0%, rgba(10, 22, 18, .35) 45%, rgba(10, 22, 18, .82) 100%); }
body .an-hero--short { min-height: min(62vh, 560px); }
body .an-hero .elementor-heading-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
body .an-hero .an-lead { color: rgba(255, 255, 255, .9); font-size: 1.2em; }
body .an-hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; font-weight: 500; }
body .an-hero-badges .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px 24px; }
body .an-hero-badges .elementor-icon-list-item { color: #fff; }
body .an-hero-badges .elementor-icon-list-icon i, body .an-hero-badges .elementor-icon-list-icon svg { color: #f3b85c; fill: #f3b85c; }

/* ---------- Grilles et cartes ---------- */
body .an-grid { display: grid; gap: 24px; }
body .an-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .an-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .an-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { body .an-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } body .an-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { body .an-grid--2, body .an-grid--3, body .an-grid--4 { grid-template-columns: 1fr; } }
body .an-card { background: #fff; border-radius: var(--an-radius); box-shadow: var(--an-shadow); overflow: hidden; border: 1px solid var(--an-line); }
body .an-card--pad { padding: 28px; }
body .an-card .elementor-widget-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; display: block; }
body .an-card__body { padding: 24px 26px 28px; gap: 10px; }
body .an-card h3.elementor-heading-title { font-size: 1.35rem; }
body .an-price .elementor-heading-title { font-family: var(--an-sans); font-size: 15px; font-weight: 700; color: var(--an-ocean); letter-spacing: .02em; }
body .an-feature { padding: 26px; border-radius: var(--an-radius); background: #fff; border: 1px solid var(--an-line); }
body .an-sec--sand .an-feature { border-color: transparent; }
body .an-feature .elementor-icon-wrapper .elementor-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--an-sand); color: var(--an-sun-dark); font-size: 24px; display: inline-flex; align-items: center; justify-content: center; }
body .an-sec--sand .an-feature .elementor-icon-wrapper .elementor-icon { background: var(--an-sand-2); }
body .an-feature .elementor-icon svg { width: 24px; height: 24px; fill: var(--an-sun-dark); }

/* Listes a puces avec icone */
body .an-list .elementor-icon-list-item { padding: 6px 0; align-items: flex-start; }
body .an-list .elementor-icon-list-icon { padding-top: 5px; }
body .an-list .elementor-icon-list-icon i { color: var(--an-ocean); font-size: 15px; }
body .an-list .elementor-icon-list-icon svg { fill: var(--an-ocean); width: 15px; height: 15px; }

/* Photos */
body .an-photo img { border-radius: var(--an-radius); box-shadow: var(--an-shadow); width: 100%; object-fit: cover; display: block; }
body .an-photo--tall img { aspect-ratio: 4 / 5; }
body .an-photo--wide img { aspect-ratio: 16 / 10; }
body .an-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body .an-gallery .elementor-widget-image img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; width: 100%; display: block; }
@media (max-width: 768px) { body .an-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Etapes */
body .an-step { position: relative; padding: 26px; border-radius: var(--an-radius); background: #fff; border: 1px solid var(--an-line); }
body .an-step__num .elementor-heading-title { font-family: var(--an-serif); font-size: 2.4rem; color: var(--an-sun); line-height: 1; }

/* Bandeau d'appel a l'action */
body .an-cta-band { border-radius: 26px; padding: clamp(36px, 6vw, 64px); background: linear-gradient(120deg, var(--an-ink) 0%, var(--an-ink-2) 60%, #234f45 100%); color: rgba(255, 255, 255, .86); box-shadow: var(--an-shadow); }
body .an-cta-band .elementor-heading-title { color: #fff; }
body .an-btns { display: flex; flex-wrap: wrap; gap: 12px; }
body .an-btns > .elementor-element { width: auto; }

/* Options de reservation */
body .an-book { padding: 30px; border-radius: var(--an-radius); background: #fff; border: 1px solid var(--an-line); box-shadow: var(--an-shadow); gap: 12px; }
body .an-book--airbnb { border-top: 5px solid #ff385c; }
body .an-book--wa { border-top: 5px solid #1f9d55; }
body .an-book--form { border-top: 5px solid var(--an-sun); }

/* FAQ */
.an-faq { max-width: 860px; margin: 0 auto; }
.an-faq details { background: #fff; border: 1px solid var(--an-line); border-radius: 14px; margin-bottom: 12px; transition: box-shadow .2s; }
.an-faq details[open] { box-shadow: var(--an-shadow); }
.an-faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--an-ink); position: relative; font-size: 17.5px; }
.an-faq summary::-webkit-details-marker { display: none; }
.an-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--an-sun-dark); }
.an-faq details[open] summary::after { content: "–"; }
.an-faq details p { margin: 0; padding: 0 22px 22px; color: var(--an-muted); }

/* Calendrier et formulaire */
body .an-calendar { background: #fff; border-radius: var(--an-radius); padding: 24px; border: 1px solid var(--an-line); }
body .an-form { background: #fff; border-radius: var(--an-radius); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--an-line); box-shadow: var(--an-shadow); }
body .an-form .mf-input { border-radius: 10px !important; border: 1px solid #cdd5d1 !important; min-height: 50px; font-family: var(--an-sans); }
body .an-form .mf-input:focus { border-color: var(--an-ocean) !important; box-shadow: 0 0 0 3px rgba(18, 127, 140, .15) !important; }
/* Le formulaire MetForm a sa propre grille (sections/colonnes sur fond bleu) : on la neutralise */
body .an-form .elementor-section, body .an-form .elementor-column-wrap, body .an-form .elementor-widget-wrap, body .an-form .elementor-column, body .an-form .e-con { background: transparent !important; background-image: none !important; box-shadow: none !important; border: 0 !important; }
body .an-form .elementor-section { padding: 0 !important; margin: 0 !important; }
body .an-form .elementor-container { display: flex; flex-wrap: wrap; gap: 0 18px; max-width: 100% !important; }
body .an-form .elementor-column { width: calc(50% - 9px) !important; flex: 0 0 auto; }
body .an-form .elementor-column .elementor-widget-wrap { padding: 0 !important; }
body .an-form .elementor-widget-mf-button, body .an-form .elementor-column:has(.elementor-widget-mf-button), body .an-form .elementor-column:has(.elementor-widget-mf-text:only-child [name="mf-text"]) { width: 100% !important; }
body .an-form .elementor-widget { margin-bottom: 16px !important; }
body .an-form .mf-input-wrapper { width: 100%; }
@media (max-width: 560px) { body .an-form .elementor-column { width: 100% !important; } }
body .an-form .mf-input-label { color: var(--an-ink) !important; font-family: var(--an-sans) !important; font-weight: 700 !important; }
body .an-form .mf-input::placeholder { color: #7a8681 !important; }
body .an-form .metform-btn { background: var(--an-sun) !important; border-radius: 999px !important; font-weight: 700 !important; padding: 15px 30px !important; border: 0 !important; }
body .an-form .metform-btn:hover { background: var(--an-sun-dark) !important; }

/* Texte de presentation (referencement) : largeur de lecture confortable */
body .e-con.an-seo-texte { max-width: 860px; margin-left: auto; margin-right: auto; }
body .an-seo-texte a { color: var(--an-ocean); font-weight: 600; }

/* Mentions */
body .an-note { font-size: 14.5px; color: var(--an-muted); }

/* ---------- Pied de page ---------- */
.an-footer { background: var(--an-ink); color: rgba(255, 255, 255, .78); padding: 72px 20px 0; font-size: 15.5px; }
.an-footer__in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; }
.an-footer .an-logo img { width: 150px; background: #fff; border-radius: 14px; padding: 8px 10px; }
.an-footer p { margin: 16px 0; }
.an-footer h2 { color: #fff; font-size: 1.2rem; margin: 0 0 16px; }
.an-footer ul { list-style: none; margin: 0; padding: 0; }
.an-footer li { margin: 0 0 10px; }
.an-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.an-footer a:hover { color: #f3b85c; }
.an-footer__insta { font-weight: 700; }
.an-footer__btns { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.an-footer__btns .an-btn { padding: 12px 20px; font-size: 15px; }
.an-footer .an-btn--line { color: #fff; }
.an-footer .an-btn--line:hover { background: #fff; color: var(--an-ink); }
.an-footer__bas { max-width: 1200px; margin: 56px auto 0; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .an-footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .an-footer__in { grid-template-columns: 1fr; gap: 30px; } .an-footer { padding-bottom: 70px; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.an-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s; }
.an-wa-float:hover { transform: scale(1.06); color: #fff; }
.an-wa-float__bulle { position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--an-ink); font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 12px; box-shadow: var(--an-shadow); opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.an-wa-float:hover .an-wa-float__bulle, .an-wa-float:focus .an-wa-float__bulle { opacity: 1; transform: none; }
@media (max-width: 600px) { .an-wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; } .an-wa-float__bulle { display: none; } }

/* ---------- Mobile : espacements ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  body .an-wrap { padding-left: 4px; padding-right: 4px; }
  body .an-hero { min-height: 78vh; padding-top: 110px; }
  body .an-btns > .elementor-element { width: 100%; }
  body .an-btns .elementor-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Rubrique Guides : texte d'article lisible */
body .e-con.an-article { max-width: 780px; margin-left: auto; margin-right: auto; width: 100%; }
body .an-article h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 1.6em 0 .55em; }
body .an-article h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; }
body .an-article p, body .an-article li { font-size: 1.06rem; line-height: 1.75; }
body .an-article ul, body .an-article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
body .an-article li { margin-bottom: .45em; }
body .an-article a { color: var(--an-ocean); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body .an-article .an-article__chapo { font-size: 1.16rem; color: var(--an-muted); }

/* Formulaire de reservation : calcul du prix (tarif direct) */
.an-resa-calcul { margin: 6px 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--an-sand); border: 1px solid var(--an-line); }
.an-resa-calcul p { margin: 0 0 6px; }
.an-resa-calcul p:last-child { margin-bottom: 0; }
.an-resa-calcul__titre { font-weight: 700; color: var(--an-ink); font-size: 1.02rem; }
.an-resa-calcul__dates { color: var(--an-ink); }
.an-resa-calcul__ligne { font-size: 1.08rem; color: var(--an-ink); }
.an-resa-calcul__total { font-size: 1.5rem; color: var(--an-sun-dark); white-space: nowrap; }
.an-resa-calcul__note { font-size: .92rem; color: var(--an-muted); }
.an-resa-calcul.is-ok { background: #fff; border-color: var(--an-sun-dark); box-shadow: var(--an-shadow); }
.an-resa-calcul.is-erreur { background: #fff4f2; border-color: #e3a397; }
.an-resa-calcul__erreur { color: #a1361f; font-weight: 600; }
.an-resa-bloque .metform-submit-btn { opacity: .5; }
.an-tarif { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: var(--an-sun-dark); line-height: 1.1; }
.an-tarif small { font-size: .45em; font-weight: 600; color: var(--an-muted); }
.an-champ-calcule { display: none !important; }
/* Date choisie lisible (le texte des champs date etait blanc sur fond clair) */
body .an-form input.mf-date-input { color: var(--an-ink) !important; }

/* Calendrier de la date de retour aligne a droite (ne deborde plus de l'ecran sur mobile) */
body .an-form input[name="date-retour"] ~ .flatpickr-calendar.static { left: auto; right: 0; }
@media (max-width: 420px) { body .an-form .flatpickr-calendar.static { max-width: calc(100vw - 32px); } }

/* Tableau des supplements de livraison */
.an-villes { width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--an-shadow); }
.an-villes th, .an-villes td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--an-line); }
.an-villes th { background: var(--an-sand); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--an-muted); }
.an-villes td:last-child, .an-villes th:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.an-villes tr:last-child td { border-bottom: 0; }
/* Calculateur : detail */
.an-resa-calcul__table { width: 100%; border-collapse: collapse; margin: 8px 0 10px; }
.an-resa-calcul__table td { padding: 6px 0; border-bottom: 1px dashed var(--an-line); color: var(--an-ink); vertical-align: top; }
.an-resa-calcul__table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.an-resa-calcul__table tr.is-total td { border-bottom: 0; padding-top: 10px; font-weight: 700; }
.an-resa-calcul__table tr.is-acompte td { border-bottom: 0; color: var(--an-sun-dark); font-weight: 700; }
.an-resa-calcul__apart { margin-top: 10px; padding: 12px 14px; background: var(--an-sand); border-radius: 10px; }
.an-resa-calcul__apart ul { margin: 6px 0 0; padding-left: 1.1em; }
.an-resa-calcul__apart li { font-size: .92rem; color: var(--an-ink); margin-bottom: 4px; }
