/* Ange Connect - Site vitrine minimaliste et professionnel
   Mobile-first, statique, léger */

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --navy: #0f172a;
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --accent: #1e40af;
  --accent-light: #3b82f6;
  --radius: 8px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--gray-border);
  background: var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.logo:hover {
  color: var(--accent);
}

.logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* Main content */
main {
  padding: 2.5rem 0 4rem;
}

@media (min-width: 640px) {
  main {
    padding: 3.5rem 0 5rem;
  }
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}

p, li {
  margin: 0 0 1rem;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 42rem;
}

/* Home specific */
.home-hero {
  padding: 1.5rem 0 2.5rem;
}

@media (min-width: 640px) {
  .home-hero {
    padding: 2rem 0 3rem;
  }
}

.home-hero h1 {
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.home-text {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

/* Contact section / page */
.contact-box {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem 0;
  word-break: break-all;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-email svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Buttons / links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:hover {
  background: #1e3a8a;
}

.btn:active {
  transform: translateY(1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--gray-border);
}

.btn-outline:hover {
  background: var(--gray-light);
  color: var(--navy);
  border-color: var(--gray-border);
}

a.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.link:hover {
  color: #1e3a8a;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gray-border);
  background: var(--gray-light);
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.copyright {
  white-space: nowrap;
}

/* Legal / Privacy pages */
.legal-content h2 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content .last-update {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

/* Accessibility & misc */
:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

hr {
  border: none;
  border-top: 1px solid var(--gray-border);
  margin: 2rem 0;
}

/* Small screens tweaks */
@media (max-width: 360px) {
  .nav-links {
    gap: 0.875rem;
    font-size: 0.875rem;
  }
  h1 {
    font-size: 1.75rem;
  }
}
