/* ============================================
   Serrurerie Lutinier Deauville - Styles
   Couleurs: #004AAD (bleu), #676767 (gris), #FBF8F6 (fond), #128c7e (accent)
   ============================================ */

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

:root {
  --blue: #128c7e;
  --blue-dark: #0e6e63;
  --grey: #676767;
  --grey-light: #6767671a;
  --bg: #FBF8F6;
  --accent: #0fa68e;
  --white: #ffffff;
  --black: #1a1a1a;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,.08);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin-left: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--grey);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}

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

.nav-links .btn-nav {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
}

.nav-links .btn-nav:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
}

.phone-header svg { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 strong {
  color: #ffd700;
}

.hero p {
  font-size: 1.15rem;
  opacity: .92;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-badge {
  background: rgba(255,255,255,.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,.2);
  color: var(--blue);
}

.btn-cta-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-cta-blue:hover { color: var(--white); }

/* Hero Form */
.hero-form {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  color: var(--black);
}

.hero-form h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--blue);
  text-align: center;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  margin-bottom: 12px;
  transition: border-color .2s;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.hero-form button {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .2s;
}

.hero-form button:hover {
  background: var(--blue-dark);
}

/* === TRUST BAR === */
.trust-bar {
  padding: 50px 0 40px;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}

.trust-item:hover { transform: translateY(-4px); }

.trust-item img {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.trust-item h3 {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 6px;
}

.trust-item p {
  font-size: .88rem;
  color: var(--grey);
}

/* === SECTIONS === */
.section {
  padding: 70px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 650px;
  margin: 0 auto;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  border-top-color: var(--blue);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: .93rem;
  color: var(--grey);
  line-height: 1.6;
}

.service-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue);
}

/* === ABOUT / 2 COL === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--black);
}

.two-col-text p {
  color: var(--grey);
  margin-bottom: 16px;
  line-height: 1.7;
}

.two-col-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* === ZONES === */
.zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.zone-tag {
  background: var(--white);
  border: 2px solid #e0e0e0;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--grey);
  transition: all .2s;
}

.zone-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0,74,173,.05);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--grey);
  line-height: 1.7;
}

/* === FICHET === */
.fichet-banner {
  background: linear-gradient(135deg, var(--black) 0%, #333 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.fichet-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.fichet-banner p {
  max-width: 700px;
  margin: 0 auto 24px;
  opacity: .85;
  line-height: 1.7;
}

.badge-fichet {
  display: inline-block;
  background: var(--accent);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--blue);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  opacity: .85;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-phone {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta-phone:hover { color: #ffd700; }

/* === FOOTER === */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255,255,255,.6);
  display: block;
  margin-bottom: 8px;
  font-size: .9rem;
}

.footer a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .hero { padding: 50px 0 70px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: .8rem; padding: 6px 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 16px; }
  .hero-form { padding: 24px 18px; }
  .btn-cta { padding: 14px 24px; font-size: 1rem; }
}
