
:root {
  --color-primary: #ff7a00;
  --color-primary-dark: #d11c1c;
  --color-primary-grad: linear-gradient(135deg, #ff7a00, #d11c1c);
  --color-bg: #f7f7fb;
  --color-text: #111827;
  --color-muted: #6b7280;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.94rem;
}

.main-nav a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(241, 245, 249, 0.9);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.23rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: #111827;
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 3rem 0 3.5rem;
  background: radial-gradient(circle at top left, #ffe8d2, transparent 55%),
              radial-gradient(circle at bottom right, #ffe0e0, transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  background-image: var(--color-primary-grad);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--color-muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(254, 215, 170, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #ea580c;
  margin-bottom: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-image: var(--color-primary-grad);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(248, 113, 22, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(248, 113, 22, 0.55);
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: #ffffff;
  color: #111827;
}

.btn-outline:hover {
  background: #f9fafb;
}

.btn.small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-contact .small {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0;
}

.hero-contact .strong {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.icon-phone {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background-image: var(--color-primary-grad);
  display: inline-block;
  position: relative;
}

.icon-phone::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 2px solid #ffffff;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(40deg);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  height: 100%;
}

.hero-card {
  position: absolute;
  bottom: 1.3rem;
  left: 1.3rem;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  max-width: 220px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5);
}

.hero-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.hero-card-text {
  font-size: 0.78rem;
  margin: 0;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background-color: var(--color-bg);
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--color-muted);
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
}

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.25rem;
  align-items: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Cards */

.card {
  border-radius: 1.1rem;
  background: #ffffff;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.94rem;
  color: var(--color-muted);
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ea580c;
}

/* Image panels */

.image-stack {
  position: relative;
}

.image-stack img {
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.image-stack img.stacked {
  position: absolute;
  width: 65%;
  right: -6%;
  bottom: -12%;
  border: 5px solid #ffffff;
}

.image-panel {
  position: relative;
}

.image-panel img {
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.image-panel-card {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  font-size: 0.8rem;
  max-width: 220px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

/* Lists */

.list-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.list-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background-image: var(--color-primary-grad);
}

.steps-list {
  padding-left: 1.4rem;
  font-size: 0.94rem;
}

.steps-list li {
  margin-bottom: 0.6rem;
}

.note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.note.center {
  text-align: center;
}

/* Packs */

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pack-card {
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  position: relative;
}

.pack-featured {
  border: 2px solid rgba(248, 113, 22, 0.9);
  transform: translateY(-3px);
}

.pack-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.pack-header h3 {
  margin: 0;
}

.pack-badge {
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(254, 215, 170, 0.3);
  color: #9a3412;
}

.pack-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.pack-list li {
  margin-bottom: 0.3rem;
}

.pack-tagline {
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  position: relative;
}

.testimonial::before {
  content: '“';
  position: absolute;
  font-size: 3.5rem;
  color: rgba(248, 113, 22, 0.3);
  top: -1.3rem;
  left: 1.1rem;
}

.testimonial-text {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.testimonial-author {
  margin: 0.9rem 0 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.testimonial-meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* CTA strip */

.cta-strip {
  background-image: var(--color-primary-grad);
  color: #ffffff;
  padding: 2rem 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-strip h2 {
  margin: 0 0 0.3rem;
}

.cta-strip p {
  margin: 0;
  font-size: 0.95rem;
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-strip .btn-outline {
  border-color: rgba(248, 250, 252, 0.8);
  color: #ffffff;
  background: transparent;
}

/* Page heroes */

.page-hero {
  padding: 3rem 0 2.5rem;
  background: radial-gradient(circle at top left, #ffe8d2, transparent 55%),
              radial-gradient(circle at bottom right, #ffe0e0, transparent 55%);
}

.page-hero-securite {
  background: radial-gradient(circle at top left, #fee2e2, transparent 55%),
              radial-gradient(circle at bottom right, #fef3c7, transparent 55%);
}

.page-hero-trading {
  background: radial-gradient(circle at top left, #dbeafe, transparent 55%),
              radial-gradient(circle at bottom right, #fee2e2, transparent 55%);
}

.page-hero-bienetre {
  background: radial-gradient(circle at top left, #dcfce7, transparent 55%),
              radial-gradient(circle at bottom right, #fef3c7, transparent 55%);
}

.page-hero-coaching {
  background: radial-gradient(circle at top left, #e0e7ff, transparent 55%),
              radial-gradient(circle at bottom right, #fee2e2, transparent 55%);
}

.page-hero-contact {
  background: radial-gradient(circle at top left, #fef9c3, transparent 55%),
              radial-gradient(circle at bottom right, #e0f2fe, transparent 55%);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.page-hero .hero-subtitle {
  max-width: 40rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 3fr);
  gap: 2rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-family: inherit;
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 2.2rem 0 1.2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr;
  gap: 2rem;
  font-size: 0.9rem;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.tagline {
  font-style: italic;
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Utils */

.center {
  text-align: center;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .two-cols,
  .cards-grid,
  .packs-grid,
  .testimonials-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-card {
    bottom: 1rem;
    left: 1rem;
  }

  .packs-grid .pack-featured {
    transform: none;
  }

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

@media (max-width: 768px) {
  .header-inner {
    padding-block: 0.6rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 0.7rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .cards-grid,
  .packs-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 70%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.6rem, 480px);
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .cta-strip-inner {
    gap: 1rem;
  }

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

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* format 16/9 */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  background: #000;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-grid-vertical {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.video-vertical {
  position: relative;
  padding-top: 177.78%; /* 9:16 */
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  background: #000;
}

.video-vertical video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Sur mobile, on réduit à 2 colonnes */
@media (max-width: 960px) {
  .video-grid-vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .video-grid-vertical {
    grid-template-columns: 1fr;
  }
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advantage-image {
  width: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.advantage-image img {
  width: 100%;
  height: auto;
  display: block;
}

.advantage-card h3 {
  font-size: 1rem;
  margin: 0.25rem 0 0.4rem;
  color: #b9371f; /* rappel rouge/orange du logo */
}

.advantage-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.card.card-media img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
  margin-bottom: 0.75rem;
}

.cozef-form {
  margin-top: 1.5rem;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
}

.form-fieldset {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px dashed #e5e7eb;
  padding: 1rem 1.25rem;
}

.form-fieldset legend {
  font-weight: 600;
  font-size: 0.95rem;
}

.doc-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.cozef-form .btn {
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

