:root {
  --bleu-profond: #1e3a5f;
  --bleu-moyen: #2e5a88;
  --bleu-clair: #e8f1fa;
  --ambre: #b85a00;
  --ambre-fonce: #8f4500;
  --ambre-clair: #ffe7cc;
  --gris-texte: #2d3748;
  --gris-doux: #64748b;
  --gris-fond: #f7fafc;
  --blanc: #ffffff;
  --vert-succes: #2f855a;
  --ombre: 0 2px 8px rgba(30, 58, 95, 0.08);
  --ombre-forte: 0 6px 24px rgba(30, 58, 95, 0.12);
  --rayon: 10px;
  --max-largeur: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--gris-texte);
  line-height: 1.6;
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-moyen); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-largeur);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Barre d'urgence top ===== */
.top-bar {
  background: var(--bleu-profond);
  color: var(--blanc);
  padding: 0.6rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.top-bar a {
  color: var(--blanc);
  font-weight: 600;
  display: inline-block;
  padding: 0.25rem 0.4rem;
  min-height: 32px;
}

/* ===== Header / navigation ===== */
.site-header {
  background: var(--blanc);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-largeur);
  margin: 0 auto;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--bleu-profond);
  letter-spacing: -0.02em;
}
.logo span { color: var(--ambre); }

.nav-toggle {
  background: none;
  border: 2px solid var(--bleu-profond);
  color: var(--bleu-profond);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--blanc);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: var(--ombre);
}
.nav.open { display: block; }
.nav ul { list-style: none; padding: 0.5rem 0; }
.nav li { padding: 0.75rem 1.25rem; }
.nav a { color: var(--gris-texte); font-weight: 500; }

.cta-tel {
  background: var(--ambre);
  color: var(--blanc) !important;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  display: inline-block;
}
.cta-tel:hover { background: var(--ambre-fonce); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--bleu-clair) 0%, #f0f6fd 100%);
  padding: 2.5rem 0 3rem;
}
.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.15;
  color: var(--bleu-profond);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--ambre); }
.hero p.lead {
  font-size: 1.1rem;
  color: var(--gris-texte);
  margin-bottom: 1.5rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  border-radius: var(--rayon);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--ambre);
  color: var(--blanc);
}
.btn-primary:hover { background: var(--ambre-fonce); text-decoration: none; }
.btn-secondary {
  background: var(--blanc);
  color: var(--bleu-profond);
  border-color: var(--bleu-profond);
}
.btn-secondary:hover { background: var(--bleu-profond); color: var(--blanc); text-decoration: none; }

.hero-photo {
  max-width: 280px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  border: 6px solid var(--blanc);
}

/* ===== Bandeau trust ===== */
.trust-bar {
  background: var(--blanc);
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--bleu-profond);
  font-weight: 800;
}
.trust-item span {
  font-size: 0.85rem;
  color: var(--gris-doux);
}

/* ===== Sections ===== */
section { padding: 3rem 0; }
section.alt { background: var(--gris-fond); }

h2 {
  font-size: 1.7rem;
  color: var(--bleu-profond);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
h2 + .sub {
  color: var(--gris-doux);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--bleu-profond);
  margin-bottom: 0.5rem;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--blanc);
  padding: 1.5rem;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  border-top: 3px solid var(--ambre);
  transition: transform 0.15s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.service-icon {
  width: 44px; height: 44px;
  background: var(--bleu-clair);
  color: var(--bleu-profond);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.service-card p { color: var(--gris-texte); font-size: 0.95rem; }
.service-card ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--gris-doux);
}
.service-card li { margin-bottom: 0.25rem; }

