/* ==========================
   CONFIGOPTI — STYLE.CSS (FULL CLEAN)
========================== */

/* ---------- VARIABLES ---------- */
:root {
  --bg: #020617;
  --bg-alt: #050816;
  --card: #0b1120;

  --accent: #4f46e5;
  --accent-strong: #6366f1;
  --accent-soft: rgba(79, 70, 229, 0.16);

  --text: #f9fafb;
  --muted: #9ca3af;

  --border-subtle: 1px solid rgba(148, 163, 184, 0.22);

  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow: 0 20px 45px rgba(15, 23, 42, 0.85);
  --max-width: 1120px;
}

/* ---------- BASE ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;

  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

body.is-enter{
  opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
}

body.is-leave{
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(2px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ---------- GLOBAL SECTIONS ---------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.5rem;
}

.section-header {
  margin-bottom: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: flex-end;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.6;
}

/* pour les ancres (évite que la navbar cache le haut) */
section { scroll-margin-top: 90px; }

/* ==========================
   NAVBAR
========================== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.75), transparent);
  border-bottom: 1px solid rgba(30, 64, 175, 0.35);

  transition: background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

header.is-scrolled{
  background: rgba(2, 6, 23, 0.72);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  border-bottom-color: rgba(99,102,241,0.22);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 0, #c7d2fe 0, #4f46e5 40%, #1d4ed8 70%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.7);
  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: inherit;
  border: 1px solid rgba(191, 219, 254, 0.7);
}

.brand-logo span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-text-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-text-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: all 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.16);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: radial-gradient(circle at 0 0, #a5b4fc, #4f46e5 45%, #1d4ed8 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 16px 35px rgba(79, 70, 229, 0.75);
  transition: filter .15s ease, transform .15s ease;
}

.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  width: 38px;
  height: 34px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================
   HERO (HOME)
========================== */
.hero-landing{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: clamp(6rem, 10vh, 9rem) 1.5rem clamp(4rem, 8vh, 6rem);
  overflow: hidden;
  color: #f9fafb;

  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.88)),
    url("pc-hero-configopti.jpg") center / cover no-repeat;
}

/* vignette + profondeur */
.hero-landing::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(80% 60% at 50% 35%, rgba(99,102,241,0.22), transparent 60%),
    radial-gradient(70% 70% at 50% 100%, rgba(0,0,0,0.55), transparent 60%);
  pointer-events:none;
}

.hero-landing-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-eyebrow span.badge {
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-landing-title {
  font-size: clamp(2.7rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.1rem;
}

.hero-landing-title span.gradient {
  background: linear-gradient(120deg, #a5b4fc, #6366f1, #06b6d4);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-landing-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 640px;
  margin: 0 auto 1.9rem;
  line-height: 1.7;
}

.hero-landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary-landing,
.btn-secondary-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-landing {
  background: radial-gradient(circle at 0 0, #a5b4fc, #4f46e5 45%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 22px 45px rgba(79, 70, 229, 0.85);
}

.btn-primary-landing:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.06);
  box-shadow: 0 26px 55px rgba(79, 70, 229, 1);
}

.btn-secondary-landing {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.75);
  color: #e5e7eb;
}

.btn-secondary-landing:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #e5e7eb;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.hero-note span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* ==========================
   SERVICES (cards)
========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), #020617);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem;
  border: var(--border-subtle);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 60%);
  pointer-events: none;
}

.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.service-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.7rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.85);
}

/* ==========================
   HOME — DOUBLE CARD (AVIS + DEVIS)
========================== */
.home-dual-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: stretch;
}

.home-card{
  position: relative;
  padding: 1.6rem 1.6rem 1.7rem;
  border-radius: var(--radius-xl);

  background: radial-gradient(circle at top, rgba(79,70,229,0.38), rgba(2,6,23,0.92) 62%);
  border: 1px solid rgba(129, 140, 248, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;

  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(99,102,241,0.18), transparent 55%);
  transform: rotate(12deg);
  pointer-events:none;
}

.home-card:hover{
  transform: translateY(-4px);
  border-color: rgba(165,180,252,0.95);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.92);
}

.home-card-title{
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .55rem;
  color: #e5e7eb;
}

