/* Base CSS pour Ornaviseltru.com
   Palette de couleurs:
   - Fond principal: gradient de #00BFA6 à #3A0CA3
   - Accent: #FF6F61
   - Texte: #FDF6E3
   - Éléments secondaires: #2E2E2E
*/

/* Reset et base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #00BFA6 0%, #3A0CA3 100%);
    color: #FDF6E3;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Conteneur */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Typographie */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FF6F61;
}

/* Classe pour le texte centré */
.text-center {
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Centre le texte après les titres */
h1 + p, h2 + p, h3 + p,
section p.section-intro {
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #FF6F61;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FDF6E3;
}

ul {
    list-style-type: none;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

section.section-dark {
    background-color: rgba(46, 46, 46, 0.7);
}

/* Animation pour l'apparition des sections - version CSS pure */
.fade-in {
    opacity: 0;
    /* Les transitions sont définies maintenant dans les animations directement dans index.php */
}

/* Ceci est activé automatiquement par les animations PHP */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Approche par intersection (remplace le JavaScript) */
@media screen and (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation-play-state: paused;
    }
    
    .fade-in:hover,
    .fade-in:focus-within,
    section:hover .fade-in,
    section:target .fade-in {
        animation-play-state: running;
        opacity: 1;
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FDF6E3;
    text-decoration: none;
}

.main-nav .nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #FDF6E3;
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6F61;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta {
    background-color: #FF6F61;
    color: #FDF6E3;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.cta:hover {
    background-color: #e05c50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bouton du menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle .line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #FDF6E3;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background-color: #FF6F61;
    color: #FDF6E3;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hero-cta:hover {
    background-color: #e05c50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thank-you-content .hero-cta {
    margin: 2rem auto 0;
    display: block;
    max-width: fit-content;
}

/* Formes de fond décoratives */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    background-color: #FF6F61;
    top: -150px;
    right: 10%;
}

.bg-shape-2 {
    width: 500px;
    height: 500px;
    background-color: #00BFA6;
    bottom: -200px;
    left: -100px;
}

/* Section À propos */
.about-section {
    background-color: rgba(46, 46, 46, 0.7);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.about-text {
    flex: 1;
    text-align: center;
}

.about-text p {
    text-align: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: rgba(46, 46, 46, 0.7);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: #FF6F61;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Section Pourquoi nous choisir */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: #FF6F61;
    margin-bottom: 1rem;
}

/* Section Témoignages */
.testimonials-section {
    background-color: rgba(46, 46, 46, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-position {
    font-size: 0.9rem;
    color: rgba(253, 246, 227, 0.8);
}

/* Formulaire */
.form-section {
    background-color: rgba(46, 46, 46, 0.7);
}

.audit-form {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    background-color: rgba(253, 246, 227, 0.1);
    color: #FDF6E3;
    font-family: 'Montserrat', sans-serif;
}

.form-select option {
    background-color: #2E2E2E;
    color: #FDF6E3;
    padding: 10px;
}

.form-input::placeholder {
    color: rgba(253, 246, 227, 0.6);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-checkbox input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-submit {
    display: inline-block;
    background-color: #FF6F61;
    color: #FDF6E3;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-submit:hover {
    background-color: #e05c50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background-color: rgba(46, 46, 46, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-position {
    font-size: 0.9rem;
    color: #FF6F61;
    margin-bottom: 1rem;
}

/* Section FAQ */
.faq-section {
    background-color: rgba(46, 46, 46, 0.7);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(253, 246, 227, 0.2);
    margin-bottom: 1rem;
}

.faq-question {
    font-weight: 600;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question a {
    color: #FDF6E3;
    text-decoration: none;
    display: block;
    width: 100%;
}

.faq-question:hover a {
    color: #FF6F61;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    content: "+";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

/* Section Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.contact-info ul {
    margin-bottom: 2rem;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #FF6F61;
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
.site-footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FDF6E3;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(253, 246, 227, 0.8);
}

.footer-links ul li a:hover {
    color: #FF6F61;
}

.contact-info li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(253, 246, 227, 0.1);
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(46, 46, 46, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    z-index: 9999;
    display: none;
}

.cookie-popup.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 2rem);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-accept {
    background-color: #FF6F61;
    color: #FDF6E3;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    background-color: #e05c50;
}

.cookie-link {
    color: rgba(253, 246, 227, 0.8);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s forwards;
}

/* Styles pour les pages de politique */
.policy-page {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.policy-container {
    background-color: rgba(46, 46, 46, 0.7);
    padding: 3rem;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-title {
    text-align: center;
    margin-bottom: 2rem;
}

.policy-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

/* Page de remerciement */
.thank-you-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: 3rem;
    background-color: rgba(46, 46, 46, 0.7);
    border-radius: 15px;
    text-align: center;
    margin: 0 auto;
}

.thank-you-content p {
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.thank-you-content h1 {
    margin-bottom: 2rem;
}
