/* Styles propres à la page index.html (repris de l'ancien site). */
:root { --c-yellow: #FFD166; --c-green: #06D6A0; --c-blue: #118AB2; --c-purple: #9D4EDD; --c-orange: #FF9F1C; --c-rose: #EF476F; --bg-body: #FFFFFF; --bg-soft: #FAFAFA; --text-main: #2D3436; --text-light: #636E72; --radius-md: 12px; --radius-xl: 24px; --shadow: 0 10px 40px -10px rgba(0,0,0,0.08); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Sora', sans-serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-gradient { background: linear-gradient(45deg, var(--c-blue), var(--c-purple), var(--c-rose)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: transform 0.2s; border: none; font-family: inherit; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(45deg, var(--c-blue), var(--c-purple)); color: white; box-shadow: 0 4px 15px rgba(17, 138, 178, 0.3); }
.btn-outline { border: 2px solid var(--text-main); color: var(--text-main); background: transparent; }
.btn-cta { background: white; color: var(--c-rose); font-weight: 700; }
.section { padding: 5rem 0; position: relative; overflow: hidden; }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; position: relative; z-index: 2; }
.badge-section { background: var(--bg-soft); color: var(--c-blue); padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; display: inline-block; margin-bottom: 1rem; border: 1px solid rgba(0,0,0,0.05); }
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blob { 0% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } 50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; } 100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; } }
.section-blob { position: absolute; z-index: 1; opacity: 0.1; filter: blur(50px); animation: blob 15s infinite alternate; }
.hero { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: visible; padding-top: 80px; }
.hero-blob { position: absolute; z-index: -1; opacity: 0.1; animation: blob 15s infinite alternate; filter: blur(80px); }
.blob-1 { top: -10%; right: -10%; width: 500px; height: 500px; background: var(--c-purple); }
.blob-2 { bottom: -10%; left: -10%; width: 400px; height: 400px; background: var(--c-yellow); animation-delay: 5s; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-card-container { position: relative; padding: 20px; }
.hero-card { background: white; padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.05); }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.hero-feat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.feat-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: white; }
.badge-float { position: absolute; background: white; padding: 0.5rem 1rem; border-radius: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 0.5rem; z-index: 3; animation: float 3s infinite ease-in-out; }
.badge-top { top: 0; right: 0; color: var(--c-rose); }
.badge-bottom { bottom: 0; left: 0; color: var(--c-blue); animation-delay: 1.5s; }
.trust { text-align: center; padding: 3rem 0; background: var(--bg-soft); }
.trust-logos { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 1.5rem; font-weight: 700; color: var(--text-main); opacity: 0.8; font-size: 1.2rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.service-card { background: white; padding: 2rem; border-radius: var(--radius-xl); border: 1px solid rgba(0,0,0,0.05); transition: 0.3s; position: relative; overflow: hidden; z-index: 2; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; }
.sc-yellow::before { background: var(--c-yellow); }
.sc-green::before { background: var(--c-green); }
.sc-purple::before { background: var(--c-purple); }
.sc-blue::before { background: var(--c-blue); }
.sc-orange::before { background: var(--c-orange); }
.sc-rose::before { background: var(--c-rose); }
.fantasy { position: relative; overflow: hidden; }
.fantasy-content { text-align: center; max-width: 800px; margin: 0 auto 3rem; position: relative; z-index: 2; }
.archipel-grid { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 1rem; position: relative; padding: 5rem 0; align-items: center; }
.island { background: white; padding: 1.5rem; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; width: 200px; height: 220px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; z-index: 2; transition: 0.3s; border: 1px solid rgba(0,0,0,0.05); }
.island:nth-child(odd) { transform: translateY(-60px); }
.island:nth-child(even) { transform: translateY(60px); }
.island:hover { transform: scale(1.05) rotate(2deg); z-index: 3; }
.island:nth-child(odd):hover { transform: translateY(-60px) scale(1.05) rotate(2deg); }
.island:nth-child(even):hover { transform: translateY(60px) scale(1.05) rotate(2deg); }
.island i { font-size: 2rem; margin-bottom: 0.5rem; }
.process { background: white; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; position: relative; z-index: 2; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 3px; background: #eee; z-index: 1; display: none; }
@media(min-width: 1024px) {
  .process-steps::before { display: block; }
}
.step-card { text-align: center; position: relative; z-index: 2; background: white; padding: 1rem; border-radius: var(--radius-md); transition: 0.3s; }
.step-card:hover { transform: translateY(-5px); }
.step-number { width: 80px; height: 80px; border-radius: 50%; background: white; border: 4px solid var(--c-blue); color: var(--text-main); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: var(--shadow); transition: all 0.3s; position: relative; }
.step-card:hover .step-number { color: white; box-shadow: 0 0 0 4px white, var(--shadow); transform: scale(1.05); }
.step-1 .step-number { border-color: var(--c-yellow); }
.step-1:hover .step-number { background: var(--c-yellow); border-color: var(--c-yellow); }
.step-2 .step-number { border-color: var(--c-orange); }
.step-2:hover .step-number { background: var(--c-orange); border-color: var(--c-orange); }
.step-3 .step-number { border-color: var(--c-rose); }
.step-3:hover .step-number { background: var(--c-rose); border-color: var(--c-rose); }
.step-4 .step-number { border-color: var(--c-purple); }
.step-4:hover .step-number { background: var(--c-purple); border-color: var(--c-purple); }
.benefits { background: var(--bg-soft); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; position: relative; z-index: 2; }
.benefit-item { display: flex; gap: 1.5rem; background: white; padding: 2rem; border-radius: var(--radius-xl); box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid transparent; transition: 0.3s; }
.benefit-item:hover { border-color: var(--c-blue); box-shadow: var(--shadow); }
.benefit-icon { flex-shrink: 0; width: 50px; height: 50px; background: rgba(17, 138, 178, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--c-blue); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.pricing-card { background: white; padding: 3rem; border-radius: var(--radius-xl); text-align: center; border: 2px solid transparent; box-shadow: var(--shadow); position: relative; z-index: 2; transition: 0.3s; }
.pricing-card:hover { transform: translateY(-10px); }
.pricing-card.featured { border-color: var(--c-green); box-shadow: 0 20px 40px rgba(6, 214, 160, 0.15); }
.price-tag { font-size: 1.5rem; font-weight: 700; color: var(--c-green); margin: 1rem 0; }
.pricing-card ul { min-height: 250px; text-align: left; }
.pricing-card li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-card li i { color: var(--c-green); flex-shrink: 0; }
.cta-section { background: linear-gradient(135deg, var(--c-blue), var(--c-purple), var(--c-rose)); padding: 6rem 2rem; color: white; text-align: center; position: relative; overflow: hidden; margin-top: 5rem; border-radius: var(--radius-xl); }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
@media (max-width: 900px) {
  .archipel-grid { flex-wrap: wrap; justify-content: center; }
  .island:nth-child(odd), .island:nth-child(even) { transform: translateY(0); }
  .island:nth-child(odd):hover, .island:nth-child(even):hover { transform: scale(1.05) rotate(2deg); }
  .cta-section { border-radius: 0; }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-btns { justify-content: center; }
}

/* ===== Refonte 2026 : hero vidéo, preuves, essentiels RGPD, actualités ===== */
.hero { padding-top: calc(var(--nav-height) + 2.5rem); padding-bottom: 3rem; }
.hero-kicker { margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.2rem; color: var(--text-light); margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-proof { display: grid; gap: 0.45rem; margin-top: 1.8rem; color: var(--text-main); font-weight: 500; }
.hero-proof li { display: flex; align-items: center; gap: 0.55rem; }
.hero-proof .lucide { color: var(--c-green); }
.hero-video-card { background: white; padding: 1rem; border-radius: var(--radius-xl); box-shadow: 0 30px 70px -25px rgba(17, 138, 178, 0.35), var(--shadow); border: 1px solid rgba(0,0,0,0.05); }
.hero-video { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e8f4f8, #f0e6ff); }
.hero-video-media { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-sound, .hero-video-pause { position: absolute; bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.45rem; border: 0; cursor: pointer; background: rgba(45, 52, 54, 0.78); color: white; backdrop-filter: blur(6px); border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: background 0.3s, transform 0.2s; }
.hero-video-sound { right: 0.8rem; padding: 0.5rem 0.9rem; }
.hero-video-pause { left: 0.8rem; width: 36px; height: 36px; justify-content: center; }
.hero-video-sound:hover, .hero-video-pause:hover { background: var(--c-purple); transform: translateY(-1px); }
.hero-video-sound .icon-sound, .hero-video-sound .label-sound, .hero-video-sound[aria-pressed="true"] .icon-muted, .hero-video-sound[aria-pressed="true"] .label-muted { display: none; }
.hero-video-sound[aria-pressed="true"] .icon-sound, .hero-video-sound[aria-pressed="true"] .label-sound { display: inline; }
.hero-video-pause .icon-play, .hero-video-pause[aria-pressed="true"] .icon-pause { display: none; }
.hero-video-pause[aria-pressed="true"] .icon-play { display: inline; }
.hero-video-card .hero-features { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; padding: 0.4rem 0.4rem 0.2rem; gap: 0.75rem; }
.hero-card-container .badge-top { top: -6px; right: -6px; }
.hero-card-container .badge-bottom { bottom: -10px; left: -6px; }

.service-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-link { color: inherit; }
.service-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-card:hover .service-link { color: var(--c-blue); }

.rgpd-essentials { background: linear-gradient(135deg, #f8f9ff 0%, #fff8f0 50%, #f0f8ff 100%); }
.essentials-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; position: relative; z-index: 2; }
.essentials-text h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); margin-bottom: 1.3rem; }
.essentials-text p { color: var(--text-main); margin-bottom: 1rem; font-size: 1.05rem; }
.essentials-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem; margin-top: 1.5rem; }
.essentials-list { display: grid; gap: 1rem; }
.essentials-list li { display: flex; gap: 1rem; align-items: flex-start; background: white; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.04); border: 1px solid transparent; transition: 0.3s; }
.essentials-list li:hover { border-color: var(--c-blue); transform: translateX(6px); }
.essentials-list strong { display: block; font-family: 'Sora', sans-serif; font-size: 1rem; margin-bottom: 0.15rem; }
.essentials-list li > span:last-child { color: var(--text-light); font-size: 0.93rem; line-height: 1.5; }
.essentials-icon { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

.contact-box { display: none; }

@media (max-width: 960px) {
  .essentials-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-height) + 1.5rem); }
  .hero-content { display: contents; }
  .hero-kicker { order: 1; justify-self: center; margin-bottom: 0; }
  .hero-title { order: 2; margin-bottom: 0; }
  .hero-card-container { order: 3; padding: 14px 6px; }
  .hero-lead { order: 4; margin-bottom: 0; }
  .hero-btns { order: 5; }
  .hero-proof { order: 6; justify-self: center; text-align: left; margin-top: 0; }
  .hero-grid { gap: 1.5rem; }
  .hero-video-card .hero-features { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .cta-section h2 { font-size: 2rem !important; }
}


/* ===== Refonte v2 : FAQ et actualités en fin de page ===== */
.home-news-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.4rem; position: relative; z-index: 2; }
.home-news-heading h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); margin-bottom: 0.5rem; }
.home-news-heading p { color: var(--text-light); margin: 0; }
.home-news-heading .text-link { flex-shrink: 0; }
.home-news { padding-bottom: 2rem; }
@media (max-width: 960px) {
  .home-news-heading { flex-direction: column; align-items: flex-start; }
}

/* ===== Alternance des fonds de l'accueil : sections pleines et sections laissant voir les formes ===== */
/* hero ▸ formes · publics ▸ plein · Archipel ▸ plein · services ▸ formes · 4 étapes ▸ plein · essentiels ▸ formes
   atouts ▸ plein · témoignages ▸ formes · formules ▸ plein (à peine teinté) · FAQ ▸ formes · actualités ▸ plein · contact ▸ plein */
.page-home .rgpd-essentials { background: transparent; }
.page-home .as-temoignages { background: transparent; }
.page-home .as-formules { background: #fafbfe; border-top: 1px solid #f0f2f7; border-bottom: 1px solid #f0f2f7; }
.page-home .home-news { background: var(--bg-soft); padding-bottom: 5rem; }