/* ===== Pourquoi moi ===== */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature .check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--vert-succes);
  color: var(--blanc);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ===== Zone intervention ===== */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.zones span {
  background: var(--blanc);
  border: 1px solid #d6e4f0;
  color: var(--bleu-moyen);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Tarifs ===== */
.tarifs-table {
  width: 100%;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.tarifs-table th, .tarifs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}
.tarifs-table th {
  background: var(--bleu-profond);
  color: var(--blanc);
  font-weight: 600;
}
.tarifs-table tr:last-child td { border-bottom: none; }
.tarifs-table td strong { color: var(--bleu-profond); }
.tarifs-table tr:nth-child(even) td { background: var(--gris-fond); }

.note-box {
  background: #fff8e6;
  border-left: 4px solid var(--ambre);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ===== Answer-first box (TL;DR pour LLMs et lecteurs pressés) ===== */
.answer-box {
  background: var(--bleu-clair);
  border-left: 4px solid var(--bleu-moyen);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin: 1.5rem 0 2rem;
  font-size: 0.98rem;
  line-height: 1.55;
}
.answer-box strong { color: var(--bleu-profond); }
.answer-box p { margin: 0; }

/* ===== Module "À propos d'Adrien" répété ===== */
.adrien-card {
  background: var(--blanc);
  border: 1px solid #e2e8f0;
  border-radius: var(--rayon);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0;
  box-shadow: var(--ombre);
}
.adrien-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--bleu-clair);
}
.adrien-card .adrien-text {
  font-size: 0.95rem;
  color: var(--gris-texte);
}
.adrien-card .adrien-text strong {
  display: block;
  color: var(--bleu-profond);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.adrien-card .adrien-text small {
  display: block;
  color: var(--gris-doux);
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

/* ===== Photo dans le hero mobile ===== */
.hero-photo-mobile {
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 5px solid var(--blanc);
  box-shadow: var(--ombre-forte);
}
.hero-photo-desktop {
  display: none;
}
@media (min-width: 768px) {
  .hero-photo-mobile { display: none; }
  .hero-photo-desktop { display: block; }
}

/* ===== Formulaire ===== */
.form-wrap {
  background: var(--blanc);
  padding: 2rem;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--bleu-profond);
  font-size: 0.95rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d6e4f0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gris-texte);
  background: var(--blanc);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--ambre);
}
.form-row textarea { min-height: 120px; resize: vertical; }

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.contact-info {
  background: var(--bleu-profond);
  color: var(--blanc);
  padding: 2rem;
  border-radius: var(--rayon);
}
.contact-info h3 { color: var(--blanc); }
.contact-info a { color: var(--blanc); font-weight: 600; }
.contact-info p { margin-bottom: 1rem; }
.contact-info .big-phone {
  font-size: 1.6rem;
  font-weight: 800;
  display: block;
  margin: 0.5rem 0 1rem;
}

/* ===== Appel action bas de page ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bleu-profond) 0%, var(--bleu-moyen) 100%);
  color: var(--blanc);
  text-align: center;
  padding: 3rem 1.25rem;
}
.cta-section h2 { color: var(--blanc); }
.cta-section .sub { color: #d6e4f0; }
.cta-section .btn-primary { margin-top: 1rem; }

/* ===== Footer ===== */
.site-footer {
  background: #1a2e47;
  color: #cbd5e0;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.footer-grid a {
  color: #cbd5e0;
  display: inline-block;
  padding: 0.4rem 0;
  min-height: 44px;
  line-height: 1.4;
}
.footer-grid a:hover { color: var(--blanc); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.1rem; }
.footer-bottom {
  border-top: 1px solid #2d3e5a;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--gris-doux);
  background: var(--gris-fond);
}
.breadcrumb a { color: var(--bleu-moyen); }

/* ===== Page title ===== */
.page-title {
  background: linear-gradient(135deg, var(--bleu-profond) 0%, var(--bleu-moyen) 100%);
  color: var(--blanc);
  padding: 2.5rem 0;
  text-align: center;
}
.page-title h1 {
  color: var(--blanc);
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.page-title p { color: #d6e4f0; font-size: 1.05rem; }

/* ===== Bandeau tel fixe mobile ===== */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ambre);
  color: var(--blanc);
  padding: 0.9rem;
  text-align: center;
  font-weight: 700;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
.sticky-call a { color: var(--blanc); font-size: 1.05rem; }
.sticky-call a:hover { text-decoration: none; }

/* Padding bas pour éviter que le sticky call masque le contenu */
body { padding-bottom: 60px; }

/* ===== Media queries ===== */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .page-title h1 { font-size: 2.4rem; }
}

@media (min-width: 768px) {
  .nav {
    display: block;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
  }
  .nav ul {
    display: flex;
    gap: 1.5rem;
    padding: 0;
  }
  .nav li { padding: 0; }
  .nav a { font-weight: 500; }
  .nav a:hover { color: var(--ambre); }
  .nav-toggle { display: none; }

  .hero-inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }

  .sticky-call { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
}

/* ===== Accessibilité ===== */
:focus-visible {
  outline: 3px solid var(--ambre);
  outline-offset: 2px;
}

/* État actif dans la nav */
.nav a[aria-current="page"] {
  color: var(--ambre);
  font-weight: 700;
}
@media (min-width: 768px) {
  .nav a[aria-current="page"] {
    border-bottom: 3px solid var(--ambre);
    padding-bottom: 0.25rem;
  }
}

/* Skip link pour accessibilité clavier/lecteur d'écran */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bleu-profond);
  color: var(--blanc);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 700;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}
