/* services-sejour.fr — styles (no external deps) */
:root {
  --bg: #fbfbff;
  --surface: rgba(255,255,255,0.72);
  --surface-2: rgba(255,255,255,0.92);
  --border: rgba(35, 38, 55, 0.10);
  --text: #1f2230;
  --muted: rgba(31,34,48,0.72);
  --muted-2: rgba(31,34,48,0.58);

  --raspberry: #8a307f;
  --blue-1: #79a7d3;
  --blue-2: #6883bc;
  --accent: var(--raspberry);

  --g1: linear-gradient(135deg, rgba(121,167,211,0.75) 0%, rgba(104,131,188,0.70) 48%, rgba(138,48,127,0.38) 100%);
  --g2: linear-gradient(135deg, rgba(121,167,211,0.52) 0%, rgba(104,131,188,0.48) 48%, rgba(138,48,127,0.24) 100%);
  --shadow: 0 18px 50px rgba(15, 18, 36, 0.10);
  --shadow-soft: 0 10px 28px rgba(15, 18, 36, 0.08);

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;

  --container: 1140px;
  --focus: 0 0 0 3px rgba(31,34,48,0.12), 0 0 0 6px rgba(121,167,211,0.48);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(900px 450px at 15% 0%, rgba(189,235,255,0.55), transparent 65%),
              radial-gradient(800px 420px at 85% 10%, rgba(255,227,241,0.50), transparent 60%),
              radial-gradient(900px 520px at 50% 100%, rgba(218,214,255,0.45), transparent 60%),
              var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; outline: none; box-shadow: var(--focus); }
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding-top: var(--safe-top);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.60);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
  border: none;
}
.brand-mark img { width: 40px; height: 40px; }
.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.nav a {
  padding: 7px 8px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  transition: transform .12s ease, background .12s ease;
}
.nav a:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(31,34,48,0.08);
  padding: 9px 11px;
}
.nav a[aria-current="page"] {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(31,34,48,0.10);
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(31,34,48,0.10);
  box-shadow: 0 10px 26px rgba(15,18,36,0.06);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.phone-pill svg { width: 16px; height: 16px; opacity: 0.7; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(31,34,48,0.10);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 12px 28px rgba(15,18,36,0.08);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.btn:hover { filter: brightness(0.99); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary{
  background: linear-gradient(135deg, var(--blue-2), var(--raspberry));
  border: 1px solid rgba(255,255,255,0.55);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15,18,36,0.18);
}
.btn-quiet {
  background: rgba(255,255,255,0.75);
  box-shadow: none;
}

.burger{display:none;width:44px;height:44px;border-radius:14px;align-items:center;justify-content:center;padding:0;background:rgba(255,255,255,0.80);border:1px solid rgba(31,34,48,0.10);}
.burger svg { width: 18px; height: 18px; }
.mobile-nav{display:none;padding:0;}
.mobile-nav .nav {
  justify-content: flex-start;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(31,34,48,0.10);
  box-shadow: none;
}
.mobile-nav .nav a { width: 100%; }
.mobile-nav .nav{display:none;}
.mobile-nav[data-open="true"] .nav{display:flex;}


main { padding: 28px 0 44px; }

.hero {
  border-radius: calc(var(--radius-xl) + 10px);
  background: var(--g2);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 38px;
  align-items: center;
}
.kicker{display:none!important;}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(31,34,48,0.35), rgba(31,34,48,0.10));
}
h1 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  min-height: 260px;
}
.visual-card {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 18px 46px rgba(15,18,36,0.10);
  display: grid;
  place-items: center;
  padding: 18px;
}
.visual-card img {
  width: min(340px, 100%);
  height: auto;
}

.section {
  padding: 32px 0;
}
.section h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(31,34,48,0.10);
  box-shadow: none;
  padding: 18px;
  overflow: hidden;
}
.card h3 {
  margin: 8px 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-align: center;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.card .top {
  display: grid;
  place-items: center;
}
.icon {
  width: 56px;
  height: 56px;
  border-radius: 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.70);
  box-shadow: 0 14px 36px rgba(15,18,36,0.10);
  display: grid;
  place-items: center;
}
.icon img {
  width: 40px; height: 40px;
}
.card .actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li { margin: 8px 0; }

.note {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(31,34,48,0.10);
  padding: 14px 16px;
}

