/* ==== RESET & BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #050816;
  color: #f5f5f7;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==== LAYOUT GÉNÉRAL ==== */

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatLogo 3s ease-in-out infinite;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
}

.brand-tagline {
  font-size: 12px;
  opacity: 0.8;
}

nav {
  display: flex;
  gap: 16px;
  font-size: 14px;
  opacity: 0.95;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  padding-bottom: 3px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #4f46e5);
  transition: width 0.25s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

main {
  flex: 1;
}

/* ==== HERO ==== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2fr);
  gap: 40px;
  margin-bottom: 72px;
  align-items: center;
  min-height: 72vh;
}

.hero-text {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 3.6vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero-gradient {
  background: linear-gradient(120deg, #22c55e, #a855f7, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.2s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #4f46e5);
  color: #f9fafb;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(30, 64, 175, 0.65);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.98);
}

.hero-note {
  font-size: 12px;
  opacity: 0.85;
}

.hero-visual {
  position: relative;
  animation: fadeInUp 0.7s ease-out 0.15s forwards;
  opacity: 0;
}

.hero-card {
  border-radius: 20px;
  padding: 16px 18px;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(34, 197, 94, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(79, 70, 229, 0.4),
      rgba(15, 23, 42, 0.95)
    );
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.6;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.orb.orb-1 {
  width: 80px;
  height: 80px;
  background: #22c55e;
  top: -18px;
  right: -10px;
}

.orb.orb-2 {
  width: 100px;
  height: 100px;
  background: #4f46e5;
  bottom: -26px;
  left: -20px;
  animation-delay: 1s;
}

.hero-card-content {
  position: relative;
  z-index: 1;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card-kpi {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-kpi {
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

.hero-kpi-label {
  opacity: 0.8;
}

.hero-kpi-value {
  font-weight: 600;
}

/* ==== SECTIONS GÉNÉRIQUES ==== */

section {
  margin-bottom: 56px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 22px;
  max-width: 640px;
}

/* ==== CARTES GÉNÉRALES ==== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border-radius: 18px;
  padding: 16px 16px 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(34, 197, 94, 0.16),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.card small {
  font-size: 12px;
  opacity: 0.8;
}

.card ul {
  margin-top: 8px;
  padding-left: 18px;
  font-size: 14px;
}

.card ul li {
  margin-bottom: 4px;
}

/* ==== PRICING ==== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.price-card,
.portfolio-card {
  border-radius: 18px;
  padding: 16px 16px 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 15px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.price-card.featured {
  border-color: rgba(34, 197, 94, 0.95);
  box-shadow: 0 20px 50px rgba(22, 163, 74, 0.45);
}

.price-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.price-plan-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 2px;
}

.price-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-tag {
  font-size: 18px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 6px;
}

.price-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.price-card ul {
  font-size: 14px;
  padding-left: 18px;
  margin-bottom: 10px;
}

.price-card ul li {
  margin-bottom: 4px;
}

.price-cta {
  display: inline-flex;
  margin-top: 4px;
}

/* ==== PORTFOLIO ==== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.portfolio-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 2px;
}

.portfolio-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-meta {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.portfolio-actions {
  margin-top: 10px;
}
/* Mini vitrines de sites dans le portfolio */
.site-mock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.site-mock-card {
  border-radius: 18px;
  padding: 16px 16px 18px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.9);
  font-size: 14px;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.site-mock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.site-mock {
  border-radius: 12px;
  background: #020617;
  border: 1px solid rgba(51, 65, 85, 0.9);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.site-mock-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.5), #020617);
}

.site-mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4b5563;
}

.site-mock-dot.red {
  background: #f97373;
}
.site-mock-dot.yellow {
  background: #facc6b;
}
.site-mock-dot.green {
  background: #4ade80;
}

.site-mock-body {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  padding: 10px;
}

.site-mock-sidebar {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), #020617);
  border-radius: 8px;
  height: 80px;
}

.site-mock-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-mock-hero {
  border-radius: 8px;
  height: 40px;
  background: linear-gradient(135deg, #22c55e, #4f46e5);
}

.site-mock-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-mock-line {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
}

.site-mock-line.short {
  width: 60%;
}

/* ==== PROCESS ==== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  font-size: 13px;
}

.step {
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(75, 85, 99, 0.9);
}

.step-num {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 2px;
}

.step-title {
  font-weight: 500;
  margin-bottom: 4px;
}

/* ==== CONTACT & FORM ==== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 20px;
  font-size: 14px;
}

.contact-card {
  border-radius: 16px;
  padding: 14px 14px 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 14px;
}

.contact-item {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
}

.contact-inline {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 6px;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 13px;
}

label {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
  opacity: 0.95;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: rgba(15, 23, 42, 0.9);
  padding: 8px 9px;
  color: #f9fafb;
  font-family: inherit;
  font-size: 13px;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input::placeholder,
textarea::placeholder {
  opacity: 0.7;
}

.form-note {
  font-size: 11px;
  opacity: 0.85;
}

/* ==== MENTIONS LÉGALES ==== */

.legal-list {
  font-size: 14px;
  margin-top: 8px;
  padding-left: 18px;
}

.legal-list li {
  margin-bottom: 4px;
}

/* ==== FOOTER ==== */

footer {
  margin-top: auto;
  padding: 18px 16px 24px;
  border-top: 1px solid rgba(31, 41, 55, 1);
  font-size: 11px;
  text-align: center;
  opacity: 0.8;
}

footer a {
  text-decoration: underline;
}

/* ==== ANIMATIONS ==== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatLogo {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(12px, -8px);
  }
}

/* Sections qui se révèlent au scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .page {
    padding-left: 14px;
    padding-right: 14px;
  }
}

