/*
Theme Name: Transalliance Logistics
Theme URI: https://logistics-saint-georges.fr
Author: Transalliance
Author URI: https://www.transalliance.eu
Description: Theme one-page pour Transalliance Logistics
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transalliance-logistics
*/

/* ==========================================================================
   CSS Variables - Design System Figma
   ========================================================================== */

:root {
    /* Colors from Figma */
    --color-azure-6: #000B1E;
    --color-white-solid: #FFFFFF;
    --color-grey-97: #F2F5FF;
    --color-grey-98: #F7F8FD;
    --color-accent: #F1872D;
    --color-text-dark: #171D32;
    --color-text-gray: #656B7C;
    --color-text-light: #DCE1F5;
    --color-border: #96A0B5;
    --color-input: #9195A2;
    --color-checkbox: #1C1E2A;

    /* Typography from Figma */
    --font-cairo: 'Cairo', sans-serif;
    --font-fa: 'Font Awesome 5 Free', sans-serif;

    /* Layout - Figma values */
    --page-width: 1440px;
    --container-width: 1120px;
    --side-padding: 160px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cairo);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: var(--color-white-solid);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout Container
   ========================================================================== */

.section-wrapper {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header - 75px height
   ========================================================================== */

.site-header {
    background-color: var(--color-azure-6);
    height: 75px;
    width: 100%;
}

.header-container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    padding-top: 4.5px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white-solid);
    font-family: var(--font-cairo);
    font-weight: 600;
    font-size: 15px;
    line-height: 34.27px;
}

.header-phone i {
    font-family: var(--font-fa);
    font-size: 14px;
    font-weight: 900;
}

.header-logo {
    width: 237px;
    height: 53px;
}

.header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-lang {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--color-grey-97);
    font-family: var(--font-cairo);
    font-size: 20.4px;
    font-weight: 400;
    line-height: 20px;
    padding: 13px 20px;
}

.header-lang i {
    font-family: var(--font-fa);
    font-size: 20.4px;
    font-weight: 900;
    line-height: 20.4px;
    margin-left: 5px;
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    .header-phone span {
        display: none;
    }
    .header-logo {
        width: 180px;
        height: 40px;
    }
}

/* ==========================================================================
   Hero Section - 650px height
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 12, 28, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
}

.hero-title {
    font-family: var(--font-cairo);
    font-weight: 500;
    font-size: 64px;
    line-height: 60px;
    letter-spacing: 1px;
    color: var(--color-white-solid);
    max-width: 744px;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    color: var(--color-white-solid);
    max-width: 640px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px 12px;
    font-family: var(--font-cairo);
    font-weight: 500;
    font-size: 16px;
    line-height: 14px;
    letter-spacing: 1.5px;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white-solid);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #C43525;
    color: var(--color-white-solid);
    font-weight: 700;
}

@media (max-width: 1200px) {
    .hero-content {
        padding: 0 40px;
    }
    .hero-title {
        font-size: 48px;
        line-height: 52px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 60px 0;
    }
    .hero-content {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 32px;
        line-height: 36px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
}

/* ==========================================================================
   Services Section - 717px height
   ========================================================================== */

.services-section {
    position: relative;
    width: 100%;
    min-height: 717px;
    background-color: var(--color-azure-6);
    padding: 83px 0;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -73.41%;
    width: 190.68%;
    height: 100%;
    background-image: url('assets/images/section-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.services-container {
    position: relative;
    z-index: 1;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    gap: 115px;
}

.services-intro {
    width: 454px;
    flex-shrink: 0;
}

.services-intro h2 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--color-white-solid);
    margin-bottom: 28px;
}

.services-intro p {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: var(--color-text-light);
}

.services-list {
    width: 550px;
    display: flex;
    flex-direction: column;
    gap: 66px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-icon {
    width: 130.55px;
    height: 130.55px;
    background-color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon img {
    width: 77px;
    height: 77px;
    object-fit: contain;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: var(--color-accent);
    margin-bottom: 7px;
}

.service-content ul {
    list-style: disc;
    margin-left: 22px;
}

.service-content li {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: var(--color-white-solid);
}

@media (max-width: 1200px) {
    .services-container {
        padding: 0 40px;
        flex-direction: column;
        gap: 60px;
    }
    .services-intro,
    .services-list {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }
    .services-container {
        padding: 0 20px;
    }
    .services-intro h2 {
        font-size: 28px;
        line-height: 32px;
    }
    .services-intro p {
        font-size: 18px;
        line-height: 24px;
    }
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    .service-content ul {
        text-align: left;
    }
}

/* ==========================================================================
   Entrepots Section
   ========================================================================== */

.entrepots-section {
    width: 100%;
    padding: 84px 0;
    background-color: var(--color-white-solid);
}

.entrepots-container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    align-items: center;
    gap: 115px;
}

.entrepots-image {
    width: 550px;
    height: 377px;
    flex-shrink: 0;
    overflow: hidden;
}

.entrepots-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entrepots-content {
    flex: 1;
    max-width: 454px;
}

.entrepots-content h2 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--color-text-dark);
    margin-bottom: 28px;
}