.contact-block {
  border-radius: calc(var(--radius-xl) + 6px);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(31,34,48,0.10);
  box-shadow: none;
  padding: 18px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-top h2 { margin: 0; }
.small {
  font-size: 13px;
  color: var(--muted);
}
.form-wrap {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(31,34,48,0.08);
  min-height: 160px;
}
.form-wrap .loading {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.spinner {
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(31,34,48,0.12);
  border-top-color: rgba(31,34,48,0.40);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.footer {
  padding: 28px 0 calc(30px + var(--safe-bottom));
  border-top: 1px solid rgba(31,34,48,0.10);
  background: rgba(255,255,255,0.50);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.footer h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.footer a { color: rgba(31,34,48,0.82); display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 14px; }
.footer a:hover { background: rgba(255,255,255,0.55); }
.footer .muted { color: var(--muted); font-size: 13px; }
.footer-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 12px;
}

.fab {
  position: fixed;
  pointer-events: auto;
  left: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 3200;
  display: grid;
  gap: 10px;
}
.fab .btn{border-radius:999px;padding:13px 16px;box-shadow:0 18px 40px rgba(15,18,36,0.20);font-weight:800;}

.callbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + var(--safe-bottom));
  z-index: 3200;
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 18, 30, 0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  z-index: 4600;
}
.modal-backdrop[data-open="true"] { display: block; }
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 4700;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
}
.modal[data-open="true"] { display: grid; place-items: center; }
.modal-panel {
  width: min(820px, 100%);
  max-height: calc(100dvh - 24px - var(--safe-top) - var(--safe-bottom));
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-xl) + 6px);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(31,34,48,0.12);
  box-shadow: 0 28px 80px rgba(15,18,36,0.22);
  overflow: hidden;
}
.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(31,34,48,0.10);
  background: rgba(255,255,255,0.68);
}
.modal-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.iconbtn{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31,34,48,0.14);
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15,18,36,0.12);
  cursor: pointer;
  color: var(--text);
}
.iconbtn:focus-visible { outline: none; box-shadow: var(--focus); }
.modal-body{
  padding: 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-body .note { margin-bottom: 12px; }
.modal-body .form-wrap { margin-top: 0; }

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 4200;
  display: none;
}
.cookie-banner[data-open="true"] { display: block; }
.cookie-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: calc(var(--radius-xl) + 6px);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(31,34,48,0.12);
  box-shadow: 0 28px 80px rgba(15,18,36,0.18);
  padding: 14px;
}
.cookie-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cookie-top p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 80ch;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions .btn { box-shadow: none; }

.pref {
  display: grid;
  gap: 10px;
}
.pref-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(31,34,48,0.10);
  background: rgba(255,255,255,0.70);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
}
.toggle {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: rgba(31,34,48,0.14);
  position: relative;
  border: 1px solid rgba(31,34,48,0.10);
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 18px rgba(15,18,36,0.18);
  transition: transform .18s ease;
}
.toggle[data-on="true"] {
  background: rgba(31,34,48,0.26);
}
.toggle[data-on="true"]::after {
  transform: translateX(18px);
}
.toggle[aria-disabled="true"] { opacity: 0.6; }
.toggle:focus-visible { outline: none; box-shadow: var(--focus); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav, .header-right .phone-pill { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  main { padding-bottom: 86px; }
  .callbar { display: block; }
  .fab { bottom: calc(78px + var(--safe-bottom)); }
}

/* Photo strip */
.photo-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:16px;
}
.photo-card{
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(31,34,48,0.10);
  border-radius:24px;
  padding:12px;
  box-shadow: none;
}
.photo-card img{
  width:100%;
  height:auto;
  border-radius:20px;
  display:block;
}
.photo-card figcaption{
  margin-top:10px;
  font-weight:800;
  font-size:13px;
  text-align:center;
}
@media (max-width: 900px){
  .photo-grid{ grid-template-columns:1fr; }
}

.iconbtn:hover{ background: rgba(255,255,255,1); border-color: rgba(31,34,48,0.18); }
/* Prevent HubSpot chat/widgets from covering UI (contact button). */
#hs-web-interactives-top-anchor,
#hs-web-interactives-bottom-anchor,
#hs-web-interactives-floating-container,
#hubspot-messages-iframe-container,
iframe[src*="hubspot.com/messages"]{
  display: none !important;
  pointer-events: none !important;
}
.photo-row{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:10px;
}
@media (max-width: 900px){
  .photo-row{ grid-template-columns:1fr; }
}


/* Footer refresh */
.footer{
  margin-top: 44px;
  padding: 34px 0 18px;
  background: linear-gradient(180deg, rgba(121,167,211,0.10), rgba(138,48,127,0.06));
  border-top: 1px solid rgba(31,34,48,0.10);
}
.footer h3{font-size:14px; letter-spacing:-0.01em;}
.footer a{display:inline-block; padding:10px 12px; border-radius:14px;}
.footer a:hover{background: rgba(121,167,211,0.16);}
.footer-links{display:flex; flex-wrap:wrap; gap:8px;}
.footer-bottom{margin-top:18px; padding-top:14px; border-top:1px solid rgba(31,34,48,0.10);}

/* Hide fixed action buttons when a modal is open */
.is-modal-open .fab,.is-modal-open .callbar{display:none!important;}

.btn-primary:hover{filter:brightness(1.02);}
