/* ============================================
   Control N — Feuille de style principale
   ============================================ */

:root {
  --pink: #ec1876;
  --pink-dark: #c4125f;
  --black: #141414;
  --gray: #8c8c8c;
  --gray-light: #f4f4f5;
  --gray-border: #e4e4e7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(236, 24, 118, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo svg,
.logo img {
  height: 34px;
  width: auto;
}

.footer-top .logo img {
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--black);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--black);
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: var(--gray-light);
}

.hero-shape {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 620px;
  height: 620px;
  opacity: 0.9;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.hero p {
  font-size: 1.15rem;
  color: #3d3d3d;
  margin: 0 0 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections génériques ---------- */

section {
  padding: 90px 0;
}

.section-alt {
  background: var(--gray-light);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.left {
  margin: 0 0 56px;
  text-align: left;
}

.section-header .eyebrow {
  display: block;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-header p {
  color: #4a4a4a;
  font-size: 1.05rem;
  margin: 0;
}

.section-dark .section-header p {
  color: #c9c9c9;
}

/* ---------- Grilles de cartes (services) ---------- */

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.card p {
  color: #4a4a4a;
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- Image + texte ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.split-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.split-text p {
  color: #4a4a4a;
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--pink);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

/* ---------- Bandeau valeurs (Pourquoi nous) ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 34px;
}

.value-item {
  text-align: left;
}

.value-number {
  color: var(--pink);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.value-item p {
  color: #c9c9c9;
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pink);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  color: #4a4a4a;
  font-size: 0.98rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--pink);
  border-radius: 20px;
  padding: 60px;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0 0 30px;
  font-size: 1.05rem;
  opacity: 0.95;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: #d4d4d4;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-top .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-top p {
  color: #9a9a9a;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #b4b4b4;
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #8a8a8a;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page interne : bandeau titre ---------- */

.page-hero {
  background: var(--gray-light);
  padding: 64px 0;
  text-align: center;
}

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.page-hero p {
  color: #4a4a4a;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Formulaire de contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.contact-info-item p {
  margin: 0;
  color: #4a4a4a;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-border);
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-shape {
    width: 380px;
    height: 380px;
    top: -40px;
    right: -140px;
  }

  section {
    padding: 60px 0;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