.entrepots-content p {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 17px;
    line-height: 23px;
    color: var(--color-text-gray);
    margin-bottom: 44px;
}

@media (max-width: 1200px) {
    .entrepots-container {
        padding: 0 40px;
        flex-direction: column;
        gap: 40px;
    }
    .entrepots-image,
    .entrepots-content {
        width: 100%;
        max-width: 100%;
    }
    .entrepots-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .entrepots-section {
        padding: 40px 0;
    }
    .entrepots-container {
        padding: 0 20px;
    }
    .entrepots-content h2 {
        font-size: 28px;
        line-height: 32px;
    }
}

/* ==========================================================================
   Propositions Section
   ========================================================================== */

.propositions-section {
    width: 100%;
    padding: 87px 0;
    background-color: var(--color-white-solid);
}

.propositions-container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    align-items: center;
    gap: 116px;
}

.propositions-content {
    width: 454px;
    flex-shrink: 0;
}

.propositions-content h2 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--color-text-dark);
    margin-bottom: 14px;
}

.propositions-content h4 {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 43px;
}

.propositions-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.propositions-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
    color: var(--color-text-gray);
}

.propositions-list li i {
    color: var(--color-accent);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.propositions-list li strong {
    font-weight: 700;
    color: var(--color-text-dark);
}

.propositions-image {
    flex: 1;
    height: 366px;
    overflow: hidden;
}

.propositions-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .propositions-container {
        padding: 0 40px;
        flex-direction: column-reverse;
        gap: 40px;
    }
    .propositions-content {
        width: 100%;
    }
    .propositions-image {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .propositions-section {
        padding: 40px 0;
    }
    .propositions-container {
        padding: 0 20px;
    }
    .propositions-content h2 {
        font-size: 28px;
        line-height: 32px;
    }
    .propositions-content h4 {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    position: relative;
    width: 100%;
    min-height: 959px;
    background-color: var(--color-azure-6);
    padding: 80px 0;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -73.41%;
    width: 190.68%;
    height: 100%;
    background-image: url('assets/images/section-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.contact-container {
    position: relative;
    z-index: 1;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: flex;
    gap: 122px;
}

.contact-trust {
    width: 458px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 215px;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.trust-content h2 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 36px;
    line-height: 36px;
    color: var(--color-white-solid);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 454px;
}

.trust-logos img {
    width: 122px;
    height: 91px;
    object-fit: contain;
	background-color : #fff;
	padding: 10px;
    border-radius: 4px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 11px;
    color: var(--color-white-solid);
}

.footer-info p {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 11px;
    line-height: 36px;
    color: var(--color-white-solid);
    white-space: nowrap;
}

.footer-links {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 11px;
    line-height: 36px;
    color: var(--color-white-solid);
    white-space: nowrap;
}

.footer-links a {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 11px;
    line-height: 36px;
    color: var(--color-white-solid);
    text-decoration: underline;
}

.footer-links span {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 11px;
    line-height: 36px;
    color: var(--color-white-solid);
}

.contact-form-wrapper {
    flex: 1;
    max-width: 526px;
    background-color: var(--color-white-solid);
    border-radius: 14px;
    padding: 43px 35px;
}

.contact-form-wrapper h3 {
    font-family: var(--font-cairo);
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    color: var(--color-text-dark);
    margin-bottom: 53px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-row {
    display: flex;
    gap: 17px;
}

.form-group {
    flex: 1;
    padding-top: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 5px 0 7px;
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-text-dark);
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-input);
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--color-accent);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-group.small {
    flex: 0 0 79px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-family: var(--font-cairo);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--color-checkbox);
}

.form-checkbox a {
    text-decoration: underline;
}

.contact-form .btn {
    margin-top: 10px;
    align-self: flex-start;
}


@media (max-width: 1200px) {
    .contact-container {
        padding: 0 40px;
        flex-direction: column;
        gap: 60px;
    }
    .contact-form-wrapper {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    .contact-trust {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 40px;
    }
    .trust-content {
        align-items: center;
    }
    .trust-content h2 {
        text-align: center;
    }
    .trust-logos {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 20px;
    }
    .trust-logos img {
        width: clamp(60px, 10vw, 122px);
        height: auto;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }
    .contact-container {
        padding: 0 20px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-group.small {
        flex: 1;
    }
    .footer-info {
        align-items: center;
        text-align: center;
    }
    .footer-info p {
        white-space: normal;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* ==========================================================================
   Form Messages
   ========================================================================== */

.form-message {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 15px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form.loading .btn {
    opacity: 0.7;
    pointer-events: none;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
