/* HDDC France Solutions — corporate stylesheet */
:root {
  --navy: #0b1f3a;
  --navy-deep: #061428;
  --navy-mid: #143056;
  --gold: #c9a227;
  --gold-light: #e0c45c;
  --gold-dim: #a8841a;
  --cream: #f7f5f0;
  --white: #ffffff;
  --text: #1a2332;
  --text-muted: #5a6577;
  --border: #d8dde6;
  --focus: #c9a227;
  --danger: #b42318;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(11, 31, 58, 0.12);
  --max: 1100px;
  --font: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a { color: var(--navy-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dim); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header / Nav — barre blanche pour lisibilité du logo monogramme */
.site-header {
  background: var(--white);
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--border), 0 4px 18px rgba(11, 31, 58, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
}

.brand img {
  height: 56px;
  width: auto;
  max-width: min(300px, 58vw);
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.brand-text { display: none; } /* wordmark déjà dans le logo */

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
  border-radius: 6px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav-toggle:hover { border-color: var(--gold); color: var(--navy-mid); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-dim);
}

.site-nav .btn-nav {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 6px;
  font-weight: 600;
}

.site-nav .btn-nav:hover {
  background: var(--navy-mid);
  color: var(--white) !important;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(6,20,40,0.92) 0%, rgba(11,31,58,0.88) 55%, rgba(20,48,86,0.85) 100%),
    url("img/reunion.webp") center/cover no-repeat;
  color: var(--white);
  padding: 5rem 1.25rem 4.5rem;
  position: relative;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
  font-weight: 700;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 42rem;
  color: rgba(255,255,255,0.88);
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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

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

.section-header {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  line-height: 1.25;
}

.section-navy .section-header h2 { color: var(--white); }

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-navy .section-header p { color: rgba(255,255,255,0.75); }

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1rem;
  border-radius: 2px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(11,31,58,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About / approach */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose p { margin: 0 0 1rem; color: var(--text-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }

.quote-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--gold);
}

.quote-box p {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
}

.quote-box cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillars li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.pillars strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}

.pillars span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Portfolio */
.portfolio-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.portfolio-card:hover {
  border-color: var(--gold);
}

.portfolio-logo {
  width: 120px;
  flex-shrink: 0;
}

.portfolio-body h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.portfolio-body p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.portfolio-link {
  color: var(--gold-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

/* CTA */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.25rem;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255,255,255,0.8);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.25rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-col h3 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

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

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 1.25rem;
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  max-width: 36rem;
}

/* Forms */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.95rem;
}

.form-row .hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
  background: var(--white);
}

.form-row textarea { min-height: 140px; resize: vertical; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  min-height: 1.1em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-actions { margin-top: 1.5rem; }

.required::after {
  content: " *";
  color: var(--danger);
}

/* Legal content */
.legal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(11,31,58,0.04);
}

.legal h2 {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.legal h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal p, .legal li {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.legal ul { padding-left: 1.25rem; }

.legal address {
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Merci page */
.merci-box {
  max-width: 480px;
  margin: 3rem auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.merci-box .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}

.merci-box h1 {
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
}

.merci-box p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Responsive */
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.1);
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.25rem;
  }

  .site-nav .btn-nav {
    text-align: center;
    margin-top: 0.35rem;
  }

  .header-inner { position: relative; }
}

@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .section { padding: 3rem 1rem; }
  .form-wrap { padding: 1.35rem; }
  .brand-tag { display: none; }
}


/* === SEO additions: FAQ, breadcrumbs === */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
}
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 2px 8px rgba(11,31,58,0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 1.15rem;
  list-style: none;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold-dim);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.prose-light { color: rgba(255,255,255,0.85); }
.prose-light a { color: var(--gold-light); }
