/* ===== Variables ===== */
:root {
  --navy: #0B2545;
  --blue: #1E6FD9;
  --orange: #F97316;
  --bg-light: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text-main: #1E293B;
  --text-sub: #64748B;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-hover: 0 16px 40px rgba(11, 37, 69, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.eyebrow-light { color: #FDBA74; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.section-sub { color: var(--text-sub); margin-top: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(249,115,22,0.35); }
.btn-glow { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn-nav { padding: 10px 18px; font-size: 0.92rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.logo-flag {
  position: absolute;
  top: 4px; right: 4px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.logo-sub { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--text-sub); font-weight: 600; }
.logo-white .logo-word { color: #fff; }
.logo-white .logo-mark { background: rgba(255,255,255,0.12); color: #fff; }
.logo-white .logo-sub { color: #94A3B8; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0%; height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.main-nav a:not(.btn):hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform .25s ease, opacity .25s ease; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to { transform: scale(1.12) translate(-1%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(11,37,69,0.92) 0%, rgba(11,37,69,0.8) 35%, transparent 60%),
    linear-gradient(180deg, rgba(11,37,69,0.82) 0%, rgba(11,37,69,0.88) 60%, rgba(11,37,69,0.95) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); color: #fff; margin-bottom: 20px; max-width: 760px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: #E2E8F0; max-width: 600px; margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { color: #94A3B8; font-size: 0.9rem; }

/* ===== Reveal animations ===== */
.reveal, .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in-view, .reveal-up.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none; }
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-points li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.about-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ===== Cards (generic) ===== */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { color: var(--text-sub); font-size: 0.95rem; }
.services-img img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pricing-card { text-align: center; position: relative; display: flex; flex-direction: column; }
.pricing-card h3 { font-size: 1.3rem; }
.pricing-tier { color: var(--text-sub); margin-bottom: 16px; font-weight: 600; }
.price { font-size: 1.05rem; margin-bottom: 2px; }
.price strong { color: var(--navy); font-size: 1.4rem; }
.price-note { color: var(--text-sub); font-size: 0.85rem; margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; flex-grow: 1; }
.pricing-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid #EEF2F6;
  font-size: 0.93rem;
  color: var(--text-main);
}
.pricing-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.pricing-featured { border: 2px solid var(--orange); transform: scale(1.02); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 6px 16px rgba(249,115,22,0.4);
}
.pricing-footnote {
  text-align: center; max-width: 700px; margin: 40px auto 0;
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 20px 24px; color: var(--text-sub); font-size: 0.9rem;
}

/* ===== Works / Réalisations ===== */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.work-card {
  text-align: center;
  display: block;
  cursor: pointer;
}
.work-gradient {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  transition: transform .25s ease;
}
.work-card:hover .work-gradient { transform: scale(1.08); }
.work-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.work-card p { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 12px; }
.tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}
.work-link {
  display: block;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .25s ease, max-height .25s ease, margin-top .25s ease;
}
.work-card:hover .work-link,
.work-card:focus-visible .work-link {
  opacity: 1;
  max-height: 24px;
}
.work-link span { display: inline-block; transition: transform .25s ease; }
.work-card:hover .work-link span { transform: translateX(4px); }

/* ===== Méthode ===== */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.method-text h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 32px; }
.timeline { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.timeline li { display: flex; gap: 16px; align-items: flex-start; }
.t-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.timeline strong { display: block; margin-bottom: 4px; color: #fff; }
.timeline p { color: #CBD5E1; font-size: 0.93rem; }
.method-img img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-alt); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-icon { color: var(--orange); font-size: 1.3rem; transition: transform .25s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
}
.faq-answer p { color: var(--text-sub); padding-bottom: 18px; }

/* ===== Contact ===== */
.contact-section { background: linear-gradient(135deg, var(--orange), var(--navy)); color: #fff; text-align: center; }
.contact-section h2 { color: #fff; margin-bottom: 10px; }
.contact-section p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.contact-portrait {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid rgba(255,255,255,0.5);
}
.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; color: #fff; font-weight: 500; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #94A3B8; padding: 50px 0 24px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #CBD5E1; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: #CBD5E1; font-size: 0.85rem; }
.footer-tagline { font-size: 0.85rem; margin-top: 6px; }
.footer-copy { font-size: 0.78rem; color: #64748B; margin-top: 6px; }

/* ===== WhatsApp float button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(249,115,22,0.45);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(249,115,22,0.45); }
  50% { box-shadow: 0 10px 24px rgba(249,115,22,0.45), 0 0 0 12px rgba(249,115,22,0.18); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ===== Counters (reuse if added later) ===== */

/* ===== Responsive: tablet/desktop ===== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 880px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transition: right .3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  }
  .main-nav.open { right: 0; }
  .burger { display: flex; }
  .btn-nav { margin-top: 10px; }
}

@media (min-width: 881px) {
  .burger { display: none; }
}
