:root {
  --green: #7c3aed;
  --green-dark: #4c1d95;
  --yellow: #d8b4fe;
  --text: #1f2933;
  --muted: #667085;
  --line: #e6e9ee;
  --soft: #f7f9fb;
  --dark: #101828;
  --white: #ffffff;
  --container: min(1180px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(4, 10, 18, 0.72), rgba(4, 10, 18, 0.72)),
    url("assets/site-background-optimized.jpg") center / cover fixed;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 78px);
  background: rgba(38, 12, 91, 0.96);
  border-bottom: 1px solid rgba(142, 232, 255, 0.22);
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: clamp(170px, 18vw, 245px);
  height: auto;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #d8b4fe;
  border-color: #d8b4fe;
}

.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(168, 85, 247, 0.34), transparent 34%),
    radial-gradient(circle at 26% 76%, rgba(109, 40, 217, 0.4), transparent 42%),
    linear-gradient(135deg, #18083f 0%, #32106f 48%, #10072f 100%);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 78px) 46px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  width: var(--container);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  overflow-wrap: normal;
  word-break: keep-all;
}

h1 {
  margin: 0 0 18px;
  color: var(--dark);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
}

.hero h1 {
  color: var(--white);
}

.hero .kicker {
  color: #d8b4fe;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  color: var(--white);
  background: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-outline {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--green);
}

.btn-outline.dark {
  margin-top: 24px;
}

.hero-media,
.feature-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(3, 18, 48, 0.32);
  background: var(--white);
}

.hero-media img,
.feature-card img,
.articles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  aspect-ratio: 4 / 3;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 78px);
  transform: translateY(-18px);
}

.strip-item {
  display: grid;
  gap: 2px;
  min-height: 96px;
  padding: 20px;
  background: var(--dark);
  color: var(--white);
}

.strip-item strong {
  color: var(--yellow);
  font-size: 1.25rem;
}

.strip-item span {
  color: #d0d5dd;
}

.section,
.page-head,
.contact-section,
.faq-list,
.not-found {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: clamp(54px, 7vw, 86px) 0;
}

.page {
  background: rgba(247, 249, 251, 0.88);
  min-height: calc(100vh - 82px);
}

.page-head {
  padding: clamp(48px, 7vw, 80px) 0 28px;
  text-align: center;
}

.page-head p:not(.kicker) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
}

.split p:not(.kicker) {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.split h2 {
  color: var(--white);
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title.centered h2 {
  color: var(--white);
}

.section-title.centered .kicker {
  color: #d8b4fe;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: plan;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 430px;
  padding: 28px 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 254, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 180, 254, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(76, 29, 149, 0.96), rgba(28, 12, 64, 0.96));
  color: var(--white);
  text-align: left;
  box-shadow: 0 18px 42px rgba(16, 6, 48, 0.32);
  counter-increment: plan;
}

.plan.highlighted {
  border-color: rgba(216, 180, 254, 0.82);
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 180, 254, 0.34), transparent 36%),
    linear-gradient(180deg, rgba(124, 58, 237, 0.98), rgba(49, 16, 111, 0.98));
  box-shadow: 0 22px 54px rgba(124, 58, 237, 0.34);
  transform: translateY(-8px);
}

.plan::before {
  content: counter(plan);
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #32106f;
  background: #f3e8ff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.plan::after {
  content: "ecran";
  position: absolute;
  top: 78px;
  left: 92px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plan:nth-child(n + 2)::after {
  content: "ecrans";
}

.plan h3 {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.15;
}

.price {
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(243, 232, 255, 0.72);
  border-radius: 8px;
  color: #32106f;
  background: #f3e8ff;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.plan ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.plan li::before {
  content: "✓ ";
  color: #d8b4fe;
  font-weight: 900;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
  color: #32106f;
  background: #f3e8ff;
}

.plan .btn:hover {
  color: var(--white);
  background: #7c3aed;
}

.safe {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  text-align: center;
}

.steps-wrap {
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 180, 254, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(49, 16, 111, 0.96), rgba(76, 29, 149, 0.96));
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 5vw, 78px);
  padding-left: clamp(18px, 5vw, 78px);
}

.benefits-section {
  padding-top: clamp(38px, 6vw, 72px);
}

