/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'Georgia', 'Garamond', serif; 
  line-height: 1.7; 
  color: #4a5568; 
  background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), 
              url('https://aj.fr/OLD/LorineWebsite/nuage%20aquarelle.jpg') center/cover fixed;
}

:root {
  --primary: #6ba3d8;
  --secondary: #93c5fd;
  --accent: #d4a5a5;
  --dark: #2d3748;
  --gray: #718096;
  --light: #f7fafc;
  --cream: #fdfcfb;
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(107, 163, 216, 0.1);
  transition: transform 0.3s ease;
}
nav.hidden { transform: translateY(-100%); }
nav .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
}
.logo-img {
  height: 50px;
  width: auto;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}
nav a:hover { color: var(--primary); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 2rem 2rem;
}
.hero .container {
  max-width: 900px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  color: var(--primary);
  letter-spacing: 1px;
}
.hero h2 {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1.4;
}
.cloud-words {
  margin: 2.5rem 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.cloud-words span {
  display: inline-block;
  margin: 0.6rem;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(107, 163, 216, 0.15);
  color: var(--dark);
}
.cloud-words span:nth-child(1) { background: rgba(255,209,220,0.5); }
.cloud-words span:nth-child(2) { background: rgba(163,193,224,0.5); }
.cloud-words span:nth-child(3) { background: rgba(209,227,246,0.5); }
.cloud-words span:nth-child(4) { background: rgba(255,248,240,0.5); }
.hero p {
  font-size: 1.1rem;
  margin: 1rem 0;
  color: var(--dark);
  line-height: 1.6;
}
.hero .highlight {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  margin: 2rem 0;
  font-weight: 400;
}
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 163, 216, 0.3);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 163, 216, 0.4);
}

/* === SECTIONS === */
section {
  padding: 5rem 2rem;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
  font-weight: 300;
  letter-spacing: 1px;
}

/* === PRÉSENTATION === */
.about-section {
  background: transparent;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(107, 163, 216, 0.2);
}
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text p {
  margin-bottom: 1.5rem;
}
.about-text strong {
  color: var(--primary);
}

/* === PRESTATIONS GRID === */
.prestations-section {
  background: transparent;
}
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.card {
  background: white;
  border-radius: 20px;
  padding: 0;
  text-align: center;
  box-shadow: 0 5px 25px rgba(107, 163, 216, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(107, 163, 216, 0.25);
  border-color: var(--secondary);
}
.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card:hover .card-image img {
  transform: scale(1.05);
}
.card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 1.5rem 1rem 1rem;
  font-weight: 400;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card p {
  color: var(--gray);
  margin: 0 1.5rem 1.5rem;
  line-height: 1.6;
  padding: 0 0.5rem;
}
.card .btn {
  margin: 0 1.5rem 1.5rem;
}

/* === PAGES PRESTATIONS === */
.presta-page {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 80vh;
  padding: 4rem 2rem;
}
/* Alternance du background : éclaircissement 1 sur 2 */
.presta-page:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.3);
}
.presta-page:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.15);
}
/* Alternance image/texte pour desktop et tablette - comme LGrok4 */
@media (min-width: 769px) {
  .presta-page:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.cloud-img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--cream);
  box-shadow: 0 15px 40px rgba(107, 163, 216, 0.25);
  flex-shrink: 0;
}
.cloud-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.presta-text {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  font-size: 1.1rem;
}
.presta-text h2 {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}
.presta-text .highlight {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.5rem;
  display: block;
}
.presta-text .price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1rem 0;
}
.presta-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  color: var(--dark);
}
.presta-text .emphasis {
  font-weight: 600;
  color: var(--primary);
  font-style: italic;
}
.presta-text .tagline {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(147, 197, 253, 0.15);
  border-left: 4px solid var(--primary);
  border-radius: 5px;
  text-align: center;
  font-style: italic;
}
.presta-text .btn {
  display: block;
  width: fit-content;
  margin: 2rem auto 0;
  text-align: center;
}

/* === CONTACT === */
#contact {
  background: transparent;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}
.contact-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.contact-item a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(107, 163, 216, 0.15);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: var(--cream);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}
.error-message {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e53e3e;
}
.form-group.error .error-message {
  display: block;
}
.alert-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
  display: none;
}
.alert-message.success {
  background: #48bb78;
  color: white;
}
.alert-message.error {
  background: #e53e3e;
  color: white;
}
.btn-gradient {
  width: 100%;
  padding: 1rem;
}

/* === FOOTER === */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
}
footer nav {
  position: static;
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
  box-shadow: none;
}
footer nav .container {
  justify-content: center;
}
footer nav ul {
  justify-content: center;
}
footer nav a {
  color: white;
}
footer nav a:hover {
  color: var(--secondary);
}
.footer-legal {
  color: #a0aec0;
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-legal p {
  margin: 0.5rem 0;
}
.footer-legal a {
  color: var(--secondary);
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero h2 { font-size: 1.3rem; }
  .hero p { font-size: 1rem; }
  .cloud-words { font-size: 1rem; }
  .cloud-words span { padding: 0.5rem 1rem; margin: 0.4rem; }
  
  nav ul { 
    display: none; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: white;
    padding: 1rem; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  nav ul.active { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image img {
    max-width: 250px;
  }
  
  .prestations-grid {
    grid-template-columns: 1fr;
  }
  
  .presta-page,
  .presta-page:nth-child(even) {
    flex-direction: column !important;
    gap: 2rem;
  }
  .cloud-img {
    width: 280px;
    height: 280px;
  }
  .presta-text h2 {
    text-align: center;
    font-size: 1.8rem;
  }
  .presta-text .btn {
    margin: 2rem auto 0;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  section { padding: 3rem 1rem; }
  h2 { font-size: 2rem; }
  .contact-form { padding: 2rem 1.5rem; }
}