.home-card-text{
  position: relative;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.home-card-features{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 1.2rem;
  font-size: .78rem;
  color: rgba(229,231,235,0.85);
}

/* bouton commun (home cards) */
.btn-pill.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: radial-gradient(circle at 0 0, #a5b4fc, #4f46e5 45%, #1d4ed8 100%);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.85);
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.btn-pill.btn-primary:hover{
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: 0 26px 55px rgba(79, 70, 229, 0.98);
}

/* ==========================
   PROCESS
========================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.25rem;
  padding: 1rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.82rem;
  color: var(--muted);
}

.step-index {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.25);
  border: 1px solid rgba(129, 140, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 0.88rem;
  color: #e5e7eb;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

/* ==========================
   ABOUT (de tes pages)
========================== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.about-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.about-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.75rem;
  cursor: pointer;
}

.about-badge:hover{
  border-color: rgba(229,231,235,0.9);
}

.about-card {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.45), #020617 55%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(129, 140, 248, 0.85);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  color: var(--muted);
}

.about-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.6rem;
}

.about-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.95rem;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.metric span.value {
  font-size: 1rem;
  font-weight: 700;
  color: #e5e7eb;
}

.metric span.label {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ==========================
   PRICING (tarifs.php)
========================== */

/* Conteneur global des 3 zones */
.pricing-layout {
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

/* espace entre les zones */
.pricing-layout > div + div {
  margin-top: 10rem;
}

.pricing-zone { width: 100%; }

.pricing-zone-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
}

.pricing-zone-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -0.4rem;
  margin-bottom: 1rem;
}

.pricing-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.pricing-zone:first-child .pricing-columns { justify-content: center; }
.pricing-zone:nth-child(n + 2) .pricing-columns { justify-content: flex-start; }

.price-card {
  background: radial-gradient(circle at 0 0, rgba(79, 70, 229, 0.3), rgba(15, 23, 42, 1));
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem 1.2rem;
  border: 1px solid rgba(129, 140, 248, 0.7);
  box-shadow: var(--shadow);
  flex: 1 1 260px;
  max-width: 320px;
}

.price-card.secondary {
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.98), #020617);
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.85);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.price-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.price-value {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.price-caption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.price-features {
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.price-features li {
  display: flex;
  gap: 0.45rem;
}

.price-features li span.icon {
  font-size: 0.9rem;
  margin-top: 1px;
}

.price-cta {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.96);
  gap: 0.35rem;
  align-items: center;
  cursor: pointer;
}

.price-cta:hover { border-color: #e5e7eb; }

.pricing-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 21rem;
}

/* options complémentaires */
#options { padding-top: 0rem; }
#options .pricing-zone-title { margin-top: 0; }

.pricing-columns-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

/* ==========================
   CONTACT
========================== */
.contact { padding-bottom: 4.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.9);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.contact-section { margin-bottom: 0.7rem; }

.contact-label-small {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.22rem;
}

.contact-info {
  font-size: 0.88rem;
  color: #e5e7eb;
  font-weight: 500;
}

form.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.9rem;
  font-size: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field label {
  font-size: 0.75rem;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.75);
  padding: 0.55rem 0.7rem;
  color: #e5e7eb;
  font-size: 0.8rem;
  outline: none;
  resize: vertical;
  min-height: 0;
}

.form-field textarea { min-height: 110px; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.85);
}

.form-full { grid-column: 1 / -1; }

.form-submit {
  margin-top: 0.3rem;
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #a5b4fc, #4f46e5 45%, #1d4ed8 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.9);
  transition: filter .15s ease, transform .15s ease;
}

.btn-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

/* ==========================
   AVIS (page avis.php)
========================== */

/* centre proprement la section avis */
#avis .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* titres / header uniquement pour la page avis */
#avis .section-header {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  justify-content: center;
}

#avis .section-title {
  font-size: clamp(1.8rem, 2.3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

#avis .section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* grille avis */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin: 0 auto 2.8rem;
  align-items: stretch;
}

.review-card {
  background: radial-gradient(circle at 0 0, rgba(37, 99, 235, 0.25), rgba(15, 23, 42, 0.95));
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.review-name {
  font-size: 0.98rem;
  font-weight: 600;
}

.review-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

.review-meta{
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.2;
}

.review-stars {
  font-size: 1.1rem;
  line-height: 1;
  color: #facc15;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text, #e5e7eb);
}

/* avis au-delà du 3e */
.extra-review { display: none; }
.extra-review.is-visible { display: flex; }

/* bouton afficher tous les avis */
.reviews-toggle-wrapper {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  display: flex;
  justify-content: center;
}

.reviews-toggle-btn { margin-top: 0.5rem; }

/* formulaire avis */
.reviews-form-wrapper {
  max-width: 34rem;
  margin: 0 auto 0;
  background: rgba(3, 7, 18, 0.9);
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.reviews-form-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.reviews-form-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#avis .form-field{
  display:flex;
  flex-direction:column;
  gap:0.35rem;
}

#avis .form-field label{
  font-size:0.85rem;
  font-weight:500;
  color: var(--muted);
}

