/* =========================================
   Provence Immersion – style.css v=1
   Primary: #6b21a8  Accent: #c084fc  BG: #fdf4ff
   ========================================= */

/* ── Reset & base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #fdf4ff;
  color: #1e0a2e;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #6b21a8; text-decoration: none; }
a:hover { color: #c084fc; }
ul { list-style: none; }

/* ── CSS Variables ────────────────────────── */
:root {
  --purple:   #6b21a8;
  --purple-d: #4c1482;
  --purple-l: #9333ea;
  --lavender: #c084fc;
  --cream:    #fdf4ff;
  --cream-d:  #f3e8ff;
  --dark:     #1e0a2e;
  --mid:      #4a1a6e;
  --gray:     #6b7280;
  --white:    #ffffff;
  --radius:   10px;
  --shadow:   0 4px 24px rgba(107,33,168,0.13);
  --transition: 0.28s ease;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: 0.6rem; }
p  { margin-bottom: 1rem; }

/* ── Utility ──────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4.5rem 0; }
.section-sm { padding: 2.5rem 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.bg-purple   { background: var(--purple); }
.bg-cream    { background: var(--cream-d); }
.tag {
  display: inline-block;
  background: var(--cream-d);
  color: var(--purple);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
  margin-bottom: .75rem;
}
.tag-white { background: rgba(255,255,255,.18); color: var(--white); }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-primary:hover {
  background: var(--purple-d);
  border-color: var(--purple-d);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,33,168,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
}
.btn-accent {
  background: var(--lavender);
  color: var(--dark);
  border-color: var(--lavender);
}
.btn-accent:hover {
  background: var(--purple-l);
  border-color: var(--purple-l);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── HEADER / NAV ────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(26,5,46,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,132,252,0.15);
  transition: background var(--transition);
}
.site-header.scrolled {
  background: rgba(26,5,46,0.98);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-menu a {
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--lavender);
  border-bottom-color: var(--lavender);
}
.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  border: none !important;
  padding: .45rem 1.2rem;
  border-radius: 50px;
}
.nav-cta:hover {
  background: var(--lavender) !important;
  color: var(--dark) !important;
  border-bottom-color: transparent !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO VIDEO ───────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,31,110,0.88) 0%, rgba(100,50,150,0.4) 50%, rgba(59,31,110,0.90) 100%);
  z-index: 1;
}
.hero-video { background-color: #2a1050; }
.hero-video-bg {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 88px;
}
.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text { color: var(--white); }
.hero-text h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-text h1 span { color: var(--lavender); }
.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.8rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: Georgia, serif;
  color: var(--lavender);
}
.hero-stat span {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* hero image panel */
.hero-image-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192,132,252,.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  color: var(--white);
}
.hero-card-title { font-weight: 700; color: var(--lavender); margin-bottom: .4rem; }
.hero-card ul { display: flex; flex-direction: column; gap: .3rem; }
.hero-card ul li::before { content: '✓ '; color: var(--lavender); }

/* ── HERO (non-video pages) ───────────────── */
.hero-static {
  min-height: 55vh;
  background: linear-gradient(135deg, var(--purple-d) 0%, var(--purple) 60%, var(--purple-l) 100%);
  display: flex;
  align-items: center;
  padding-top: 88px;
}
.hero-static h1 { color: var(--white); margin-bottom: .75rem; }
.hero-static p   { color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* ── SECTION TITLES ───────────────────────── */
.section-title { margin-bottom: .5rem; }
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── CARDS ────────────────────────────────── */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(107,33,168,0.2);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.4rem 1.6rem; }
.card-body h3 { color: var(--purple); margin-bottom: .5rem; }
.card-body p  { color: var(--gray); font-size: .93rem; }

/* ── FEATURE ICONS ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-item h3 { color: var(--purple); margin-bottom: .5rem; }
.feature-item p  { color: var(--gray); font-size: .93rem; margin: 0; }

/* ── 2-COL LAYOUT ────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── BANNER (CSS BG) ─────────────────────── */
.banner-section {
  background-image: url('/images/vue-provence.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding: 6rem 0;
  text-align: center;
}
.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,31,110,0.85) 0%, rgba(107,33,168,0.6) 100%);
}
.banner-section .container { position: relative; z-index: 1; }
.banner-section h2 { color: var(--white); margin-bottom: 1rem; }
.banner-section p  { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }

