@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;700;900&display=swap');

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

:root {
  --bleu: #2D4150;
  --jaune: #F0B41E;
  --rouge: #C83228;
  --rouge-service: #E65032;
  --bleu-service: #4B96D2;
  --fond: #F4F7F9;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: var(--bleu); min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, h4 { font-family: 'Archivo Black', sans-serif; }
main { flex: 1; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }

/* ─── HEADER ─────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bleu);
  border-bottom: 4px solid var(--jaune);
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
  height: 96px; display: flex; align-items: center; padding: 0 1.5rem;
}
.header-inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; cursor: pointer; }
.logo-icon { background: var(--jaune); padding: 8px; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.logo-text { color: #fff; font-family: 'Archivo Black', sans-serif; font-size: 1.3rem; letter-spacing: -.05em; text-transform: uppercase; font-style: italic; }
.desktop-nav { display: flex; gap: 6px; align-items: center; }
.desktop-nav a {
  font-family: 'Archivo Black', sans-serif; font-size: 10px; font-style: italic;
  text-transform: uppercase; letter-spacing: .18em; color: #fff; text-decoration: none;
  padding: 8px 12px; border-radius: 8px; transition: all .2s;
}
.desktop-nav a:hover { color: var(--jaune); }
.desktop-nav a.active { background: var(--jaune); color: var(--bleu); }
.social-links { display: flex; gap: 12px; align-items: center; }
.social-link {
  width: 68px; height: 68px; background: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15); box-shadow: 0 2px 8px rgba(0,0,0,.15);
  overflow: hidden; text-decoration: none; transition: transform .2s;
}
.social-link:hover { transform: scale(1.08); }
.social-link img { width: 100%; height: 100%; object-fit: contain; }
.burger-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }

/* ─── MOBILE MENU ────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 110;
  background: var(--bleu); flex-direction: column; padding: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.close-btn { background: none; border: none; cursor: pointer; color: #fff; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu nav a {
  font-family: 'Archivo Black', sans-serif; font-size: 2.5rem; font-style: italic;
  text-transform: uppercase; letter-spacing: -.05em; color: #fff; text-decoration: none;
}

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .desktop-social { display: none; }
  .burger-btn { display: block; }
  .logo-text { font-size: 1rem; }
}

/* ─── HEX PATTERN ────────────────────────────────── */
.hex-pattern {
  position: absolute; inset: 0; opacity: .03; pointer-events: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDEuNTY5IiB2aWV3Qm94PSIwIDAgMjQgNDEuNTY5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMiAwTDI0IDYuOTI4VjIwLjc4NEwxMiAyNy43MTJMMCAyMC43ODRWNi45MjhMMTIgMHoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+");
  background-size: 40px; z-index: 0;
}
.hero-inner, .hero-accueil-inner { position: relative; z-index: 1; }

/* ─── CALL BUTTON ────────────────────────────────── */
.call-btn {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--rouge); color: #fff; text-decoration: none;
  padding: 0 1.5rem; height: 80px; border-radius: 12px; min-width: 280px;
  box-shadow: 0 8px 32px rgba(200,50,40,.4); transition: background .2s;
}
.call-btn:hover { background: #a02820; }
.call-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.call-texts { display: flex; flex-direction: column; line-height: 1; }
.call-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-style: italic; opacity: .9; margin-bottom: 4px; }
.call-number { font-family: 'Archivo Black', sans-serif; font-size: 1.3rem; letter-spacing: -.04em; font-style: italic; }
.call-note { font-size: 11px; color: rgba(45,65,80,.6); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-style: italic; margin-top: 6px; }

/* ─── HERO SECTION ───────────────────────────────── */
.hero {
  background: var(--bleu); color: #fff;
  padding: 4rem 1.5rem 4rem; position: relative; overflow: hidden;
  border-bottom: 8px solid var(--jaune);
}
.hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-style: italic;
  letter-spacing: -.04em; line-height: 1.1; text-transform: uppercase; margin-bottom: 1rem;
}
.hero-subtitle {
  color: rgba(255,255,255,.8); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; font-style: italic; letter-spacing: .05em; max-width: 500px;
}
.hero-right { display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; }