#avis .form-field input,
#avis .form-field textarea{
  background:#020617;
  border-radius:0.7rem;
  border:1px solid rgba(148,163,184,0.55);
  padding:0.65rem 0.75rem;
  font-size:0.9rem;
  color:var(--text, #e5e7eb);
  outline:none;
}

#avis .form-field input::placeholder,
#avis .form-field textarea::placeholder{
  color: rgba(148, 163, 184, 0.75);
}

#avis .form-field input:focus,
#avis .form-field textarea:focus{
  border-color:#6366f1;
  box-shadow:0 0 0 1px rgba(99,102,241,0.8);
}

/* étoiles */
.rating-group {
  display: inline-flex;
  gap: 0.3rem;
  cursor: pointer;
  user-select: none;
}

.rating-group input { display: none; }

.rating-group label {
  font-size: 2rem;
  color: #111827;
  text-shadow: 0 0 8px rgba(15, 23, 42, 0.9);
  transform: translateY(0) scale(1);
  transition: transform 0.12s ease, color 0.15s ease, text-shadow 0.15s ease;
}

.rating-group label.is-active {
  color: #fde047;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.9);
  transform: translateY(-1px) scale(1.04);
}

.rating-group label.is-hover {
  color: #facc15;
  text-shadow: 0 0 16px rgba(250, 204, 21, 1);
  transform: translateY(-2px) scale(1.08);
}

/* bouton avis (unique, pas de doublon) */
.review-submit-wrapper {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

.btn-pill.review-submit-btn {
  border: none;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.65), rgba(79, 70, 229, 0.95));
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-pill.review-submit-btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 45px rgba(129, 140, 248, 0.9);
}

.btn-pill.review-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.7);
}

/* message succès (si tu l’utilises) */
.success-message {
  margin-top: 20px;
  padding: 15px;
  background: #0e1b2b;
  border: 1px solid #1d3557;
  color: #7cf5ff;
  border-radius: 12px;
  font-size: 1rem;
}

/* ==========================
   FOOTER
========================== */
footer {
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  background: #020617;
  padding: 1.1rem 1.25rem 1.4rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.75rem;
  color: var(--muted);
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a:hover { color: #e5e7eb; }

/* ==========================
   RESPONSIVE
========================== */

/* ≤ 960px */
@media (max-width: 960px) {
  /* pricing */
  .pricing-layout > div + div { margin-top: 3rem; }

  .pricing-zone {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .pricing-zone .pricing-columns { justify-content: center; }

  /* options */
  .pricing-columns-options{
    flex-direction: column;
    align-items: center;
  }

  /* process */
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* about/contact */
  .two-col, .contact-grid { grid-template-columns: minmax(0, 1fr); }

  /* home */
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-dual-grid { grid-template-columns: 1fr; }

  /* avis */
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≤ 780px */
@media (max-width: 780px) {
  .nav { padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .nav-links { display: none; }

  .nav-links.open {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-links.open a { padding: 0.4rem 0.55rem; }

  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .section { padding: 3rem 1rem 3.1rem; }

  .hero-landing { min-height: 80vh; padding-top: 5rem; }
  .hero-landing-title { font-size: clamp(2.2rem, 8vw, 2.8rem); }

  /* services */
  .services-grid { grid-template-columns: minmax(0, 1fr); }

  /* pricing */
  .pricing-columns { flex-direction: column; align-items: center; }

  /* contact form */
  form.contact-form { grid-template-columns: minmax(0, 1fr); }
  .form-full { grid-column: auto; }

  /* avis */
  .review-submit-wrapper { justify-content: center; }
}

/* ≤ 640px */
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .review-card { padding: 1.3rem 1.2rem; }
  .reviews-form-wrapper { padding: 1.4rem 1.1rem 1.5rem; }
}

/* fix mobile hero perf */
@media (max-width: 768px) {
  .hero-landing { background-attachment: scroll; }
}