/* ── FAQ ─────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--purple); }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--purple); transition: transform var(--transition); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 1.5rem;
  color: var(--gray);
  font-size: .95rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.5rem 1.2rem; }

/* ── BLOG ────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(107,33,168,0.2);
}
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body {
  padding: 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: .78rem;
  color: var(--lavender);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.blog-card-body h3 { font-size: 1rem; color: var(--dark); margin-bottom: .5rem; }
.blog-card-body p  { color: var(--gray); font-size: .88rem; flex: 1; }
.blog-card-body a  { color: var(--purple); font-weight: 700; font-size: .88rem; }
.blog-card-body a:hover { color: var(--lavender); }

/* ── ARTICLE PAGE ────────────────────────── */
.article-header {
  background: linear-gradient(135deg, var(--purple-d) 0%, var(--purple) 100%);
  padding: 6rem 0 3rem;
  color: var(--white);
}
.article-header h1 { color: var(--white); margin-bottom: .75rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.article-meta { font-size: .85rem; color: rgba(255,255,255,.72); margin-bottom: 0; }
.article-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.article-body h2 { color: var(--purple); margin: 2rem 0 .75rem; font-size: 1.45rem; }
.article-body h3 { color: var(--mid); margin: 1.5rem 0 .5rem; }
.article-body ul { list-style: disc; margin: .5rem 0 1rem 1.5rem; color: var(--gray); }
.article-body ul li { margin-bottom: .4rem; }
.article-body p  { color: #2e1050; }
.article-body img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; }
.article-cta-box {
  background: var(--cream-d);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}
.article-cta-box p { color: var(--mid); font-weight: 600; margin: 0; }
.article-cta-box a { color: var(--purple); }

/* ── CONTACT FORM ────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--purple); margin-bottom: .6rem; }
.contact-info p  { color: var(--gray); }
.contact-info-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.contact-icon { font-size: 1.4rem; margin-top: .1rem; }
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2.5rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .4rem;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #e9d5ff;
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,33,168,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── LEVELS TABLE ────────────────────────── */
.levels-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.levels-table th {
  background: var(--purple);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .9rem;
}
.levels-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid #f0e6ff;
  font-size: .9rem;
  color: var(--gray);
}
.levels-table tr:nth-child(even) td { background: var(--cream); }
.level-badge {
  background: var(--purple);
  color: var(--white);
  border-radius: 4px;
  padding: .15rem .5rem;
  font-size: .78rem;
  font-weight: 700;
}

/* ── PRICING ─────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover,
.pricing-card.featured {
  border-color: var(--purple);
  transform: translateY(-5px);
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .9rem;
  border-radius: 50px;
}
.pricing-name { font-weight: 700; font-size: 1.1rem; color: var(--purple); margin-bottom: .5rem; }
.pricing-price { font-size: 2.2rem; font-family: Georgia,serif; color: var(--dark); font-weight: 700; }
.pricing-price span { font-size: .9rem; font-weight: 400; color: var(--gray); }
.pricing-features { margin: 1.2rem 0 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.pricing-features li { font-size: .88rem; color: var(--gray); }
.pricing-features li::before { content: '✓ '; color: var(--purple); font-weight: 700; }

/* ── TESTIMONIALS ────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: .5rem; left: 1rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--cream-d);
  line-height: 1;
}
.testimonial-text { color: var(--gray); font-style: italic; margin-bottom: 1rem; font-size: .93rem; }
.testimonial-author { font-weight: 700; color: var(--purple); font-size: .88rem; }
.testimonial-from { font-size: .8rem; color: var(--gray); }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: .5rem; }

/* ── CTA 2-COL IMAGE ─────────────────────── */
.cta-img-section {
  background: var(--cream-d);
  padding: 4.5rem 0;
}
.cta-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cta-img-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-text h2 { color: var(--purple); margin-bottom: 1rem; }
.cta-text p  { color: var(--gray); margin-bottom: 1.5rem; }

/* ── CLIENT LINK (below fold) ───────────────── */
.client-link-section {
  padding: 1.5rem 0;
  background: var(--cream);
  text-align: center;
  border-top: 1px solid #e9d5ff;
}
.client-link-section p { font-size: .88rem; color: var(--gray); margin: 0; }
.client-link-section a { color: var(--purple); font-weight: 600; }
.client-link-section a:hover { color: var(--lavender); }

/* ── FOOTER ───────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 38px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-col h4 {
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lavender);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--lavender); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: .75rem;
}

/* ── BREADCRUMB ───────────────────────────── */
.breadcrumb {
  background: var(--cream-d);
  padding: .6rem 0;
  font-size: .83rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--purple); }
.breadcrumb span { margin: 0 .4rem; }

/* ── 404 ────────────────────────────────── */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 88px;
}
.page-404 h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--purple);
  opacity: .15;
  font-family: Georgia,serif;
  line-height: 1;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid-4  { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(26,5,46,0.98); padding: 1.5rem; gap: .8rem; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-content .container { grid-template-columns: 1fr; }
  .hero-image-panel { display: none; }
  .two-col, .two-col.reverse, .cta-img-grid, .contact-grid { grid-template-columns: 1fr; direction: ltr; }
  .cards-grid-3, .features-grid, .pricing-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .banner-section { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; }
}