/* ─── ACCUEIL HERO ───────────────────────────────── */
.hero-accueil { background: var(--fond); padding: 4rem 1.5rem 6rem; position: relative; overflow: hidden; }
.hero-accueil-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hero-accueil h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--bleu); font-style: italic; text-transform: uppercase; letter-spacing: -.05em; line-height: 1; }
.hero-accueil h1 .sub { font-size: clamp(1.5rem, 4vw, 2.5rem); color: rgba(45,65,80,.8); display: block; }
.yellow-bar { width: 96px; height: 8px; background: var(--jaune); margin: 2rem 0 1rem; }

/* ─── CARDS SECTION ACCUEIL ──────────────────────── */
.cards-outer { background: var(--fond); padding: 0 1.5rem 5rem; }
.cards-neg { max-width: 1280px; margin: -4rem auto 0; position: relative; z-index: 10; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr; } }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

.service-card {
  background: #fff; border-radius: 24px; padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(45,65,80,.12); border: 1px solid #f1f5f9;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; cursor: pointer;
}
.service-card:hover { transform: translateY(-12px); box-shadow: 0 20px 56px rgba(45,65,80,.2); }
.card-img-wrap {
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden;
  border: 4px solid transparent; box-shadow: inset 0 0 0 4px;
  margin-bottom: 1.5rem; background: #fff; flex-shrink: 0;
}
@media (min-width: 768px) { .card-img-wrap { width: 192px; height: 192px; } }
.card-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.service-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem); font-style: italic; text-transform: uppercase;
  letter-spacing: -.04em; line-height: 1; margin-bottom: .5rem;
}
.card-desc {
  color: rgba(45,65,80,.6); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .05em; font-style: italic; margin-bottom: 2rem;
}
.card-cta {
  margin-top: auto; background: var(--bleu); color: #fff;
  padding: .75rem 2rem; border-radius: 8px; font-family: 'Archivo Black', sans-serif;
  font-size: 10px; text-transform: uppercase; letter-spacing: .2em; font-style: italic;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.service-card:hover .card-cta { background: var(--rouge); }

/* ─── SERVICE PAGE ───────────────────────────────── */
.bg-fond { background: var(--fond); }
.section-pad { padding: 5rem 1.5rem; }
.inner { max-width: 1280px; margin: 0 auto; }
.inner-sm { max-width: 900px; margin: 0 auto; }

.items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-bottom: 4rem; }
@media (max-width: 640px) { .items-grid { grid-template-columns: 1fr; } }
.item-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: #fff; padding: 2rem; border-radius: 16px;
  border: 1px solid #e2e8f0; box-shadow: 0 2px 12px rgba(0,0,0,.05); height: 100%;
}
.item-card span {
  font-family: 'Archivo Black', sans-serif; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: -.04em; font-style: italic; line-height: 1;
}

.vig-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.vig-icon-wrap { background: var(--rouge); padding: 12px; border-radius: 12px; box-shadow: 0 4px 16px rgba(200,50,40,.3); display: flex; }
.vig-title { font-size: clamp(1.5rem, 3vw, 2rem); font-style: italic; text-transform: uppercase; letter-spacing: -.04em; }
.vig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 640px) { .vig-grid { grid-template-columns: 1fr; } }
.vig-card {
  background: #fff; border-radius: 24px; padding: 2rem;
  border-left: 8px solid var(--rouge); box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .2s;
}
.vig-card:hover { transform: translateX(6px); }
.vig-card-head { display: flex; align-items: flex-start; gap: 1rem; }
.vig-card h4 { font-size: 1.15rem; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; margin-bottom: .75rem; }
.vig-card p { color: rgba(45,65,80,.7); font-weight: 700; line-height: 1.6; }

