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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f1e6;
  color: #151515;
  line-height: 1.6;
}

:root {
  --green-dark: #0b3b2e;      /* British racing green */
  --green-darker: #06251b;
  --cream: #f5f1e6;
  --gold: #c9a96a;
  --accent: #c66a4a;
  --border-soft: #ddcfb5;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 10px;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Header & nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffdd;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 44px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-tagline {
  display: block;
  font-size: 0.8rem;
  color: #555;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #214e3b 0, #0b3b2e 40%, #06251b 100%);
  color: #fff;
  padding: 3.5rem 0 3.5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #dbe7dd;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.1rem);
  margin: 0 0 1rem;
}

.hero-text {
  margin-bottom: 1.7rem;
  color: #e8f0e9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.hero-badge {
  font-size: 0.9rem;
  color: #f2efe3;
  opacity: 0.9;
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #f5f1e6;
  color: #1a1a1a;
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  max-width: 360px;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.hero-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.hero-card li {
  margin-bottom: 0.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  background-color: #b0593d;
  transform: translateY(-1px);
}

.btn.outline {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

.btn.outline:hover {
  background-color: #ffffff20;
}

.btn.small {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.btn.full {
  width: 100%;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #f0e7d6;
}

.section h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.section-intro {
  max-width: 620px;
  margin: 0.5rem 0 2rem;
}

/* Volets commerciaux */
.volets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.volet-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.volet-card h3 {
  margin-top: 0;
}

.pay-info {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: #555;
}

/* Modèles */
.modeles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.modele-card {
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  background: #fff;
}

.modele-card h3 {
  margin-top: 0;
}

.modele-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.6rem;
}

.modele-defender {
  background: linear-gradient(135deg, #114332, #0b3b2e);
  color: #f3f6f4;
}

.modele-defender h3,
.modele-defender p {
  color: #f3f6f4;
}

.modele-defender-new {
  background: linear-gradient(135deg, #153849, #0b3b2e);
  color: #f3f6f4;
}

.modele-defender-new h3,
.modele-defender-new p {
  color: #f3f6f4;
}

/* Prépa */
.prepa-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.prepa-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.prepa-box h3 {
  margin-top: 0;
}

/* List with check */
.list-check {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.85rem;
  color: var(--green-dark);
}

/* Avis */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.review::before {
  content: "“";
  position: absolute;
  font-size: 3rem;
  color: var(--gold);
  left: 0.7rem;
  top: -0.8rem;
  opacity: 0.3;
}

.review-text {
  margin: 0.4rem 0 0.8rem;
}

.review-author {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.reviews-cta {
  margin-top: 1.6rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details p {
  margin: 0 0 0.6rem;
}

.contact-details a {
  color: var(--green-dark);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 1rem;
}

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

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #c4b799;
  font: inherit;
  background-color: #fdfaf4;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Footer */
.site-footer {
  background: var(--green-darker);
  color: #e2e6e3;
  padding: 1.6rem 0 1.9rem;
  margin-top: 2.5rem;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 0.3rem;
  color: #b9c5bd;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    right: 0;
    top: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 0.9rem;
    gap: 0.75rem;
    border-bottom-left-radius: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform-origin: top right;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .main-nav.nav-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-inner {
    padding: 0.5rem 0;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

  .volets-grid,
  .modeles-grid,
  .prepa-grid,
  .contact-grid,
  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .brand-tagline {
    display: none;
  }
}