.benefits-section,
.steps-wrap,
.content-section,
.home-faq,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.benefits-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefits-grid article,
.content-grid article {
  padding: 24px;
  border: 1px solid rgba(216, 180, 254, 0.26);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(16, 6, 48, 0.18);
}

.benefits-grid h3,
.content-grid h3 {
  color: #32106f;
}

.benefits-grid p,
.content-grid p {
  color: #5b4b72;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  background: #7c3aed;
  font-size: 0.82rem;
  font-weight: 900;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(216, 180, 254, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.96), rgba(124, 58, 237, 0.92));
  box-shadow: 0 22px 54px rgba(16, 6, 48, 0.28);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p:not(.kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .kicker {
  color: #f3e8ff;
}

.section-title.centered.steps-title h2 {
  color: var(--white);
}

.section-title.centered.steps-title .kicker {
  color: #f3e8ff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.steps article,
.articles article,
.form,
.contact-box,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.steps article {
  padding: 28px;
  text-align: center;
  border-color: rgba(216, 180, 254, 0.34);
  background: rgba(243, 232, 255, 0.94);
  box-shadow: 0 18px 42px rgba(16, 6, 48, 0.22);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--white);
  background: #4c1d95;
  font-size: 1.35rem;
  font-weight: 900;
}

.steps p,
.articles p {
  color: var(--muted);
}

.steps h3 {
  color: #32106f;
}

.steps p {
  color: #5b4b72;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(48px, 7vw, 80px) 0;
  align-items: start;
}

.contact-section p {
  color: var(--muted);
}

.contact-box {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
}

.form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-grid article {
  padding: 28px;
  border: 1px solid rgba(230, 233, 238, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.about-grid p {
  color: var(--muted);
}

.articles article {
  overflow: hidden;
}

.articles img {
  aspect-ratio: 16 / 10;
}

.articles h2,
.articles p,
.articles a {
  margin-right: 22px;
  margin-left: 22px;
}

.articles h2 {
  margin-top: 22px;
  font-size: 1.35rem;
}

.articles a {
  display: inline-flex;
  margin-top: 18px;
  margin-bottom: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
  padding: 22px 0 clamp(54px, 7vw, 86px);
}

.home-faq {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 82px) 0;
}

.home-faq-list {
  display: grid;
  gap: 14px;
}

.home-faq-list details {
  padding: 18px 22px;
  border: 1px solid rgba(216, 180, 254, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.home-faq-list summary {
  color: #32106f;
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
}

.home-faq-list p {
  margin-top: 12px;
  color: #5b4b72;
}

.home-faq-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  color: var(--dark);
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
  color: var(--muted);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 82px);
  text-align: center;
}

.not-found p:not(.kicker) {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 78px);
  color: #d0d5dd;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.96), rgba(49, 16, 111, 0.96));
}

.footer h2,
.footer h3 {
  color: var(--white);
}

.footer a {
  display: block;
  margin-top: 8px;
  color: #d0d5dd;
}

.footer.small {
  display: block;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 980px) {
  :root {
    --container: min(900px, calc(100% - 32px));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-inner,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 720px;
  }

  .plans,
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .articles,
  .about-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(680px, calc(100% - 28px));
  }

  body {
    background-attachment: scroll;
  }

  .topbar {
    gap: 14px;
    padding: 12px 14px;
    position: static;
  }

  .logo img {
    width: min(190px, 72vw);
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.92rem;
  }

  .main-nav a {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid rgba(216, 180, 254, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .hero-inner,
  .split,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 34px 0 38px;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-band .btn,
  .home-faq-action .btn {
    width: 100%;
  }

  .plans,
  .strip,
  .benefits-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip {
    transform: none;
    width: var(--container);
    padding: 18px 0 0;
  }

  .plan.highlighted {
    transform: none;
  }

  .steps-wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }
}

@media (max-width: 420px) {
  .main-nav {
    grid-template-columns: 1fr;
  }

  .plan,
  .benefits-grid article,
  .content-grid article,
  .steps article,
  .home-faq-list details,
  .faq-list details,
  .form {
    padding-right: 18px;
    padding-left: 18px;
  }

  .price {
    font-size: 1.14rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --container: min(1500px, calc(100% - 120px));
  }

  body {
    font-size: 18px;
  }

  .hero-inner,
  .strip,
  .steps {
    max-width: 1500px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 76px;
  }

  .logo img {
    width: 280px;
  }

  .main-nav {
    font-size: 1.08rem;
  }
}