/* ─── FRELON BUTTONS ─────────────────────────────── */
.frelon-btn {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--jaune); color: var(--bleu);
  padding: 0 1.5rem; height: 80px; border-radius: 12px; min-width: 280px;
  box-shadow: 0 8px 24px rgba(240,180,30,.35); transition: background .2s;
  text-decoration: none; cursor: pointer; border: none; font-family: inherit;
  background-image: none;
}
.frelon-btn:hover { background: #fff; }
.frelon-btn-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.frelon-btn span { font-family: 'Archivo Black', sans-serif; font-size: 1.1rem; letter-spacing: -.03em; font-style: italic; text-transform: uppercase; line-height: 1.1; text-align: left; }

/* ─── SIGNALER PAGE ──────────────────────────────── */
.signal-card {
  background: #fff; border-radius: 24px; padding: 4rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.1); border: 1px solid #f1f5f9;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 760px; margin: 0 auto;
}
.signal-icon-wrap { background: var(--rouge); padding: 1.25rem; border-radius: 50%; margin-bottom: 2rem; box-shadow: 0 6px 24px rgba(200,50,40,.35); }
.signal-card h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; text-transform: uppercase; letter-spacing: -.04em; margin-bottom: 1.5rem; line-height: 1.1; }
.signal-card p { font-size: 1.05rem; font-weight: 700; color: #475569; margin-bottom: 2.5rem; max-width: 560px; }
.signal-cta {
  background: var(--rouge); color: #fff; text-decoration: none;
  padding: 1.5rem 2.5rem; border-radius: 16px; font-family: 'Archivo Black', sans-serif;
  font-size: 1.3rem; font-style: italic; text-transform: uppercase; letter-spacing: -.04em;
  box-shadow: 0 8px 24px rgba(200,50,40,.35); transition: transform .2s; display: flex; align-items: center; gap: 1rem;
}
.signal-cta:hover { transform: scale(1.04); }

/* ─── FAQ PAGE ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.07); border: 1px solid #f1f5f9; overflow: hidden; }
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; text-align: left; background: none; border: none; cursor: pointer;
  font-family: 'Archivo Black', sans-serif; font-size: 1rem; text-transform: uppercase;
  font-style: italic; letter-spacing: -.02em; color: var(--bleu);
}
.faq-answer { display: none; padding: 0 1.5rem 1.5rem; border-top: 1px solid #f8fafc; padding-top: 1rem; color: rgba(45,65,80,.7); font-weight: 700; line-height: 1.7; }
.faq-answer.open { display: block; }

/* ─── MENTIONS LÉGALES ───────────────────────────── */
.mentions-card { background: #fff; border-radius: 24px; padding: 2.5rem; box-shadow: 0 6px 24px rgba(0,0,0,.09); border: 1px solid #f1f5f9; margin-bottom: 2rem; }
.mentions-card h2 { font-size: 1.4rem; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 1.5rem; border-bottom: 4px solid var(--jaune); display: inline-block; padding-bottom: .25rem; }
.mentions-card p { font-size: 1rem; font-weight: 700; color: #475569; margin-bottom: .5rem; }
.mentions-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.mentions-item span { font-weight: 700; color: #475569; font-size: 1rem; }

/* ─── FOOTER ─────────────────────────────────────── */
footer { background: var(--bleu); color: #fff; padding: 4rem 1.5rem; border-top: 8px solid var(--jaune); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.footer-name { font-family: 'Archivo Black', sans-serif; font-size: 1.4rem; letter-spacing: -.04em; text-transform: uppercase; font-style: italic; text-align: center; }
.footer-desc { font-family: 'Archivo Black', sans-serif; font-size: .65rem; font-style: italic; text-transform: uppercase; letter-spacing: .25em; color: rgba(255,255,255,.3); text-align: center; line-height: 1.8; max-width: 700px; }
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.4); font-weight: 700; text-align: center; }
.footer-legal a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-legal a:hover { color: var(--jaune); }

@media (max-width: 640px) {
  .call-btn { min-width: 0; width: 100%; }
  .frelon-btn { min-width: 0; width: 100%; }
  .hero-right { align-items: stretch; }
  .signal-card { padding: 2rem 1.25rem; }
  .mentions-card { padding: 1.5rem; }
  .items-grid { grid-template-columns: 1fr; }
  .vig-grid { grid-template-columns: 1fr; }
}
