/*
 * Arobase114 — Thème custom
 * Base: Bootstrap5 (drupal/bootstrap5)
 * Charte: Lora + DM Sans / sable, encre, terracotta, vert sauge
 */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --sand: #F5F0E8;
  --sand-dark: #EAE3D6;
  --ink: #1C1A16;
  --ink-soft: #3D3A33;
  --warm-gray: #7A7569;
  --accent: #C8684A;
  --accent-light: #DDE8DC; /* anciennement #F0DDD7 */
  --accent-dark: #A04E35;
  --white: #FDFBF8;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand);
  color: var(--ink);
}

/* ─── Navigation ────────────────────────────────────────── */
.site-header,
nav.navbar {
  background: var(--white);
  border-bottom: 1px solid #E2DBD0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft) !important;
  text-decoration: none;
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  overflow: hidden;
}

.hero-left {
  background: var(--white);
  padding: 5rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.hero-right {
  background: var(--sand-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--accent-light);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-card-float {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  width: 260px;
  box-shadow: 0 8px 32px rgba(28,26,22,0.08);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 20px;
}

.card-title {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  margin-top: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ─── Stats bar ─────────────────────────────────────────── */
.stats-bar {
  background: var(--ink);
  display: flex;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Lora', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Sections génériques ───────────────────────────────── */
.section {
  padding: 5rem 3rem;
}

.section-header { margin-bottom: 3rem; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.2;
  max-width: 480px;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

/* ─── Services ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #E8E1D8;
}

.service-num {
  font-family: 'Lora', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--sand-dark);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-name {
  font-family: 'Lora', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--sand-dark);
  color: var(--ink-soft);
  font-weight: 400;
}

/* ─── About strip ───────────────────────────────────────── */
.about-strip {
  background: var(--accent);
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-quote {
  font-family: 'Lora', serif;
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
}

.about-quote span { opacity: 0.6; }

.about-body {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  text-decoration: none;
}

/* ─── Process ───────────────────────────────────────────── */
.process-section {
  background: var(--white);
  padding: 5rem 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--sand-dark);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 600;
}

.step-dot.active { background: var(--accent); color: var(--white); }
.step-dot.inactive { background: var(--sand-dark); color: var(--warm-gray); }

.step-name {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12px;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.6;
}

/* ─── Contact ───────────────────────────────────────────── */
.contact-section {
  background: var(--sand);
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left h2 {
  font-family: 'Lora', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.contact-left h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-left p {
  font-size: 14px;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #E8E1D8;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-control,
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E2DBD0;
  border-radius: 10px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--sand);
  outline: none;
}

.form-control:focus,
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,104,74,0.1);
}

textarea.form-control,
.form-textarea {
  height: 90px;
  resize: none;
}

.form-submit,
.btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.form-submit:hover,
.btn-submit:hover {
  background: var(--ink-soft);
}

/* ─── Footer ────────────────────────────────────────────── */
footer,
.site-footer {
  background: var(--ink);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-weight: 300;
}

.footer-links li a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero,
  .about-strip,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-right { display: none; }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1 1 50%;
  }

  footer,
  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .section,
  .process-section { padding: 3rem 1.5rem; }
  .hero-left { padding: 3rem 1.5rem; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (min-width: 769px) 
{
	a.navbar-brand svg
	{
		width:auto;
		height:70px;
	}
	a.navbar-brand svg path
	{
		fill:#C8684A;
	}
}

/* ─── Navigation desktop ────────────────────────────────── */
@media (min-width: 992px) {
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-links li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
  }

  .nav-links li a:hover {
    color: var(--accent);
    background: none;
  }

  .nav-links li:last-child a.nav-cta {
    background: var(--ink) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 100px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  .nav-links li:last-child a.nav-cta:hover {
    background: var(--accent) !important;
  }
}

/* ─── Menu mobile ───────────────────────────────────────── */
@media (max-width: 991px) {
  #navMenu {
    background: var(--white);
    border-top: 1px solid #E2DBD0;
    padding: 0.5rem 0;
    margin: 0 -1rem;
  }

  .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid #F0EBE3;
  }

  .nav-links li a:hover {
    background: var(--sand);
  }

  .nav-links li:last-child a.nav-cta {
    margin: 0.75rem 1.5rem;
    border-radius: 100px !important;
    background: var(--ink) !important;
    color: var(--white) !important;
    text-align: center;
    padding: 12px 20px !important;
    font-size: 14px !important;
    display: block;
    border-bottom: none;
  }

  .nav-links li:last-child a.nav-cta:hover {
    background: var(--accent) !important;
  }
}

/* ─── Pages internes ────────────────────────────────────── */
.inner-page-content {
  max-width: 780px;
  margin: 4rem auto;
  padding: 0 2rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid #E8E1D8;
}

.inner-page-content h1 {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2rem;
  padding: 2rem 2rem 0;
}

.inner-page-content .field--name-body {
  padding: 0 2rem 2rem;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.8;
}

.inner-page-content h2 {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.inner-page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Masquer les onglets admin sur les pages publiques */
body:not(.user-logged-in) .block-local-tasks-block {
  display: none;
}

/* ─── Logo navbar pages internes ───────────────────────── */
.page-inner .navbar-brand svg,
.page-node .navbar-brand svg {
  width: auto;
  height: 50px;
}

.footer-logo-placeholder svg
{
	width: auto;
    height: 80px;
}

.footer-logo-placeholder svg path
{
	fill:white;
}

/* ─── Services mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}