/* =========================================
   EP Assistance — style.css
   ========================================= */

:root {
  --color-navy: #1c3a52;
  --color-navy-dark: #142a3c;
  --color-sage: #7c9885;
  --color-sage-light: #eef2ee;
  --color-gold: #c9a24b;
  --color-gold-light: #f3e9d2;
  --color-cream: #faf7f0;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #5a6672;
  --color-border: #e3ddce;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(28, 58, 82, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 58, 82, 0.1);
  --container-width: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
}

section {
  padding: 88px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-navy-dark);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}
.btn-gold:hover {
  background: #b78f3c;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}
.logo-text em {
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav ul {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-navy);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 100px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 85% 15%, var(--color-gold-light) 0%, transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--color-cream) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas: "top visual" "bottom visual";
  column-gap: 56px;
  row-gap: 12px;
  align-items: center;
}
.hero-top {
  grid-area: top;
}
.hero-bottom {
  grid-area: bottom;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-sage);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}
.hero h1 span {
  color: var(--color-sage);
}
.hero-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 16px;
}
.hero-desc {
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: 32px;
  text-align: justify;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.hero-visual {
  grid-area: visual;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero-photo-frame {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 200deg, var(--color-gold-light), var(--color-gold), var(--color-gold-light), var(--color-gold), var(--color-gold-light));
  box-shadow: var(--shadow-md);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--color-white);
}
.hero-photo,
.hero-photo-fallback {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  object-fit: cover;
}
.hero-photo {
  z-index: 1;
}
.hero-photo.is-missing {
  display: none;
}
.hero-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sage-light);
  color: var(--color-sage);
}
.hero-photo-fallback svg {
  width: 88px;
  height: 88px;
}
.hero-person-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
}
.hero-person-role {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

/* ---------- Section titles ---------- */
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: 0 auto 48px;
}
.contact .section-title,
.contact .section-subtitle {
  text-align: left;
  margin-left: 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-sage-light);
  color: var(--color-navy);
  margin-bottom: 20px;
}
.service-icon svg {
  width: 32px;
  height: 32px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
}

/* ---------- Split section (avantages / accompagne) ---------- */
.split-section {
  background: var(--color-white);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 40px 36px;
  border: 1px solid var(--color-border);
}
.split-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.split-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-white);
  flex-shrink: 0;
}
.split-icon svg {
  width: 28px;
  height: 28px;
}
.split-card-header h2 {
  font-size: 1.4rem;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--color-text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-sage);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg);
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-weight: 500;
  color: var(--color-navy);
}
.audience-list svg {
  width: 26px;
  height: 26px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  padding: 56px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 560px;
}
.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  color: var(--color-gold);
  flex-shrink: 0;
}
.cta-icon svg {
  width: 28px;
  height: 28px;
}
.cta-text h2 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cta-text p {
  color: #cdd8e0;
  text-align: left;
}
.cta-side {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cta-side span {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  text-align: right;
  line-height: 1.4;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.info-list {
  margin: 28px 0 32px;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--color-text);
}
.info-list svg {
  width: 24px;
  height: 24px;
  color: var(--color-navy);
  flex-shrink: 0;
}
.info-list a:hover {
  color: var(--color-sage);
}
.tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-sage);
  font-size: 1.15rem;
}

.contact-actions {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-actions h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.contact-actions p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
  text-align: justify;
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.btn-contact {
  width: 100%;
  padding: 16px 30px;
  font-size: 1rem;
}
.btn-contact svg {
  width: 20px;
  height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-dark);
  color: #c9d3da;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-col h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 0.92rem;
  color: #9fb0bb;
  line-height: 1.7;
}
.footer-col a:hover {
  color: var(--color-gold);
}
.footer-brand .logo-text strong {
  color: var(--color-white);
}
.footer-brand p {
  max-width: 34ch;
  margin-top: 14px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: #7f909c;
}
.footer-bottom a:hover {
  color: var(--color-gold);
}

/* ---------- Page tarifs ---------- */
.pricing {
  padding: 72px 0 96px;
}
.pricing-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.pricing-intro h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}
.pricing-intro p {
  color: var(--color-text-muted);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 18px;
  border-radius: 999px;
}
.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.pricing-card .pricing-target {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.pricing-price .pricing-unit {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.pricing-price-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.pricing-card .check-list {
  text-align: left;
  margin: 8px 0 32px;
  flex: 1;
}
.pricing-card .btn {
  width: 100%;
}
.pricing-note {
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.travel-info {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 48px;
}
.travel-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-white);
  flex-shrink: 0;
}
.travel-info-icon svg {
  width: 26px;
  height: 26px;
}
.travel-info-content h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.travel-info-content .check-list li {
  color: var(--color-text);
}

/* ---------- Page légale ---------- */
.legal {
  padding: 72px 0 96px;
}
.legal-content {
  max-width: 760px;
}
.legal-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-content p {
  color: var(--color-text-muted);
  text-align: justify;
}
.legal-fields {
  margin-bottom: 16px;
}
.legal-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  margin-bottom: 6px;
}
.legal-label {
  color: var(--color-navy);
  font-weight: 600;
}
.legal-value {
  color: var(--color-text-muted);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 400;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
.back-to-top:hover {
  transform: translateY(-3px);
}
.back-to-top[hidden] {
  display: none;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "visual" "bottom";
    row-gap: 32px;
  }
  .hero-photo-frame {
    width: 200px;
    height: 200px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
  .primary-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 24px 32px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-side {
    width: 100%;
    justify-content: space-between;
  }
  .contact .section-title,
  .contact .section-subtitle {
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .travel-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
  }
  .travel-info-content .check-list {
    text-align: left;
  }
}
