:root {
  --navy: #082d4a;
  --navy-2: #0d4068;
  --blue: #12699c;
  --cyan: #20a9c7;
  --sky: #e8f7fb;
  --ink: #10283a;
  --muted: #607584;
  --line: #dbe7ed;
  --white: #ffffff;
  --off-white: #f7fafb;
  --gold: #f7c94b;
  --shadow: 0 22px 70px rgba(8, 45, 74, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
/* Fond commun continu sur toutes les pages, y compris les pages longues. */
body { min-height: 100vh; position: relative; isolation: isolate; background: #cfefea; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(249,252,253,.45), rgba(249,252,253,.45)), url('/assets/fond-tropical-original.jpg') center / cover no-repeat; }
body .hero, body .page-hero, body .why-section { background: transparent; }
body .hero::after { display: none; }
body .sap-section { background: rgba(8,45,74,.88); }
body .site-footer { background: rgba(6,36,59,.92); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: var(--white); color: var(--navy); transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 86px; transition: .25s ease; }
.site-header.scrolled { height: 72px; background: rgba(255,255,255,.94); box-shadow: 0 8px 30px rgba(8,45,74,.08); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.35rem; letter-spacing: .08em; color: var(--navy); }
.brand small { margin-top: 5px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a { position: relative; font-weight: 650; font-size: .94rem; color: #314c5e; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--cyan); transition: .2s ease; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; }
.nav-cta { color: var(--white) !important; background: var(--navy); padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(8,45,74,.16); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sky); padding: 11px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

.hero { position: relative; min-height: 760px; padding: 150px 0 90px; overflow: hidden; background: linear-gradient(125deg, rgba(249,252,253,.60) 0%, rgba(238,249,251,.36) 58%, rgba(228,244,248,.24) 100%), url('/assets/fond-tropical-original.jpg') center / 1024px auto repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(to top, rgba(255,255,255,.9), transparent); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--cyan); }
.hero h1 { max-width: 690px; margin: 22px 0 24px; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(3.2rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; }
.hero h1 em { color: var(--blue); font-style: italic; font-weight: 500; }
.hero-copy > p { max-width: 640px; margin: 0 0 32px; color: var(--muted); font-size: 1.14rem; }
.hero-actions, .cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); box-shadow: 0 14px 28px rgba(8,45,74,.2); }
.button-secondary { border-color: #c7d9e2; background: rgba(255,255,255,.66); color: var(--navy); }
.button-white { background: var(--white); color: var(--navy); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.button-outline-light { border-color: rgba(255,255,255,.42); color: var(--white); }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 31px 0 0; padding: 0; list-style: none; color: #456273; font-size: .88rem; font-weight: 700; }
.trust-list span { display: inline-grid; width: 21px; height: 21px; margin-right: 4px; place-items: center; background: #dff5eb; color: #238454; border-radius: 50%; font-size: .72rem; }
.hero-visual { position: relative; min-height: 535px; display: grid; place-items: center; }
.visual-backdrop { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 47% 53% 63% 37% / 42% 40% 60% 58%; background: linear-gradient(145deg, rgba(32,169,199,.17), rgba(18,105,156,.07)); border: 1px solid rgba(18,105,156,.1); transform: rotate(-5deg); }
.hero-logo { position: relative; z-index: 2; width: min(78%, 430px); filter: drop-shadow(0 35px 26px rgba(8,45,74,.18)); }
.floating-card { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; padding: 15px 18px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { color: var(--navy); font-size: .9rem; }
.floating-card small { color: var(--muted); font-size: .73rem; }
.floating-card-top { top: 52px; right: -15px; }
.floating-card-bottom { left: -5px; bottom: 48px; }
.status-dot { width: 12px; height: 12px; background: #32b477; border: 3px solid #d7f5e6; border-radius: 50%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { top: 16%; left: -110px; width: 260px; height: 260px; background: rgba(32,169,199,.08); }
.hero-orb-two { right: -180px; bottom: -190px; width: 520px; height: 520px; border: 1px solid rgba(18,105,156,.12); }

.quick-contact { position: relative; z-index: 3; margin-top: -36px; }
.quick-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.quick-contact-grid > div { display: flex; align-items: center; gap: 15px; padding: 24px 28px; }
.quick-contact-grid > div + div { border-left: 1px solid var(--line); }
.quick-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: var(--sky); color: var(--blue); border-radius: 12px; font-size: 1.12rem; }
.quick-contact p { display: grid; margin: 0; }
.quick-contact small { color: var(--muted); font-size: .75rem; }
.quick-contact a, .quick-contact strong { color: var(--navy); font-size: .94rem; }

.section { padding: 110px 0; }
.section-heading { max-width: 690px; margin-bottom: 52px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section h2, .cta-card h2, .page-hero h1 { margin: 11px 0 16px; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: clamp(2.35rem, 4.3vw, 3.65rem); line-height: 1.08; letter-spacing: -.03em; }
.section-heading p, .why-copy > p { color: var(--muted); font-size: 1.06rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 360px; padding: 35px 31px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card.featured { color: var(--white); background: linear-gradient(145deg, var(--navy), var(--navy-2)); border-color: transparent; box-shadow: 0 24px 50px rgba(8,45,74,.18); }
.service-number { position: absolute; right: 20px; top: 7px; color: rgba(8,45,74,.06); font-family: Georgia, serif; font-size: 6rem; font-weight: 700; line-height: 1; }
.featured .service-number { color: rgba(255,255,255,.08); }
.service-icon { display: grid; width: 56px; height: 56px; place-items: center; margin-bottom: 46px; border-radius: 16px; background: var(--sky); color: var(--blue); font-size: 1.6rem; }
.featured .service-icon { color: var(--white); background: rgba(255,255,255,.13); }
.service-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.3rem; }
.featured h3 { color: var(--white); }
.service-card p { color: var(--muted); }
.featured p { color: rgba(255,255,255,.72); }
.service-card a { position: absolute; bottom: 30px; color: var(--blue); font-weight: 800; font-size: .88rem; }
.featured a { color: var(--gold); }

.sap-section { position: relative; color: var(--white); background: linear-gradient(120deg, #082d4a 0%, #0c4f78 68%, #116a92 100%); overflow: hidden; }
.sap-section::before { content: ""; position: absolute; width: 520px; height: 520px; top: -220px; left: -210px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.sap-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 85px; }
.sap-logo-wrap { position: relative; display: grid; place-items: center; min-height: 390px; }
.sap-logo-wrap::before { content: ""; position: absolute; width: 360px; height: 360px; background: rgba(255,255,255,.09); border-radius: 45% 55% 52% 48%; transform: rotate(12deg); }
.sap-logo-wrap img { position: relative; z-index: 2; width: min(82%, 350px); filter: drop-shadow(0 28px 35px rgba(0,0,0,.28)); }
.kicker.light { color: #75dded; }
.sap-copy h2, .cta-card h2 { color: var(--white); }
.sap-copy > p { max-width: 680px; color: rgba(255,255,255,.74); font-size: 1.05rem; }
.price-line, .price-highlight { display: flex; align-items: center; justify-content: space-between; max-width: 580px; margin-top: 20px; padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.price-line span, .price-highlight span { font-weight: 700; }
.price-line strong, .price-highlight strong { font-size: 2rem; }
.price-line small, .price-highlight small { font-size: .8rem; font-weight: 600; }
.price-highlight { margin-bottom: 28px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
.price-highlight strong { color: var(--gold); font-size: 2.4rem; }

.why-section { background: linear-gradient(rgba(247,250,251,.55), rgba(247,250,251,.55)), url('/assets/fond-tropical-original.jpg') center / 1024px auto repeat; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.why-copy { position: sticky; top: 120px; align-self: start; }
.text-link { color: var(--blue); font-weight: 800; }
.commitments { border-top: 1px solid var(--line); }
.commitment { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.commitment > span { display: grid; place-items: center; width: 48px; height: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-weight: 800; font-size: .8rem; }
.commitment h3 { margin: 0 0 5px; color: var(--navy); font-size: 1.2rem; }
.commitment p { margin: 0; color: var(--muted); }

.cta-section { padding: 95px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px 62px; color: var(--white); background: linear-gradient(115deg, var(--navy), #0c5c85); border-radius: 28px; box-shadow: 0 25px 65px rgba(8,45,74,.2); }
.cta-card h2 { margin-bottom: 8px; font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
.cta-card p { margin: 0; color: rgba(255,255,255,.72); }
.cta-actions { flex: 0 0 auto; }

.site-footer { color: #d2e1e9; background: #06243b; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 80px; padding: 70px 0 55px; }
.brand-light strong, .brand-light small { color: var(--white); }
.footer-brand > p { max-width: 360px; color: #91a9b8; }
.site-footer h2 { margin: 0 0 18px; color: var(--white); font: 800 .77rem/1.4 Inter, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main a:hover { color: var(--white); }
.footer-main p { margin: 0; color: #91a9b8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); color: #829cab; font-size: .78rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.mobile-call { display: none; }

.page-hero { padding: 150px 0 70px; background: linear-gradient(125deg, rgba(249,252,253,.60), rgba(238,249,251,.30)), url('/assets/fond-tropical-original.jpg') center / 1024px auto repeat; }
.page-hero .container { max-width: 900px; }
.page-hero p { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.content-section { padding: 80px 0 110px; }
.content-narrow { max-width: 900px; }
.prose { color: #385568; }
.prose h2 { margin: 45px 0 12px; color: var(--navy); font-family: Georgia, serif; font-size: 1.7rem; }
.prose h3 { margin: 28px 0 8px; color: var(--navy); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--off-white); }
.sap-info-card { position: relative; overflow: hidden; }
.sap-info-card h2 { padding-right: 125px; }
.sap-info-logo { position: absolute; top: 18px; right: 28px; width: 92px; height: auto; object-fit: contain; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.detail-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 38px rgba(8,45,74,.06); }
.detail-card h2, .detail-card h3 { margin-top: 0; color: var(--navy); }
.detail-card ul { padding-left: 19px; color: var(--muted); }
.detail-card li + li { margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; }
.contact-card .quick-icon { margin-bottom: 22px; }
.contact-card h2 { margin: 0 0 8px; color: var(--navy); font: 700 1.18rem/1.3 Inter, sans-serif; }
.contact-card p { min-height: 52px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 380px); padding: 110px 30px 40px; flex-direction: column; align-items: stretch; gap: 7px; background: var(--white); box-shadow: -20px 0 50px rgba(8,45,74,.15); transform: translateX(105%); transition: transform .25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 13px 6px; font-size: 1.05rem; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .menu-toggle { position: relative; z-index: 2; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid, .sap-grid, .why-grid { grid-template-columns: 1fr; gap: 45px; }
  .hero-visual { min-height: 440px; }
  .hero-logo { width: min(65%, 360px); }
  .quick-contact-grid { grid-template-columns: 1fr; }
  .quick-contact-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .sap-logo-wrap { min-height: 280px; }
  .sap-logo-wrap img { width: min(60%, 290px); }
  .why-copy { position: static; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 45px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { height: 72px; background: rgba(255,255,255,.94); }
  .brand img { width: 46px; height: 46px; }
  .hero { padding: 112px 0 70px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 3.8rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .trust-list { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 360px; }
  .floating-card-top { top: 20px; right: 0; }
  .floating-card-bottom { left: 0; bottom: 18px; }
  .floating-card { max-width: 230px; padding: 12px 14px; }
  .section { padding: 76px 0; }
  .service-card { padding: 29px 24px; }
  .sap-logo-wrap { min-height: 220px; }
  .price-line, .price-highlight { gap: 20px; padding-inline: 12px; }
  .price-line strong { font-size: 1.7rem; }
  .price-highlight strong { font-size: 2rem; }
  .commitment { grid-template-columns: 55px 1fr; }
  .cta-section { padding: 65px 0; }
  .cta-card { padding: 34px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; padding-top: 55px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; padding-bottom: 90px; }
  .mobile-call { position: fixed; z-index: 90; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; color: var(--white); background: var(--navy); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; box-shadow: 0 14px 35px rgba(8,45,74,.3); font-weight: 800; }
  .page-hero { padding: 115px 0 55px; }
  .content-section { padding: 55px 0 90px; }
  .detail-grid { grid-template-columns: 1fr; }
  .prose-card, .detail-card, .contact-card { padding: 23px; }
  .sap-info-card h2 { padding-right: 88px; }
  .sap-info-logo { top: 19px; right: 18px; width: 72px; transform: none; }
}
