/* Base palette */
:root {
  --rose: #F7C7D3;
  --offwhite: #FAF9F6;
  --sage: #A8C3A0;
  --text: #333333;
  --muted: #6b7280;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; color: var(--text); background: var(--offwhite); font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.6; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Announcement Bar */
.announcement-bar { background: linear-gradient(135deg, var(--rose), var(--sage)); color: white; text-align: center; padding: 6px 0; font-size: 12px; font-weight: 500; }
.announcement-bar p { margin: 0; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: center; height: 64px; position: relative; }
.site-header .logo { position: absolute; left: 0; }
.site-header .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-header .main-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-header .main-nav a:hover { color: #000; }

/* Menu toggle (hamburger) */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: absolute; left: 0; }
.menu-toggle span { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px 0; transition: 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* Footer */
.site-footer { background: #fff; margin-top: 56px; padding: 48px 0 24px 0; text-align: center; }
.site-footer .footer-logo img { display: block; margin: 0 auto 18px auto; max-width: 120px; height: auto; }
.site-footer .footer-message { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.site-footer nav { margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.site-footer .footer-copyright { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* Buttons */
.btn { display: inline-block; background: var(--rose); color: #1f2937; border: 0; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .08s ease, box-shadow .2s ease; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn.alt { background: var(--sage); }

/* Sections */
section { padding: 48px 0; }
section.hero { padding: 88px 0 56px; background: #fff; }
.hero-content { display: flex; align-items: center; gap: 40px; max-width: 1000px; margin: 0 auto; }
.hero-text { flex: 1; text-align: left; }
.hero-image { flex: 0 0 280px; text-align: center; background: #fff; padding: 20px; border-radius: 12px; }
.hero-image img { width: 250px; height: auto; }
section.hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px 0; }
section.hero p { font-size: 18px; color: #4b5563; max-width: 680px; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card .card-body { padding: 16px; }
.card h3 { margin: 0 0 8px 0; font-size: 18px; }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; margin: 12px 0 6px; }
input, textarea { width: 100%; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
textarea { min-height: 120px; }

/* Newsletter dans le footer */
.footer-newsletter { margin: 32px 0 0 0; }
.footer-newsletter .newsletter-form { display: flex; justify-content: center; gap: 10px; max-width: 340px; margin: 0 auto; }
.footer-newsletter input[type="email"] { flex: 1; padding: 10px 14px; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 15px; background: #faf9f6; color: var(--text); }
.footer-newsletter button.btn { padding: 10px 18px; font-size: 15px; border-radius: 6px; }
.footer-newsletter .newsletter-note { font-size: 12px; color: var(--muted); margin-top: 8px; opacity: 0.8; }
.visually-hidden { position: absolute; left: -9999px; }

/* Responsive */
@media (max-width: 960px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  section.hero h1 { font-size: 32px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .site-header .main-nav { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: #fff; 
    border-top: 1px solid #eee; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-100%); 
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease; 
    z-index: 100;
  }
  .site-header .main-nav.active { 
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible; 
  }
  .site-header .main-nav ul { 
    flex-direction: column; 
    padding: 20px; 
    gap: 0; 
  }
  .site-header .main-nav li { 
    border-bottom: 1px solid #f0f0f0; 
  }
  .site-header .main-nav li:last-child { 
    border-bottom: none; 
  }
  .site-header .main-nav a { 
    display: block; 
    padding: 15px 0; 
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  .hero-content { flex-direction: column; gap: 30px; text-align: center; }
  .hero-text { text-align: center; }
  .hero-image { flex: none; }
  .hero-image img { width: 200px; }
}

@media (max-width: 640px) {
  .site-header .container { height: 56px; }
  .site-header .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .site-header .menu-toggle { position: absolute; left: 16px; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .site-footer ul { flex-direction: column; gap: 10px; }
  .site-footer .footer-logo img { max-width: 90px; }
  .site-footer { padding: 36px 0 16px 0; }
}

