/* ============================================================
   Thinkware — charte extraite du site d'origine (voir BRAND.md)
   ============================================================ */

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/Outfit.woff2") format("woff2"),
       url("../assets/fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #EBE8E6;
  --bg-alt: #F5F4F2;
  --fg: #1D1F25;
  --accent: #29A159;
  --accent-dark: #22874B;
  --accent-text: #1E7743;
  --secondary: #667D78;
  --white: #FFFFFF;
  --radius: 6px;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-weight: 600; line-height: 1.15; }

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 244, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 31, 37, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 400;
  transition: color .15s;
}

.site-nav a:hover { color: var(--accent); }

/* ============ Boutons ============ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}

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

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

.btn-outline {
  border: 2px solid var(--fg);
  color: var(--fg);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light {
  background: var(--white);
  color: var(--fg);
}

.btn-light:hover { transform: translateY(-2px); }

.btn-header { padding: 11px 22px; font-size: 15px; }

/* ============ Hero ============ */

.hero { background: var(--bg-alt); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin-bottom: 28px;
}

.underline-accent {
  background-image: url("../assets/icons/underline-marker.svg");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 0.14em;
  padding-bottom: 0.16em;
}

.lead {
  font-size: 19px;
  max-width: 54ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ============ Bandeau vert ============ */

.band { background: var(--accent); color: var(--white); }

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.band-item {
  border-left: 3px solid rgba(255, 255, 255, 0.85);
  padding-left: 24px;
}

.band-item h3 { font-size: 24px; margin-bottom: 10px; }

.band-item p { color: rgba(255, 255, 255, 0.92); }

/* ============ Sections ============ */

.section { padding: 104px 0; }

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

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }

/* ============ Cartes expertises ============ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid rgba(29, 31, 37, 0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .18s, box-shadow .18s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 31, 37, 0.08);
}

.card-icon { height: 56px; width: auto; margin-bottom: 22px; }

.card h3 { font-size: 21px; margin-bottom: 12px; }

.card p { font-size: 16.5px; }

/* ============ Approche ============ */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.split-media img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  width: 100%;
}

.split-text h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 36px; }

.feature-list { list-style: none; display: grid; gap: 32px; }

.feature-list li { display: flex; gap: 20px; align-items: flex-start; }

.feature-list img { flex-shrink: 0; margin-top: 4px; }

.feature-list h3 { font-size: 20px; margin-bottom: 6px; }

.feature-list p { font-size: 16.5px; }

/* ============ CTA ============ */

.cta-band { background: var(--accent); color: var(--white); }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 64px;
  padding-bottom: 64px;
}

.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); max-width: 24ch; }

/* ============ Contact ============ */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid rgba(29, 31, 37, 0.07);
  border-radius: var(--radius);
  padding: 36px;
}

.hidden-field { display: none; }

.form-field { margin-bottom: 22px; }

.form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

.required { color: var(--accent-text); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 300;
  color: var(--fg);
  background: var(--white);
  border: 1px solid rgba(29, 31, 37, 0.18);
  border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(41, 161, 89, 0.18);
}

.form-field textarea { resize: vertical; }

.form-note {
  font-size: 14.5px;
  color: rgba(29, 31, 37, 0.7);
  margin-bottom: 24px;
}

.contact-form .btn { border: none; }

.contact-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid rgba(29, 31, 37, 0.07);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--fg);
  transition: transform .18s, box-shadow .18s;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(29, 31, 37, 0.08);
}

.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.contact-value { font-size: 18px; font-weight: 400; }

/* ============ Footer ============ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(29, 31, 37, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }

.footer-brand p { font-size: 15.5px; max-width: 38ch; }

.footer-nav, .footer-meta { display: grid; gap: 10px; align-content: start; }

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.footer-nav a, .footer-meta a {
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
}

.footer-nav a:hover, .footer-meta a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 28px;
  font-size: 14.5px;
  color: rgba(29, 31, 37, 0.65);
}

.footer-bottom a { color: inherit; text-decoration: none; }

.footer-bottom a:hover { color: var(--accent-text); }

/* ============ Mentions légales ============ */

.legal-content { max-width: 760px; }

.legal-content h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 40px; }

.legal-content h2 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 44px 0 14px;
}

.legal-content p { margin-bottom: 14px; }

.legal-content a { color: var(--accent-text); }

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .band-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-nav { display: none; }
}

@media (max-width: 560px) {
  .btn-header { display: none; }
  .header-inner { justify-content: space-between; }
}
