@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Raleway:wght@700;900&display=swap');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', -apple-system, sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ========= Animations utilitaires ========= */
@keyframes pia-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pia-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes pia-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes pia-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes pia-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pia-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pia-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pia-bird-fly {
  0% { transform: translate(-100px, 80px) rotate(-15deg); }
  25% { transform: translate(25vw, 20px) rotate(5deg); }
  50% { transform: translate(50vw, 60px) rotate(-10deg); }
  75% { transform: translate(75vw, 10px) rotate(8deg); }
  100% { transform: translate(110vw, 50px) rotate(-5deg); }
}
@keyframes pia-wing-flap {
  0%, 100% { transform: rotate(-15deg) scaleY(1); }
  50% { transform: rotate(20deg) scaleY(0.7); }
}
.bird-wing { animation: pia-wing-flap 0.3s ease-in-out infinite; }

@keyframes pia-confetti-fall {
  0% { transform: translateY(-20vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(120vh) rotate(720deg); opacity: 0; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Gradient text — PIA signature */
.pia-gradient-text {
  background: linear-gradient(45deg, #3979FF 30%, #354559 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Buttons */
.btn { font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; border-radius: 100px; padding: 18px 28px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn-primary { background: #0C71C3; color: #fff; box-shadow: 0 8px 24px rgba(12,113,195,0.3); }
.btn-primary:hover { background: #0A5C9F; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(12,113,195,0.45); }
.btn-secondary { background: #FF5100; color: #fff; box-shadow: 0 8px 24px rgba(255,81,0,0.3); }
.btn-secondary:hover { background: #D94400; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,81,0,0.45); }
.btn-ghost { background: rgba(255,255,255,0.95); color: #0C71C3; }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* Section overline */
.overline { font-family: 'Raleway', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #FF5100; }

/* Scroll snap helper */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Hover lift */
.hover-lift { transition: transform 0.25s, box-shadow 0.25s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(255,81,0,0.18); }

/* ========= RESPONSIVE ========= */

/* Tablette : ≤ 1024px */
@media (max-width: 1024px) {
  .v2-hero-grid { grid-template-columns: 1fr !important; gap: 48px !important; }
  .v2-hero-grid h1 { font-size: clamp(40px, 6vw, 64px) !important; }
  .v2-section { padding: 80px 24px !important; }
  .v2-split-grid { grid-template-columns: 1fr !important; }
  .v2-split-grid .v2-split-pad { padding: 40px !important; }
  .v2-missions-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .v2-testimonials-grid { grid-template-columns: 1fr !important; }
  .v2-pricing-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .v2-pricing-grid .v2-pricing-plus { display: none !important; }
  .v2-pricing-cols { grid-template-columns: 1fr !important; }
  .v2-inscription-grid { grid-template-columns: 1fr !important; }
  .v2-marquee-text { font-size: 60px !important; }
  .v2-stamp { width: 90px !important; height: 90px !important; font-size: 11px !important; right: -10px !important; top: -10px !important; }
}

/* Mobile : ≤ 720px */
@media (max-width: 720px) {
  .v2-topbar { font-size: 11px !important; padding: 8px 16px !important; }
  .v2-topbar-right { display: none !important; }
  .v2-nav { padding: 14px 16px !important; }
  .v2-nav-links { display: none !important; }
  .v2-nav-cta { display: inline-flex !important; }
  .v2-section { padding: 64px 18px !important; }
  .v2-hero-section { padding: 36px 18px 64px !important; }
  .v2-hero-grid { gap: 32px !important; }
  .v2-hero-grid h1 { font-size: clamp(36px, 9vw, 52px) !important; line-height: 1.05 !important; }
  .v2-hero-grid p { font-size: 16px !important; margin: 24px 0 !important; }
  .v2-hero-stats { gap: 12px !important; }
  .v2-hero-stats > div { padding: 12px !important; }
  .v2-hero-stats > div > div:first-child { font-size: 22px !important; }
  .v2-hero-cta { flex-direction: column !important; align-items: stretch !important; }
  .v2-hero-cta .btn { justify-content: center; padding: 16px 22px !important; }
  .v2-video-frame { transform: rotate(0deg) !important; max-width: 100% !important; }
  .v2-stamp { width: 78px !important; height: 78px !important; font-size: 9px !important; }
  .v2-tabs { flex-direction: column !important; border-radius: 20px !important; max-width: 100% !important; }
  .v2-tabs button { width: 100% !important; }
  .v2-split-grid .v2-split-pad { padding: 28px !important; }
  .v2-split-grid h3 { font-size: 26px !important; }
  .v2-split-grid p { font-size: 15px !important; }
  .v2-split-grid ul { font-size: 14px !important; }
  .v2-split-image { min-height: 280px !important; }
  .v2-missions-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .v2-missions-grid > div { padding: 22px !important; }
  .v2-section-title { font-size: clamp(28px, 7vw, 40px) !important; }
  .v2-pricing-card { padding: 32px 24px !important; }
  .v2-pricing-card .v2-pricing-amount { font-size: 44px !important; }
  .v2-badges { gap: 8px !important; }
  .v2-badges > span { font-size: 10px !important; padding: 6px 10px !important; }
  .v2-inscription-card { border-radius: 18px !important; }
  .v2-inscription-pad { padding: 32px 24px !important; }
  .v2-inscription-pad h3 { font-size: 26px !important; }
  .v2-form-row { grid-template-columns: 1fr !important; }
  .v2-marquee-text { font-size: 38px !important; }
  .v2-footer { padding: 40px 18px !important; }
  .v2-footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .v2-bird { display: none !important; }
}

