/* ============================================
   TTR CONSTRUCTIONS - Site Vitrine
   Style Epure Moderne
   ============================================ */

/* --- VARIABLES --- */
:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --accent: #27ae60;
  --accent-dark: #1e8449;
  --orange: #e67e22;
  --dark: #2c3e50;
  --gray: #7f8c8d;
  --light-gray: #ecf0f1;
  --bg: #ffffff;
  --text: #333333;
  --radius: 8px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- TYPOGRAPHY --- */
h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* --- LAYOUT --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light-gray); }
.text-center { text-align: center; }
.section-title { margin-bottom: 50px; }
.section-title h2 { color: var(--primary); margin-bottom: 10px; }
.section-title p { color: var(--gray); font-size: 1.1rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: white;
}
.btn-cta {
  background: var(--orange);
  color: white;
  font-size: 1.1rem;
  padding: 16px 40px;
}
.btn-cta:hover {
  background: #d35400;
  transform: translateY(-2px);
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* --- HERO --- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%);
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 { color: var(--primary); margin-bottom: 20px; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: 1.15rem; color: var(--gray); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}
.badge-icon { font-size: 1.2rem; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 400px;
}
.hero-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.5rem; }
.hero-card .stat { font-size: 3rem; font-weight: 800; color: var(--accent); }
.hero-card p { color: var(--gray); }

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--primary);
  color: white;
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.trust-item .icon { font-size: 1.5rem; }

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 35px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.service-card h3 { color: var(--primary); margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.95rem; }
.service-card .link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent);
  font-weight: 600;
}
.service-card .link:hover { color: var(--accent-dark); }

/* --- AIDES SECTION --- */
.aides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.aide-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.aide-card h3 { color: var(--primary); margin-bottom: 10px; }
.aide-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}
.aide-card p { color: var(--gray); font-size: 0.95rem; }

/* --- PROCESS --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 15px;
}
.step h3 { color: var(--primary); margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 0.9rem; }

/* --- STATS --- */
.stats {
  background: var(--primary);
  color: white;
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-item p { font-size: 0.95rem; opacity: 0.9; }

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: white; font-size: 2.2rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 30px; }

/* --- CONTACT FORM --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39,174,96,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-card {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 35px;
}
.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.contact-info-item .icon {
  font-size: 1.5rem;
  color: var(--accent);
  min-width: 30px;
}
.contact-info-item h4 { color: var(--primary); margin-bottom: 3px; }
.contact-info-item p { color: var(--gray); margin: 0; font-size: 0.95rem; }

/* --- FOOTER --- */
.footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-col p { color: #bdc3c7; font-size: 0.9rem; line-height: 1.8; }
.footer-col a {
  display: block;
  color: #bdc3c7;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  color: #bdc3c7;
  font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { 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.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 15px;
  }
  .section { padding: 50px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 20px; }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }

/* --- PHONE LINK --- */
.phone-link { color: var(--accent); font-weight: 700; font-size: 1.3rem; }
.phone-link:hover { color: var(--accent-dark); }
