/* 
===============================================
FICHIER: css/style.css
Style principal du site CERCA TROVA
===============================================
*/

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Header avec logo adaptatif */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding 0.3s ease;
    padding: 30px 0;
}

header.scrolled {
    padding: 15px 0;
}

header.scrolled .logo-svg {
    width: 200px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

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

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 280px;
    height: auto;
    transition: width 0.3s ease;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s;
    font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.6;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #000000;
    border-radius: 4px;
    transition: all 0.3s;
}

.linkedin-link:hover {
    background-color: #000000;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Typographie */
h1 {
    font-size: 52px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif;
}

h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-family: 'Cormorant Garamond', serif;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-gray {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-subtitle {
    font-size: 20px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.6;
    text-align: justify;
}

.cta-button {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    transition: opacity 0.3s;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.cta-button:hover {
    opacity: 0.8;
}

/* Page Header */
.page-header {
    padding: 60px 0 40px;
    background-color: #f9f9f9;
}

.page-header h1 {
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    color: #333333;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    padding: 40px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #000000;
    transform: translateY(-5px);
}

.service-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-card p {
    text-align: justify;
    color: #333333;
}

/* Reviews */
.reviews-container {
    margin-top: 40px;
}

.review-card {
    padding: 35px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 17px;
}

.reviewer-company {
    font-size: 14px;
    color: #666666;
}

.stars {
    color: #000000;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
    text-align: justify;
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 24px;
    border: 1px solid #000000;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s;
}

.google-reviews-link:hover {
    background-color: #000000;
    color: #ffffff;
}

/* About & Expertise */
.about-intro,
.expertise {
    padding: 60px 0;
}

.about-content {
    max-width: 100%;
}

/* Expertise cards — grille numérotée */
.expertise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 40px;
    background-color: #d8d8d8;
}

.expertise-card {
    background-color: #ffffff;
    padding: 32px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

.expertise-card:hover {
    background-color: #fafafa;
}

.expertise-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 68px;
    font-weight: 300;
    color: #ebebeb;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -2px;
    transition: color 0.25s ease;
}

.expertise-card:hover .expertise-num {
    color: #d8d8d8;
}

.expertise-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.65;
    color: #111111;
    margin-bottom: 0;
    text-align: left;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e0e0e0;
}

.value-item h4 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.value-item p {
    text-align: center;
    color: #444444;
}

/* Contact Form */
.contact-section {
    padding: 60px 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 60px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #000000;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

button {
    background-color: #000000;
    color: #ffffff;
    padding: 15px 45px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

button:hover {
    opacity: 0.8;
}

/* Captcha */
.captcha-container {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.captcha-question {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 500;
}

.captcha-input {
    max-width: 200px;
}

.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

/* Contact Info */
.contact-info {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f5f5f5;
}

.contact-info h3 {
    margin-bottom: 25px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 16px;
    text-align: left;
}

.contact-info a {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.6;
}

/* Legal Page */
.legal-page {
    padding: 60px 0;
    background-color: #ffffff;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    font-style: italic;
    color: #666666;
    margin-bottom: 40px;
}

.legal-content h2 {
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 28px;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.legal-content ul {
    margin: 20px 0 20px 30px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.legal-footer a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.legal-footer a:hover {
    opacity: 0.6;
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 30px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 2px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.6;
    text-align: left;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.footer-bottom p {
    color: #999999;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 13px;
    }

    .logo-svg {
        width: 180px;
    }

    header.scrolled .logo-svg {
        width: 140px;
    }

    .linkedin-link {
        padding: 6px 12px;
        font-size: 13px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .expertise-cards {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .value-item h4 {
        font-size: 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .hero {
        min-height: 50vh;
        padding: 60px 0;
    }

    .expertise-cards {
        grid-template-columns: 1fr;
    }

    .expertise-num {
        font-size: 52px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item h4 {
        font-size: 20px;
    }

    .logo-svg {
        width: 160px;
    }

    header.scrolled .logo-svg {
        width: 120px;
    }
}