@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700&display=swap");
:root {
  --tiedye: radial-gradient(circle at 12% 20%, rgba(255, 110, 150, 0.7) 0, transparent 34%), radial-gradient(circle at 88% 14%, rgba(255, 214, 90, 0.9) 0, transparent 36%), radial-gradient(circle at 80% 74%, rgba(150, 120, 255, 0.5) 0, transparent 38%), radial-gradient(circle at 16% 84%, rgba(60, 214, 200, 0.65) 0, transparent 36%), radial-gradient(circle at 50% 46%, rgba(255, 160, 90, 0.5) 0, transparent 32%), conic-gradient(from 20deg at 50% 50%, #ffd5c8, #fff0b8, #c9f0ec, #e4dcff, #ffd5c8);
  --basalte: #1d3a44;
  --lagon: #14a3a8;
  --lagon-deep: #0b6e78;
  --lagon-light: #c9f0ec;
  --creme: #fffaf0;
  --flamboyant: #f2593c;
  --vanille: #ffd45c;
  --corail: #ffd5c8;
  --lilas: #e4dcff;
  --ciel: #d4eaff;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: url("https://static.wixstatic.com/media/805a55_cfffcc53695241dca349e2a5ede979fa~mv2.png");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; color: var(--basalte); background: var(--creme); }
img, svg { max-width: 100%; }
a { color: var(--lagon-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--basalte); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--basalte); color: #fff; padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.btn { display: inline-block; font: 700 1rem/1 var(--text); padding: 1rem 1.6rem; border-radius: 999px; text-decoration: none; border: 0; color: var(--basalte); background: var(--vanille); cursor: pointer; }
.btn-main { background: var(--flamboyant); color: #fff; }
.btn-light { background: #fff; color: var(--lagon-deep); }
.btn-tel { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.3rem 0.6rem 0.65rem; font: 800 1.1rem/1 var(--display); white-space: nowrap; background: var(--flamboyant); color: #fff; box-shadow: 0 6px 16px rgba(242, 89, 60, 0.35); }
.btn-tel::before { content: ""; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f2593c' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / 1.3rem no-repeat; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.site-header { background: var(--tiedye); background-attachment: fixed; padding: 0.9rem 0 0.2rem; position: relative; z-index: 5; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.2rem 0; }
.brand { text-decoration: none; display: block; }
.brand::before { content: ""; display: block; width: 16.5rem; height: 9.2rem; background: var(--logo) no-repeat left center / contain; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(4px 5px 0 #0b6e78) drop-shadow(8px 14px 12px rgba(11, 110, 120, 0.5)); }
nav { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-inline: auto; }
nav a { color: var(--basalte); text-decoration: none; font: 600 1.05rem/1 "Outfit", var(--text); letter-spacing: 0.01em; padding: 0.75rem 1.3rem; border-radius: 999px; background: #fff; box-shadow: 0 4px 0 rgba(11, 110, 120, 0.4); }
.brand-a, .brand-r, .logo-dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
nav a[aria-current="page"] { background: var(--basalte); color: #fff; }

.hero { position: relative; background: var(--tiedye); background-attachment: fixed; color: var(--basalte); padding: 2rem 0 7rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: #7fe3dc; right: -120px; top: -160px; opacity: 0.55; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--lilas); left: -70px; bottom: -90px; opacity: 0.95; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: start; }
.pill { display: inline-block; background: #fff; color: var(--lagon-deep); font-weight: 700; font-size: 0.95rem; padding: 0.45rem 1.1rem; border-radius: 999px; margin-bottom: 1.25rem; }
.lead { font-size: 1.2rem; max-width: 34em; margin-top: 1.25rem; }
.sticker { display: inline-block; margin: 1.75rem 0 0; background: var(--flamboyant); color: #fff; font: 800 1.05rem/1.2 var(--display); padding: 0.8rem 1.3rem; border-radius: 999px; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(11, 110, 120, 0.25); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; display: block; z-index: 1; }

.fine { font-size: 0.85rem; color: #43606a; margin: 0; line-height: 1.5; }

.block { padding: 4.5rem 0; }
.block h2 { margin-bottom: 2rem; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.rows li { border-radius: 28px; padding: 1.6rem; background: var(--lagon-light); display: block; }
.rows li:nth-child(2) { background: var(--corail); }
.rows li:nth-child(3) { background: var(--vanille); }
.rows li:nth-child(4) { background: var(--lilas); }
.rows h3, .rows h2 { font-size: 1.3rem; margin: 0.9rem 0 0.5rem; }
.rows p { margin: 0; }
.ico { width: 3.4rem; height: 3.4rem; padding: 0.55rem; border-radius: 20px; background: var(--lagon-deep); display: block; }
.rows li:nth-child(2) .ico { background: var(--flamboyant); }
.rows li:nth-child(3) .ico { background: #e59a00; }
.rows li:nth-child(4) .ico { background: #7b5cd6; }
.more { margin-top: 2rem; }

.band { background: var(--ciel); padding: 4.5rem 0; }
.band h2 { margin-bottom: 2rem; max-width: 20ch; }
.band a { color: var(--lagon-deep); }
.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.card { background: #fff; border-radius: 28px; padding: 1.6rem; }
.card-us { background: var(--vanille); }
.defs dt { font: 800 1.3rem var(--display); margin-bottom: 0.5rem; }
.defs dd { margin: 0; }
.band-note { margin: 2rem 0 0; font-size: 1.15rem; max-width: 40em; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: s; background: #fff; border-radius: 28px; padding: 1.6rem; box-shadow: 0 6px 18px rgba(20, 163, 168, 0.12); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--flamboyant); color: #fff; font: 800 1.5rem var(--display); margin-bottom: 0.9rem; }
.steps li:nth-child(2)::before { background: var(--lagon); }
.steps li:nth-child(3)::before { background: #e59a00; }
.steps p { margin: 0.4rem 0 0; }

.contact { background: var(--vanille); padding: 4rem 0; border-radius: 48px 48px 0 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.contact h2 { margin-bottom: 1rem; }
.contact p { margin: 0; font-size: 1.1rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.5rem; }
.big { font: 800 clamp(1.5rem, 3.4vw, 2.3rem) / 1.15 var(--display); color: var(--basalte); text-decoration-thickness: 3px; }
.alert { padding: 3rem 0; background: var(--creme); }
.alert-box { background: var(--lilas); border-radius: 28px; padding: 1.8rem; }
.alert h2 { font-size: 1.4rem; margin: 0 0 0.6rem; }
.alert p { max-width: 44em; margin: 0; }

.form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 2rem; align-items: start; }
.msg { background: #fff; border-radius: 30px; padding: 2rem; box-shadow: 0 10px 28px rgba(20, 163, 168, 0.15); }
.msg h2 { margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.msg label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.msg input, .msg textarea { width: 100%; font: 400 1rem var(--text); padding: 0.8rem 1rem; border: 2px solid var(--lagon-light); border-radius: 16px; background: #f4fcfb; color: var(--basalte); }
.msg textarea { resize: vertical; min-height: 9rem; }
.msg input:focus, .msg textarea:focus { border-color: var(--lagon); outline: none; }
.msg .btn { margin-top: 0.5rem; }
.msg .fine { margin-top: 0.9rem; }
.info { background: var(--vanille); border-radius: 30px; padding: 2rem; }
.info h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.info p { margin-bottom: 0.8rem; }

.page-head { padding: 2rem 0 3rem; background: var(--tiedye); background-attachment: fixed; color: var(--basalte); border-radius: 0 0 48px 48px; }
.page-head .lead { color: var(--basalte); }
.prose { padding: 3rem 0 4.5rem; }
.prose h2 { margin: 2.5rem 0 0.9rem; font-size: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.6rem; }
details { background: #fff; border-radius: 22px; padding: 1rem 1.3rem; margin-bottom: 0.7rem; box-shadow: 0 4px 14px rgba(20, 163, 168, 0.1); }
summary { cursor: pointer; font: 600 1.1rem var(--display); }
details p { margin: 0.6rem 0 0; }
.prose .fine { margin-top: 2rem; }
.page-head + .block .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.site-footer { background: var(--lagon-deep); color: #e8f7f5; padding: 2.5rem 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer a:focus-visible { outline-color: var(--vanille); }
.foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot p { margin: 0; }

/* Animations douces, coupées si le visiteur préfère moins de mouvement */
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  .btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 18px rgba(29, 58, 68, 0.22); }
  .btn-tel::before { animation: ring 3.5s ease-in-out 1.5s infinite; }
  @keyframes ring { 0%, 14%, 100% { transform: rotate(0); } 3%, 9% { transform: rotate(-16deg); } 6%, 12% { transform: rotate(16deg); } }

  .hero::before { animation: drift 14s ease-in-out infinite alternate; }
  .hero::after { animation: drift 11s ease-in-out infinite alternate-reverse; }
  @keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }

  .hero-text > * { animation: rise 0.7s ease-out both; }
  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.16s; }
  .hero-text > :nth-child(4) { animation-delay: 0.24s; }
  .hero-text > .sticker { animation: rise 0.7s ease-out 0.32s both, bob 4s ease-in-out 1.2s infinite; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes bob { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-7px); } }

  .quote-card { animation: rise 0.8s ease-out 0.3s both, sway 7s ease-in-out 1.3s infinite; }
  @keyframes sway { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(0.6deg); } }
  .quote-card .stars { animation: twinkle 2.6s ease-in-out infinite; }
  @keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

  .rows li, .card, .steps li, .logos li { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .rows li:hover, .card:hover, .steps li:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(29, 58, 68, 0.15); }
  .rows li:hover .ico { animation: wiggle 0.5s ease; }
  @keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg) scale(1.08); } 65% { transform: rotate(10deg) scale(1.08); } }

  .logos li { animation: float 6s ease-in-out infinite; }
  .logos li:nth-child(2) { animation-delay: -1.2s; }
  .logos li:nth-child(3) { animation-delay: -2.4s; }
  .logos li:nth-child(4) { animation-delay: -3.6s; }
  .logos li:nth-child(5) { animation-delay: -4.8s; }
  .logos li:hover { animation-play-state: paused; transform: scale(1.06); }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  .steps li::before { animation: pulse 3s ease-in-out infinite; }
  .steps li:nth-child(2)::before { animation-delay: 0.5s; }
  .steps li:nth-child(3)::before { animation-delay: 1s; }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

  .wave path { animation: wavy 8s ease-in-out infinite alternate; transform-origin: center; }
  @keyframes wavy { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
  .wave { overflow: visible; }

  @supports (animation-timeline: view()) {
    .rows li, .defs .card, .steps li, .logos li, .alert-box, .msg, .info {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
    .logos li { animation: reveal linear both, float 6s ease-in-out infinite; animation-timeline: view(), auto; animation-range: entry 0% entry 35%, normal; }
    @keyframes reveal { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
  }
}

@media (max-width: 900px) {
  .rows, .page-head + .block .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .brand::before { width: 11.5rem; height: 6.6rem; }
  .hero { padding: 1.6rem 0 5.5rem; }
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .rows, .page-head + .block .rows, .defs, .steps, .foot, .field.two { grid-template-columns: minmax(0, 1fr); }
  .block, .band { padding: 3rem 0; }
  .contact { border-radius: 32px 32px 0 0; }
  .msg, .info { padding: 1.4rem; }
}
@media (max-width: 760px) {
  .site-header .bar { padding: 0.2rem 0; }
  nav { order: 3; width: 100%; justify-content: center; margin: 0; }
  nav a { padding: 0.45rem 0.8rem; font-size: 0.95rem; }
  .btn-tel { font-size: 1rem; padding: 0.5rem 1rem 0.5rem 0.55rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .brand::before { animation: logo-pop 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both; transition: transform 0.2s ease; transform-origin: left center; }
  .brand:hover::before { transform: scale(1.06) rotate(-2deg); }
  @keyframes logo-pop { from { opacity: 0; transform: scale(0.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: no-preference) {
  .brand::before { transform-origin: center; }
  .brand:hover::before { transform: scale(1.08) rotate(-4deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .brand::before { animation: logo-pop 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both, logo-float 5s ease-in-out 1s infinite; }
  @keyframes logo-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1.5deg); } }
  .brand:hover::before { animation: none; transform: scale(1.07) rotate(-3deg); }
}

nav a:nth-child(1) { background: #ffd45c; }
nav a:nth-child(2) { background: #fff; }
nav a:nth-child(3) { background: #e4dcff; }
@media (prefers-reduced-motion: no-preference) {
  nav a { transition: transform 0.15s ease, box-shadow 0.15s ease; }
  nav a:hover { transform: translateY(-3px); box-shadow: 0 7px 0 rgba(11, 110, 120, 0.4); }
}
@media (max-width: 760px) {
  nav a { font-size: 0.95rem; padding: 0.6rem 1rem; }
}

/* Logo fixe : aucune animation */
.brand::before, .brand:hover::before { animation: none !important; transform: none !important; transition: none !important; }

.hero::before, .hero::after { display: none; }
@supports (-webkit-touch-callout: none) {
  .site-header, .hero, .page-head { background-attachment: scroll; }
}

/* Thème lever de soleil : lilas, corail, vanille */
:root { --tiedye: linear-gradient(180deg, #fff0b8 0%, #18b3b0 100%); }

nav a:nth-child(4) { background: #ffd5c8; }

/* Remplit l'espace sous le sticker, à gauche du bloc d'avis */
.hero-fill { margin-top: 2.2rem; }
.hero-fill-title { font: 800 1.15rem/1.2 var(--display); margin: 0 0 0.8rem; }
.chips { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips li { font: 600 1rem/1 "Outfit", sans-serif; padding: 0.65rem 1.05rem; border-radius: 999px; background: #fff; box-shadow: 0 4px 0 rgba(11,110,120,.35); }
.chips li:nth-child(1) { background: #ffd45c; }
.chips li:nth-child(2) { background: #e4dcff; }
.chips li:nth-child(3) { background: #ffd5c8; }
.chips li:nth-child(4) { background: #d4eaff; }

/* Avis plus compacts : le bloc est moins haut, le vide à gauche disparaît */
.quote-card blockquote, .quote-card blockquote p { font-size: 1.02rem; line-height: 1.45; }
.quote-card blockquote p { margin: 0 0 0.5rem; }
.quote-card .avis { padding: 0.8rem 0; }
.quote-card .who { font-size: 0.95rem; margin: 0.4rem 0 0; }
.quote-card .who span { font-size: 0.85rem; }
.quote-card h2 { font-size: 1.3rem; margin: 0.2rem 0 0.6rem; }
