/*
Theme Name: ParlePro
Theme URI: https://parlezpro.net
Author: ParlePro.net
Description: Professional digital French learning website theme for ParlePro.net.
Version: 1.0.0
Text Domain: parlepro
*/

:root {
  --navy: #14213d;
  --navy-2: #1d3557;
  --red: #c1121f;
  --blue: #eaf4ff;
  --blue-2: #d8ecff;
  --ink: #263244;
  --muted: #5f6f85;
  --line: #d8dee9;
  --paper: #ffffff;
  --soft: #f7fafc;
  --green: #1f8a5b;
  --shadow: 0 12px 32px rgba(20, 33, 61, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--red);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: .88rem;
}

.topbar .wrap {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-block: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--red));
  border-radius: 8px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .96rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--ink);
}

.nav-links .login-link {
  color: var(--navy);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--navy);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 33, 61, .94), rgba(20, 33, 61, .82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Crect width='1600' height='900' fill='%23eaf4ff'/%3E%3Cpath d='M0 660 C280 560 370 740 650 640 S1110 500 1600 620 L1600 900 L0 900 Z' fill='%23d8ecff'/%3E%3Cpath d='M1150 110 h300 v430 h-300z' fill='%23ffffff' opacity='.78'/%3E%3Cpath d='M1200 170 h200 M1200 230 h200 M1200 290 h140 M1200 350 h180' stroke='%2314213d' stroke-width='16' stroke-linecap='round' opacity='.23'/%3E%3Ccircle cx='330' cy='300' r='145' fill='%23ffffff' opacity='.18'/%3E%3Cpath d='M250 410 q78 -145 200 0' fill='none' stroke='%23c1121f' stroke-width='24' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 52px;
  align-items: center;
  min-height: min(720px, calc(100vh - 108px));
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: inherit;
  font-size: .86rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 4px;
  background: var(--red);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.45rem, 6vw, 4.7rem);
  max-width: 850px;
}

.hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-panel {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 26px;
}

.hero-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.trust-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check {
  display: inline-grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--red);
}

.btn.primary:hover {
  color: #fff;
  background: #a40f1a;
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.btn.navy {
  color: #fff;
  background: var(--navy);
}

.btn.disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--soft);
}

.section.blue {
  background: var(--blue);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(20, 33, 61, .05);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin: 0 0 14px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--navy);
  background: var(--blue);
  border: 1px solid var(--blue-2);
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 750;
}

.price {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
}

.list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: .55em;
  background: var(--red);
  border-radius: 50%;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--navy);
  background: var(--blue);
}

tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--blue), #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.15rem;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

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

.full {
  grid-column: 1 / -1;
}

.notice {
  padding: 14px 16px;
  color: var(--navy);
  background: var(--blue);
  border: 1px solid var(--blue-2);
  border-radius: 8px;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, .86);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, .86);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .checkout,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 64px 0;
  }

  .nav {
    min-height: 64px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    inset: 100% 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .topbar .wrap,
  .form-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section {
    padding: 54px 0;
  }

  .card {
    padding: 20px;
  }
}
